Service - Work In Progress Inventory

From Izara Wiki
Revision as of 14:43, 21 January 2026 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Handler service for inventory work in progress. = Repository = ... = Schemas = ==ObjectSchemas== === workInProgressInventory === <syntaxhighlight lang="JavaScript"> { "objectType": "workInProgressInventory", "extendObjType": { "serviceTag": "WorkInProgressManager", "objectType": "workInProgress" }, "storageResources": { // from workInProgress objType }, "addOnDataStructure": [], "fieldNames": { // from workInProgress objType...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Handler service for inventory work in progress.

Repository

...

Schemas

ObjectSchemas

workInProgressInventory

{
  "objectType": "workInProgressInventory",
  "extendObjType": {
    "serviceTag": "WorkInProgressManager",
    "objectType": "workInProgress"
  },
  "storageResources": {
	// from workInProgress objType
  },
  "addOnDataStructure": [],
  "fieldNames": {
    // from workInProgress objType
  },
  "generatedBy": "userGenerated"
}

RelationshipSchemas

isInventory

{
	isInventory: {
		storageResources: {
			myGraph: {
				storageType: "graph",
				graphServerTag: "GraphHandler"			
			}
		},
		links: [
			{
				storageResourceTags: ["myGraph"],
				from: {
					objType: {
						serviceTag: "WorkInProgressInventory",
						objectType: "workInProgressInventory"	
					},
					requiredOnCreate: true,
					linkType: "many",
				},
				to: {
					objType: {
						serviceTag: "InventoryManager",
						objectType: "inventory"
					},
					linkType: "one"
				}
			}
		]
	}
}

includesInventoryUnit

{
	includesInventoryUnit: {
		storageResources: {
			myGraph: {
				storageType: "graph",
				graphServerTag: "GraphHandler"			
			}
		},
		links: [
			{
				storageResourceTags: ["myGraph"],
				from: {
					objType: {
						serviceTag: "WorkInProgressInventory",
						objectType: "workInProgressInventory"
					},
					linkType: "many",
				},
				to: {
					objType: {
						serviceTag: "InventoryManager",
						objectType: "inventoryUnit"
					},
					linkType: "one"
				}
			}
		]
	}
}

Working documents

Work In Progress Inventory