MGCLatticeVendorPaymentProposalService.generatePaymentProposal
Creates a vendor payment journal and fills it with the standard vendor payment proposal: the open, approved vendor transactions due from FromDueDate through ToDueDate (default today), optionally only those with MethodOfPayment, are proposed (CustVendCreatePaymJournal_Vend) and transferred to the journal as payment lines (CustVendPaymProposalTransferToJournal). The journal is not posted.
- HTTP method:
POST - Route:
/api/services/MGCLatticeAccountsPayableServiceGroup/MGCLatticeVendorPaymentProposalService/generatePaymentProposal - Service class:
MGCLatticeVendorPaymentProposalService
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeVendorPaymentProposalRequestContract | No | The request containing JournalNameId (a vendor payment journal name), FromDueDate, ToDueDate, MethodOfPayment, and standard header fields. |
Returns
MGCLatticeOrderOperationResponseContract
An MGCLatticeOrderOperationResponseContract: the DocumentId and PostedDocumentId are the payment journal and the message gives the number of payment lines and proposed open transactions; when nothing matched no journal is kept, the DocumentId is empty and the message says so.
Security
- Requires privilege
MGCLatticeAccountsPayableServiceMaintain