{"ok":true,"commandType":"bulk-create-stock-write-offs","module":"Bulk","mode":"write","summary":"Bulk wrapper for create-stock-write-off.","payloadSchema":{"records":"required array; each row uses the same payload as create-stock-write-off","stopOnError":"optional boolean; stop the batch when a row fails","dryRun":"optional boolean; validate without saving where supported","idempotencyKey":"optional caller batch key"},"examplePayload":{"records":[{"docDate":"2026-06-24","description":"Stock document created through API","reason":"API stock operation","location":"HQ","fromLocation":"HQ","toLocation":"STORE","project":"PRJAPI","department":"HQ","lines":[{"itemCode":"ITEM001","description":"Stock line 1","description2":"Stock line second description","barCode":"9550000000011","qty":2,"uom":"UNIT","unitCost":80,"unitPrice":100,"location":"HQ","fromLocation":"HQ","toLocation":"STORE","batchNo":"BATCH-001","serialNo":"SN-0001","project":"PRJAPI","projNo":"PRJAPI","department":"HQ","deptNo":"HQ","classification":"022","userDefinedFields":{"APITEST":"API-LINE"}}],"userDefinedFields":{"APITEST":"API"}}],"stopOnError":true,"dryRun":false,"idempotencyKey":"create-stock-write-off-batch-20260624"},"notes":"Runs create-stock-write-off for each record on the local connector without waiting one cloud heartbeat per row. Bulk records use the same fields as create-stock-write-off. Split very large imports into batches so AutoCount and the connector can report row-level results clearly.","nativePayload":{"supported":false,"sections":[{"name":"Master","fields":[]},{"name":"Details","fields":[]},{"name":"KnockOffDetails","fields":[]},{"name":"TransferDetails","fields":[]},{"name":"PaymentDetails","fields":[]},{"name":"Options","fields":[]}]}}