Chameleoon MAX · Types
ExternalIssueInput input
The document with which an externally managed warehouse already took the order's goods off its
stock, such as an invoice that issues stock, recorded together with the order in
createSalesOrder. MAX records each item's externallyIssuedQuantity, or its whole
quantity, as reportExternalIssue does, under the same rules and caller contract.
- Requires the
stock.syncandintegration.readpermissions in addition toorder.write. - A repeat of
createSalesOrderrecords nothing again. CONFLICTwithextensions.reasonSTOCK_NOT_MASTERED(fieldexternalIssue.warehouseId) means that no external system manages the warehouse.- A refusal reason of
reportExternalIssueis returned onitems[i].externallyIssuedQuantity. VALIDATIONis returned onexternalIssue.*oritems[i].externallyIssuedQuantity.- After any of these refusals, nothing is created.
Input fields
warehouseId
UUID! · required
The warehouse's MAX id. An external system must manage the warehouse (see
syncStockLevels).
effectiveAt
Time! · required
When the document took the goods off stock, on the external system's clock, which is the
clock of asOf in syncStockLevels. At most 15 minutes ahead of the MAX clock.
documentExternalId
String! · required
The document's id in the external system, for example the invoice's. 1 to 128 bytes, trimmed.