Service - CommerceAccounting Inventory: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Overview =
= Overview =


.. maybe not required because purchase/manufacture/sale journal entries are handled in their respective comAcc services.
Links Inventory objects to Accounting structures.


= Repository =
= Repository =
Line 10: Line 10:
; Additional Information: [[Per Service Schemas]]
; Additional Information: [[Per Service Schemas]]


...
== comAccInventoryLink ==
 
<syntaxhighlight lang="JavaScript">
{
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"
},
    ]
}
</syntaxhighlight>
 
== comAccInventoryLocationLink ==
 
<syntaxhighlight lang="JavaScript">
{
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"
},
    ]
}
</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",
}
    },
    fieldNames: {
// businessId
// inventoryType // goods|intangibleGoods|rawMaterial|asset|intangibleAsset
// accountLinkTag // type of link: inventoryAsset|..
// accountId
    },
    identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "inventoryType"],
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
    ]
}
</syntaxhighlight>


== Relationships ==
== Relationships ==

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