on 04-19-2017 1:58 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johannes,
What about accessing from BusinessPartner.CurrentCommon.AddressSnapshot by sorting with SourceValidityPeriod?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.