on 03-14-2011 10:58 AM
Hi,
I am able to get the description of a line item present in Master Agreement by following code.
lineItemCollection = agreementBean.getLineItems();
collectionsize = lineItemCollection.size();
collectionbean = lineItemCollection.get(0);
type = collectionbean.getDocumentDescription();
But I am unable to get the long description of the line item of a Master Agreement.
Thanks & Regards,
Swastik
Swastik,
A LineItem Bean is not exactly a Material Bean.
In order to access fields on the related material you would need to call getMaterialObjRef() on the LineItem, use a material Home Bean to find that material Bean then getLongDescrip() ;
Regards,
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.