Skip to Content

AddressInformation of BusinessPartner not set

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 20, 2017 at 09:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 20, 2017 at 03:20 AM

    Hi Johannes,

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

    Add comment
    10|10000 characters needed characters exceeded