Service - Account Manager: Difference between revisions
Jump to navigation
Jump to search
Tag: Reverted |
Tag: Reverted |
||
| Line 34: | Line 34: | ||
"creditCurrencyTableId":{ | "creditCurrencyTableId":{ | ||
type: "string", | type: "string", | ||
requiredOnCreate: | requiredOnCreate: false, | ||
canUpdate: true, | canUpdate: true, | ||
userCanUpdate: true, | userCanUpdate: true, | ||
| Line 40: | Line 40: | ||
"debitCurrencyTableId":{ | "debitCurrencyTableId":{ | ||
type: "string", | type: "string", | ||
requiredOnCreate: | requiredOnCreate: false, | ||
canUpdate: true, | canUpdate: true, | ||
userCanUpdate: true, | userCanUpdate: true, | ||
Revision as of 14:16, 22 May 2026
Overview
Each account is handled by a Service - Account (handlers) service.
All accounts in the General Ledger account hierarchy are considered an Account, including Control Accounts, Sub-Accounts, Subsidiary Accounts, and all other account classifications businesses use.
The Account Manager service handles detail shared by all Account Handler services.
Repository
....
Object Schemas
- Additional Information
- Per Service Schemas
objType
account
{
objectType: "account",
canDelete: false,
belongTo: {
serviceTag: "Organization",
objectType: "organization"
},
addOnDataStructure: [
{
type:"versionedData",
versionedDataLabel: "accountDetail",
storageResourceTag : "myGraph",
fieldNames: {
"creditCurrencyTableId":{
type: "string",
requiredOnCreate: false,
canUpdate: true,
userCanUpdate: true,
},
"debitCurrencyTableId":{
type: "string",
requiredOnCreate: false,
canUpdate: true,
userCanUpdate: true,
},
}
},
],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
fieldNames: {
accountId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph']
},
},
identifiers: [
{
type: "identifier",
fieldName: "accountId"
}
]
}
Object Relationships
isChildAccount
{
isChildAccount: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "accountManager",
objectType: "account"
},
linkType: "one",
},
to: {
objType: {
serviceTag: "accountManager",
objectType: "account"
},
linkType: "many"
}
}
]
}
}