Add range on List in DP Class in d365 fo x++

   1). ItemGroup  is a list type in dp class 

2). chek if the list is empty  if(!ItemGroup.empty())

3.) Convert List into container and then comvert form list to string 

 if(!ItemGroup.empty())

        {

                InventItemGroupItemqbds.addRange(fieldNum(InventItemGroupItem, ItemGroupId)).value(con2Str(list2Con(ItemGroup)));

        }

Comments

Popular posts from this blog

Get Current Worker data in d365 fo x++

Table Level Event Handler in d365 fo x++