Skip to main content

Posts

Featured

Remove string after/before special character in D365fo X++

 static void RemoveStringAfterSpecialChar(Args _args) {     CustTable custTable;     while select * from custTable     {         str dataWithSpecialChar;         str dataBeforeSpecialChar;         dataWithSpecialChar = custTable.myStringField; // Replace 'myStringField' with your actual field name.         // Find the position of the special character (e.g., "-" in this example).         int specialCharPos = strScan(dataWithSpecialChar, "-", 1, strLen(dataWithSpecialChar));         if (specialCharPos > 0)         {             // Extract the part of the string before the special character.             dataBeforeSpecialChar = subStr(dataWithSpecialChar, 1, specialCharPos - 1);         }         else     ...

Latest Posts

Report data changes based on Enum selection in report parameters in Ax2012 x++

Data insert and update record sets in d365fo x++

Get the contact information which is primary for the vendor in d365fo x++

Form lookup using event handler in d365fo X++

Event handler for form modified field in d365fo x++

Create a customer through code in JOB x++

COC for modified filed in form level d365fo

Ax2012 topics web urls

Conversion of amount to words by using x++ in AX2012

Need to get multi select lookup in parameter level SSRS Reports Ax2012