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...")
 
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
objectType: "comAccExpenseLink",
objectType: "comAccExpenseLink",
canDelete: false,
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
addOnDataStructure: [],
storageResources: {
storageResources: {
Line 30: Line 26:
// businessId
// businessId
// expenseId
// expenseId
// accountLinkTag // type of link: expenseEntry|..
// accountLinkTag // type of link: purchaseLineItem|..
// accountId
// accountId
     },
     },
Line 46: Line 42:
</syntaxhighlight>
</syntaxhighlight>


== comAccDefaultExpenseLink ==
== comAccExpenseTypeLink ==


<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
objectType: "comAccDefaultExpenseLink",
objectType: "comAccExpenseTypeLink",
canDelete: false,
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
addOnDataStructure: [],
storageResources: {
storageResources: {
"dynamo": {
"dynamo": {
"storageType": "dynamoDB",
"storageType": "dynamoDB",
"tableName": "comAccDefaultExpenseLink",
"tableName": "comAccExpenseTypeLink",
}
}
     },
     },
Line 66: Line 58:
// businessId
// businessId
// expenseType // pointInTime|overTime
// expenseType // pointInTime|overTime
// accountLinkTag // type of link: expenseEntry|..
// accountLinkTag // type of link: purchaseLineItem|..
// accountId
// accountId
     },
     },

Latest revision as of 08:02, 6 May 2026

Overview

Links Expense objects to Accounting structures.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccExpenseLink

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

comAccExpenseTypeLink

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

RelationshipSchemas

...

Working documents

CommerceAccounting Expenses