supplyMakeManufacturing
Creates a new manufacturing order to produce composed products from component materials.
This mutation initiates an asynchronous manufacturing process that consumes raw materials and produces finished composed products. The order is processed in the background and includes inventory management, material consumption tracking, and production scheduling.
Requirements
- User must be authenticated
- Brand, building, and composed products must exist and be valid
- Building must belong to the specified brand
- Destination location must exist within the building
- Sufficient raw materials must be available in inventory
- User must have manufacturing permissions for the brand
Process
The mutation returns immediately with a processing status while the actual manufacturing
order is handled asynchronously. Use the returned process_id
to track the order status.
Possible Errors
- **Authentication Error**: User must be logged in
- **Validation Error**: Invalid brand, building, or product IDs
- **Insufficient Inventory**: Not enough raw materials available
- **Permission Error**: User lacks manufacturing permissions for the brand
- **Location Error**: Invalid destination location for the specified building
supplyMakeManufacturing(
input: SupplyMakeManufacturingInput!
): AsynchronousActionResponse!
Arguments
supplyMakeManufacturing.input
● SupplyMakeManufacturingInput!
non-null input
Parameters for SupplyMakeManufacturing
Type
AsynchronousActionResponse
object
Asynchronous action response type