Wikiยทschemaยทschema/swo-swoh-shop-wo-hdr.md

swo_swoh_shop_wo_hdr

Holds metadata for error messages used in routing operations. This table contains error message templates, routing rules, and system notification details to manage workflow routing and error handling within the SWO system.

Process: COMPMAINTENANCE ยท Component: BasSWO ยท Table type: Transaction Table Category: Routing information, metadata and message details

This table is the canonical store for the ShopWorkOrder entity.

Primary key

swoh_unique_id

Columns (155)

#ColumnTypeDescription
1swoh_amemr_covflgvarcharCapex proposal number.
2swoh_assoc_cr_linkidvarcharWork order closure date.
3swoh_ber_flagvarcharCode identifying the main core component.
4swoh_ber_sourceflagvarcharComponent type.
5swoh_capex_proposal_novarcharComponent organizational unit instance.
6swoh_cls_datedatetimeIndicates if Certification of Maintenance (CoM) is required.
7swoh_component_idvarcharCompletion status of CoM.
8swoh_comptypevarcharContract effectivity code.
9swoh_comp_ouintContract effectivity line number.
10swoh_com_reqdvarcharCustomer order number (defaulted from order).
11swoh_com_statusvarcharCustomer order revision number.
12swoh_contract_eff_codevarcharMain core lot number for the shop work order.
13swoh_contract_eff_line_nointContract effectivity line no
14swoh_contract_novarcharContract No-Defaulted from Customer order
15swoh_contract_rev_nointContract revision No
16swoh_core_lot_novarcharShop Work Order (SWO ) Main Core Lot No
17swoh_core_quantitynumericShop Work Order (SWO Main Core Quantity
18swoh_core_statusvarcharMain Core status-holds the following values R - returned NA -Not applicable ER -External routed PR-pending request EBER-Ext. routed BER I -Issued
19swoh_createdbyvarcharCreated by
20swoh_created_datedatetimecreated date
21swoh_cr_task_trackidbigintTask track id for task used to remove and create the child swo
22swoh_current_locationvarcharCurrent location of the component.
23swoh_current_loc_optionvarcharCurrent location option.
24swoh_curr_parent_swovarcharCurrent parent SWO.
25swoh_curr_root_swovarcharCurrent root SWO.
26swoh_cust_novarcharCustomer number.
27swoh_cust_reg_datedatetimeCustomer request date (defaulted from order).
28swoh_cust_warr_req_flagvarcharWarranty requested flag.
29swoh_cust_warr_res_flagvarcharWarranty resolution flag.
30swoh_cus_order_novarcharCustomer order number.
31swoh_cus_order_ouintCustomer component organizational unit.
32swoh_cus_order_revnovarcharCustomer order revision number.
33swoh_dlink_flagvarcharD-link flag for exchange transaction type.
34swoh_est_flagvarcharEstimation flag.
35swoh_eventidvarcharShop WO event ID linking parent and child work orders.
36swoh_execsrc_descCharUnused column.
37swoh_execsrc_refCharUnused column (not used in SP).
38swoh_exec_document_novarcharExecution document number.
39swoh_exec_wc_codevarcharExecution work center code.
40swoh_exe_doc_typevarcharExecution document type.
41swoh_expense_typevarcharExpense type (Revenue/Capital).
42swoh_fac_descvarcharFacility description.
43swoh_fac_NovarcharFacility number.
44swoh_fac_objvarcharFacility object number.
45swoh_fac_typevarcharFacility type.
46swoh_fb_novarcharFB identifier.
47swoh_final_dispositionvarcharFinal repair disposition.
48swoh_final_move_optionvarcharFinal movement options (e.g., return to customer, warehouse).
49swoh_final_move_tovarcharFinal movement location.
50swoh_hierarchy_idvarcharHierarchy ID for parent/child relationship in SWO.
51swoh_induction_datedatetimeComponent induction date.
52swoh_initial_dispositionvarcharInitial repair disposition.
53swoh_jobclassvarcharQuickcode value for SWO job class.
54swoh_job_typevarcharShop WO job type (e.g., Miscellaneous, Project, Engine, Piece Part, Facility, Component, Make).
55swoh_mfg_datedatetimeManufacturing date.
56swoh_mfg_lot_novarcharManufacturing lot number (for Make job type).
57swoh_mfg_qtynumericManufacturing quantity (for Make job type).
58swoh_mfg_serialnovarcharManufacturing serial number (for Make job type).
59swoh_mfr_novarcharManufacturer code for main core part.
60swoh_mfr_partnovarcharManufacturer part number for main core part.
61swoh_mkdata_pflgvarcharMarshalling/Kitting data flag.
62swoh_modified_byvarcharUser who modified the record.
63swoh_modified_datedatetimeModified lot number.
64swoh_mod_core_lot_novarcharModified manufacturer number.
65swoh_mod_mfrnovarcharModified manufacturer part number.
66swoh_mod_mfr_partnovarcharModified part number.
67swoh_mod_partnovarcharModified serial number (Repair receipt or part serial change).
68swoh_mod_part_serialnovarcharCoverage quantity.
69swoh_mrcovqtynumericMR line number.
70swoh_mrlinenointMR number.
71swoh_mrnovarcharRequired quantity.
72swoh_mrreqqtynumericManufacture serial number for the aircraft.
73swoh_msnvarcharFlag indicating multiple cores associated with same work order.
74swoh_multi_core_flagvarcharNew manufacturer number.
75swoh_NewMfr_novarcharNew manufacturer part number.
76swoh_NewMfr_partnovarcharNew part number.
77swoh_NewpartnovarcharNext movement option for core.
78swoh_next_move_optionvarcharNext movement location for core.
79swoh_next_move_tovarcharNFF flag.
80swoh_nff_flagvarcharOperator code mapped to component ID.
81swoh_operator_codevarcharOrder class (Internal/External).
82swoh_order_classvarcharOriginal core quantity of work order.
83Swoh_Org_CoreQtynumericShop WO organizational unit instance.
84swoh_ouinstanceintOverride comments (Capability check).
85swoh_override_cmntsvarcharParent shop WO number.
86swoh_parent_swo_novarcharCode identifying the main core part.
87swoh_partnovarcharPart description.
88swoh_part_descvarcharPart administrative organizational unit.
89swoh_part_ouintSerial number of main core part.
90swoh_part_serialnovarcharPercentage of completion.
91swoh_per_compnumericScheduling plan ID.
92swoh_planidBigintPlan end date and time.
93swoh_plan_endatedatetimePlan start date and time.
94swoh_plan_startdatedatetimePosition code.
95swoh_poscodevarcharProduct structure track ID.
96swoh_prdstr_reftrackidbigintRevision number.
97swoh_prdstr_revnointPrimary work center responsible for SWO execution.
98swoh_primary_wc_codevarcharProjected completion date.
99swoh_proj_comp_datedatetimePromised completion date.
100swoh_promised_cmp_datedatetimePromised delivery date.
101swoh_prom_del_datedatetimeProcess plan track ID.
102swoh_propln_reftrackidbigintReason for change (target date, PCD, PDD, projected completion date).
103swoh_reasonforchgevarcharReference document type (AME/SWO).
104swoh_ref_doc_typvarcharRemoved aircraft registration number.
105swoh_rem_aircraft_reg_novarcharRemoval date.
106swoh_rem_datedatetimeRemoved part number.
107swoh_rem_partvarcharReason for removal.
108swoh_rem_reasonvarcharRemoved serial number.
109swoh_rem_serial_novarcharRepair classification.
110swoh_repair_classvarcharRepair process code.
111swoh_repair_proc_codevarcharReschedule from date.
112swoh_resch_fromdatetimeRoot shop WO number.
113swoh_root_swo_novarcharRoster group for scheduling.
114swoh_rostergroupvarcharRouting identifier for latest routing details.
115swoh_rout_idintMain repair order number.
116swoh_ro_novarcharScheduling application flag.
117swoh_sch_optvarcharSource of the SWO (manual, customer order, strip, split).
118swoh_source_flagvarcharSource customer order number.
119swoh_src_cust_ordvarcharStation code mapped to primary work center.
120swoh_stationcodevarcharShop WO status (e.g., Draft, Planned, Closed, Pre-Closed, Completed, Fresh, In Progress, Cancelled).
121swoh_statusvarcharStock status.
122swoh_stock_statusvarcharUnder warranty flag.
123swoh_supp_warr_flagvarcharDemand supplier reference ID.
124swoh_sup_refidBigintShortage/Surplus indicator.
125swoh_Surplus_ShortagenumericCategory of SWO.
126swoh_swo_categoryvarcharShop WO description.
127swoh_swo_descvarcharShop WO number.
128swoh_swo_novarcharOrder priority.
129swoh_swo_priority_nointWork center slot.
130swoh_swo_slotvarcharShop WO type.
131swoh_swo_typevarcharUser-defined status.
132swoh_swo_ud_statusvarcharTarget date.
133swoh_target_datedatetimeTAT start date.
134swoh_TAT_StartdatedatetimeTimestamp of the record.
135swoh_timestampintTransient status.
136swoh_transient_statusvarcharUnique sequence number (Primary Key).
137swoh_unique_id ๐Ÿ”‘bigintUser-defined field 1 (scheduling).
138swoh_user_defined1varcharUser-defined field 2 (scheduling).
139swoh_user_defined2varcharUser-defined field 3 (scheduling).
140swoh_user_defined3datetimeUser status.
141swoh_usr_statusvarcharActual UTC end date.
142swoh_utc_act_end_datetimedatetimeActual UTC start date.
143swoh_utc_act_start_datetimedatetimeReported date.
144swoh_utc_rep_datedatetimeVisit document number.
145swoh_visitdoc_novarcharWork center organizational unit instance.
146swoh_wc_ouintTimesheet task code for work scope.
147swoh_workscope_taskvarcharRevision number of the work order after release.
148swoh_wrk_scp_revnointWork scope status.
149swoh_wrk_scp_statusvarcharWorkscoping class.
150swoh_wsclassvarcharWorkscoping comments.
151swoh_wscommentsvarcharWorkscoping customer revision number.
152swoh_wscusrevnointWorkscoping revision number.
153swoh_wsrevnointWorkscoping revision status.
154swoh_wsrevstatusvarcharWorkscoping stage.
155swoh_wsstagevarcharAdjusted actual cost.

Relationships (20)

  • SWO_HAS_ADDITIONAL_HDR โ†’ SWOAdditionalHeader (swo_swoah_shop_wo_addl_hdr)
    • Join: swo_swoh_shop_wo_hdr.swoh_unique_id = swo_swoah_shop_wo_addl_hdr.swoad_unique_id
    • SWO has additional header info
  • SWO_HAS_COST_SUMMARY โ†’ CostSummary (swo_swocst_cost_summary)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swocst_cost_summary.swocst_swo_no
    • SWO has cost summary
  • FOR_AIRCRAFT โ†’ Aircraft (AC_ACI_AIRCRAFT_INFO)
    • Join: swo_swoh_shop_wo_hdr.swoh_rem_aircraft_reg_no = AC_ACI_AIRCRAFT_INFO.ACI_AIRCRAFT_REG_NO
    • SWO is for aircraft
  • FOR_COMPONENT โ†’ ComponentID (AC_CMPID_COMPONENT_ID_INFO)
    • Join: swo_swoh_shop_wo_hdr.swoh_component_id = AC_CMPID_COMPONENT_ID_INFO.CMPID_COMPONENT_ID
    • SWO is for component
  • AT_WORK_CENTER โ†’ LogicalWorkCenter (BAS_WCLOG_WC_LOGICAL_WC_DTL) (no automatic join)
    • SWO executed at work center
  • AT_FACILITY โ†’ Facility (BAS_WC_FAC_FACILITY)
    • Join: swo_swoh_shop_wo_hdr.swoh_primary_wc_code = BAS_WC_FAC_FACILITY.FAC_CODE
    • SWO at facility
  • HAS_PRIORITY โ†’ Priority (BAS_CM_PRI_PRIORITY_NUMBER)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_priority_no = BAS_CM_PRI_PRIORITY_NUMBER.PRI_PRIORITY_NO
    • SWO has priority level
  • FOR_PART โ†’ Part (PRT_PRCRL_CENTRALREFLIST_INFO)
    • Join: swo_swoh_shop_wo_hdr.swoh_part_desc = PRT_PRCRL_CENTRALREFLIST_INFO.PRCRL_PART_DESC
    • SWO is for a part
  • SWO_HAS_CERTIFICATE โ†’ SWOCertificate (swo_swoccm_com_certificate_dtl)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swoccm_com_certificate_dtl.swoccm_swo_no
    • SWO has certificate of maintenance
  • SWO_HAS_CONFORMITY_CERT โ†’ SWOConformityCert (swo_swococ_conformity_cert_list)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swococ_conformity_cert_list.swococ_swo_no
    • SWO has conformity certificate
  • SWO_HAS_CALIBRATION_CERT โ†’ CalibrationCert (swo_swocol_calibration_cert_list)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swocol_calibration_cert_list.swocol_swo_no
    • SWO has calibration certificate
  • SWO_HAS_MFG_CERT โ†’ MfgCertificate (swo_prtmfg_certificate_dtl) (no automatic join)
    • SWO has manufacturing certificate
  • SWO_HAS_ROUTING โ†’ RoutingDetail (swo_swortng_routing_dtl)
    • Join: swo_swoh_shop_wo_hdr.swoh_ro_no = swo_swortng_routing_dtl.swortng_ro_no
    • SWO has routing details
  • SWO_HAS_KIT โ†’ KitRefDetail (swo_Kit_Ref_Dtl)
    • Join: swo_swoh_shop_wo_hdr.swoh_poscode = swo_Kit_Ref_Dtl.KRD_poscode
    • SWO has kit reference
  • SWO_HAS_COMLIST โ†’ COMList (swo_swocom_com_list)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swocom_com_list.swocom_swo_no
    • SWO has COM list
  • SWO_HAS_CORE_DISASSY โ†’ CoreDisassembly (swo_swocds_core_disassm_assemble_det)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swocds_core_disassm_assemble_det.swocds_swo_no
    • SWO has core disassembly
  • SWO_HAS_MILESTONE โ†’ JobMilestone (swo_job_lvl_mile_stones)
    • Join: swo_swoh_shop_wo_hdr.swoh_createdby = swo_job_lvl_mile_stones.swomls_createdby
    • SWO has job milestone
  • SWO_HAS_CONFIG_REVIEW โ†’ ConfigReview (SWO_Config_review_record)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = SWO_Config_review_record.SCR_SWO_No
    • SWO has config review
  • VisitPackage (SWO_Visit_Lvl_Info) โ†’ VISIT_FOR_SWO (this table is target)
    • Join: SWO_Visit_Lvl_Info.visit_id = swo_swoh_shop_wo_hdr.swoh_eventid
    • Visit package for shop work order
  • SWO_CONTAINS_TASK โ†’ SWOTask (swo_swostk_sub_task_details)
    • Join: swo_swoh_shop_wo_hdr.swoh_swo_no = swo_swostk_sub_task_details.swostk_swo_no
    • Shop work order contains tasks

Sample rows (from live DB)

swoh_amemr_covflgswoh_assoc_cr_linkidswoh_ber_flagswoh_ber_sourceflagswoh_capex_proposal_noswoh_cls_date
NULLNULLNULLNULLNULLNULL
NULLNULLNULLNULLNULLNULL
NULLNULLNULLNULLNULLNULL

Showing 3 of 25,147 rows.

See also