Exce automation when Data Item is the same but it has Loops

fmhigue
Member Posts: 290
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
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
-
SecondLoop informations you have in SecondLoop dataitem triggers... I do not understand, where is the problem... #-o0
-
The three loops use the same table and when I use Document No. It show payment no. but what about If I need Document No for the invoice. That info is on the second loop0
-
Still I am not understanding what you want to reach. What is your target? Can you write some small example of the things, you want to have in excel?
:?: :-s0 -
The report is call Cash Receipts Applied USD. This report gives you all payments applied on the period you select.
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.0 -
What is doing fisrt, second etc. loop? What is the reason for these loops? Something as:
FirstLoop - searching for Payment Nos.
SecondLoop - searching for Invoices...???
Thanks for more info...0 -
DataItem Name
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.0 -
I am not sure I understood your problem, but in you are in the third loop and want to acces fields of the second loop, you have to use the name of the second loop as recordname and then the fieldname.
Eg.
SecondLoop."Document No." (this should be the invoice no.)Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
That was exactly what I was looking for. !
I appreciate your help
Paco0 -
Oh, I was looking for something hard and it was only this... :whistle:
I must stop to see problems in a complicated way and keep my mind simple... 8)0 -
Next time I swear I will try to explain myself better. You know this language issue sometimes is a problem.
Paco0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions