Service - CommerceAccounting Other Purchase Item

From Izara Wiki
Jump to navigation Jump to search

Overview

Links Other Purchase Item objects to Accounting structures.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccOtherPurchaseItemLink

{
	objectType: "comAccOtherPurchaseItemLink",
    generatedBy: "user",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccOtherPurchaseItemLink",
		},
       "myGraph": {
            "storageType": "graph",
            "graphServerTag": "GraphHandler"
       }
    },
    fieldNames: {
		// businessId
		// organizationId // not use
		// otherPurchaseItemId
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId","otherPurchaseItemId"],
			name: "comAccLinkOthPurId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

comAccOtherPurchaseItemTypeLink

{
	objectType: "comAccOtherPurchaseItemTypeLink",
    generatedBy: "user",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccOtherPurchaseItemTypeLink",
		},
       "myGraph": {
            "storageType": "graph",
            "graphServerTag": "GraphHandler"
       }
    },
    fieldNames: {
		// businessId
		// organizationId // not use
		// otherPurchaseItemType // standard
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "otherPurchaseItemType"],
			name: "comAccLinkOthPurTypId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

Relationships

...

flowSchemas

...

Working documents

CommerceAccounting Other Purchase Item