2 package Koha::Schema::Result::VendorEdiAccount;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::VendorEdiAccount
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<vendor_edi_accounts>
22 __PACKAGE__->table("vendor_edi_accounts");
34 data_type: 'mediumtext'
51 data_type: 'mediumtext'
57 datetime_undef_if_invalid: 1
66 =head2 download_directory
68 data_type: 'mediumtext'
71 =head2 upload_directory
73 data_type: 'mediumtext'
89 =head2 id_code_qualifier
103 =head2 quotes_enabled
109 =head2 invoices_enabled
115 =head2 orders_enabled
121 =head2 responses_enabled
133 =head2 shipment_budget
142 default_value: (empty string)
148 __PACKAGE__->add_columns(
150 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
152 { data_type => "mediumtext", is_nullable => 0 },
154 { data_type => "varchar", is_nullable => 1, size => 40 },
156 { data_type => "varchar", is_nullable => 1, size => 40 },
158 { data_type => "mediumtext", is_nullable => 1 },
160 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
162 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
163 "download_directory",
164 { data_type => "mediumtext", is_nullable => 1 },
166 { data_type => "mediumtext", is_nullable => 1 },
168 { data_type => "varchar", is_nullable => 1, size => 20 },
170 { data_type => "varchar", default_value => "EUR", is_nullable => 1, size => 3 },
172 { data_type => "varchar", default_value => 14, is_nullable => 1, size => 3 },
174 { data_type => "varchar", default_value => "FTP", is_nullable => 1, size => 6 },
176 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
178 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
180 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
182 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
184 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
186 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
188 { data_type => "varchar", default_value => "", is_nullable => 0, size => 256 },
201 __PACKAGE__->set_primary_key("id");
205 =head2 edifact_messages
209 Related object: L<Koha::Schema::Result::EdifactMessage>
213 __PACKAGE__->has_many(
215 "Koha::Schema::Result::EdifactMessage",
216 { "foreign.edi_acct" => "self.id" },
217 { cascade_copy => 0, cascade_delete => 0 },
220 =head2 shipment_budget
224 Related object: L<Koha::Schema::Result::Aqbudget>
228 __PACKAGE__->belongs_to(
230 "Koha::Schema::Result::Aqbudget",
231 { budget_id => "shipment_budget" },
235 on_delete => "RESTRICT",
236 on_update => "RESTRICT",
244 Related object: L<Koha::Schema::Result::Aqbookseller>
248 __PACKAGE__->belongs_to(
250 "Koha::Schema::Result::Aqbookseller",
251 { id => "vendor_id" },
255 on_delete => "RESTRICT",
256 on_update => "RESTRICT",
261 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-15 18:35:52
262 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:06GuQaUKF6/BO/gw3hKLmA
265 # You can replace this text with custom code or comments, and it will be preserved on regeneration