Service - Purchase Line Item Services

From Izara Wiki
Jump to navigation Jump to search

Overview

Handler service for service purchase line items.

Repository

...

Schemas

ObjectSchemas

purchaseLineItemServices

{
  "objectType": "purchaseLineItemServices",
  "extendObjType": {
    "serviceTag": "PurchaseLineItemManager",
    "objectType": "purchaseLineItem"
  },
  "storageResources": {
    "graph": {
      "storageType": "graph",
      "graphServerTag": "GraphHandler"
    }
    "dynamo": {
      "storageType": "dynamoDB",
      "tableName": "purchaseLineItemServices",
    }    
  },
  "addOnDataStructure": [],
  "fieldNames": {
    // from purchaseLineItem objType
  },
  "generatedBy": "userGenerated"
}

RelationshipSchemas

isService

{
	isService: {
		storageResources: {
			myGraph: {
				storageType: "graph",
				graphServerTag: "GraphHandler"			
			}
		},
		links: [
			{
				storageResourceTags: ["myGraph"],
				from: {
					objType: {
						serviceTag: "PurchaseLineItemisServices",
						objectType: "purchaseLineItemisServices"
					},
					linkType: "many",
				},
				to: {
					objType: {
						serviceTag: "ServicesManager",
						objectType: "services"
					},
					linkType: "one"
				}
			}
		]
	}
}

Working documents

Purchase Line Item Services