Posts

Showing posts from September, 2023

X++ Sample Collection Code

  Collection classes were formerly called Foundation classes. Class Description Data types Access List Values are stored sequentially with the ability to add values at the beginning or end of the list All values must be the same data type Use  ListIterator  or  ListEnumerator Set Values are stored non-sequentially. Duplicates are not added to the set. All values must be the same data type Use  SetIterator  or  SetEnumerator Map Values are stored by using a unique key. The key and the value need not be from the same data type. Use  MapIterator  or  MapEnumerator Struct Values are stored by using a unique string as a key The key must be a string. The values can be of any type. Provide the string key to the value method      internal final class CollectionJob {          /// <summary>     /// Class entry point. The system will call this method when a designated menu      ...

After PO Confirmation Send Email to the End user In D365 X++

Image
Requirement: We need to trigger the email to end user whenever PO has been confirmed from D365. Before start the implementation we need the following. Take the Email ID without Multifactor Authentication Create/Update the SMTP Configuration Permission in D365. Permission for  Create the  New User Group in D365 D365 X++ Development environment. SMTP Configuration: Open D365  >> Module >> System Administration >> Setup >> Email >> Email Parameters . 1.      Select " SMTP " in the Batch email provider drop down under the " Configuration " Setup  2.     Configure the SMTP Settings with your disabled multifactor email. Note: After configure the SMTP setting, check the " Test Connection . " you should get the "Success" Message. New User Group in D365 Use the following setup for create new user group in D365 Application. 1.      Go to D365 >> Modules >> System Administration >>...