mibuso.com

Microsoft Business Solutions online community
It is currently Tue May 21, 2013 6:09 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Update Request form
PostPosted: Thu Jun 21, 2012 1:26 pm 
Offline

Joined: Fri Jul 30, 2010 8:17 am
Posts: 227
Country: India (in)
I have created a custom report and have added it to stock voucher journal.
The issue is this that it doesn't picks up the current Journal Batch Name while running the report,as it should.
As we can see it in Sales order->Test Report the current document Type and No. gets updated automatically.
How this can be done, is there any property


Top
 Profile E-mail  
 
 Post subject: Re: Update Request form
PostPosted: Thu Jun 21, 2012 1:38 pm 
Offline

Joined: Sat Aug 08, 2009 6:28 am
Posts: 158
Location: gujarat
Country: India (in)
Hi,

Take a variable, apply filters of Journal Template Name and, Journal Batch Name, and pass this record when running report.

support you using Item Journal Line then

ItemJnlLine.SETRANGE("Journal Template Name","Journal Template Name");
ItemJnlLine.SETRANGE("Journal Batch Name",Journal Batch Name");
REPORT.RUNMODAL(REPORT::"XYZ",TRUE,FALSE,ItemJnlLine);

_________________
Uday Mer | MS Dynamics NAV Techno-Functional Consultant


Top
 Profile E-mail  
 
 Post subject: Re: Update Request form
PostPosted: Thu Jun 21, 2012 1:47 pm 
Offline

Joined: Fri Sep 25, 2009 6:33 am
Posts: 48
Location: Mumbai, India
Country: India (in)
second option would be to create a menu item and write the code on 'OnPush'
ItemJnlLine.SETRANGE("Journal Template Name","Journal Template Name");
ItemJnlLine.SETRANGE("Journal Batch Name",Journal Batch Name");
Report.SETTABLEVIEW(ItemJnlLine);
Report.RUNMODAL;


Top
 Profile E-mail  
 
 Post subject: Re: Update Request form
PostPosted: Thu Jun 21, 2012 1:49 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4224
Location: New Delhi
Country: India (in)
Lamba wrote:
As we can see it in Sales order->Test Report the current document Type and No. gets updated automatically.
How this can be done, is there any property

Cant you debug the process what it is doing?

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: