| id |
integer |
Yes |
Yes |
nextval('production_history_items_id_seq'::regclass) |
|
| order_id |
integer |
Yes |
No |
|
ID linking to production_history.ID |
| sequence |
smallint |
No |
No |
|
Sequence number starting from 0 |
| parent_item_id |
integer |
No |
No |
|
|
| whse |
character varying(6) |
No |
No |
|
Warehouse the raw material came from |
| part_no |
character varying(34) |
No |
No |
|
Part number the raw material came from |
| description |
character varying(80) |
No |
No |
|
Description the raw material came from |
| unit_qty |
numeric(15,5) |
No |
No |
|
Unit quantity |
| yield_qty |
numeric(21,5) |
No |
No |
|
Yield quantity |
| scrap_qty |
numeric(21,5) |
No |
No |
|
Actual scrap quantity |
| extended_qty |
numeric(21,5) |
No |
No |
|
Extended quantity consumed for build |
| consumed_qty |
numeric(21,5) |
No |
No |
|
Consumed quantity per unit |
| unit_cost |
numeric(15,5) |
No |
No |
|
Cost per unit |
| user_cost_flag |
boolean |
No |
No |
|
Did user edit the cost TRUE = Yes FALSE = No |
| uom_usage |
character varying(10) |
No |
No |
|
Unit of measure |
| uom_usage_factor |
numeric(13,5) |
No |
No |
|
Unit of measure factor applied |
| direct_factor |
boolean |
No |
No |
|
Direct factor TRUE = Yes FALSE = No |
| lead_time |
numeric(5) |
No |
No |
|
Lead time of item |
| date |
date |
No |
No |
|
Date item was committed |
| category |
character varying(6) |
No |
No |
|
Category of the item |
| expected_yield_pct |
numeric(5,2) |
No |
No |
|
Expected yield percentage |
| expected_scrap_pct |
numeric(5,2) |
No |
No |
|
Expected scrap percentage |
| guid |
character varying(32) |
No |
No |
|
GUID linking to PO or production order |
| phase_id |
character varying(20) |
No |
No |
|
|
| req_no |
character varying(10) |
No |
No |
|
Requisition number item is linked to |
| vend_no |
character varying(20) |
No |
No |
|
Primary vendor for this item. (was editable by user) |
| employee |
character varying(6) |
No |
No |
|
Employee that was added to this line |
| template_no |
character varying(10) |
No |
No |
|
Template number for this line |
| template_guid |
character varying(32) |
No |
No |
|
Template GUID |
| user_flag |
boolean |
No |
No |
|
|
| revision |
character varying(8) |
No |
No |
|
|
| instructions |
text |
No |
No |
|
Component instructons |
| _dbversion |
integer |
No |
No |
|
|
| _modified |
timestamp without time zone |
No |
No |
|
|
| _modified_by |
character varying(3) |
No |
No |
|
|
| _created |
timestamp without time zone |
No |
No |
|
|
| _created_by |
character varying(3) |
No |
No |
|
|
| udf_data |
hstore |
No |
No |
''::hstore |
hstore field containing user defined data |