AnalysisCodes
This component runs the Analysis Codes (ANC) function.
Note: If running a Create method you must supply an existing analysis dimension code and a new unique analysis code.
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>
Note: At runtime the component validates the payload contents to ensure that the values supplied are correct. Various combinations of values may require other elements in the payload to be specified before the payload can be processed successfully.
Related data
- DAG
- Analysis Dimension ID
- Standard Text
- Standard Text Language
The attachment of Standard Text is supported by these methods:
- Amend
- BulkCreateOrAmend
- Create
- CreateAsDraft
- CreateOrAmend
- CreateReplaceOrDelete
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>
<Description>Delivery</Description>
<LanguageCode>1</LanguageCode>
<Paragraph1>Follow the special Instructions on the Invoice</Paragraph1>
<ShortHeading>Delivery</ShortHeading>
<StandardTextClassCode>SALES</StandardTextClassCode>
<StandardTextCode>DELIVERY</StandardTextCode>
</StandardTextLang>
</StandardText>
</AnalysisCodes>