Hi,
I'm a newcomer to Navision, now, I have a problem in Navision 4.0 as below:
As kenw that Purchase Order Form has a Print button, if click the button, the Form will call the Purchase Order Report to print it. In this way, I created a new Form and a new Report , add a Print button on the Form, but I don't know how to set the button to all the Report?
Any help appreciated!
Bill
0
Comments
ERP Consultant (not just Navision) & Navision challenger
but you should study manuals before start developing...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
To idiot:
I right click the Print button, but the C/AL Code is not available, is it mean no license to support?
To Belias:
I am reading the manual: 8359B DEVELOPMENT I − C/SIDE INTRODUCTION TRAINING, is it more helpful? and, I wonder if you could recommend some better books.
Best regards.
Bill
About c/al code: it's a license problem, try with the property, but in order to develop, you need a developer license
oh, wait...are you in design mode? (object designer, click design while selecting your form)
I can't suggest you other books, because i only read MOCs in order to get certifications...for the rest, i am learning day by day while working.
but you can go to general chat section in mibuso, there's a topic about books there
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Yes, I am in design mode , now, I solved it by your method, thank you very much.
And, there is a new problem: the Request Form cannot get the Order's No. automatically, does it need to add the C/AL codes in Report? I read the codes of several Reports, just like "Purchase Order", "Return Order", etc., but I'm not so sure.
is it something like this?
RESET;
PurchHeader.SETRANGE("Document Type","Document Type");
PurchHeader.SETRANGE("No.","No.");
REPORT.RUNMODAL("your report#",TRUE,FALSE,PurchHeader);
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thanks a lot for your reply.
I did not find the OnPush in Report's C/AL code, is it Print button's C/AL code in the Form? But I haven't the license.
If it's about just the report - have you thought about changing the report selection.
Search tables for "Report*" for me it's 77
http://www.BiloBeauty.com
http://www.autismspeaks.org