static void JobPerson(Args _args)
{
HcmWorker hcmWorkerloc;
DirPerson dirPersonloc;
HcmPersonPrivateDetails hcmPersonPrivateDetailsloc;
;
select Person From hcmWorkerloc where hcmWorkerloc.Person == 5637144860
join RecId From dirPersonloc where dirPersonloc.RecId == hcmWorkerloc.Person
join hcmPersonPrivateDetailsloc where hcmPersonPrivateDetailsloc.Person == dirPersonloc.RecId;
info(strFmt("%1", hcmPersonPrivateDetailsloc.BirthDate));
}
{
HcmWorker hcmWorkerloc;
DirPerson dirPersonloc;
HcmPersonPrivateDetails hcmPersonPrivateDetailsloc;
;
select Person From hcmWorkerloc where hcmWorkerloc.Person == 5637144860
join RecId From dirPersonloc where dirPersonloc.RecId == hcmWorkerloc.Person
join hcmPersonPrivateDetailsloc where hcmPersonPrivateDetailsloc.Person == dirPersonloc.RecId;
info(strFmt("%1", hcmPersonPrivateDetailsloc.BirthDate));
}
No comments:
Post a Comment