1 package Koha::Schema::Result::Aqorder;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::Aqorder
18 __PACKAGE__->table("aqorders");
85 =head2 quantityreceived
97 =head2 datecancellationprinted
104 data_type: 'mediumtext'
107 =head2 supplierreference
109 data_type: 'mediumtext'
112 =head2 purchaseordernumber
114 data_type: 'mediumtext'
134 =head2 biblioitemnumber
141 data_type: 'timestamp'
142 default_value: current_timestamp
168 =head2 budgetgroup_id
202 =head2 uncertainprice
218 =head2 parent_ordernumber
225 __PACKAGE__->add_columns(
227 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
229 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
231 { data_type => "date", is_nullable => 1 },
233 { data_type => "smallint", is_nullable => 1 },
235 { data_type => "varchar", is_nullable => 1, size => 3 },
237 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
239 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
241 { data_type => "date", is_nullable => 1 },
243 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
245 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
247 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
249 { data_type => "smallint", default_value => 0, is_nullable => 0 },
251 { data_type => "varchar", is_nullable => 1, size => 10 },
252 "datecancellationprinted",
253 { data_type => "date", is_nullable => 1 },
255 { data_type => "mediumtext", is_nullable => 1 },
257 { data_type => "mediumtext", is_nullable => 1 },
258 "purchaseordernumber",
259 { data_type => "mediumtext", is_nullable => 1 },
261 { data_type => "tinyint", is_nullable => 1 },
263 { data_type => "varchar", is_nullable => 1, size => 30 },
265 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
267 { data_type => "integer", is_nullable => 1 },
270 data_type => "timestamp",
271 default_value => \"current_timestamp",
275 { data_type => "decimal", is_nullable => 1, size => [13, 2] },
277 { data_type => "decimal", is_nullable => 1, size => [13, 2] },
279 { data_type => "decimal", is_nullable => 1, size => [13, 2] },
281 { data_type => "integer", is_nullable => 0 },
283 { data_type => "integer", is_nullable => 0 },
285 { data_type => "date", is_nullable => 1 },
287 { data_type => "varchar", is_nullable => 1, size => 80 },
289 { data_type => "varchar", is_nullable => 1, size => 80 },
291 { data_type => "varchar", is_nullable => 1, size => 10 },
293 { data_type => "varchar", is_nullable => 1, size => 10 },
295 { data_type => "tinyint", is_nullable => 1 },
297 { data_type => "integer", default_value => 0, is_nullable => 1 },
299 { data_type => "date", is_nullable => 1 },
300 "parent_ordernumber",
301 { data_type => "integer", is_nullable => 1 },
303 __PACKAGE__->set_primary_key("ordernumber");
311 Related object: L<Koha::Schema::Result::Aqbasket>
315 __PACKAGE__->belongs_to(
317 "Koha::Schema::Result::Aqbasket",
318 { basketno => "basketno" },
319 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
326 Related object: L<Koha::Schema::Result::Biblio>
330 __PACKAGE__->belongs_to(
332 "Koha::Schema::Result::Biblio",
333 { biblionumber => "biblionumber" },
334 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
341 Related object: L<Koha::Schema::Result::Aqinvoice>
345 __PACKAGE__->belongs_to(
347 "Koha::Schema::Result::Aqinvoice",
348 { invoiceid => "invoiceid" },
349 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
353 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
354 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:McWqeFHBMTDvKV7pUEqJ3w
357 # You can replace this text with custom content, and it will be preserved on regeneration