AnalysisHierarchyAssignCodes

This component runs the Analysis Hierarchy Assign Codes (ANY) function.

Methods

BulkCreateOrAmend
Driver Type: DJI
Use this method for the bulk assignment of Analysis Codes, or where performance is critical.
CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more analysis hierarchy assign codes. An analysis hierarchy assign code is created if it does not exist and amended if it does. To create these you must first create Analysis Hierarchy Labels and Analysis Hierarchy Codes.
Delete
Driver Type: SASI
Use this method to remove one or more analysis code from the analysis hierarchy.
Note: The analysis code is not deleted. If you want to delete the analysis code itself, use the AnalysisCodes component or delete it manually in SunSystems.
Query
Driver Type: Export
You can use this method to obtain analysis hierarchy details or to extract analysis hierarchy data from SunSystems.

Mandatory fields

When creating or amending codes for an Analysis Hierarchy, the following must be supplied:

  • Analysis Dimension Id - payload element <AnlCat_SHead>
  • Analysis Hierarchy Label - payload element <AnalysisHierarchyLabel>
  • Analysis Hierarchy Code - payload element <AnalysisHierarchyCode>
  • Analysis Code - payload element <AnalysisCode>
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

  • Analysis Dimensions.