I got report 50011 Cash Applied. Report Designer looks like this
DataItem Name
Cust. Ledger Entry <Cust. Ledger Entry>
Cust. Ledger Entry FirstLoop
Cust. Ledger Entry SecondLoop
Cust. Ledger Entry ThirdLoop
Integer <Integer>
My question is when I try to send it to Excel how can I choose SecondLoop information.
Paco
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
:?: :-s
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The report shows Payment No, Payment Posting Date, Payment Amount, Invoice No., Invoice Posting Date, Amount Applied, Amount Applied in Pesos, Gain or Loss depending on Exchange rate factors.
I need the following fields to go to Excel.
Customer No.
Customer Name
Payment No.
Payment Posting Date
Payment Amount
Invoice No.
Invoice Posting Date
Invoice Amount
But all these information is on Cust. Ledger Entry.
My concern is how to select for example Payment No. If I do it on the first DataItem Line.
DataItem Name
Cust. Ledger Entry <Cust. Ledger Entry>
I got the right Payment No. but to get Invoice No. I need to get it from SecondLoop
Excuse me but my english is not that well and try to explain myself is kind of confusing.
FirstLoop - searching for Payment Nos.
SecondLoop - searching for Invoices...???
Thanks for more info...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Cust. Ledger Entry <Cust. Ledger Entry>
SORTING(Document Type,Customer No.,Posting Date) WHERE(Document Type=FILTER(Payment|' '),Currency Code=FILTER(USD),Source Code=CONST(CASHRECJNL))
DataItem Name
Cust. Ledger Entry FirstLoop
SORTING(Entry No.)
Payment closed by an invoice. Current payment being process.
DataItem Name
Cust. Ledger Entry SecondLoop
SORTING(Closed by Entry No.)
DataItem Name
Cust. Ledger Entry ThirdLoop
SORTING(Closed by Entry No.) WHERE(Document Type=CONST(Invoice))
Invoices closed by other invoices.
This loop points out errors.
Eg.
SecondLoop."Document No." (this should be the invoice no.)
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I appreciate your help
Paco
I must stop to see problems in a complicated way and keep my mind simple... 8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Paco