Service - CommerceAccounting Vendor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 16: | Line 16: | ||
objectType: "comAccVendorLink", | objectType: "comAccVendorLink", | ||
canDelete: false, | canDelete: false, | ||
addOnDataStructure: [], | addOnDataStructure: [], | ||
storageResources: { | storageResources: { | ||
| Line 30: | Line 26: | ||
// businessId | // businessId | ||
// vendorId | // vendorId | ||
// | // accountLinkTag // type of link: accountsPayable|.. | ||
// accountId | // accountId | ||
}, | }, | ||
| Line 36: | Line 32: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldNames: ["businessId", "vendorId"], | |||
}, | }, | ||
{ | { | ||
fieldName: " | type: "sortKey", | ||
fieldName: "accountLinkTag" | |||
}, | }, | ||
] | ] | ||
| Line 45: | Line 42: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | == comAccVendorDefaultLink == | ||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
objectType: " | objectType: "comAccVendorDefaultLink", | ||
canDelete: false, | canDelete: false, | ||
addOnDataStructure: [], | addOnDataStructure: [], | ||
storageResources: { | storageResources: { | ||
"dynamo": { | "dynamo": { | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": " | "tableName": "comAccVendorDefaultLink", | ||
} | } | ||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// businessId | // businessId | ||
// | // accountLinkTag // type of link: accountsPayable|.. | ||
// accountId | // accountId | ||
}, | }, | ||
| Line 71: | Line 63: | ||
{ | { | ||
type: "partitionKey", | type: "partitionKey", | ||
fieldName: "businessId", | |||
}, | }, | ||
{ | { | ||
fieldName: " | type: "sortKey", | ||
fieldName: "accountLinkTag" | |||
}, | }, | ||
] | ] | ||
| Line 90: | Line 83: | ||
* 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 05:07, 7 May 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,
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"
},
]
}
comAccVendorDefaultLink
{
objectType: "comAccVendorDefaultLink",
canDelete: false,
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccVendorDefaultLink",
}
},
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