Table Data dictionary report - production_history_items

Generated: 2018-10-18 7:30:03 AM
Server: PostgreSQL 9.3 (localhost:5432)
Database: datadict_donotremove
Schema: public
Notes:

Table for built Prodution Order component details

Columns

Name Data type Not Null? Primary key? Default Comment
id integer Yes Yes nextval('production_history_items_id_seq'::regclass) Unique identifier
order_id integer Yes No Link to production_history.id
sequence smallint No No Sequential number for order line
parent_item_id integer No No Link to production_history_items.id for the parent of this record
whse character varying(6) No No Inventory warehouse for this record - links to inventory.whse
part_no character varying(34) No No Inventory part number for this record - links to inventory.part_no
description character varying(80) No No Inventory description for this record
unit_qty numeric(15,5) No No Unit quantity
yield_qty numeric(21,5) No No Not used
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 of this item
unit_cost numeric(15,5) No No Cost of the component
user_cost_flag boolean No No User edited cost flag; FALSE = No TRUE = Yes
uom_usage character varying(10) No No Unit of Measure used for this item
uom_usage_factor numeric(13,5) No No Unit of measure conversion factor used
direct_factor boolean No No UOM direct factor used for conversion; TRUE= multiply FALSE = divide
lead_time numeric(5) No No Lead time of the item as set by user
date date No No Order date
category character varying(6) No No Category assigned to this component - links to bom_categories.category
expected_yield_pct numeric(5,2) No No Not used
expected_scrap_pct numeric(5,2) No No Expected scrap percentage
guid character varying(32) No No Uniique identifier for linking to other tables; sales_order_items.guid inventory_serial_transactions.link_guid inventory_receipts.link_guid
phase_id character varying(20) No No Not used
req_no character varying(10) No No Requisition number that was created by this record - links to inventory_requisitions.requisition_no
vend_no character varying(20) No No Vendor code that was to be used for Inventory Requisition
employee character varying(6) No No Employee number added to the line - links to employees.employee_no
template_no character varying(10) No No Template that was used when creating this record
template_guid character varying(32) No No Template GUID that was used to create this line - links to production_template_items.guid
user_flag boolean No No User edited flag; FALSE = No, record still same as populated from template TRUE = User modified this record since it was created from the template
revision character varying(8) No No The revision number of the template that created or last updated this record
instructions text No No Component instruction notes
_dbversion integer No No Program version that last modified this record
_modified timestamp without time zone No No UTC Date and time record was created
_modified_by character varying(3) No No User initials that created this record
_created timestamp without time zone No No UTC Date and time this record was last modified
_created_by character varying(3) No No User initials that last modified this record
udf_data hstore No No ''::hstore User defined data for this record

Constraints

Name Type Definition Comment
production_history_items_pkey Primary key (id)
production_history_items_order_id_fkey Foreign key (order_id) REFERENCES public.production_history (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION
production_history_items_parent_id_fkey Foreign key (order_id, parent_item_id) REFERENCES public.production_history_items (order_id, id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION
production_history_items_order_id_id_key Unique (order_id, id)

Report generated by pgAdmin3 LTS by BigSQL