UserDefinedCostsAmendment

This component runs the User Defined Cost Amendment (IUA) function.

Note: There is no Create method for this component. The Amend method is used to amend user defined cost values for item codes and cannot be used to create new ones. The user defined cost values may be created using the SunSystems Item Costs Setup form via the Item Master (ITM) function, or via the Item component.

Methods

Amend
Driver Type: SASI
Use this method to amend user defined cost bases.
Delete
Driver Type: SASI
Use this method to delete user defined cost bases.
Query
Driver Type: Export
Use this method to obtain user defined cost base details or to extract user defined cost base data from SunSystems.

Mandatory fields

When amending or deleting a user defined cost base, values for one or more of the following must be supplied:

  • Item Code - payload element <ItemCode>
  • Cost Type Code - payload element <CostTypeCode>
  • Cost Analysis Id - payload element <CostAnalysisId>
  • Currency Code - payload element <CurrencyCode>
  • Transaction Currency - payload element <TransactionCurrency>
  • User Defined Cost Definition Code - payload element <UserDefinedCostDefinitionCode>
  • Period - payload element <Period>.
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

None.