Service Stack - CommerceAccounting Expenses: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = .. maybe not required because purchase journal entries are handled in the Purchase comAcc service. = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas ... == RelationshipSchemas == ... = Working documents = CommerceAccounting Expenses CommerceAccounting Expenses")
 
No edit summary
Line 1: Line 1:
= Overview =
= Overview =


.. maybe not required because purchase journal entries are handled in the Purchase comAcc service.
Links Expense objects to Accounting structures.


= Repository =
= Repository =
Line 10: Line 10:
; Additional Information: [[Per Service 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": "comAccExpenseLink",
}
    },
    fieldNames: {
// businessId
// expenseId
// accountlinkTag // type of link: expenseEntry|..
// accountId
    },
    identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId","expenseId"],
},
{
type: "sortKey",
fieldName: "accountlinkTag"
},
    ]
}
</syntaxhighlight>
 
== comAccDefaultExpenseLink ==
 
<syntaxhighlight lang="JavaScript">
{
objectType: "comAccDefaultExpenseLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccDefaultExpenseLink",
}
"graph": {}
    },
    fieldNames: {
// businessId
// expenseType // pointInTime|overTime
// accountlinkTag // type of link: expenseEntry|..
// accountId
    },
    identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "expenseType"],
},
{
type: "sortKey",
fieldName: "accountlinkTag"
},
    ]
}
</syntaxhighlight>


== RelationshipSchemas ==
== RelationshipSchemas ==

Revision as of 22:21, 15 April 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"
		},
    ]
}

comAccDefaultExpenseLink

{
	objectType: "comAccDefaultExpenseLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccDefaultExpenseLink",
		}
		"graph": {}
    },
    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