Service - CommerceAccounting Inventory: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = Handles changes in inventory in Commerce = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas <syntaxhighlight lang="JavaScript"> { objectType: "comAccInventoryPurchasedLink", canDelete: false, belongTo: { serviceTag: "User", objectType: "user" }, addOnDataStructure: [], storageResources: { "dynamo": { "storageType": "dynamoDB", "tableName": "comAccLink", } }, fieldNames: { // probably hav...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Overview =
= Overview =


Handles changes in inventory in Commerce
.. 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: "comAccInventoryPurchasedLink",
canDelete: false,
belongTo: {
serviceTag: "User",
objectType: "user"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccLink",
}
    },
    fieldNames: {
// probably have two dynamo tables, one identified by saleLineItemId, one by journalId
    },
    identifiers: [
{
// see above note
}
    ]
}
</syntaxhighlight>
 
* maintains a link between saleLineItemId and journalId, so can adjust if changes made to purchases
* can maybe use for all inventory types


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


== inventoryGoodsPurchased ==
...
 
* accountTag: inventoryGoods
* when submitting purchase order, if is inventoryGoods make a positive entry in inventoryGoods(Asset) Accounting Account
 
== inventoryGoodsPurchaseChange ==
 
* accountTag: inventoryGoods
* make adjustment to journal entry when purchase saleLineItemId changes
* perhaps handling removal of journal entry also


= 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