Service - CommerceAccounting Expense: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 50: Line 50:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
objectType: "comAccDefaultExpenseLink",
objectType: "comAccExpenseTypeLink",
canDelete: false,
canDelete: false,
belongTo: {
belongTo: {
Line 60: Line 60:
"dynamo": {
"dynamo": {
"storageType": "dynamoDB",
"storageType": "dynamoDB",
"tableName": "comAccDefaultExpenseLink",
"tableName": "comAccExpenseTypeLink",
}
}
     },
     },

Revision as of 07:58, 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: "comAccExpenseTypeLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccExpenseTypeLink",
		}
    },
    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