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...") |
No edit summary |
||
| (5 intermediate revisions by the same user 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", | ||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
serviceTag: " | serviceTag: "ComAccLink", | ||
objectType: " | objectType: "comAccLinkByBusiness" | ||
}, | }, | ||
addOnDataStructure: [], | addOnDataStructure: [], | ||
| Line 22: | Line 24: | ||
"dynamo": { | "dynamo": { | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": " | "tableName": "comAccVendorLink", | ||
} | } | ||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// | // businessId | ||
// vendorId | |||
// accountLinkTag // type of link: accountsPayable|.. | |||
// accountId | |||
}, | }, | ||
identifiers: [ | identifiers: [ | ||
{ | { | ||
/ | type: "partitionKey", | ||
fieldNames: ["businessId", "vendorId"], | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "accountLinkTag" | |||
}, | |||
] | |||
} | |||
</syntaxhighlight> | |||
== comAccDefaultVendorLink == | |||
<syntaxhighlight lang="JavaScript"> | |||
{ | |||
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" | |||
}, | |||
] | ] | ||
} | } | ||
| Line 43: | Line 87: | ||
= 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 13:00, 16 April 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: accountsPayable|..
// 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