RE: [Axapta-Knowledge-Village] Changing default PDF file name

2008-12-11 Thread vamsi praneeth
James you don't have to hardcode on everything. You have a string called 'filename'. Take a dialog and add an dialogfield to that. The filename would be the name you have entered in the dialogfield. simple like filename = dlgf.value();. This would prompt a dialog and you enter a filename in

RE: [Axapta-Knowledge-Village] Changing default PDF file name

2008-12-10 Thread vamsi praneeth
 Try to use a dialog and dialogfield. May be that would give you a solution. the name you enter in the dialogfield would be the name of the report. I have tried it and it worked.

Re: [Axapta-Knowledge-Village] Changing default PDF file name

2008-12-09 Thread dhiraj karmalkar
Hi James,    The file name is hard coded in Class\Info\reportSendMail\ method    Below is the method,   void reportSendMail(PrintJobSettings p1) {     SysINetMail m = new SysINetMail();     str fileName = 'axaptareport';     if (p1.format() == PrintFormat::ASCII)     //fileName =

RE: [Axapta-Knowledge-Village] Changing default PDF file name

2008-12-09 Thread James Flavell
-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dhiraj karmalkar Sent: 10 December 2008 12:52 To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re: [Axapta-Knowledge-Village] Changing default PDF file name Hi James, The file name is hard coded in Class\Info\reportSendMail