Service - CommerceAccounting Vendor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
{ | { | ||
objectType: "comAccVendorLink", | objectType: "comAccVendorLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
serviceTag: " | serviceTag: "CommerceAccountingLink", | ||
objectType: "comAccLinkByBusiness" | objectType: "comAccLinkByBusiness" | ||
}, | }, | ||
| 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|.. | ||
// accountId | // accountId | ||
}, | }, | ||
| Line 36: | Line 42: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId","vendorId"], | fieldNames: ["businessId", "organizationId", "vendorId"], | ||
name: "comAccLinkVenId", | |||
}, | }, | ||
{ | { | ||
fieldName: " | type: "sortKey", | ||
fieldName: "accountLinkTag" | |||
}, | }, | ||
] | ] | ||
| Line 45: | Line 53: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | == comAccVendorDefaultLink == | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
objectType: " | objectType: "comAccVendorDefaultLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
serviceTag: " | serviceTag: "CommerceAccountingLink", | ||
objectType: "comAccLinkByBusiness" | objectType: "comAccLinkByBusiness" | ||
}, | }, | ||
| Line 59: | Line 68: | ||
"dynamo": { | "dynamo": { | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": " | "tableName": "comAccVendorDefaultLink", | ||
} | }, | ||
"myGraph": { | |||
"storageType": "graph", | |||
"graphServerTag": "GraphHandler" | |||
} | |||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// | // organizationId | ||
// accountLinkTag // type of link: accountsPayable|.. | |||
// accountId | // accountId | ||
}, | }, | ||
| Line 71: | Line 84: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId"], | fieldNames: ["businessId", "organizationId"], | ||
name: "comAccLinkId", | |||
}, | }, | ||
{ | { | ||
fieldName: " | type: "sortKey", | ||
fieldName: "accountLinkTag" | |||
}, | }, | ||
] | ] | ||
| Line 90: | Line 105: | ||
* creates a Accounting AccountsPayable account and a link in comAccVendorAccountsPayableLink | * creates a Accounting AccountsPayable account and a link in comAccVendorAccountsPayableLink | ||
= | = accountLinkTag = | ||
== accountsPayable == | == accountsPayable == | ||
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