Code to merge the values and store in a table "strRFix"

 internal final class MergeSampleRunnableJob_POR

{

    /// <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)

    {


            str myString = '11';

            str myString1 = 'Y1014678';

           // private const str Zero = '0';

            int len;

            

            len = strlen(myString);

            int i = 1;

            str padded;

            str finalResult;

            ;

            // Create a string, with a length of 5, ending with the value of i and padded with zeros

            padded = strRFix(myString, 3, '0');


           // strlen();

        finalResult = strFmt("%1 %2", myString1, padded);


            info(strFmt("%1", finalResult));

        

    }


}

Comments

Popular posts from this blog

Customization on Sales invoice Report in D365 F&O

75) COC - Create a coc of the table modified method

46) D365 FO: SHAREPOINT FILE UPLOAD USING X++