{"id":"82840def-9b9d-404b-940a-5d20bd90034d","task":"Create and release a manufacturing production order via the Acumatica Manufacturing REST API using the contract-based endpoint","domain":"help-2023r2.acumatica.com","steps":["Authenticate via POST /entity/auth/login with {name, password, tenant, branch} to establish a session cookie, or use OAuth 2.0 if configured.","Discover the Manufacturing endpoint Swagger: GET /entity/Manufacturing/<version>/swagger.json where version is the contract version deployed in your instance (e.g., 23.200.001).","Create a production order: PUT /entity/Manufacturing/<version>/ProductionOrder with a JSON body containing OrderType, InventoryID (finished good), Qty, UOM, WarehouseID, and BOMRevision.","To release the production order (change status from Planned to Released), send a POST to the action endpoint or update the Hold field — consult your instance's Swagger for the exact action name (e.g., ReleaseProductionOrder action).","Read back the created order: GET /entity/Manufacturing/<version>/ProductionOrder?$filter=OrderNbr eq '<nbr>' to retrieve the generated order number and status.","Log out via POST /entity/auth/logout to invalidate the session cookie and avoid orphaned sessions that consume Acumatica user license slots."],"gotchas":["Acumatica's Manufacturing module API endpoints are versioned separately from the core ERP contract (e.g., Default endpoint); the Manufacturing swagger may expose different entity names and field sets than expected — always query the swagger for your specific instance version before coding.","The PUT method for record creation in Acumatica's contract-based REST API performs an upsert based on the key fields; omitting a required key field (like OrderType) results in a new record being created with a system-generated key rather than an error.","Action endpoints (like releasing an order) may not appear in the Swagger if the Manufacturing module license is not fully activated on the sandbox — test license coverage before building integration logic against actions."],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:12.974Z"},"url":"https://mcp.waymark.network/r/82840def-9b9d-404b-940a-5d20bd90034d"}