Service - CommerceAccounting Inventory: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:
// businessId
// businessId
// inventoryId
// inventoryId
// accountlinkTag // type of link: inventoryAsset|..
// accountLinkTag // type of link: inventoryAsset|..
// accountId
// accountId
     },
     },
Line 40: Line 40:
{
{
type: "sortKey",
type: "sortKey",
fieldName: "accountlinkTag"
fieldName: "accountLinkTag"
},
},
     ]
     ]
Line 46: Line 46:
</syntaxhighlight>
</syntaxhighlight>


== comAccDefaultInventoryLink ==
== comAccInventoryLocationLink ==


<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
{
{
objectType: "comAccDefaultInventoryLink",
objectType: "comAccInventoryLocationLink",
canDelete: false,
canDelete: false,
belongTo: {
belongTo: {
Line 60: Line 60:
"dynamo": {
"dynamo": {
"storageType": "dynamoDB",
"storageType": "dynamoDB",
"tableName": "comAccDefaultInventoryLink",
"tableName": "comAccInventoryLocationLink",
}
    },
    fieldNames: {
// businessId
// inventoryLocationId
// accountLinkTag // type of link: inventoryAsset|..
// accountId
    },
    identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryLocationId"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
    ]
}
</syntaxhighlight>
 
== comAccInventoryTemplateLink ==
 
<syntaxhighlight lang="JavaScript">
{
objectType: "comAccInventoryTemplateLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccInventoryTemplateLink",
}
    },
    fieldNames: {
// businessId
// inventoryTemplateId
// accountLinkTag // type of link: inventoryAsset|..
// accountId
    },
    identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryTemplateId"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
    ]
}
</syntaxhighlight>
 
== comAccInventoryTypeLink ==
 
<syntaxhighlight lang="JavaScript">
{
objectType: "comAccInventoryTypeLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccInventoryTypeLink",
}
}
"graph": {}
     },
     },
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// accountlinkTag // type of link: accountsPayable|..
// accountLinkTag // type of link: inventoryAsset|..
// accountId
// accountId
     },
     },
Line 77: Line 148:
{
{
type: "sortKey",
type: "sortKey",
fieldName: "accountlinkTag"
fieldName: "accountLinkTag"
},
},
     ]
     ]

Latest revision as of 13:00, 16 April 2026

Overview

Links Inventory objects to Accounting structures.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccInventoryLink

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

comAccInventoryLocationLink

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

comAccInventoryTemplateLink

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

comAccInventoryTypeLink

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

Relationships

...

flowSchemas

...

Working documents

CommerceAccounting Inventory