Posts

Showing posts from March, 2024

To Encrypt and Decrypt the Key values in ax fileds

Image
 final class TECGetSecretKey {      /// <summary>      /// Class entry point. The system will call this method when a designated menu      /// is selected or when execution starts and this class is set as the startup class.      /// </summary>      /// <param name = "_args">The specified arguments.</param>      public static void main(Args _args)      {           TECAxCrmParameter TECAxCrmParameter = TECAxCrmParameter::find();           Info(TECAxCrmParameter.passwordEdit(false, ''));      } } ====================================================================== public void insert()      {           Global::handleEncryptedTablePreInsert(this);           super();           Global::handleEncryptedTablePo...

Test the CRM service with custom code in d 365 fo Json

 internal final class TECCRMFinalJob {     /// <summary>     /// Class entry point. The system will call this method when a designated menu      /// is selected or when execution starts and this class is set as the startup class.     /// </summary>     /// <param name = "_args">The specified arguments.</param>                                      public static void main(Args _args)               {                  /*  Newtonsoft.Json.Linq.JTokenWriter       writer;                    Newtonsoft.Json.Linq.JObject            jObject;                    ClrObject      ...

Consume CRM O-Data Integration to send and recived the Json response in CRM

public str insertSalesBillingCrm(RecId   _recid)      {           System.Exception                        ex,webException;           CLRObject                               clrObj;           str                                     errorMsg,bodyData,byteTokenStr,payload,output;           SysInfologEnumerator                    infoEnumerator;           SysInfologMessageStruct                 infoMsgStruct;           Exception                  ...