Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Split colon in field DisplayProductNumber (table EcoResProduct) and insert into View

$
0
0

I try to create new job use function conPeek it work.

static void getItemId(Args _args)

{

   EcoResProduct ecoResProduct;

   container c;

   select ecoResProduct

       where ecoResProduct.SearchName == 'B193203B623';

   c = str2con(ecoResProduct.DisplayProductNumber,' : ');

   info(strFmt("Name basic :%1", ecoResProduct.DisplayProductNumber));

   info(strFmt("Name after split: ItemId:%1 - Config: %2 - Size:%3 -Color:%4 -Style:%5",conPeek(c,1),conPeek(c,2),conPeek(c,3),conPeek(c,4),conPeek(c,5)));

}

Thank a lot.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>