Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

Re: Implementing Service Master in Sourcing 10.0

$
0
0

Hi Rajshekhar,

 

     I am trying the above code but its changes only the drop down material to service, but my issue is when I add service from 'Add Material/Services' button it's still item type showing as a Material only.

Can you help me.

 

    Here I attaching my prepared code, can you check it please.

 

ma_line_items = doc.getLineItems() ;

Iterator iter = ma_line_items.iterator();

 

while(iter.hasNext())

{

 

line_item = iter.next();

if(hasValue(line_item.getMaterialObjRef()))

{

if(mat_obj.getExtensionField("IS_Service").get())

   line_item.setLineItemTypeEnum(new LineItemTypeEnumType(2));

 

}

 

}

 

Regards,

Eswar


Viewing all articles
Browse latest Browse all 2638

Trending Articles