is_nullable: 1
size: [28,6]
+=head2 unitprice_tax_excluded
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 unitprice_tax_included
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
=head2 quantityreceived
data_type: 'smallint'
default_value: 0
is_nullable: 0
+=head2 created_by
+
+ data_type: 'integer'
+ is_foreign_key: 1
+ is_nullable: 1
+
=head2 datecancellationprinted
data_type: 'date'
=head2 cancellationreason
- data_type: 'text'
+ data_type: 'mediumtext'
is_nullable: 1
=head2 order_internalnote
- data_type: 'mediumtext'
+ data_type: 'longtext'
is_nullable: 1
=head2 order_vendornote
- data_type: 'mediumtext'
+ data_type: 'longtext'
is_nullable: 1
=head2 purchaseordernumber
- data_type: 'mediumtext'
+ data_type: 'longtext'
is_nullable: 1
=head2 basketno
is_nullable: 1
size: [13,2]
+=head2 replacementprice
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 rrp_tax_excluded
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 rrp_tax_included
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
=head2 ecost
data_type: 'decimal'
is_nullable: 1
size: [13,2]
-=head2 gstrate
+=head2 ecost_tax_excluded
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 ecost_tax_included
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 tax_rate_bak
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [6,4]
+
+=head2 tax_rate_on_ordering
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [6,4]
+
+=head2 tax_rate_on_receiving
data_type: 'decimal'
is_nullable: 1
size: [6,4]
+=head2 tax_value_bak
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 tax_value_on_ordering
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
+=head2 tax_value_on_receiving
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
=head2 discount
data_type: 'float'
is_foreign_key: 1
is_nullable: 0
-=head2 budgetgroup_id
-
- data_type: 'integer'
- is_nullable: 0
-
=head2 budgetdate
data_type: 'date'
=head2 suppliers_report
- data_type: 'text'
+ data_type: 'mediumtext'
is_nullable: 1
=cut
{ data_type => "decimal", is_nullable => 1, size => [28, 6] },
"unitprice",
{ data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "unitprice_tax_excluded",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "unitprice_tax_included",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
"quantityreceived",
{ data_type => "smallint", default_value => 0, is_nullable => 0 },
+ "created_by",
+ { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
"datecancellationprinted",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"cancellationreason",
- { data_type => "text", is_nullable => 1 },
- "order_internalnote",
{ data_type => "mediumtext", is_nullable => 1 },
+ "order_internalnote",
+ { data_type => "longtext", is_nullable => 1 },
"order_vendornote",
- { data_type => "mediumtext", is_nullable => 1 },
+ { data_type => "longtext", is_nullable => 1 },
"purchaseordernumber",
- { data_type => "mediumtext", is_nullable => 1 },
+ { data_type => "longtext", is_nullable => 1 },
"basketno",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
"timestamp",
},
"rrp",
{ data_type => "decimal", is_nullable => 1, size => [13, 2] },
+ "replacementprice",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "rrp_tax_excluded",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "rrp_tax_included",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
"ecost",
{ data_type => "decimal", is_nullable => 1, size => [13, 2] },
- "gstrate",
+ "ecost_tax_excluded",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "ecost_tax_included",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "tax_rate_bak",
+ { data_type => "decimal", is_nullable => 1, size => [6, 4] },
+ "tax_rate_on_ordering",
+ { data_type => "decimal", is_nullable => 1, size => [6, 4] },
+ "tax_rate_on_receiving",
{ data_type => "decimal", is_nullable => 1, size => [6, 4] },
+ "tax_value_bak",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "tax_value_on_ordering",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
+ "tax_value_on_receiving",
+ { data_type => "decimal", is_nullable => 1, size => [28, 6] },
"discount",
{ data_type => "float", is_nullable => 1, size => [6, 4] },
"budget_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
- "budgetgroup_id",
- { data_type => "integer", is_nullable => 0 },
"budgetdate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"sort1",
"suppliers_reference_qualifier",
{ data_type => "varchar", is_nullable => 1, size => 3 },
"suppliers_report",
- { data_type => "text", is_nullable => 1 },
+ { data_type => "mediumtext", is_nullable => 1 },
);
=head1 PRIMARY KEY
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
);
+=head2 created_by
+
+Type: belongs_to
+
+Related object: L<Koha::Schema::Result::Borrower>
+
+=cut
+
+__PACKAGE__->belongs_to(
+ "created_by",
+ "Koha::Schema::Result::Borrower",
+ { borrowernumber => "created_by" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ on_delete => "SET NULL",
+ on_update => "CASCADE",
+ },
+);
+
=head2 currency
Type: belongs_to
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber");
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-10 19:38:20
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2kQhxUE0pZ3PpwOqGtvB+g
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-31 11:51:37
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GQEXetlivZm7buQohl8m4A
# You can replace this text with custom code or comments, and it will be preserved on regeneration