WOITEM – Work Order Items

System
WO (WO)
Prefix
WOI
Primary key
COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, COMPONENT-SEQ
Fields
33
Updated by
1 program
Referenced by
1 program

WOITEM is the Work Order Items table in Lawson WO (prefix WOI). It is indexed by COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, COMPONENT-SEQ (WOISET1); alternate indexes: WOISET2, WOISET3, WOISET4 and WOISET5. It is related 1:1 to ICCOMPANY, ICLOCATION, ITEMLOC, ITEMMAST, GLMASTER, WORDER and WOWOIUF and 1:M to WODETAIL, ITEMSUB, ITSERIAL and SOHDETAIL. It is updated by WHD3.1 and referenced by WHD2.1. The table has 33 fields, 5 indexes and 17 documented relations.

About WOITEM

The Work Order Items file contains information about components used in the process of producing a finished good for a specific work order.

Fields (33)

Column = COBOL field name without the WOI- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
WOI-COMPANY PK
COMPANY
Numeric 4This field contains the company number, as defined in the Inventory Control system.
WOI-LOCATION PK
LOCATION
Alpha 5This field contains a valid stock location within the company inventory. It is also the production facility where finished goods are produced.
WOI-WORK-ORDER PK
WORK_ORDER
Numeric 8This field identifies the work order and may be automatically assigned or manually assigned, depending on the option defined for each production (inventory) location.
WOI-WORK-ORDER-SUF PK
WORK_ORDER_SUF
Numeric 2This field will normally be zero for a work order. If you chose to split a work order so the completed part of the finished goods can be available for allocation, the work order created for the remaining quantity will have a non-zero value in this field.
WOI-COMPONENT-SEQ PK
COMPONENT_SEQ
Numeric 3The component sequence number is the order in which this component is added to the finished good during the production process.
WOI-COMPONENT-TYPE
COMPONENT_TYPE
Alpha 1The component type specifies whether the component is an inventory component used in the production of the finished good, a packaging item, or an offsite item.
  • C Component
  • P Packaging
  • O Offsite Component
  • R Rework
WOI-ITEM
ITEM
Alpha 32This field contains the item identifier of the component, as defined in the Inventory Control system.
WOI-INV-LOCATION
INV_LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.
WOI-PLAN-QTY
PLAN_QTY
Signed 13.4This field contains the planned quantity for an item for a work order.
WOI-ACTUAL-QTY
ACTUAL_QTY
Signed 13.4This is the actual quantity of the component used to make the finished goods for this work order.
WOI-ACT-CTW-QTY
ACT_CTW_QTY
Signed 13.4This is the actual catch weight quantity of the component used to make the finished goods for this work order.
WOI-PICKED-QTY
PICKED_QTY
Signed 13.4This is the quantity of the component that was picked for the work order.
WOI-DETAIL-QTY
DETAIL_QTY
Signed 13.4This field shows the total quantity of details defined for a detail tracked item. It is matched against the line quantity field to determine if details are in balance.
WOI-CATCH-WT-QTY
CATCH_WT_QTY
Signed 13.4This is the catch weight quantity of the component that was picked for the work order.
WOI-DTL-CTW-QTY
DTL_CTW_QTY
Signed 13.4This field is not currently used by the Work Order system.
WOI-WST-ACCT-UNIT
WST_ACCT_UNIT
Alpha 15The waste account unit is part of the account where the cost of components that were wasted during the work order production process are posted. The cost of wasted components are not included in the cost of the finished good.
WOI-WST-ACCOUNT
WST_ACCOUNT
Numeric 6The waste account is part of the account where the cost of the components that were wasted during the work order production process are posted. The cost of wasted components are not included in the cost the finished good.
WOI-WST-SUB-ACCT
WST_SUB_ACCT
Numeric 4The waste subaccount is part of the account where the cost of components that were wasted during the work order process are posted. The cost of wasted components are not included in the cost of the finished good.
WOI-WASTE-QTY
WASTE_QTY
Signed 13.4This is the quantity of the component that was wasted during the work order production process and was not used in the finished good.
WOI-WST-CTW-QTY
WST_CTW_QTY
Signed 13.4This is the catch weight quantity of the component that was wasted during the work order production process and was not used in the finished good.
WOI-EST-COMP-COST
EST_COMP_COST
Signed 18.5This is the estimated unit cost of the component.
WOI-ACT-COMP-COST
ACT_COMP_COST
Signed 18.5This is the actual unit cost of components that were not picked but were consumed, that is, used in the finished good or wasted. This field will be zero if the picked quantity is greater than the sum of the actual quantity and the waste quantity.
WOI-PICKED-COST
PICKED_COST
Signed 18.5This is the unit cost for components that were picked.
WOI-TOT-ACT-COST
TOT_ACT_COST
Signed 18.5This is the extended cost of the components used to make the finished goods for this work order. The cost of any wasted components is not included in this field.
WOI-TOT-WASTE-COST
TOT_WASTE_COST
Signed 18.5This is the extended cost of components that were wasted during the production process for this work order. This cost is not included in the inventory costs of the finished good produced.
WOI-QTY-TOL-PCT
QTY_TOL_PCT
Percent 5.3 (Percent)This field contains the quantity tolerance percent of the component.
WOI-ZERO-QTY-FL
ZERO_QTY_FL
Alpha 1The zero quantity tolerance flag is used to indicate if zero tolerance is allowed for the component on this work order. This field is loaded from the component definition on the finished good template when the component is added to the work order through work order explosion or another entry method.
  • Y Yes
  • N No
