Service - Purchase Line Item Inventory: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = Handler service for inventory purchase line items. = Repository = ... = Schemas = ==ObjectSchemas== === purchaseLineItemInventory === <syntaxhighlight lang="JavaScript"> { "objectType": "purchaseLineItemInventory", "extendObjType": { "serviceTag": "PurchaseLineItemManager", "objectType": "purchaseLineItem" }, "storageResources": { "graph": { "storageType": "graph", "graphServerTag": "GraphHandler" } "dynamo": {...") |
No edit summary |
||
| Line 38: | Line 38: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | == Object Relationships == | ||
=== isInventory === | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
isInventory: { | |||
storageResources: { | |||
myGraph: { | |||
storageType: "graph", | |||
graphServerTag: "GraphHandler" | |||
} | |||
}, | |||
links: [ | |||
{ | |||
storageResourceTags: ["myGraph"], | |||
from: { | |||
objType: { | |||
serviceTag: "PurchaseLineItemInventory", | |||
objectType: "purchaseLineItemInventory" | |||
}, | |||
linkType: "many", | |||
}, | |||
to: { | |||
objType: { | |||
serviceTag: "InventoryManager", | |||
objectType: "inventory" | |||
}, | |||
linkType: "one" | |||
} | |||
} | |||
] | |||
} | |||
} | |||
</syntaxhighlight> | |||
=== includesInventoryUnit === | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
includesInventoryUnit: { | |||
storageResources: { | |||
myGraph: { | |||
storageType: "graph", | |||
graphServerTag: "GraphHandler" | |||
} | |||
}, | |||
links: [ | |||
{ | |||
storageResourceTags: ["myGraph"], | |||
from: { | |||
objType: { | |||
serviceTag: "PurchaseLineItemInventory", | |||
objectType: "purchaseLineItemInventory" | |||
}, | |||
linkType: "many", | |||
}, | |||
to: { | |||
objType: { | |||
serviceTag: "InventoryManager", | |||
objectType: "inventoryUnit" | |||
}, | |||
linkType: "one" | |||
} | |||
} | |||
] | |||
} | |||
} | |||
</syntaxhighlight> | |||
= Working documents = | = Working documents = | ||
Revision as of 13:40, 19 January 2026
Overview
Handler service for inventory purchase line items.
Repository
...
Schemas
ObjectSchemas
purchaseLineItemInventory
{
"objectType": "purchaseLineItemInventory",
"extendObjType": {
"serviceTag": "PurchaseLineItemManager",
"objectType": "purchaseLineItem"
},
"storageResources": {
"graph": {
"storageType": "graph",
"graphServerTag": "GraphHandler"
}
"dynamo": {
"storageType": "dynamoDB",
"tableName": "purchaseLineItemInventory",
}
},
"addOnDataStructure": [],
"fieldNames": {
// from purchaseLineItem objType
},
"generatedBy": "userGenerated"
}
Object Relationships
isInventory
{
isInventory: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "PurchaseLineItemInventory",
objectType: "purchaseLineItemInventory"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "InventoryManager",
objectType: "inventory"
},
linkType: "one"
}
}
]
}
}
includesInventoryUnit
{
includesInventoryUnit: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "PurchaseLineItemInventory",
objectType: "purchaseLineItemInventory"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "InventoryManager",
objectType: "inventoryUnit"
},
linkType: "one"
}
}
]
}
}