|
|
| Line 1: |
Line 1: |
| = Overview = | | = Overview = |
|
| |
|
| Links Expense objects to Accounting structures.
| | Services that manage expenses. |
|
| |
|
| = Repository = | | = Services = |
|
| |
|
| ...
| | == Expenses == |
|
| |
|
| = Object Schemas =
| | * [[Service - CommerceAccounting Expense]] |
| ; 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",
| |
| }
| |
| },
| |
| fieldNames: {
| |
| // businessId
| |
| // expenseType // pointInTime|overTime
| |
| // accountLinkTag // type of link: expenseEntry|..
| |
| // accountId
| |
| },
| |
| identifiers: [
| |
| {
| |
| type: "partitionKey",
| |
| fieldNames: ["businessId", "expenseType"],
| |
| },
| |
| {
| |
| type: "sortKey",
| |
| fieldName: "accountLinkTag"
| |
| },
| |
| ]
| |
| }
| |
| </syntaxhighlight>
| |
| | |
| == RelationshipSchemas ==
| |
| | |
| ...
| |
|
| |
|
| = Working documents = | | = Working documents = |
|
| |
|
| [[:Category:Working_documents - CommerceAccounting Expenses|CommerceAccounting Expenses]] | | [[:Category:Working_documents - Service Stack - CommerceAccounting Expenses| Service Stack - CommerceAccounting Expenses]] |
| | |
| [[Category:Backend services| CommerceAccounting Expenses]]
| |
Overview
Services that manage expenses.
Services
Expenses
Working documents
Service Stack - CommerceAccounting Expenses