LayDuLieuThuNhapKhacTheoIDQuy() public method

public LayDuLieuThuNhapKhacTheoIDQuy ( DataSet ip_ds, decimal ip_dc_id_quy_tien_thuong ) : void
ip_ds System.Data.DataSet
ip_dc_id_quy_tien_thuong decimal
return void
 private bool check_quy_tien_dang_su_dung_yn(decimal id_quy_tnk)
 {
     US_GD_THU_NHAP_KHAC v_us_gd_tnk = new US_GD_THU_NHAP_KHAC();
     DS_GD_THU_NHAP_KHAC v_ds_gd_tnk = new DS_GD_THU_NHAP_KHAC();
     v_us_gd_tnk.LayDuLieuThuNhapKhacTheoIDQuy(v_ds_gd_tnk, id_quy_tnk);
     if (v_ds_gd_tnk.Tables[0].Rows.Count != 0)
         return true;
     else return false;
 }
 private bool check_quy_tien_dang_su_dung_yn(US_GD_QUY_THU_NHAP_KHAC v_us)
 {
     m_dt_thu_nhap_khac.Clear();
     US_GD_THU_NHAP_KHAC v_us_gd_tnk = new US_GD_THU_NHAP_KHAC();
     DS_GD_THU_NHAP_KHAC v_ds_gd_tnk = new DS_GD_THU_NHAP_KHAC();
     v_us_gd_tnk.LayDuLieuThuNhapKhacTheoIDQuy(v_ds_gd_tnk, v_us.dcID);
     if (v_ds_gd_tnk.Tables[0].Rows.Count != 0)
     {
         m_dt_thu_nhap_khac = v_ds_gd_tnk.Tables[0];
         return true;
     }
     else return false;
 }