Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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. 

Tags:
replied

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!!!!

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question