cancel
Showing results for 
Search instead for 
Did you mean: 

AddressInformation of BusinessPartner not set

JOSC_ITLAB
Participant
0 Kudos

Hello Experts,

I'm currently working on an add-on the ServiceRequest and testing a case with either the AddressInformation of the customer or the Businesspartner.

For testing purposes I implemented the BevoreSafe event and retrieved the BusinessPartner. The Name from CurrentCommon -> BPFormattedName is correct. But when it gets to the AddressInformation it wont work. The Node AddressInformation itself is not set with the retrieve. My goal is to get the email and phone number of the BusinessPartner of the Customer with an retrieve of BusinessPartner at best possible.

The Data in the BusinessPartner I use for testing is set up properly. I also tried to get some information through other nodes but none of them seem to work.

Any Ideas why the AddressInformation is not set while debugging (or in general, i use an embedded component and if I put the according fields on the screen there is no data)?

Kind Regards,

Johannes

Accepted Solutions (1)

Accepted Solutions (1)

JOSC_ITLAB
Participant
0 Kudos

Hello guys,

through looking up the businesspartner via a soap webservice i got a hint where the AddressInformation for BusinessPartner are stored.

It seems that this is the only place where theyre are stored.
Path is bp.BusinessPartnerRelationship.ContactPerson.ContactPersonWorkplaceAddressInformation.GetFirst().ContactPersonWorkplaceAddress;

Kind Regards,

Johannes

Answers (1)

Answers (1)

former_member195790
Participant
0 Kudos

Hi Johannes,

What about accessing from BusinessPartner.CurrentCommon.AddressSnapshot by sorting with SourceValidityPeriod?

JOSC_ITLAB
Participant
0 Kudos

Hi Krit,

how can I achieve this sorting on CurrentCommon?
I also dont have the node AddressSnapshot on CurrentCommon?

Kind Regards,

Johannes