Finding the system codes in our online help might be faster than looking them up in SQL server with this query:

Select type, [Parent SysCodeID], [Parent SysCodeDesc], [Child SysCodeID], [Child SysCodeDesc] from

(

        SELECT        'Parent' AS Type, SysCodesID AS [Parent SysCodeID], SysCodeDesc AS [Parent SysCodeDesc], NULL AS [Child SysCodeID], NULL AS [Child SysCodeDesc],

        Parent.SysCodesID AS [Sort1], 0 AS [Sort2]

        FROM            HQMS_SysCodes AS Parent

        WHere Parent.SysCodeType = 0

        

        UNION ALL

         SELECT        'Child' as type, NULL AS [Parent SysCodeID],NULL AS [Parent SysCodeDesc], 

        ChildSysCodes.SysCodesID AS [Child SysCodeID], ChildSysCodes.SysCodeDesc AS [Child SysCodeDesc],

        Parent.SysCodesID AS [Sort1], ChildSysCodes.SysCodesID AS [Sort2]

        FROM            HQMS_SysCodes AS Parent LEFT OUTER JOIN

                                 HQMS_SysCodes AS ChildSysCodes ON Parent.SysCodesID = ChildSysCodes.SysCodeType

                                 Where ChildSysCodes.SysCodeType is not null

) as Results

order by Sort1, Sort2


 

TypeParent SysCodeIDParent SysCodeDescChild SysCodeIDChild SysCodeDesc
Parent1ApplyToSID

Child

1000In Process
Child

1001In Place
Parent2DataTypeSID

Child

2001Number
Child

2002Boolean
Child

2004System Code List
Child

2005Free Text
Child

2006Date Only
Child

2007Time Only
Child

2008Date and Time
Child

2009Document Path
Parent3SampleSizeID

Child

3001Batch Amt P/F
Child

3002Batch Amt Values
Child

3003Percent Amt P/F
Child

3004Percent Amt Values
Child

3005Specific Amt P/F
Child

3006Specific Amt Values
Parent4Unit of Measure

Parent5Document Status

Child

5001History
Child

5002Void
Child

5003New
Child

5004Hold
Child

5005Testing
Parent6Test Categories

Child

60001Analytical
Child

60002Physical
Child

60003Identity
Child

60004Verification
Child

60005Particle Size
Parent7Inspection Categories

Child

70001Polymer
Child

70002Monomer
Child

70003Gel
Child

70004Raw Material
Parent8Inspectors

Parent9Disposition Codes

Child

90001test
Parent10Status Codes

Parent11Item Type

Child

11001None
Child

11002Serial
Child

11003Lot
Parent12ReportBaseTypes

Child

12004Results Entry
Child

12005Tolerance Plot
Child

12007Item Details
Child

12008COA Print
Child

12009Action Details
Child

12010Action Non-Conformance
Child

12011Event Details
Child

12012Action
Child

12013COA Print Avg
Child

12014COA Print AvgMinMax
Child

12016COA Print LotSeperated
Child

12017Item Specification
Child

12018COA Print Pivot
Child

12019COA Print Secondary
Child

12030Action Costs
Parent13Process Codes

Child

13001HZS Manufacturing
Child

13002GP Manufacturing
Child

13003POP receiving
Child

13004SOP returns
Child

13005INV transfer
Child

13006INV adjustemnt
Child

13007QES Hold
Parent14Reason Codes

Parent15Transaction Types

Child

15001User Defined
Child

15002Purchase Order
Child

15003Work Order
Child

15004Sales Order
Parent16Action Types

Child

16001Non-Conformance
Child

16002Corrective Action
Child

16003Root Cause Analysis
Child

16004Event
Parent18Item Sources

Parent19Action Outcomes

Parent20Location of Detection

Parent21Sub-Location of Detection

Parent22Item Sources

Parent23QA Source

Parent24CostCodeType

Child

2401Labor
Child

2402Material
Child

2403Overhead
Child

2404ROI
Parent25Operational Source

Parent26Inspection Group

Parent27In Place Group

Parent28Test Group

Parent29Sales Order Type

Child

2901Quote
Child

2902Order
Child

2903Invoice
Child

2904Return
Parent30Use Criteria Type

Child

1101Original Criteria
Child

1102Customer Item Criteria
Parent31Grade Logic

Child

4000Acceptable - To be used
Child

4001Acceptable - Not to be used
Child

4002Not Acceptable - To be used
Child

4003Not Acceptable - Not to be used
Parent32Item Spec Category

Parent33Frequency

Child

4100Monthly
Child

4101First Article
Parent34Dashboard Analysis

Parent35Base Calc Type

Child

5500Sum
Child

5501Average
Child

5502Median
Child

5503Mode
Child

5504STD Deviation
Child

5505Min
Child

5506Max
Parent36Test Plan Status

Child

4200New
Child

4201In Process
Child

4202Complete
Child

4203Void
Parent37Email Event

Child

3700COA Finalize
Child

3701Failed Result Test
Child

3702Result Header Change
Parent20002Bubble Viscosity

Child

20003A
Child

20004B
Parent200010Analysis Values

Child

200011N/D
Child

200012OK
Child

200013Fails
Child

200014Matches Standard