Service - CommerceAccounting Vendor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
{ | { | ||
objectType: "comAccVendorLink", | objectType: "comAccVendorLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
| Line 25: | Line 26: | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": "comAccVendorLink", | "tableName": "comAccVendorLink", | ||
} | }, | ||
"myGraph": { | |||
"storageType": "graph", | |||
"graphServerTag": "GraphHandler" | |||
} | |||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// organizationId | |||
// vendorId | // vendorId | ||
// accountLinkTag // type of link: accountsPayable|.. | // accountLinkTag // type of link: accountsPayable|.. | ||
| Line 36: | Line 42: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId", "vendorId"], | fieldNames: ["businessId", "organizationId", "vendorId"], | ||
name: "comAccLinkVenId", | |||
}, | }, | ||
{ | { | ||
| Line 51: | Line 58: | ||
{ | { | ||
objectType: "comAccVendorDefaultLink", | objectType: "comAccVendorDefaultLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
| Line 61: | Line 69: | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": "comAccVendorDefaultLink", | "tableName": "comAccVendorDefaultLink", | ||
} | }, | ||
"myGraph": { | |||
"storageType": "graph", | |||
"graphServerTag": "GraphHandler" | |||
} | |||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// organizationId | |||
// accountLinkTag // type of link: accountsPayable|.. | // accountLinkTag // type of link: accountsPayable|.. | ||
// accountId | // accountId | ||
| Line 71: | Line 84: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId", "organizationId"], | |||
name: "comAccLinkId", | |||
}, | }, | ||
{ | { | ||
Latest revision as of 03:50, 10 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",
},
"myGraph": {
"storageType": "graph",
"graphServerTag": "GraphHandler"
}
},
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",
},
"myGraph": {
"storageType": "graph",
"graphServerTag": "GraphHandler"
}
},
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