Service Stack - CommerceAccounting Expenses: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 30: | Line 30: | ||
// businessId | // businessId | ||
// expenseId | // expenseId | ||
// | // accountLinkTag // type of link: expenseEntry|.. | ||
// accountId | // accountId | ||
}, | }, | ||
| Line 40: | Line 40: | ||
{ | { | ||
type: "sortKey", | type: "sortKey", | ||
fieldName: " | fieldName: "accountLinkTag" | ||
}, | }, | ||
] | ] | ||
| Line 62: | Line 62: | ||
"tableName": "comAccDefaultExpenseLink", | "tableName": "comAccDefaultExpenseLink", | ||
} | } | ||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// expenseType // pointInTime|overTime | // expenseType // pointInTime|overTime | ||
// | // accountLinkTag // type of link: expenseEntry|.. | ||
// accountId | // accountId | ||
}, | }, | ||
| Line 77: | Line 76: | ||
{ | { | ||
type: "sortKey", | type: "sortKey", | ||
fieldName: " | fieldName: "accountLinkTag" | ||
}, | }, | ||
] | ] | ||
Revision as of 13:01, 16 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",
}
},
fieldNames: {
// businessId
// expenseType // pointInTime|overTime
// accountLinkTag // type of link: expenseEntry|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "expenseType"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
]
}
RelationshipSchemas
...