Posts

Configure a safe connection to D365FO in OneBox Certificate reneval after expire

Image
  This article will tell you how to get rid of annoying “Not secure” message in the URL line when connected to Dynamics 365 for Finance and Operations in a local development environment (OneBox). You’ll learn why this happens and how to fix it! Here’s why it happens The reason lies in the fact that the site certificate is not compliant with the latest security standards. Chrome therefore treats it as invalid, while IE is not so strict. For Chrome 58 and later, only the  subjectAlternativeName  extension, not  commonName , is used to match the domain name and site certificate. There was a registry quick fix for that, but it worked only up to the version 65. Here’s how to fix it You have to issue a new self-signed certificate for  *.cloud.onebox.dynamics.com  and change the web site binding settings to use it. Step 1: Create a new self-signed certificate Run the following Power Shell command (Run as Administrator): New-SelfSignedCertificate -Subject "CN=*.clo...

How to start & stop service using .BAT file

Open the Notepad paste the belowlines Net stop "W3SVC" net stop "Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.exe" net stop "DynamicsAxBatch" net stop "MR2012ProcessService" pause  Save notepad file as name.BAT it will create  service type file type and just double click over there ===================================================================== To start the services Net start "W3SVC" net start "Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.exe" net start "DynamicsAxBatch" net start "MR2012ProcessService" pause  ==================================================================

Vendor agening report customization in d 365 fo

 Public class TECVendAgingReportController_Ext extends VendAgingReportController {      public static TECVendAgingReportController_Ext construct()      {           return new TECVendAgingReportController_Ext();      }      public static void main(Args _args)      {           TECVendAgingReportController_Ext controller = TECVendAgingReportController_Ext::construct();           controller.parmReportName(ssrsReportStr(TECVendAgingReport, DesignWithNoDetailAndNoTransactionCur));           controller.parmArgs(_args);           controller.startOperation();      }      protected void preRunModifyContract()      {         //  str  reportDesign;           VendAgingReportContract contract = this.p...

Customer ageing report Extension

 public class TECCustAgingReportController_Ext extends CustAgingReportController {      public static TECCustAgingReportController_Ext construct()      {           return new TECCustAgingReportController_Ext();      }      public static void main(Args _args)      {           TECCustAgingReportController_Ext controller = TECCustAgingReportController_Ext::construct();           controller.parmReportName(ssrsReportStr(TECCustAgingReport, DesignWithNoDetailAndNoTransactionCur));           controller.parmArgs(_args);           controller.startOperation();      }      protected void preRunModifyContract()      {           str  reportDesign;           CustAgingReportContract contract = this.par...

Can’t stop Dynamics AX Kill Batch service error

  If you are unable to stop the  DynamicsAxBatch Service from services . Then do the following steps in it: Run a  command prompt as administrator . Execute command:  sc queryex [servicename] . Press Enter Note: Service name:   DynamicsAxBatch Command:   sc queryex DynamicsAxBatch Find out the  PID  from the result of the query. Write it down to use in next step In the same command prompt, execute command:  taskkill /f /pid [pid number] . Press Enter Note: Example PID: 2145 Command:   taskkill /f /pid 2145 Now,  register yourself in the Admin Provisioning Tool.  It will not give error

form control clicked coc

 [ExtensionOf(formControlStr(WHSLoadTable, btnInboundShipConfirm))] Final class WHSLoadTableFrm_btnInboundShipConfirmButton_POR_Extension {     public void clicked()     {         FormDataSource       whSLoadTable_fds = this.formrun().dataSource(formDataSourceStr(WHSLoadTable, WHSLoadTable));         List                 getList = WHSInboundShipmentHelper_POR::getLoadIdsFromDataSource(whSLoadTable_fds);        // WHSLoadTable         whsLoadTable = this.formrun().dataSource(formDataSourceStr(WHSLoadTable, WHSLoadTable)).cursor() as WHSLoadTable;         boolean              ret = true;                  boolean validationStatus = WHSInboundShipmentHelper_POR::validateInboundShipment_POR(getList);       ...

Form control clicked event COC on form control

 [ExtensionOf(formControlStr(WHSLoadPlanningListPage, btnInboundShipConfirm))] Final class WHSLoadPlanningListPageFrm_btnInboundShipConfirmButton_POR_Extension {     public void clicked()     {         FormDataSource       whSLoadTable_fds = this.formrun().dataSource(formDataSourceStr(WHSLoadTable, WHSLoadTable));         List                 getList = WHSInboundShipmentHelper_POR::getLoadIdsFromDataSource(whSLoadTable_fds);        // WHSLoadTable         whsLoadTable = this.formrun().dataSource(formDataSourceStr(WHSLoadTable, WHSLoadTable)).cursor() as WHSLoadTable;         boolean              ret = true;                  boolean validationStatus = WHSInboundShipmentHelper_POR::validateInboundShipment_POR(getList);...