Not able to gthiet the email address..

2018-10-16 Thread Madhi Krishnan
Hey all.. Can anyone please help he to solve this below.. public static Map getEmail(DispatchContext ctx,Map context) throws GenericEntityException, SQLException, GenericServiceException{ LocalDispatcher dispatcher=ctx.getDispatcher(); Map successResult=ServiceUtil.returnSuccess(); String

Re: Not able to gthiet the email address..

2018-10-16 Thread Aditya Sharma
Hi Madhi Krishnan, Can you find records in PartyContactWithPurpose entity using webtools with contactMechPurposeTypeId as PRIMARY_EMAIL and partyId as 10035? Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Commerce by HotWax Systems

Re: Not able to gthiet the email address..

2018-10-16 Thread Pritam Kute
Hello Madhi Krishnan, In addition to the reply from Aditya, if you don't want to add the ContactMechPurpose data, you just need to create the ContactMech record with ContactMechTypeId "EMAIL_ADDRESS" or "ELECTRONIC_ADDRESS" and associate it with the party using PartyContactMech entity. Thanks

Re: Not able to gthiet the email address..

2018-10-16 Thread Madhi Krishnan
Hello pritam.. I have already created the contactMech record with ContactMechTypeId as "EMAIL_ADDRESS" and associated it with a party... and also tried by adding the contactMechPurpose Date...but its still returning a null value.. On Tue, Oct 16, 2018 at 5:05 PM Pritam Kute wrote: > Hello

Re: Not able to gthiet the email address..

2018-10-16 Thread Rishi Solanki
Hi Madhi, Ideally it should work, can you please review the data you have prepared. For better understanding, please share the ContactMech, PartyContactMech and PartyContactMechPurpose xml data you have prepared to run your service and not getting the value. You can get that data from webtools,

Re: Not able to gthiet the email address..

2018-10-16 Thread Madhi Krishnan
Hey Rishi.. Here the partyId is Pawan66... The PartyContactMech definitation :- ContactMech : - PartyContactMechPurpose : - On Tue, Oct 16, 2018 at 6:00 PM Rishi Solanki wrote: > Hi Madhi, > Ideally it should work, can you please review the data you have prepared. > For

Re: Not able to gthiet the email address..

2018-10-16 Thread Madhi Krishnan
Hey Aditiya.. Thanks for the reply.. No there is no record for party id 10035 On Tue, Oct 16, 2018 at 4:34 PM Aditya Sharma < aditya.sha...@hotwaxsystems.com> wrote: > Hi Madhi Krishnan, > > Can you find records in PartyContactWithPurpose entity using webtools > with contactMechPurposeTypeId as