itime TIMESTAMP DEFAULT now(),
mtime TIMESTAMP,
CONSTRAINT valid_type CHECK (
(object_type = 'credit_note') OR (object_type = 'invoice') OR (object_type = 'sales_order') OR (object_type = 'sales_quotation')
OR (object_type = 'sales_delivery_order') OR (object_type = 'request_quotation') OR (object_type = 'purchase_order')
itime TIMESTAMP DEFAULT now(),
mtime TIMESTAMP,
CONSTRAINT valid_type CHECK (
(object_type = 'credit_note') OR (object_type = 'invoice') OR (object_type = 'sales_order') OR (object_type = 'sales_quotation')
OR (object_type = 'sales_delivery_order') OR (object_type = 'request_quotation') OR (object_type = 'purchase_order')