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

Hi Shankar,

Thanks you reply. I have try already your way so can not create display method in View.

but i try way below it can

private static server str itemId()

{

   container c;

   str item;

   int pos;

   item = SysComputedColumn::returnField(tableStr(LAGEcoResProductView),identifierStr(EcoResProduct_1),fieldStr(LAGEcoResProductView,DisplayProductNumber));

   c = str2con(item,':');

   //info(conPeek(c,1));

   return  conPeek(c,1);

}

however if continue use conPeek function split for example :  conPeek(c,2)=>config ,conPeek(c,3)=>size, conPeek(c,4)=>color, conPeek(c,5)=> style =====>no data ,can not use for this way.

Pls give me advise.


Viewing all articles
Browse latest Browse all 175888

Trending Articles