Chameleoon MAX · Types
SalesOrderItemWriteBackInput input
The result of writing a goods line back to the external source
(reportSalesOrderItemWriteBack).
Input fields
itemId
The line's MAX id (SalesOrderItem.id). Omit it to report the order's own change (its
addresses, contact or notes). Then a problem becomes the warning SHOP_ORDER_NOT_WRITTEN on
the order, and no problem resolves that warning.
externalId
String
The external source's id of the item it created for the line.
replacesExternalId
String
The line's former item id that externalId replaces. Send it when the external source removed
the item, MAX kept the line, and the item was added again. Without it, a line that already has
an item returns CONFLICT.
problem
String
Why the external source did not accept the line.
Used by
reportSalesOrderItemWriteBack(mutation)