Share via


PurchFormLetter_ApproveJournal::newApprovalFromSavedInvoice Method [AX 2012]

Constructs a PurchFormLetter_ApproveJournal from a given saved VendInvoiceInfoTable and LedgerJournalTrans.

Syntax

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

Run On

Called

Parameters

  • _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.

See Also

Reference

PurchFormLetter_ApproveJournal Class