Skip to Content

How to get the organization Sale manager Email from Customer Quote.

Hi experts,

I need Help for the following problem.

There is a Requirement to send a mail to the manager of the sales organization. I have this reference from SalesQuote.

Now to access to the Sales Organization i have to follow the next steps.

1) Go to the Organizational Managers and check the Organization Unit ID.

2) Now i can to see the Org Unit Manager.

3) Now i can to see the Email when i press the link to the manager    😊

The problem is in the SDK, i cant have access from ABSL Code to the manager. 

I Think that que correspondent BO is called Organization Unit, but i cant to get the reference of the Org. Unit Manager.

Can Anybody helpme?

Thx. 

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 04, 2015 at 02:33 PM

    Hi,

    Finally!!!

    This is the code.

    var aprobador = this.Party.Where(w=>w.RoleCode=="71").GetFirst();

    if(aprobador.AddressSnapshot.DefaultEMail.IsSet())

    {

      elEmailParty.PartyKey.PartyID.content =aprobador.AddressSnapshot.DefaultEMail.URI.content;

    }

    Thx!!!!

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 03, 2015 at 10:46 AM

    Hi Pablo,

    Maybe you can try to use the FunctionalUnit BO. It holds an association to the Responsible Manager. And there is a query that you could use in your ABSL code.

    Best regards,

    Uwe

    Add comment
    10|10000 characters needed characters exceeded