INVADJUST

This table records adjustments made to inventory.

Column Descriptions:

NameTypeDescription
INVADJUST_IDBIGINT NOT NULLSystem generated identifier which groups together the RECEIPT rows that were updated during an adjustment.
INVADJUSTNUMINTEGER NOT NULLA number that uniquely identifies this receipt adjustment along with its specified INVADJUST_ID.
INVADJCODE_IDBIGINT NOT NULLForeign key to INVADJCODE table to indicate the type of adjustment being done.
RECEIPT_IDBIGINT NOT NULLIndicates the receipt which was adjusted.
ADJUSTMENTDATETIMESTAMPTimestamp of adjustment.
QUANTITYINTEGERQuantity adjusted for this receipt.
ADJUSTMENTCOMMENTVARCHAR (254)Comment.
LASTUPDATETIMESTAMPTimestamp of last update.
OPTCOUNTERSMALLINTThe optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>INVADJUST_ID+INVADJUSTNUMPrimary Key
I0000136INVADJUST_ID+INVADJCODE_ID+ADJUSTMENTDATENon-Unique Index
I0000592RECEIPT_IDNon-Unique Index
I0000593INVADJCODE_IDNon-Unique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_391INVADJCODE_IDINVADJCODEINVADJCODE_IDCascade
F_392RECEIPT_IDRECEIPTRECEIPT_IDCascade