WOI-WALK-THRU-REQ
WALK_THRU_REQ
Alpha 1This field indicates that a transaction line is out of balance. For example, if lot, bin, or serial number quantities do not equal the transaction quantity, select the WalkThru form action to balance the transaction quantities.
WOI-DISP-INV-LOC
DISP_INV_LOC
DerivedThe system displays a string that contains inventory location (INV-LOCATION) preceded by a label for the inventory location.
WOI-DISP-LOCATION
DISP_LOCATION
DerivedThe system displays a conditional field that will contain display inventory location (DISP-INV-LOC) if the value of inventory location (INV-LOCATION) is different than location (LOCATION).
WOI-ME-ACCT-UNIT
ME_ACCT_UNIT
Alpha 15The material expense account unit is used to record component costs associated with the production of finished goods.
WOI-ME-ACCOUNT
ME_ACCOUNT
Numeric 6The material expense account is used to record component costs associated with the production of finished goods.
WOI-ME-SUB-ACCT
ME_SUB_ACCT
Numeric 4The material expense subaccount is used to record component costs associated with the production of finished goods.

Indexes (5)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
WOISET1COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, COMPONENT-SEQPrimaryWHD2.1, WHD3.1
WOISET2COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, INV-LOCATION, COMPONENT-SEQKeyChange
WOISET3COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, COMPONENT-TYPE, COMPONENT-SEQKeyChange
WOISET4COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, COMPONENT-SEQKeyChange, SubsetWhere (WALK-THRU-REQ = "Y")
WOISET5COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, COMPONENT-SEQKeyChange, SubsetWhere COMPONENT-TYPE != "O"

Relations

