Service - Account Manager

From Izara Wiki
Revision as of 12:28, 4 January 2026 by Sven the Barbarian (talk | contribs) (Created page with "= 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 ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

inventory

{
	objectType: "account",
	canDelete: false,
	belongTo: { 
		serviceTag: "user",
		objectType: "user"
	},
	addOnDataStructure: [],
	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: "Organization",
						objectType: "organization"
					},
					linkType: "one",
				},
				to: {
					objType: {
						serviceTag: "accountManager",
						objectType: "account"
					},
					requiredOnCreate: true,
					linkType: "many"
				}
			},
			{
				storageResourceTags: ["myGraph"],
				from: {
					objType: {
						serviceTag: "accountManager",
						objectType: "account"
					},
					linkType: "one",
				},
				to: {
					objType: {
						serviceTag: "accountManager",
						objectType: "account"
					},
					requiredOnCreate: true,
					linkType: "many"
				}
			}

		]
	}
}

Working documents

Account Manager