Service - CommerceAccounting Inventory: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
= Overview =
= Overview =


Creates connections between Commerce Inventory and Accounting Accounts where needed.
.. maybe not required because purchase/manufacture/sale journal entries are handled in their respective comAcc services.


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


<syntaxhighlight lang="JavaScript">
...
{
objectType: "comAccAssetPurchaseLink",
canDelete: false,
belongTo: {
serviceTag: "ComAccLink",
objectType: "comAccLink"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccAssetPurchaseLink",
}
    },
    fieldNames: {
// probably have two dynamo tables, one identified by inventoryId, one by journalId
    },
    identifiers: [
{
// see above note
}
    ]
}
</syntaxhighlight>
 
* maintains a link between inventoryId and asset purchase journalId
* required so that depreciation can be accounted for when asset is sold


== Relationships ==
== Relationships ==
Line 46: Line 18:
= flowSchemas =
= flowSchemas =


== inventoryAssetPurchased ==
...
 
* maybe triggered from ComAcc Sale saleCommitted flow, because needs to know asset purchase journalId
* simply saves the link for future actions


= Working documents =
= Working documents =

Latest revision as of 14:37, 23 January 2026

Overview

.. maybe not required because purchase/manufacture/sale journal entries are handled in their respective comAcc services.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

...

Relationships

...

flowSchemas

...

Working documents

CommerceAccounting Inventory