PurchFormLetter_ApproveJournal::newApprovalFromSavedInvoice Method [AX 2012]

Constructs a PurchFormLetter_ApproveJournal from a given saved VendInvoiceInfoTable and LedgerJournalTrans.

client server public static PurchFormLetter_ApproveJournal newApprovalFromSavedInvoice(
    VendInvoiceInfoTable _savedInvoice, 
   [LedgerJournalTrans _ledgerJournalTrans, 
    boolean _retrieveRelatedInvoices, 
    boolean _reArrange])

Run On

Called

Parameters

_savedInvoice
Type: VendInvoiceInfoTable Table
The saved VendInvoiceInfoTable.
_ledgerJournalTrans
Type: LedgerJournalTrans Table
The saved LedgerJournalTrans.
_retrieveRelatedInvoices
Type: boolean
This boolean value determines if we want all the related Invoices from the same Pool to be retrieved.
_reArrange
Type: boolean
This boolean value arranges the related Invoices from the same Pool.

Return Value

Type: PurchFormLetter_ApproveJournal Class
Returns a PurchFormLetter_ApproveJournal.
Show: