1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
7 use base qw(SL::DB::Object);
9 __PACKAGE__->meta->setup(
13 id => { type => 'integer', not_null => 1, sequence => 'id' },
14 rmanumber => { type => 'text', not_null => 1 },
15 transdate => { type => 'date', default => 'now' },
16 vendor_id => { type => 'integer' },
17 customer_id => { type => 'integer' },
18 amount => { type => 'numeric', precision => 5, scale => 15 },
19 netamount => { type => 'numeric', precision => 5, scale => 15 },
20 reqdate => { type => 'date' },
21 taxincluded => { type => 'boolean' },
22 shippingpoint => { type => 'text' },
23 notes => { type => 'text' },
24 curr => { type => 'character', length => 3 },
25 employee_id => { type => 'integer' },
26 closed => { type => 'boolean', default => 'false' },
27 quotation => { type => 'boolean', default => 'false' },
28 quonumber => { type => 'text' },
29 cusrmanumber => { type => 'text' },
30 intnotes => { type => 'text' },
31 delivery_customer_id => { type => 'integer' },
32 delivery_vendor_id => { type => 'integer' },
33 language_id => { type => 'integer' },
34 payment_id => { type => 'integer' },
35 department_id => { type => 'integer', default => '0' },
36 itime => { type => 'timestamp', default => 'now()' },
37 mtime => { type => 'timestamp' },
38 shipvia => { type => 'text' },
39 cp_id => { type => 'integer' },
42 primary_key_columns => [ 'id' ],
44 allow_inline_column_values => 1,