Posts

Showing posts from May, 2026

send email using sysoutgoing in D365 fo x++

 class DSASendReportAsEmailAttachmentServiceclass extends SysOperationServiceBase {          Map           mappings = new Map(Types::String,Types::String);     //Args          _args;     public void process()     {         custTable     custTable;         while select custTable           where custTable.AccountNum == '10-30001'         {             this.generateAndSendCustStatementReport(custTable.AccountNum);         }     }     public void generateAndSendCustStatementReport(CustAccount  _custAccount)     {         //Set  variables         custTable                       custTable; ...