Service - CommerceAccounting Customer: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 91: Line 91:
* sends request to Accounting to create entries in comAccCustomerLink.accountlinkTag = accountsReceivable account
* sends request to Accounting to create entries in comAccCustomerLink.accountlinkTag = accountsReceivable account
* or maybe returns accountId to Sales createSale flow which sends to Accounting
* or maybe returns accountId to Sales createSale flow which sends to Accounting
= accountlinkTag =
== accountsReceivable ==


= Working documents =
= Working documents =

Revision as of 12:19, 15 April 2026

Overview

Connects each customer to their Accounting accounts, such as accountsReceivable, and vice versa

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccCustomerLink

{
	objectType: "comAccCustomerLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccCustomerLink",
		}
		"graph": {}
    },
    fieldNames: {
		// businessId
		// customerId
		// accountlinkTag // type of link: accountsReceivable|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId","customerId"],
		},
		{
			fieldName: "accountlinkTag"
		},
    ]
}

comAccDefaultCustomerLink

{
	objectType: "comAccDefaultCustomerLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccDefaultCustomerLink",
		}
		"graph": {}
    },
    fieldNames: {
		// businessId
		// accountlinkTag // type of link: accountsReceivable|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId"],
		},
		{
			fieldName: "accountlinkTag"
		},
    ]
}

Relationships

...

flowSchemas

createSale

  • sends request to Accounting to create entries in comAccCustomerLink.accountlinkTag = accountsReceivable account
  • or maybe returns accountId to Sales createSale flow which sends to Accounting

accountlinkTag

accountsReceivable

Working documents

CommerceAccounting Customer