{"ok":true,"commandType":"change-branch","module":"General Maintenance","mode":"write","summary":"Change a debtor or creditor branch code using the supplied account number.","payloadSchema":{"accNo":"required debtor or creditor account number used to scope the branch lookup","oldBranchCode":"required old value for oldBranchCode","newBranchCode":"required new value for newBranchCode","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":{"accNo":"DEBTOR-001","oldBranchCode":"OLD-BR","newBranchCode":"NEW-BR","confirm":true},"examples":[{"accNo":"DEBTOR-001","oldBranchCode":"OLD-BR","newBranchCode":"NEW-BR","validateOnly":true}],"payloadEnums":{},"requiredPayloadFields":["accNo","oldBranchCode","newBranchCode"],"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. Full-actor-only: branch changes can affect AR or AP. The connector must scope native QueryBranchExist with accNo and must not treat this as a GL-only operation.","nativePayload":{"commandType":"change-branch","title":"Change a debtor or creditor branch code using the supplied account 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":["accNo","oldBranchCode","newBranchCode"],"fields":{"accNo":{"type":"string","required":true,"description":"required debtor or creditor account number used to scope the branch lookup"},"oldBranchCode":{"type":"string","required":true,"description":"required old value for oldBranchCode"},"newBranchCode":{"type":"string","required":true,"description":"required new value for newBranchCode"}},"example":{"accNo":"DEBTOR-001","oldBranchCode":"OLD-BR","newBranchCode":"NEW-BR"},"notes":["supported indicates that this payload schema is available, not that the installed connector has the native SDK operation.","Full-actor-only: branch changes can affect AR or AP. The connector must scope native QueryBranchExist with accNo and must not treat this as a GL-only operation."]}}