Posts

Showing posts from December, 2024

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);...

Helper class for shippment validation how to create it with infolog

/// <summary> /// Helper class for Loads /// </summary> public class WHSInboundShipmentHelper_POR {     // POR_2784_inboundShipmentConfirmation:26/11/2024 : VK:  26/11/2024 Start     /// <summary>     /// validate the conditions before inbound shipment process.     /// </summary>     /// <param name="_loadTable">     /// WHSLoadTable Table as a refernce.     /// </param>     /// <returns>     /// return true or False .     /// </returns>     public static boolean validateInboundShipment_POR(List _loadIdList)     {         boolean            ret = true;         ListEnumerator     loadIdEnumerator;         WHSLoadId          loadId;         WHSLoadTable    ...