delivery_vendor_id => { type => 'integer' },
department_id => { type => 'integer' },
employee_id => { type => 'integer' },
+ expected_billing_date => { type => 'date' },
globalproject_id => { type => 'integer' },
id => { type => 'integer', not_null => 1, sequence => 'id' },
intnotes => { type => 'text' },
mtime => { type => 'timestamp' },
netamount => { type => 'numeric', precision => 15, scale => 5 },
notes => { type => 'text' },
+ order_probability => { type => 'integer', default => '0', not_null => 1 },
ordnumber => { type => 'text', not_null => 1 },
payment_id => { type => 'integer' },
proforma => { type => 'boolean', default => 'false' },