Service - Inventory Location Manager
Revision as of 06:48, 2 January 2026 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Where inventory is located = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas == objType == === inventoryLocation === <syntaxhighlight lang="JavaScript"> { objectType: "inventoryLocation", canDelete: false, belongTo: { serviceTag: "user", objectType: "user" }, addOnDataStructure: [ type: "propertyValue" ], storageResources: { myGraph: { storageType: "graph", graphServerTag: "GraphHandler" }...")
Overview
Where inventory is located
Repository
...
Object Schemas
- Additional Information
- Per Service Schemas
objType
inventoryLocation
{
objectType: "inventoryLocation",
canDelete: false,
belongTo: {
serviceTag: "user",
objectType: "user"
},
addOnDataStructure: [
type: "propertyValue"
],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
dynamoDB: {
storageType: "dynamoDB",
"tableName": "inventoryLocation",
}
},
fieldNames: {
inventoryLocationId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph', 'dynamoDB']
},
productHandlerServiceNameTag: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['dynamoDB']
},
},
identifiers: [
{
type: "inventoryLocationId",
fieldName: "inventoryId"
}
]
}
Object Relationships
at_InventoryLocation
{
at_InventoryLocation: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "inventoryManager",
objectType: "inventory"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "inventoryLocationManager",
objectType: "inventoryLocation"
},
linkType: "one"
}
}
]
}
}
- handle history of inventoryLocations same as stockLocations