AnalysisCodes
This component runs the Analysis Codes (ANC) function.
From version 5.1.5 onwards the Analysis Dimension Short Heading is used to identify the analysis dimension rather than the analysis dimension code.
Methods
- Amend
- Driver Type: SASI
- BulkCreateOrAmend
- Driver Type: DJI
- Closed
- Driver Type: SASI
- Create
- Driver Type: SASI
- CreateAsDraft
- Driver Type: SASI
- CreateOrAmend
- Driver Type: SASI
- CreateReplaceOrDelete
- Driver Type: SASI
- Delete
- Driver Type: SASI
- Hidden
- Driver Type: SASI
- Open
- Driver Type: SASI
- Query
- Driver Type: Export
- SuspendedHeld
- Driver Type: SASI
Mandatory fields
When creating or amending analysis codes, the following must be supplied:
-
Analysis Code - payload element
<AnalysisCode>
-
Analysis Dimension ID Short Heading - payload element
<AnalysisCatID.AnlCat_SHead>
Related data
- DAG
- Standard Text with
- Standard Text Lang
- Analysis Dimension ID.
The attachment of Standard Text is supported by the Create, Amend and CreateOrAmend methods only, and not by BulkCreateOrAmend. If the standard text supplied in the payload does not exist then it is created. However, it is not possible to amend existing standard text by this means; existing standard text is attached by key only, and any non-key fields in the SSC payload are ignored. Standard text can be amended using the Standard Text Language Variants function from SunSystems or the SSC component StandardTextLanguageVariants.
The standard text to be attached is language specific and therefore must be included within the StandardTextLang part of the payload in order to be detected by the SSC component, as shown in the following example:
<AnalysisCodes>
...
<StandardText>
<StandardTextLang>
<LanguageCode>1</LanguageCode>
<StandardTextClassCode>STD</StandardTextClassCode>
<StandardTextCode>DELIV</StandardTextCode>
</StandardTextLang>
</StandardText>
</AnalysisCodes>