printJobSettings mailSubject , . printJobSettings - , .
, printJobSettings Info.ReportSendMail, . , , , ReportSendMail.
:
printJobSettings.mailSubject(msgSubject + '|' + msgBody);
Info.ReportSendMail:
subjectAndBody=printJobSettings.mailSubject();
delimiterPos=strFind(subjectAndBody,'|',1,strlen(subjectAndBody));
if(delimiterPos>0)
{
msgSubject=subStr(subjectAndBody,1,delimiterPos-1);
msgBody=subStr(subjectAndBody,delimiterPos+1,strlen(subjectAndBody)-delimiterPos);
}
else
{
msgSubject=subjectAndBody;
msgBody='Axapta Report';
}