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
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.
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 =
-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
4 matches
Mail list logo