Service - CommerceAccounting Vendor: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
Line 30: Line 30:
// businessId
// businessId
// vendorId
// vendorId
// accountLinkTag // type of link: accountsPayable|..
// accountLinkTag // type of link: purchaseLineItem|..
// accountId
// accountId
     },
     },

Revision as of 09:28, 6 May 2026

Overview

Connects each vendor to their Accounting accounts, such as accountsPayable

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccVendorLink

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

comAccDefaultVendorLink

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

Relationships

...

flowSchemas

createSale

  • creates a Accounting AccountsPayable account and a link in comAccVendorAccountsPayableLink

accountLinkTag

accountsPayable

  • when receive bill from vendor and before payment made

goodsReceivedNotInvoiced

  • clearing account used when receive goods from vendor before recieving invoice

purchasesInTransit

  • clearing account used when receive invoice from vendor before recieving goods

Working documents

CommerceAccounting Vendor