Regarding passing a value in nav 2017
bharathnan
Member Posts: 92
Hi guys,
I have designed a report with sales header and sales line and its working good.
Now i have created a page action in sales order page and now whenever i click on the page actioin the report of the particular customer must alone print.
I Tried to pass the value but its not working, Its pass null value , i found this out by using message function.
Please advice.
Warm Regards,
Bharath k
I have designed a report with sales header and sales line and its working good.
Now i have created a page action in sales order page and now whenever i click on the page actioin the report of the particular customer must alone print.
I Tried to pass the value but its not working, Its pass null value , i found this out by using message function.
Please advice.
Warm Regards,
Bharath k
0
Answers
-
What you wrote on the Action?
Currpage.SetselectionFilter(Rec);
REPORT.RUNMODAL(Repor ID,TRUE,TRUE,Rec)
As your Report is based on Sales Header and Sales Line hence you Report will get executed for this Order No.
Let me known if i understood something Wrong.
Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Can you explain in detail, please,
I wrote something like this in the acction
MESSAGE(SONumberLocal);
IF SONumberLocal <> '' THEN
"Sales Header".SETRANGE("No.",SONumberLocal);
Thank you in advance0 -
You want to execute your Report right??
Either direct Print OR Report Preview
Simply copy this code and paste on the OnAction button of the Page
Currpage.SetselectionFilter(Rec);
REPORT.RUNMODAL(Repor ID,TRUE,TRUE,Rec)//Replace Report ID with the Report Number like 50012
Press the button and then see whats happening.
Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 327 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
