Service - CommerceAccounting Vendor: Difference between revisions
Jump to navigation
Jump to search
Created page with "= Overview = Connects each vendor to their Accounting accounts, such as accountsPayable = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas <syntaxhighlight lang="JavaScript"> { objectType: "comAccVendorAccountsPayableLink", canDelete: false, belongTo: { serviceTag: "User", objectType: "user" }, addOnDataStructure: [], storageResources: { "dynamo": { "storageType": "dynamoDB", "tableName": "comAccVendorAccountsPa..." |
|||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
= Object Schemas = | = Object Schemas = | ||
; Additional Information: [[Per Service Schemas]] | ; Additional Information: [[Per Service Schemas]] | ||
== comAccVendorLink == | |||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
objectType: " | objectType: "comAccVendorLink", | ||
generatedBy: "userGenerated", | |||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
serviceTag: " | serviceTag: "CommerceAccountingLink", | ||
objectType: " | objectType: "comAccLinkByBusiness" | ||
}, | }, | ||
addOnDataStructure: [], | addOnDataStructure: [], | ||
| Line 22: | Line 25: | ||
"dynamo": { | "dynamo": { | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": " | "tableName": "comAccVendorLink", | ||
} | }, | ||
"myGraph": { | |||
"storageType": "graph", | |||
"graphServerTag": "GraphHandler" | |||
} | |||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// | // businessId | ||
// organizationId | |||
// vendorId | |||
// accountLinkTag // type of link: accountsPayable|.. | |||
// accountId | |||
}, | }, | ||
identifiers: [ | identifiers: [ | ||
{ | { | ||
// | type: "partitionKey", | ||
} | fieldNames: ["businessId", "organizationId", "vendorId"], | ||
name: "comAccLinkVenId", | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountLinkTag" | |||
}, | |||
] | |||
} | |||
</syntaxhighlight> | |||
== comAccVendorDefaultLink == | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
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" | |||
}, | |||
] | ] | ||
} | } | ||
| Line 43: | Line 101: | ||
= flowSchemas = | = flowSchemas = | ||
== | == createSale == | ||
* creates a Accounting AccountsPayable account and a link in comAccVendorAccountsPayableLink | * 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 = | = Working documents = | ||
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