{"ok":true,"commandType":"change-item-batch","module":"Stock","mode":"write","summary":"Change an item's batch number.","payloadSchema":{"itemCode":"required AutoCount item code","oldBatchNo":"required old value for oldBatchNo","newBatchNo":"required new value for newBatchNo","validateOnly":"optional boolean; true runs this command as a no-change preflight and still requires Edit permission","confirm":"required true for an actual save; not required when validateOnly is true"},"examplePayload":{"itemCode":"ITEM-001","oldBatchNo":"OLD-BATCH","newBatchNo":"NEW-BATCH","confirm":true},"examples":[{"itemCode":"ITEM-001","oldBatchNo":"OLD-BATCH","newBatchNo":"NEW-BATCH","validateOnly":true}],"payloadEnums":{},"requiredPayloadFields":["itemCode","oldBatchNo","newBatchNo"],"conditionalPayloadRules":{},"notes":"Cloud validates and queues this typed command; it does not perform accounting work. Set validateOnly:true for preflight, then use a distinct commandId for the actual save. Reuse an ID only for an identical request. Runtime availability is connector-specific and reported by read-change-code-capabilities.","nativePayload":{"commandType":"change-item-batch","title":"Change an item's batch number.","description":"Static cloud payload schema. It does not assert that the installed connector supports this native operation.","supported":true,"schemaOnly":true,"runtimeAvailability":"read-change-code-capabilities","required":["itemCode","oldBatchNo","newBatchNo"],"fields":{"itemCode":{"type":"string","required":true,"description":"required AutoCount item code"},"oldBatchNo":{"type":"string","required":true,"description":"required old value for oldBatchNo"},"newBatchNo":{"type":"string","required":true,"description":"required new value for newBatchNo"}},"example":{"itemCode":"ITEM-001","oldBatchNo":"OLD-BATCH","newBatchNo":"NEW-BATCH"},"notes":["supported indicates that this payload schema is available, not that the installed connector has the native SDK operation."]}}