WOBYPROD – Work Order Byproducts

System
WO (WO)
Prefix
WOB
Primary key
COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, SEQ
Fields
11
Updated by
1 program
Referenced by
0 programs

WOBYPROD is the Work Order Byproducts table in Lawson WO (prefix WOB). It is indexed by COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, SEQ (WOBSET1); alternate indexes: WOBSET2. It is related 1:1 to ICCOMPANY, ICLOCATION, ITEMLOC, ITEMMAST and WORDER and 1:M to WODETAIL. It is updated by WHD3.1. The table has 11 fields, 2 indexes and 10 documented relations.

About WOBYPROD

No description in the Lawson data dictionary.

Fields (11)

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

Field / columnTypeDescription & valuesUpdated by
WOB-COMPANY PK
COMPANY
Numeric 4This field contains the company number, as defined in the Inventory Control system.
WOB-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.
WOB-WORK-ORDER PK
WORK_ORDER
Numeric 8This identifies the work order and may be automatically assigned or manually assigned, depending on the option defined for each production (inventory) location.
WOB-WORK-ORDER-SUF PK
WORK_ORDER_SUF
Numeric 2This 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.
WOB-SEQ PK
SEQ
Numeric 3This field contains the sequence number of the byproduct on the work order.
WOB-ITEM
ITEM
Alpha 32This field contains the item identifier of the byproduct, as defined in the Inventory Control system.
WOB-QUANTITY
QUANTITY
Signed 13.4This is the estimated quantity of the byproduct that will be produced by this work order.
WOB-ACTUAL-QTY
ACTUAL_QTY
Signed 13.4This is the actual quantity of the byproduct that was produced for the work order.
WOB-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.
WOB-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.
WOB-FGV-AMOUNT
FGV_AMOUNT
Signed 18.5The finished good variance amount on a work order byproduct is the result of a cost being returned from inventory for a byproduct on a reverse work order.

Indexes (2)

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

IndexKeysFlagsConditionUsed in
WOBSET1COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, SEQPrimaryWHD3.1
WOBSET2COMPANY, LOCATION, WORK-ORDER, WORK-ORDER-SUF, SEQKeyChange, SubsetWhere (WALK-THRU-REQ = "Y")

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequiredWOB-COMPANYICC-COMPANY (ICCSET1)
IclocationICLOCATIONRequiredWOB-COMPANYICL-COMPANY, WOB-LOCATIONICL-LOCATION
ItemlocITEMLOCRequiredWOB-COMPANYITL-COMPANY, WOB-LOCATIONITL-LOCATION, WOB-ITEMITL-ITEM
ItemmastITEMMASTRequiredICC-ITEM-GROUPITE-ITEM-GROUP, WOB-ITEMITE-ITEM
WorderWORDERRequiredWOB-COMPANYWOR-COMPANY, WOB-LOCATIONWOR-LOCATION, WOB-WORK-ORDERWOR-WORK-ORDER, WOB-WORK-ORDER-SUFWOR-WORK-ORDER-SUF

One to many (5) — child tables

RelationTableRulesConditionField map
BinsWODETAILValid When ITE-LOT-TRACK-FL = "N" And ITE-SER-TRACK-FL = "N" And ITL-BIN-TRACK-FL = "Y"WOB-COMPANYWOD-COMPANY, WOB-LOCATIONWOD-LOCATION, WOB-WORK-ORDERWOD-WORK-ORDER, WOB-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "B"WOD-DETAIL-TYPE, WOB-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
LotsWODETAILValid When ITE-LOT-TRACK-FL = "Y"WOB-COMPANYWOD-COMPANY, WOB-LOCATIONWOD-LOCATION, WOB-WORK-ORDERWOD-WORK-ORDER, WOB-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "B"WOD-DETAIL-TYPE, WOB-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
SerialsWODETAILValid When ITE-SER-TRACK-FL != "N"WOB-COMPANYWOD-COMPANY, WOB-LOCATIONWOD-LOCATION, WOB-WORK-ORDERWOD-WORK-ORDER, WOB-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "B"WOD-DETAIL-TYPE, WOB-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
UomsWODETAILWOB-COMPANYWOD-COMPANY, WOB-LOCATIONWOD-LOCATION, WOB-WORK-ORDERWOD-WORK-ORDER, WOB-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "B"WOD-DETAIL-TYPE, WOB-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM
WodetailWODETAILWOB-COMPANYWOD-COMPANY, WOB-LOCATIONWOD-LOCATION, WOB-WORK-ORDERWOD-WORK-ORDER, WOB-WORK-ORDER-SUFWOD-WORK-ORDER-SUF, "B"WOD-DETAIL-TYPE, WOB-SEQWOD-COMPONENT-SEQ, WOD-BIN, WOD-LOT, WOD-SUBLOT, WOD-SERIAL, WOD-UOM

Programs

Updated by (1)