Service - Account Manager: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by 2 users not shown)
Line 16: Line 16:
== objType ==
== objType ==


=== inventory ===
=== account ===


<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
Line 63: Line 63:
},
},
links: [
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "Organization",
objectType: "organization"
},
linkType: "one",
},
to: {
objType: {
serviceTag: "accountManager",
objectType: "account"
},
requiredOnCreate: true,
linkType: "many"
}
},
{
{
storageResourceTags: ["myGraph"],
storageResourceTags: ["myGraph"],
Line 95: Line 77:
objectType: "account"
objectType: "account"
},
},
requiredOnCreate: true,
linkType: "many"
linkType: "many"
}
}

Latest revision as of 12:19, 23 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: [],
	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"
				}
			}

		]
	}
}

Working documents

Account Manager