cancelInventoryRecords

Cancel specified inventory records.

This API call is for technical maintenance and for resolving issues. It is meant only for internal use by Erply SREs and administrators. We do not make any guarantees that this API call is fit for fixing any particular issue, and we cannot help if usage of the call causes further problems or discrepancies.

Input parameters

Parameter name Description Possible value Required
referenceType

Document type.

The accepted types are:

  • 1 - sales document
  • 2 - purchase document
  • 3 - Inventory Transfer
  • 4 - Inventory Write-Off
  • 5 - Inventory Transfer

integer yes
referenceID Document ID integer yes
referenceRowIDs Comma-separated list of document row IDs. string yes

Response

Field name Type Description
result string Message describing the result of the operation.