Service - CommerceAccounting Inventory: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
Links Inventory objects to Accounting structures. | |||
= Repository = | = Repository = | ||
| Line 10: | Line 10: | ||
; Additional Information: [[Per Service Schemas]] | ; Additional Information: [[Per Service Schemas]] | ||
... | == comAccInventoryLink == | ||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
objectType: "comAccInventoryLink", | |||
canDelete: false, | |||
belongTo: { | |||
serviceTag: "ComAccLink", | |||
objectType: "comAccLinkByBusiness" | |||
}, | |||
addOnDataStructure: [], | |||
storageResources: { | |||
"dynamo": { | |||
"storageType": "dynamoDB", | |||
"tableName": "comAccInventoryLink", | |||
} | |||
}, | |||
fieldNames: { | |||
// businessId | |||
// inventoryId | |||
// accountlinkTag // type of link: inventoryAsset|.. | |||
// accountId | |||
}, | |||
identifiers: [ | |||
{ | |||
type: "partitionKey", | |||
fieldNames: ["businessId","inventoryId"], | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountlinkTag" | |||
}, | |||
] | |||
} | |||
</syntaxhighlight> | |||
== comAccDefaultInventoryLink == | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
objectType: "comAccDefaultInventoryLink", | |||
canDelete: false, | |||
belongTo: { | |||
serviceTag: "ComAccLink", | |||
objectType: "comAccLinkByBusiness" | |||
}, | |||
addOnDataStructure: [], | |||
storageResources: { | |||
"dynamo": { | |||
"storageType": "dynamoDB", | |||
"tableName": "comAccDefaultInventoryLink", | |||
} | |||
"graph": {} | |||
}, | |||
fieldNames: { | |||
// businessId | |||
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset | |||
// accountlinkTag // type of link: accountsPayable|.. | |||
// accountId | |||
}, | |||
identifiers: [ | |||
{ | |||
type: "partitionKey", | |||
fieldNames: ["businessId", "inventoryType"], | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountlinkTag" | |||
}, | |||
] | |||
} | |||
</syntaxhighlight> | |||
== Relationships == | == Relationships == | ||
Revision as of 22:13, 15 April 2026
Overview
Links Inventory objects to Accounting structures.
Repository
...
Object Schemas
- Additional Information
- Per Service Schemas
comAccInventoryLink
{
objectType: "comAccInventoryLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccInventoryLink",
}
},
fieldNames: {
// businessId
// inventoryId
// accountlinkTag // type of link: inventoryAsset|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId","inventoryId"],
},
{
type: "sortKey",
fieldName: "accountlinkTag"
},
]
}
comAccDefaultInventoryLink
{
objectType: "comAccDefaultInventoryLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccDefaultInventoryLink",
}
"graph": {}
},
fieldNames: {
// businessId
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// accountlinkTag // type of link: accountsPayable|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryType"],
},
{
type: "sortKey",
fieldName: "accountlinkTag"
},
]
}
Relationships
...
flowSchemas
...