I have found a solution to this: By creating a new CustVendFindSettlements I am able to get the tmpCustVendTrans tmp table that holds all invoices that are being settled.
CustVendFindSettlements = new CustVendFindSettlements(ModuleCustVend::Vend,ljt); CustVendFindSettlements.findSettlements(); tmpCustVendTrans = CustVendFindSettlements.tmpCustVendTrans(); --Adam On Mon, Jul 12, 2010 at 10:31 AM, Adam Gregory <trado...@gmail.com> wrote: > All, > > I am looking for a way to find the Invoice numbers that a Payment Proposal > is settling. > > I am creating a custom remittance file from the CustVendPaym. > > Right now I have access to the LedgerJournalEngine and the > LedgerJournalTrans. > > My problem is two fold. > > 1.) How do I find the invoice number that the payment is settling before it > is posted? > 2.) How do I know if the invoice is settling more than one invoice? > > Thank you, Adam > [Non-text portions of this message have been removed]