Service Stack - CommerceAccounting Expenses
Revision as of 22:21, 15 April 2026 by Sven the Barbarian (talk | contribs)
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
...