Wiki·schema·schema/swo-chdis-chd-discrepancy-det.md

swo_chdis_chd_discrepancy_det

This table maintains information about discrepancy transfers within a Shop Work Order (SWO). It records how discrepancies identified in one phase or task are transferred, reassigned, or carried forward into another work order or job card.

Process: COMPMAINTENANCE · Component: BasSWO · Table type: Transaction Table Category: This category encompasses all tables and columns that track discrepancies within a Shop Work Order (SWO). It includes information on how discrepancies detected during any phase of maintenance or production are recorded, transferred, reassigned, or carried forward to other work orders or job cards

This table is the canonical store for the ChildDiscrepancy entity.

Primary key

(NEXT VALUE FOR [swo_chdis_chd_discrepancy_det_seq])

Columns (23)

#ColumnTypeDescription
1chdis_createdbyvarcharUser who created the discrepancy record
2chdis_createddatedatetimeDate when the discrepancy record was created
3chdis_discrepancynovarcharIdentifier number assigned to the discrepancy
4chdis_modifiedbyvarcharUser who last modified the discrepancy record
5chdis_modifieddatedatetimeDate when the discrepancy record was last modified
6chdis_orgkeyidbigintReference key linking to the organization’s tracking ID
7chdis_ouinstanceintInstance of the organizational unit where the discrepancy is logged
8chdis_swonovarcharShop Work Order number associated with the discrepancy
9chdis_tasktrackidbigintTracking ID of the discrepancy task
10chdis_trans_componentidvarcharIdentifier of the transaction component
11chdis_trans_discnovarcharTransactional discrepancy number
12chdis_trans_docnovarcharReference to the associated Shop Work Order document number
13chdis_trans_doctypevarcharType of document linked with the transaction
14chdis_trans_knockoffqtynumericQuantity of components knocked off during the transaction
15chdis_trans_nhapartnovarcharNext higher assembly (NHA) part number
16chdis_trans_nhaserialnovarcharSerial number of the next higher assembly part
17chdis_trans_orgtransferqtynumericQuantity of components transferred during the transaction
18chdis_trans_partnovarcharPart number involved in the transaction
19chdis_trans_penqtynumericPending quantity of parts in the transaction
20chdis_trans_positionvarcharPosition code of the component in the assembly
21chdis_trans_serialnovarcharSerial number of the transferred component
22chdis_trans_transferredqtynumericTotal transferred quantity of components
23chdis_uniqueidbigintUnique identifier for the discrepancy record

Relationships (1)

  • SWOTask (swo_swostk_sub_task_details) → SWO_HAS_CHILD_DISC (this table is target) (no automatic join)
    • SWO task has child discrepancies

Sample rows (from live DB)

chdis_createdbychdis_createddatechdis_discrepancynochdis_modifiedbychdis_modifieddatechdis_orgkeyid
DMUSER2023-05-31 20:42:48.940CDP-167455-2023DMUSER2023-05-31 23:55:16.440
DMUSER2023-05-31 22:08:15.283CDP-167455-2023
DMUSER2023-05-31 22:08:15.283CDP-167455-2023DMUSER2023-05-31 23:55:16.440

Showing 3 of 738 rows.

See also