Hello ara3n,
When I compiled it, it showed me a error as [You connot enter 'Item List' in ReportNo.]
Then the cursor jump to OnOpenForm() trigger where have a statement is
ReportID := REPORT::"Item List";
Did I have do anything wrong? :?: or do you have a report call "Item List"? then I need to change to any of mine?
thank you.
Then I cannot find the Form property soureTable is empty... is it right?
thank you.
sorry...could i ask you ...what are the PDFCreator:eReady() and PDFCreator::eError? They look like function, but I cannot find it in C/AL Globals functions Form.... :?
in the global variable, when you declare the variable to the automation, you can click on property and you'll see a property called WithEvents if you set it to yes, it will show the event triggers in navision where you can put code to do certain things in an event.
Ahmed Rashed Amini
Independent Consultant/Developer
I tried to change the statement "REPORT.RUNMODAL(ReportID,TRUE,TRUE)"
which mean we can launch report with request window, but the pdf couldn't be generated. Is't always have this limitation or did I lose something?
Thank you very much man! you save me, I was looking for this, I had to create a pdf with several invoices and I didn't know how. I can do it with your code.. Thanks again!
Hi,
i'm trying to run this example, but when i imported the object and tried to compil it, i got this error : " you can't write "Item list" in ReportNo. and the cursor was leaded to the code which is in the "OnOpenForm" Part ...
can u help please ? ](*,)
Hi,
i'm trying to run this example, but when i imported the object and tried to compil it, i got this error : " you can't write "Item list" in ReportNo. and the cursor was leaded to the code which is in the "OnOpenForm" Part ...
can u help please ? ](*,)
change this line
ReportID := REPORT::"Item List";
to
ReportID := REPORT::"Customer - Labels";
or to another report you want to print.
Ahmed Rashed Amini
Independent Consultant/Developer
I would like to vote this as "Most useful thread ever on MiBuSo"
Thanks Rashed, I know its simple and I know anyone could do it, but YOU DID IT, thanks for sharing this, I am sure that collectively you have saved the community hundreds of hours messing about to solve all these silly issues.
You should save it as a Download some how (even just as a text file of the source) so that we can vote for it. I am sure it would win the next "Best Down Load" Competition.
It also serves as a great example of how something so simple can be so useful in NAV, a great lesson for all the newbies out there.
Has anyone else come across the error where PDF objects created in ver. 0.9.3 won't run on 0.9.5 and vica versa. Basically the comand below will only run on a coumputer running the same version of PDFCreator that it ws complied with.
The issue is the command
PDFCreatorOption := PDFCreator.cOptions;
Which gives the message:
This message is fo C/AL programmers:
Invalid assignment. It is not possible to assign a _clsPDFCreatorOptions to a clsPDFCreatorOptions.
Its clearly an issue with wich dll you have registered, and I am pretty sure its a PDF creator issue, not a NAV issue.
Its damn anoying having to use a different computer to compile objects to get this to work, and worst is when a client has computers with differnt version of PDF creator installed.
Hi all,
i'm using already cute pdf for editing my reports in PDF format, but i want to send them in this format via Navision ... anyone can help please ](*,) ... Thnaks
Hi all,
i'm using already cute pdf for editing my reports in PDF format, but i want to send them in this format via Navision ... anyone can help please ](*,) ... Thnaks
If you are editing your documents in Cute pdf, navision can't open the pdf document.
You need to modify or create a Navision report that you can the print to PDF.
Ahmed Rashed Amini
Independent Consultant/Developer
Comments
Does anyone can tell me how to import and compile the ara3n's code?
Create it a codeUnit or? :-s
thanks
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
thank you
When I compiled it, it showed me a error as [You connot enter 'Item List' in ReportNo.]
Then the cursor jump to OnOpenForm() trigger where have a statement is
ReportID := REPORT::"Item List";
Did I have do anything wrong? :?: or do you have a report call "Item List"? then I need to change to any of mine?
thank you.
Then I cannot find the Form property soureTable is empty... is it right?
thank you.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
You can change that to a different ID based on your license.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
This PDFcreator demonstration is amazing.....
I'm appreciated your kindness.
You are welcome.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
sorry...could i ask you ...what are the PDFCreator:eReady() and PDFCreator::eError? They look like function, but I cannot find it in C/AL Globals functions Form.... :?
in the global variable, when you declare the variable to the automation, you can click on property and you'll see a property called WithEvents if you set it to yes, it will show the event triggers in navision where you can put code to do certain things in an event.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
You really help me a lot.
I tried to change the statement "REPORT.RUNMODAL(ReportID,TRUE,TRUE)"
which mean we can launch report with request window, but the pdf couldn't be generated. Is't always have this limitation or did I lose something?
thank you.
This code automates the process. So that you can create many pdf documents.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
How can i use the password mode of PDFCreator in Navision? I add this lines but the pdf file is not created...
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
You are welcome.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
i'm trying to run this example, but when i imported the object and tried to compil it, i got this error : " you can't write "Item list" in ReportNo. and the cursor was leaded to the code which is in the "OnOpenForm" Part ...
can u help please ? ](*,)
http://www.BiloBeauty.com
http://www.autismspeaks.org
change this line
ReportID := REPORT::"Item List";
to
ReportID := REPORT::"Customer - Labels";
or to another report you want to print.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
"Most useful thread ever on MiBuSo"
Thanks Rashed, I know its simple and I know anyone could do it, but YOU DID IT, thanks for sharing this, I am sure that collectively you have saved the community hundreds of hours messing about to solve all these silly issues.
You should save it as a Download some how (even just as a text file of the source) so that we can vote for it. I am sure it would win the next "Best Down Load" Competition.
It also serves as a great example of how something so simple can be so useful in NAV, a great lesson for all the newbies out there.
=D>
Has anyone else come across the error where PDF objects created in ver. 0.9.3 won't run on 0.9.5 and vica versa. Basically the comand below will only run on a coumputer running the same version of PDFCreator that it ws complied with.
The issue is the command
Which gives the message:
Its clearly an issue with wich dll you have registered, and I am pretty sure its a PDF creator issue, not a NAV issue.
Its damn anoying having to use a different computer to compile objects to get this to work, and worst is when a client has computers with differnt version of PDF creator installed.
Has anyone solved this?
Can't find it in the forums ...
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
?? ?Vista??? Whats that? =;
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
i'm using already cute pdf for editing my reports in PDF format, but i want to send them in this format via Navision ... anyone can help please ](*,) ... Thnaks
If you are editing your documents in Cute pdf, navision can't open the pdf document.
You need to modify or create a Navision report that you can the print to PDF.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n