Service - CommerceAccounting Vendor Payment: Difference between revisions
Jump to navigation
Jump to search
Created page with "= Overview = Handle payments to vendors. = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas <syntaxhighlight lang="JavaScript"> { objectType: "comAccVendorPaymentLink", canDelete: false, belongTo: { serviceTag: "ComAccLink", objectType: "comAccLink" }, addOnDataStructure: [], storageResources: { "dynamo": { "storageType": "dynamoDB", "tableName": "comAccVendorPaymentLink", } }, fieldNames: { // proba..." |
No edit summary |
||
| Line 9: | Line 9: | ||
= Object Schemas = | = Object Schemas = | ||
; Additional Information: [[Per Service Schemas]] | ; Additional Information: [[Per Service Schemas]] | ||
== comAccVendorPayment == | |||
<syntaxhighlight lang="JavaScript"> | <syntaxhighlight lang="JavaScript"> | ||
{ | { | ||
objectType: " | objectType: "comAccVendorPayment", | ||
generatedBy: "systemGenerated", | |||
canDelete: false, | canDelete: false, | ||
addOnDataStructure: [], | |||
storageResources: { | storageResources: { | ||
"dynamo": { | "dynamo": { | ||
"storageType": "dynamoDB", | "storageType": "dynamoDB", | ||
"tableName": " | "tableName": "comAccVendorPayment", | ||
} | } | ||
}, | }, | ||
fieldNames: { | fieldNames: { | ||
// | // businessId, | ||
// organizationId, | |||
// vendorPaymentId, | |||
// record lock eg: prefix: "updateVendorPayment" | |||
// updateVendorPayment_status: {requiredOnCreate: true}, // open|lock, | |||
// updateVendorPayment_uniqueRequestId: {requiredOnCreate: true}, | |||
// updateVendorPayment_timestamp: {requiredOnCreate: true}, | |||
journalId: { | |||
type: "string", | |||
optionalOnCreate: true, | |||
canUpdate: true, | |||
storageResourceTags: ["dynamo"], | |||
}, | |||
}, | }, | ||
identifiers: [ | identifiers: [ | ||
{ | { | ||
type: "partitionKey", | |||
} | fieldNames: ["businessId", "organizationId"], | ||
name: "comAccLinkId", | |||
}, | |||
{ | |||
type: "sortKey", | |||
fieldName: "vendorPaymentId" | |||
}, | |||
] | ] | ||
} | } | ||
Latest revision as of 09:59, 8 August 2026
Overview
Handle payments to vendors.
Repository
...
Object Schemas
- Additional Information
- Per Service Schemas
comAccVendorPayment
{
objectType: "comAccVendorPayment",
generatedBy: "systemGenerated",
canDelete: false,
addOnDataStructure: [],
storageResources: {
"dynamo": {
"storageType": "dynamoDB",
"tableName": "comAccVendorPayment",
}
},
fieldNames: {
// businessId,
// organizationId,
// vendorPaymentId,
// record lock eg: prefix: "updateVendorPayment"
// updateVendorPayment_status: {requiredOnCreate: true}, // open|lock,
// updateVendorPayment_uniqueRequestId: {requiredOnCreate: true},
// updateVendorPayment_timestamp: {requiredOnCreate: true},
journalId: {
type: "string",
optionalOnCreate: true,
canUpdate: true,
storageResourceTags: ["dynamo"],
},
},
identifiers: [
{
type: "partitionKey",
fieldNames: ["businessId", "organizationId"],
name: "comAccLinkId",
},
{
type: "sortKey",
fieldName: "vendorPaymentId"
},
]
}
- maintains a link between vendorPaymentId and journalIds, so can adjust if changes made to payment
Relationships
...
flowSchemas
vendorPaymentCreated
- when creating a vendor payment add journal entries
vendorPaymentChange
- make adjustment to journal entries
- need to check for locked records