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

Re: Business Unit Parent on Master Agreement

$
0
0

Hi Anita,

 

Yes, something is missing there:

- the getOrganizationalUnitRef method returns an ObjectReferenceIfc, not the BusinessUnitIBeanIfc.

 

What you'll need to do is:

buObjRef = doc.getOrganizationalUnitRef();
buHome = IBeanHomeLocator.lookup(session, buObjRef);
businessUnit = buHome.find(buObjRef);

From the businessUnit variable you can call all methods available on BusinessUnitIBeanIfc.

 

PS: Good to see you around here, it's been a long time

 

Regards,

Bogdan Toma


Viewing all articles
Browse latest Browse all 2695

Trending Articles



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