Posts

Showing posts with the label email paramaters

Parameters in email template in D365F&O in x++

 Hi Viewers, in general email template will be in html file where format already design. In html template we the values like %PO%. on runtime this parameters will be replace by system values. public void generateEmail(purchID _purchID) {     sysemailsystemTable emailSystemTable;     sysEmailMessageSystemTable emailMessageSystemTable;   emailMessageSystemTable = sysEmailMessageSystemTable::find(emailID,  defaultLanguage); #define.PO('PO'); map templateTokens = new Map(Type::string, Type::String); templateTokens.insert(#PO, _purchID); }