InventoryRevaluation

This component runs the Inventory Revaluation (IRM) function and allows you to run inventory revaluations.

You can use the InventoryRevalProfile component to set up and maintain the Inventory Revaluation Profiles that contain the data that determines the scope and impact of the revaluation.

Methods

CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more inventory revaluations. An inventory revaluation is created if it does not exist and amended if it does. Whereas both the Create and Amend methods require you to know in advance if the inventory revaluation exists, this method can be used if you are unsure.
Final
Driver Type: SASI
Use this method to recreate the snapshot and run any selected reports. The inventory transactions standard costs ledger and the item standard costs are updated as specified in the payload.
If the generate is successful, an information message is produced to inform you that the process has completed normally.
After this point the revaluation cannot be amended or processed further.
Generate
Driver Type: SASI
Use this method to initiate the revaluation.
The status of the revaluation is changed to Active. The revaluation and current period transactions are selected to generate a snapshot of movements with both old and new costs.
The revaluation data is saved.
If an active revaluation already exists for the same revaluation period, a warning message is produced.
If the generation is successful, an information message is produced to say that the process has completed normally.
Note: The Inventory module and Financials ledger are not updated by this action.
Query
Driver Type: Export
Use this method to obtain details for inventory revaluations or to extract inventory revaluation data from SunSystems.
Report
Driver Type: SASI
Use this method to rerun the currently selected reports for the last generated snapshot.

Mandatory fields

  • When creating or amending an inventory revaluation, the following must be supplied:
    • Inventory Revaluation Code - payload element <InventoryRevaluationCode>
    • Inventory Revaluation Profile Code - payload element <InventoryRevaluationProfileCode>
  • When running the Generate, Report or Final component methods, a value must be supplied for Inventory Revaluation Code - payload element <InventoryRevaluationCode>
  • To run Inventory Revaluation using a particular document format code, a value must be supplied for Document Format Code - payload element <DocumentFormatCode>.
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

Document Formats.