Service - Sale Line Item Manager
Revision as of 13:42, 2 January 2026 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Each entry in an invoice is a line item, different line items types are handled by handler services. = Repository = .... = Object Schemas = ; Additional Information: Per Service Schemas == objType == === saleLineItem === <syntaxhighlight lang="JavaScript"> { objectType: "saleLineItem", canDelete: false, belongTo: { serviceTag: "user", objectType: "user" }, addOnDataStructure: [], storageResources: { myGraph: { storageType: "graph",...")
Overview
Each entry in an invoice is a line item, different line items types are handled by handler services.
Repository
....
Object Schemas
- Additional Information
- Per Service Schemas
objType
saleLineItem
{
objectType: "saleLineItem",
canDelete: false,
belongTo: {
serviceTag: "user",
objectType: "user"
},
addOnDataStructure: [],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
fieldNames: {
saleLineItemId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph']
},
lineItemQuantity: {
type: "integer",
storageResourceTags: ['myGraph']
},
},
identifiers: [
{
type: "identifier",
fieldName: "saleLineItemId"
}
]
}
Object Relationships
includesInventoryUnit
{
includesInventoryUnit: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "saleLineItem",
objectType: "saleLineItem"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "inventoryManager",
objectType: "inventoryUnit"
},
linkType: "one"
}
}
]
}
}