One to one (8) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequiredWOI-COMPANYICC-COMPANY (ICCSET1)
IclocationICLOCATIONRequiredWOI-COMPANYICL-COMPANY, WOI-INV-LOCATIONICL-LOCATION
ItemlocITEMLOCNot RequiredWOI-COMPANYITL-COMPANY, WOI-INV-LOCATIONITL-LOCATION, WOI-ITEMITL-ITEM
ItemmastITEMMASTRequiredICC-ITEM-GROUPITE-ITEM-GROUP, WOI-ITEMITE-ITEM
Waste AccountGLMASTERNot RequiredValid When WOI-WST-ACCT-UNIT != Spaces Or WOI-WST-ACCOUNT != Zeroes Or WOI-WST-SUB-ACCT != ZeroesWOI-COMPANYGLM-COMPANY, WOI-WST-ACCT-UNITGLM-ACCT-UNIT, WOI-WST-ACCOUNTGLM-ACCOUNT, WOI-WST-SUB-ACCTGLM-SUB-ACCOUNT
Wo LocationICLOCATIONRequiredWOI-COMPANYICL-COMPANY, WOI-LOCATIONICL-LOCATION
WorderWORDERRequiredWOI-COMPANYWOR-COMPANY, WOI-LOCATIONWOR-LOCATION, WOI-WORK-ORDERWOR-WORK-ORDER, WOI-WORK-ORDER-SUFWOR-WORK-ORDER-SUF
WowoiufWOWOIUFNot RequiredWOI-COMPANYWIU-COMPANY, WOI-LOCATIONWIU-LOCATION, WOI-WORK-ORDERWIU-WORK-ORDER, WOI-WORK-ORDER-SUFWIU-WORK-ORDER-SUF, WOI-COMPONENT-SEQWIU-COMPONENT-SEQ

One to many (9) — child tables

RelationTableRulesConditionField map
BinsWODETAILValid When ITE-LOT-TRACK-FL = "N" And ITE-SER-TRACK-FL = "N" And ITL-BIN-TRACK-FL = "Y"WOI-COMPANYWOD-COMPANY, WOI-LOCATIONWOD-LOCATION, WOI-WORK-ORDERWOD-WORK-ORDER, WOI-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "C"WOD-DETAIL-TYPE, WOI-COMPONENT-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
ItemsubITEMSUBICC-ITEM-GROUPITS-ITEM-GROUP, WOI-ITEMITS-ITEM, "S"ITS-SUBTYPE, ITS-SUB-ITEM
ItserialITSERIALValid When ITE-SER-TRACK-FL != "N"WOI-COMPANYSER-COMPANY, WOI-ITEMSER-ITEM, SER-SERIAL
LotsWODETAILValid When ITE-LOT-TRACK-FL = "Y"WOI-COMPANYWOD-COMPANY, WOI-LOCATIONWOD-LOCATION, WOI-WORK-ORDERWOD-WORK-ORDER, WOI-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "C"WOD-DETAIL-TYPE, WOI-COMPONENT-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
SerialsWODETAILValid When ITE-SER-TRACK-FL != "N"WOI-COMPANYWOD-COMPANY, WOI-LOCATIONWOD-LOCATION, WOI-WORK-ORDERWOD-WORK-ORDER, WOI-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "C"WOD-DETAIL-TYPE, WOI-COMPONENT-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
SohbinsSOHDETAILValid When ITE-LOT-TRACK-FL = "N" And ITE-SER-TRACK-FL = "N" And ITL-BIN-TRACK-FL = "Y"WOI-COMPANYSDT-COMPANY, WOI-LOCATIONSDT-LOCATION, WOI-ITEMSDT-ITEM, SDT-UOM, SDT-LOT, SDT-SUBLOT, SDT-BIN
SohlotsSOHDETAILValid When ITE-LOT-TRACK-FL = "Y"WOI-COMPANYSDT-COMPANY, WOI-LOCATIONSDT-LOCATION, WOI-ITEMSDT-ITEM, SDT-UOM, SDT-LOT, SDT-SUBLOT, SDT-BIN
UomsWODETAILWOI-COMPANYWOD-COMPANY, WOI-LOCATIONWOD-LOCATION, WOI-WORK-ORDERWOD-WORK-ORDER, WOI-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "C"WOD-DETAIL-TYPE, WOI-COMPONENT-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
WodetailWODETAILWOI-COMPANYWOD-COMPANY, WOI-LOCATIONWOD-LOCATION, WOI-WORK-ORDERWOD-WORK-ORDER, WOI-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "C"WOD-DETAIL-TYPE, WOI-COMPONENT-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM

Programs

Updated by (1)

Referenced by (1)