I have a copy of cash receipt journal page which need to be opened with a specific batch.
I'm a bit confused about where is the ideal location to specify this.
Thanks for reply Saurav, I have added the code there, but the issue seems to be with a boolean field which I created to implement approval mechanism.
I have filtered page with the boolean field := False. Now the problem is the Document nos are not getting created automatically.
Answers
If you refer the code in OnOpen Trigger of Cash Receipt Journal Page there is the code that gets the batch that you want to open.
The Code Return the Batch name in variable - CurrentJnlBatchName and then the page get open.
Give it a try and let us know.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
I have filtered page with the boolean field := False. Now the problem is the Document nos are not getting created automatically.