public static StatutoryRate_edi GetRate_from_country(string countryName, DateTime curr_dt) { EDI_country cty = EDIcountryMaster.Get_EDI_country(countryName); if (cty == null) { return(null); } else { return(RateMaster_edi.GetRate_from_coi(cty.cntry_cd, curr_dt)); } }
public static EDI_times GetRate_from_country(string countryName, DateTime curr_dt) { EDI_country cty = EDIcountryMaster.Get_EDI_country(countryName); if (cty == null) { return(null); } else { return(EDItime_master.GetTimes_from_ccd(cty.cntry_cd, curr_dt)); } }