Service - CommerceAccounting Inventory: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
Links Inventory objects to Accounting structures. | |||
= Repository = | = Repository = | ||
| Line 9: | Line 9: | ||
= Object Schemas = | = Object Schemas = | ||
; 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> | |||
== comAccInventoryLocationLink == | |||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
objectType: " | objectType: "comAccInventoryLocationLink", | ||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
serviceTag: "ComAccLink", | serviceTag: "ComAccLink", | ||
objectType: " | objectType: "comAccLinkByBusiness" | ||
}, | }, | ||
addOnDataStructure: [], | addOnDataStructure: [], | ||
| Line 22: | Line 60: | ||
"dynamo": { | "dynamo": { | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": " | "tableName": "comAccInventoryLocationLink", | ||
} | } | ||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// | // businessId | ||
// inventoryLocationId | |||
// accountLinkTag // type of link: inventoryAsset|.. | |||
// accountId | |||
}, | }, | ||
identifiers: [ | identifiers: [ | ||
{ | { | ||
/ | type: "partitionKey", | ||
fieldNames: ["businessId", "inventoryLocationId"], | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountLinkTag" | |||
}, | |||
] | |||
} | |||
</syntaxhighlight> | |||
== comAccInventoryTemplateLink == | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
objectType: "comAccInventoryTemplateLink", | |||
canDelete: false, | |||
belongTo: { | |||
serviceTag: "ComAccLink", | |||
objectType: "comAccLinkByBusiness" | |||
}, | |||
addOnDataStructure: [], | |||
storageResources: { | |||
"dynamo": { | |||
"storageType": "dynamoDB", | |||
"tableName": "comAccInventoryTemplateLink", | |||
} | } | ||
}, | |||
fieldNames: { | |||
// businessId | |||
// inventoryTemplateId | |||
// accountLinkTag // type of link: inventoryAsset|.. | |||
// accountId | |||
}, | |||
identifiers: [ | |||
{ | |||
type: "partitionKey", | |||
fieldNames: ["businessId", "inventoryTemplateId"], | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountLinkTag" | |||
}, | |||
] | ] | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== comAccInventoryTypeLink == | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
objectType: "comAccInventoryTypeLink", | |||
canDelete: false, | |||
belongTo: { | |||
serviceTag: "ComAccLink", | |||
objectType: "comAccLinkByBusiness" | |||
}, | |||
addOnDataStructure: [], | |||
storageResources: { | |||
"dynamo": { | |||
"storageType": "dynamoDB", | |||
"tableName": "comAccInventoryTypeLink", | |||
} | |||
}, | |||
fieldNames: { | |||
// businessId | |||
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset | |||
// accountLinkTag // type of link: inventoryAsset|.. | |||
// accountId | |||
}, | |||
identifiers: [ | |||
{ | |||
type: "partitionKey", | |||
fieldNames: ["businessId", "inventoryType"], | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountLinkTag" | |||
}, | |||
] | |||
} | |||
</syntaxhighlight> | |||
== Relationships == | == Relationships == | ||
| Line 46: | Line 160: | ||
= flowSchemas = | = flowSchemas = | ||
... | |||
= Working documents = | = Working documents = | ||
Latest revision as of 13:00, 16 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"
},
]
}
comAccInventoryLocationLink
{
objectType: "comAccInventoryLocationLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccInventoryLocationLink",
}
},
fieldNames: {
// businessId
// inventoryLocationId
// accountLinkTag // type of link: inventoryAsset|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryLocationId"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
]
}
comAccInventoryTemplateLink
{
objectType: "comAccInventoryTemplateLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccInventoryTemplateLink",
}
},
fieldNames: {
// businessId
// inventoryTemplateId
// accountLinkTag // type of link: inventoryAsset|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryTemplateId"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
]
}
comAccInventoryTypeLink
{
objectType: "comAccInventoryTypeLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccInventoryTypeLink",
}
},
fieldNames: {
// businessId
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// accountLinkTag // type of link: inventoryAsset|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryType"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
]
}
Relationships
...
flowSchemas
...