Hi,
i tried below code its create new contact information, its not update the exists contact information
what the mistake in below code ??
DirPartyContactInfoView dirPartyContactInfoView
DirPartyTable dirParty;
dirPartyContactInfoView.IsPrimary = NoYes::Yes;
dirPartyContactInfoView.Locator = "xyz@gmail.com";
dirPartyContactInfoView.Type = LogisticsElectronicAddressMethodType::Email;
dirPartyContactInfoView.LocationName = "Email";
dirPartyContactInfoView.Party = '24567890';
DirParty = DirParty::constructFromPartyRecId(dirPartyContactInfoView.Party);
dirParty.createOrUpdateContactInfo(dirPartyContactInfoView);
Thanks in advance
*This post is locked for comments
I have the same question (0)