Hi  All !
Client requirement  to customise Customer report .
The fields should not show which are not have the value.for example telexnumber 
may not have  value in certian cust number .it should not visible in report.
One should visible if it have value only other wise it should not be visible.
thanx in advane 

Pooja


----- Original Message ----
From: johnshine34 <[EMAIL PROTECTED]>
To: development-axapta@yahoogroups.com
Sent: Thursday, 8 May, 2008 4:01:53 PM
Subject: [development-axapta] Re: Format body of email as HTML


Hi, If you change init method to set printjobsettings, can send 
attachment as HTML. Is this what you you mean?
if (salesFormLetter)
{
element.unpackPrint jobSettings
(salesFormLetter. printerSettingsF ormLetter( ));
// <== Modification Start SIG JJS 010808 Invoice Mail
if (CustInvoiceJour. custTable_ InvoiceAccount
().SIG_EmailSalesIn voice == NoYesCombo:: Yes)
{
element.printJobSet tings().mailTo( custTable: :find
(CustInvoiceJour. InvoiceAccount, false).Email) ;
element.printJobSet tings().preferre dMailFormat
(PrintFormat: :HTML);
element.printJobSet tings().preferre dTarget
(PrintMedium: :Mail);
}
else
{
element.unpackPrint jobSettings
(SalesFormLetter: :getPrinterSetti ngsFormletter
(DocumentStatus: :Invoice) );
element.printJobSet tings().setTarge t(PrintMedium: :Screen);

// <== Modification Start SIG JJS 010808 Invoice Mail
if (CustInvoiceJour. custTable_ InvoiceAccount
().SIG_EmailSalesIn voice == NoYesCombo:: Yes)
{
element.printJobSet tings().mailTo( custTable: :find
(CustInvoiceJour. InvoiceAccount, false).Email) ;
element.printJobSet tings().preferre dMailFormat
(PrintFormat: :HTML);
element.printJobSet tings().preferre dTarget
(PrintMedium: :Mail);

// <== Modification Start SIG JJS 240808 Invoice Mail 
Status
}

Steffan, i hope this helps, I have a problem how to automate this so 
printout is not shown and printer set up from does not have to 
trigger the email. Know can use the SysMailer class but that is 
getting tricky, is there a better solution?

--- In development- [EMAIL PROTECTED] ps.com, "steffendenize" 
<steffendenize@ ...> wrote:
>
> Hi,
> When using AX 4.0 build-in print management, I can automatically 
email
> e.g. invoices to customers, but how do I set the body of the email 
to
> be html and not 'non-formatted' text? And when I'm at it, how do I
> automatically add a signature to the outgoing email?
> 
> Best regards,
> Steffen
>

 


      Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

[Non-text portions of this message have been removed]

Reply via email to