Service - CommerceAccounting Inventory: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// organizationId
// inventoryId
// inventoryId
// accountLinkTag // type of link: purchaseLineItem|..
// accountLinkTag // type of link: purchaseLineItem|..
Line 36: Line 37:
{
{
type: "partitionKey",
type: "partitionKey",
fieldNames: ["businessId","inventoryId"],
fieldNames: ["businessId", "organizationId", "inventoryId"],
name: "comAccLinkInvId",
},
},
{
{
Line 65: Line 67:
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// organizationId
// inventoryLocationId
// inventoryLocationId
// accountLinkTag // type of link: purchaseLineItem|..
// accountLinkTag // type of link: purchaseLineItem|..
Line 72: Line 75:
{
{
type: "partitionKey",
type: "partitionKey",
fieldNames: ["businessId", "inventoryLocationId"],
fieldNames: ["businessId", "organizationId", "inventoryLocationId"],
name: "comAccLinkInvLocId",
},
},
{
{
Line 101: Line 105:
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// organizationId
// inventoryTemplateId
// inventoryTemplateId
// accountLinkTag // type of link: purchaseLineItem|..
// accountLinkTag // type of link: purchaseLineItem|..
Line 108: Line 113:
{
{
type: "partitionKey",
type: "partitionKey",
fieldNames: ["businessId", "inventoryTemplateId"],
fieldNames: ["businessId", "organizationId", "inventoryTemplateId"],
name: "comAccLinkInvTemId",
},
},
{
{
Line 137: Line 143:
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// organizationId
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// accountLinkTag // type of link: purchaseLineItem|..
// accountLinkTag // type of link: purchaseLineItem|..
Line 144: Line 151:
{
{
type: "partitionKey",
type: "partitionKey",
fieldNames: ["businessId", "inventoryType"],
fieldNames: ["businessId", "organizationId", "inventoryType"],
name: "comAccLinkInvTypId",
},
},
{
{

Revision as of 08:32, 8 August 2026

Overview

Links Inventory objects to Accounting structures.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccInventoryLink

{
	objectType: "comAccInventoryLink",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccInventoryLink",
		}
    },
    fieldNames: {
		// businessId
		// organizationId
		// inventoryId
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "organizationId", "inventoryId"],
			name: "comAccLinkInvId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

comAccInventoryLocationLink

{
	objectType: "comAccInventoryLocationLink",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccInventoryLocationLink",
		}
    },
    fieldNames: {
		// businessId
		// organizationId
		// inventoryLocationId
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "organizationId", "inventoryLocationId"],
			name: "comAccLinkInvLocId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

comAccInventoryTemplateLink

{
	objectType: "comAccInventoryTemplateLink",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccInventoryTemplateLink",
		}
    },
    fieldNames: {
		// businessId
		// organizationId
		// inventoryTemplateId
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "organizationId", "inventoryTemplateId"],
			name: "comAccLinkInvTemId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

comAccInventoryTypeLink

{
	objectType: "comAccInventoryTypeLink",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccInventoryTypeLink",
		}
    },
    fieldNames: {
		// businessId
		// organizationId
		// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "organizationId", "inventoryType"],
			name: "comAccLinkInvTypId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

Relationships

...

flowSchemas

...

Working documents

CommerceAccounting Inventory