static void CountryFullName(Args _args)
{
name country,fullname;
HcmWorker hcmworker;
HcmPersonPrivateDetails hcmPersonPrivateDetails;
Logisticsaddresscountryregiontranslation logisticsaddresscountryregiontranslation;
Logisticsaddresscountryregion logisticsaddresscountryregion;
country=hcmPersonPrivateDetails::findDetailsByPersonnelNumber("000002").CitizenshipCountryRegion;
select logisticsaddresscountryregion where logisticsaddresscountryregion.CountryRegionId==country;
fullname=logisticsaddresscountryregion.displayName();
info(fullname);
}
{
name country,fullname;
HcmWorker hcmworker;
HcmPersonPrivateDetails hcmPersonPrivateDetails;
Logisticsaddresscountryregiontranslation logisticsaddresscountryregiontranslation;
Logisticsaddresscountryregion logisticsaddresscountryregion;
country=hcmPersonPrivateDetails::findDetailsByPersonnelNumber("000002").CitizenshipCountryRegion;
select logisticsaddresscountryregion where logisticsaddresscountryregion.CountryRegionId==country;
fullname=logisticsaddresscountryregion.displayName();
info(fullname);
}
Comments
Post a Comment