on 11-25-2010 2:58 PM
Hi,
I am able to get the PAYMENT TERMS for a Master Agreement
code:
payment_term_str= doc.getPayTermsRef() ;
term_id = payment_term_str.getDisplayName() ;
how I will get the Payment Terms Description ?
Thanks in advance.
Regards,
Swastik
import com.frictionless.api.common.types.TypeFactory;
paymentHome=IBeanHomeLocator.lookup(session,doc.getPayTermsRef());
paymentBean=paymentHome.find(doc.getPayTermsRef());
resourceID=paymentBean.getDocumentDescriptionId();
rRef=TypeFactory.createResourceReference(resourceID);
paymentDescription=rRef.getValue(session);
Hope this helps.
Regards,
Immanuel
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.