Service - CommerceAccounting Expense: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 46: Line 46:
</syntaxhighlight>
</syntaxhighlight>


== comAccDefaultExpenseLink ==
== comAccExpenseTypeLink ==


<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">

Revision as of 07:57, 6 May 2026

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"
		},
    ]
}

comAccExpenseTypeLink

{
	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