default_value: 0
is_nullable: 0
+=head2 created_by
+
+ data_type: 'integer'
+ is_foreign_key: 1
+ is_nullable: 1
+
=head2 datecancellationprinted
data_type: 'date'
is_nullable: 1
size: [13,2]
+=head2 replacementprice
+
+ data_type: 'decimal'
+ is_nullable: 1
+ size: [28,6]
+
=head2 rrp_tax_excluded
data_type: 'decimal'
{ 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",
},
"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",
{ 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 @ 2018-02-16 17:54:53
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K0GnMGYtZUQ1WCesHKIxHw
+# 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