Skip to main content

Branch

Branches. Company branch information.

type Branch {
branchId: Int!
branchCode: String!
bAccountId: Int
active: Boolean!
mainBranch: Boolean!
ledgerId: Int
parentBranchId: Int
countryId: String
deletedDatabaseRecord: Boolean!
companyId: Int!
id: String!
createdInDataMartDateTime: DateTime!
updatedInDataMartDateTime: DateTime!
}

Fields

Branch.branchId ● Int! non-null scalar

branchId > (PK) The unique identifier of the branch.

Branch.branchCode ● String! non-null scalar

branchCode > The code of the branch.

Branch.bAccountId ● Int scalar

bAccountId > The unique identifier of the business account associated with the branch.

Branch.active ● Boolean! non-null scalar

active > Indicates whether the branch is active.

Branch.mainBranch ● Boolean! non-null scalar

mainBranch > Indicates whether the branch is the main branch.

Branch.ledgerId ● Int scalar

ledgerId > The unique identifier of the ledger associated with the branch.

Branch.parentBranchId ● Int scalar

parentBranchId > The unique identifier of the parent branch.

Branch.countryId ● String scalar

countryId > The country identifier of the branch.

Branch.deletedDatabaseRecord ● Boolean! non-null scalar

deletedDatabaseRecord > Indicates whether the branch record has been marked as deleted in the database.

Branch.companyId ● Int! non-null scalar

companyId > (PK) The unique identifier of the company

Branch.id ● String! non-null scalar

id > The unique identifier of the document in DataMart

Branch.createdInDataMartDateTime ● DateTime! non-null scalar

createdInDataMartDateTime > The UTC DateTime when this document has been added to DataMart

Branch.updatedInDataMartDateTime ● DateTime! non-null scalar

updatedInDataMartDateTime > The UTC DateTime when this document has been updated in DataMart

Returned By

branches query