/// <summary> /// Returns the flag to display the limits based on any country rule. /// </summary> /// <returns></returns> public static bool DisplayLimits(string distributorId, string countryCode) { if (countryCode.Equals("BA")) { var tins = DistributorOrderingProfileProvider.GetTinList(distributorId, true); return(tins.All(t => t.IDType.Key != "BATX")); } return(true); }
public List <TaxIdentification> GetTinList(string distributorID, bool getCurrentOnly, bool reload = false) { return(DistributorOrderingProfileProvider.GetTinList(distributorID, getCurrentOnly, reload)); }