Hi , guys
i wrote a validatewrite in the datasource some validation when i click add button same validation msg getting again i can't fill the "Contact information details"
what to be done?
boolean ret;
HcmApplicant applicant;
DirPerson person;
DirPersonName personName;
LogisticsElectronicAddress electronicAddress;
DirPartyTable dirPartyTable;
ret = super();
select firstOnly applicant
join Person where applicant.Person == person.RecId
&& applicant.ApplicantId == HcmApplicant.ApplicantId
join personName where personName.Person == person.RecId
join dirPartyTable where dirPartyTable.RecId == person.RecId
join electronicAddress where electronicAddress.PrivateForParty == dirPartyTable.RecId;
if (!electronicAddress.RecId)
ret = checkFailed("Contact information should be filled for new applicant.");
return ret;
regards,
Riyas ahamed F