CreateRestockSuggestionStartAreaCommandResponse
Creates a start area with its entries in one call; their order in the request is their priority, the first is the highest. A supplier or warehouse appears only once, and at most one entry is the company’s own production. Available in GraphQL only. Errors arrive as GraphQL errors with the code in ‘extensions.code’; a refusal because of the current state also lists every reason in ‘extensions.blockers’. Codes: RESTOCK_SUGGESTION_START_AREA_ENTRIES_REQUIRED, RESTOCK_SUGGESTION_START_AREA_NAME_REQUIRED, RESTOCK_SUGGESTION_START_AREA_ENTRY_DUPLICATE or VALIDATION_FAILED (no entry, an empty name, a supplier or warehouse twice in the request, or the request is invalid otherwise); SUPPLIER_NOT_FOUND or WAREHOUSE_NOT_FOUND (a referenced record was not found); SUPPLIER_INACTIVE, WAREHOUSE_NOT_USABLE, RESTOCK_SUGGESTION_PRODUCTION_NOT_AVAILABLE or RESTOCK_SUGGESTION_START_AREA_PRODUCTION_ENTRY_DUPLICATE (the supplier is not active, the warehouse is not active or a transit or pending-reservation warehouse, the ERP has no active production, or the start area has a production entry already). - Response
CreateRestockSuggestionStartAreaCommandResponseFields
The ID of the new start area.
The temporary identifier from the request, if one was sent.
The new entries in the order of the request, with their temporary identifiers.
Was this page helpful?