| id |
integer |
Yes |
Yes |
nextval('production_orders_id_seq'::regclass) |
|
| order_no |
character varying(10) |
No |
No |
|
Production order number |
| whse |
character varying(6) |
No |
No |
|
Warehouse of top assembly item |
| part_no |
character varying(34) |
No |
No |
|
Part number of top assembly item |
| description |
character varying(80) |
No |
No |
|
Description of top assembly item |
| status |
character varying(1) |
No |
No |
|
Status of the production order A = Pending I = In Progress U = Open |
| lead |
numeric(5) |
No |
No |
|
Lead time to build item |
| order_date |
date |
No |
No |
|
Date of order |
| required_date |
date |
No |
No |
|
Date required |
| required_qty |
numeric(13,5) |
No |
No |
|
Required quantity |
| backorder_qty |
numeric(13,5) |
No |
No |
|
Quantity still to build |
| parts_cost |
numeric(17,3) |
No |
No |
|
Total components cost |
| cust_no |
character varying(20) |
No |
No |
|
Customer assigned to the build |
| category |
character varying(6) |
No |
No |
|
Category of top assembly item |
| priority |
smallint |
No |
No |
|
Priority of the production order 0 - Highest 1 - High 2 - Normal 3 - Low 4 - Lowest |
| expected_yield_pct |
numeric(5,2) |
No |
No |
|
Expected yield percentage |
| actual_yield_qty |
numeric(13,5) |
No |
No |
|
Actual yield quantity |
| assemble_qty |
numeric(17,5) |
No |
No |
|
|
| assembled_qty |
numeric(17,5) |
No |
No |
|
Quantity already built |
| sales_order_no |
character varying(10) |
No |
No |
|
Sales order number linked to this build |
| cust_po_no |
character varying(20) |
No |
No |
|
Customer PO for this build |
| phase_date |
date |
No |
No |
|
Date this order went into current phase |
| guid |
character varying(32) |
No |
No |
|
GUID linking to sales or production |
| reference |
character varying(30) |
No |
No |
|
Refernce added by user |
| revision |
character varying(8) |
No |
No |
|
Revision number of template |
| phase_id |
character varying(20) |
No |
No |
|
Current phase ID |
| user_type |
character varying(40) |
No |
No |
|
|
| req_no |
character varying(10) |
No |
No |
|
Requisition number that created the production order |
| employee |
character varying(6) |
No |
No |
|
Employee added to the production order |
| template_no |
character varying(10) |
No |
No |
|
Template number used for this order |
| template_guid |
character varying(32) |
No |
No |
|
Template GUID |
| user_flag |
boolean |
No |
No |
|
|
| committed_qty |
numeric(21,5) |
No |
No |
|
|
| _dbversion |
integer |
No |
No |
|
|
| _created |
timestamp without time zone |
No |
No |
|
|
| _created_by |
character varying(3) |
No |
No |
|
|
| _modified |
timestamp without time zone |
No |
No |
|
|
| _modified_by |
character varying(3) |
No |
No |
|
|
| instructions |
text |
No |
No |
|
Header instructions |
| mfg_notes |
text |
No |
No |
|
Notes added by user |
| udf_data |
hstore |
No |
No |
''::hstore |
hstore field containing user defined data |