Service - CommerceAccounting Vendor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
{ | { | ||
objectType: "comAccVendorLink", | objectType: "comAccVendorLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
| Line 29: | Line 30: | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// organizationId | |||
// vendorId | // vendorId | ||
// accountLinkTag // type of link: accountsPayable|.. | // accountLinkTag // type of link: accountsPayable|.. | ||
| Line 36: | Line 38: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId", "vendorId"], | fieldNames: ["businessId", "organizationId", "vendorId"], | ||
name: "comAccLinkVenId", | |||
}, | }, | ||
{ | { | ||
| Line 51: | Line 54: | ||
{ | { | ||
objectType: "comAccVendorDefaultLink", | objectType: "comAccVendorDefaultLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
| Line 65: | Line 69: | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// organizationId | |||
// accountLinkTag // type of link: accountsPayable|.. | // accountLinkTag // type of link: accountsPayable|.. | ||
// accountId | // accountId | ||
| Line 71: | Line 76: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId", "organizationId"], | |||
name: "comAccLinkId", | |||
}, | }, | ||
{ | { | ||
Revision as of 09:42, 8 August 2026
Overview
Connects each vendor to their Accounting accounts, such as accountsPayable
Repository
...
Object Schemas
- Additional Information
- Per Service Schemas
comAccVendorLink
{
objectType: "comAccVendorLink",
generatedBy: "userGenerated",
canDelete: false,
belongTo: {
serviceTag: "CommerceAccountingLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccVendorLink",
}
},
fieldNames: {
// businessId
// organizationId
// vendorId
// accountLinkTag // type of link: accountsPayable|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "organizationId", "vendorId"],
name: "comAccLinkVenId",
},
{
type: "sortKey",
fieldName: "accountLinkTag"
},
]
}
comAccVendorDefaultLink
{
objectType: "comAccVendorDefaultLink",
generatedBy: "userGenerated",
canDelete: false,
belongTo: {
serviceTag: "CommerceAccountingLink",
objectType: "comAccLinkByBusiness"
},
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccVendorDefaultLink",
}
},
fieldNames: {
// businessId
// organizationId
// accountLinkTag // type of link: accountsPayable|..
// accountId
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "organizationId"],
name: "comAccLinkId",
},
{
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