Service - CommerceAccounting Expense

From Izara Wiki
Revision as of 09:22, 17 April 2026 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Links Expense objects to Accounting structures. = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas == comAccExpenseLink == <syntaxhighlight lang="JavaScript"> { objectType: "comAccExpenseLink", canDelete: false, belongTo: { serviceTag: "ComAccLink", objectType: "comAccLinkByBusiness" }, addOnDataStructure: [], storageResources: { "dynamo": { "storageType": "dynamoDB", "tableName": "comAccExpenseLin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Links Expense objects to Accounting structures.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccExpenseLink

{
	objectType: "comAccExpenseLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccExpenseLink",
		}
    },
    fieldNames: {
		// businessId
		// expenseId
		// accountLinkTag // type of link: expenseEntry|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId","expenseId"],
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

comAccDefaultExpenseLink

{
	objectType: "comAccDefaultExpenseLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccDefaultExpenseLink",
		}
    },
    fieldNames: {
		// businessId
		// expenseType // pointInTime|overTime
		// accountLinkTag // type of link: expenseEntry|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "expenseType"],
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

RelationshipSchemas

...

Working documents

CommerceAccounting Expenses