Skip to main content

Posts

Sending emails To CC attachment in AX 2012 through X++ code

 Sending emails with CC and attachment in AX 2012 through X++ // Sending emails with CC and attachment in AX 2012 System administration --> Setup --> System --> E-mail parameters. to set the parameters static void FromMailAX(Args _args) {     str                                  SendFrom    = 'Test@example.com';  // mail id of theSendFrom     str                                   ToMailIds= 'test222@example.com';  //mulitple recipients can be specified     str                                   cc          = 'abc@example.com';  // mulitple cc id's can be specified     str                                   subject   = 'Subject of the mail';     str                                   body      = 'Content of the mail';     str                                   fileName = @'C:\Test.txt';  //Location of the attachment file     List                                                       toList;     List                               

Send Email for port 465 or 587 using Axapta

 public void email(filename ReportPath) {     System.Net.Mail.MailMessage             mailMessage;     System.Net.Mail.SmtpClient              myMail;     System.Net.Mail.MailAddressCollection   mailcoll;     System.Net.Mail.MailAddress             mailFrom;     System.Net.Mail.MailAddress             mailTo;     System.Net.Mail.Attachment              attachment;     System.Net.Mail.AttachmentCollection    attachementCollection;     str                                     ToEmail;     str                                     mailBody;     str                                     smtpServer;     str                                     mailSubject;     int                                     SMTPPort;     #File     str                 mail;     userinfo            userInfo;     str pwd;     SysEmailParameters parameters = SysEmailParameters::find();     ;     new InteropPermission(InteropKind::ClrInterop).assert();     ToEmail = HcmWorker.email();     if(ToEmail != "") // check

Demanding thing in Ax market in technical area

 If you are working in Microsoft ERP then you need to know what is demand in technical area, nowadays Dynamics 365 FO is in demand but if you want to learn then you have expense money to get all those subscription . If you learned technical then 3rd party integration things is in demand you can get project on this second demanding things is reporting , Power BI is best to provide report to your client because existing erp can not full fill all reporting demand of clients. 3rd things is in demand  is database performance if you are expert in performance tuning then you are in demand. Rest will share in next post . Thanks.

Posting ERROR Ledger account is missing in posted invoice. (AX 2012 R3 CU9)

 Issue: Ledger account is missing in posted invoice. (AX 2012 R3 CU9) Error (Message: The state of source document or source document…) while performing budget check in pending vendor invoice.(Screenshot1) Resolving the error by resetting accounting distribution(screen shot 2) Budget check performed and invoice is ready to post. (before posting ledger accounts are showing in subledger journal), but after posting GST and TDS accounts are missing in the voucher transaction. comment for your suggestion .

Professional Certifications with codes and name list

 DAS-C01 : AWS Certified Data Analytics - Specialty SAA-C02 : AWS Certified Solutions Architect - Associate (SAA-C02) DBS-C01 : AWS Certified Database - Specialty AXS-C01 : AWS Certified Alexa Skill Builder-Specialty MLS-C01 : AWS Certified Machine Learning - Specialty CLF-C01 : AWS Certified Cloud Practitioner SAP-C01 : AWS Certified Solutions Architect - Professional DOP-C01 : AWS Certified DevOps Engineer - Professional ANS-C00 : AWS Certified Advanced Networking Specialty DP-201 : Designing an Azure Data Solution CLF-C01 : AWS Certified Cloud Practitioner DCA : Docker Certified Associate (DCA) Exam EX200 : Red Hat Certified System Administrator (RHCSA) Exam IIA-CIA-Part1 : Essentials of Internal Auditing IIA-CIA-PART2 :Certified Internal Auditor - Part 2, Conducting the Internal Audit Engagement Exam IIA-CIA-Part3 :Business Knowledge for Internal Auditing MCIA-LEVEL-1 : MuleSoft Certified Integration Architect - Level 1 MCPA-LEVEL-1 : MuleSoft Certified Platform Architect - Level 1