Skip to Content
0
Oct 21, 2019 at 03:04 PM

Opportunity: Programatically (absl) retrieve Sales Unit and Employee Responsible

134 Views Last edit Oct 25, 2019 at 12:54 AM 2 rev

Hello,

I have produced a screen which looks and behaves almost identical to the "New Opportunity" screen in ByDesign but with some customised changes.

One of the requirements though is that when the Account is selected then the Employee Responsible and Sales Unit fields are filled (identical to behaviour on New Opportunity screen).

Now, I know when creating a New Opportunity on the standard UI the Employee Responsible and Sales Unit are assigned based on in the work distribution rules in the Organizational Management Workcenter.

Is there a way to get this infomation in PDI/absl when I create a new opportunity programmatically? The only Business Object I could find which seems relevant is "

OrganisationalCentreExtension

"?