Creating a Customer Form at Run Time in X++

0
Written By: Fatima Zafar

The job “CustomerForm” creates a customer form at run time in x++. In the form, I have used two datasources “CustTable” and “DirPartyTable”. I have also shown how to add menuitemfunctions in a form through X++. Here is the code in X++: public static void CustomerForm(Args _args) { //Initialization DictTable dictTable; DictTable dictTable1; Form form; […]

read more

Finding the occurrence of string within another string through X++

0
Written By: Fatima Zafar

X++ offers a lot of string functions to be used on the strings. Here, we will be using the “strscan” function. The “strscan” searches for a string within another string ————————————————————————————————————- The strscan function takes the following arguments Strscan (str text, str characters, int position, int number); Text: The target string Characters: The string to […]

read more