MGCLatticePaymentJournalService.postVendorPaymentJournal
Posts a vendor payment journal with payment lines. With GeneratePayments, the lines whose method of payment needs Generate payments before posting (for example the check method: "Check number must be filled in") get their checks first, drawn on the line's bank account with the next numbers of its check layout, in the same transaction as the posting; the message lists the check numbers.
- HTTP method:
POST - Route:
/api/services/MGCLatticeGeneralLedgerServiceGroup/MGCLatticePaymentJournalService/postVendorPaymentJournal - Service class:
MGCLatticePaymentJournalService
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticePaymentJournalPostRequestContract | No | The request containing JournalNameId, payment lines with AccountNum/amounts, GeneratePayments, and standard header fields. |
Returns
MGCLatticeOrderOperationResponseContract
An MGCLatticeOrderOperationResponseContract indicating success or failure with details; DocumentId and PostedDocumentId are the journal.
Security
- Requires privilege
MGCLatticeGeneralLedgerServiceMaintain