public load_du_lieu_bang_luong_1nv_theo_hs_athk ( DataSet op_ds, DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay, decimal ip_dc_tong_tien, string ip_yn_giam_tru, int ip_int_thang_thuong, int ip_int_nam_thuong, decimal ip_dc_id_nhan_vien, decimal ip_dc_id_cach_tinh_thue ) : void | ||
op_ds | DataSet | |
ip_dat_tu_ngay | DateTime | |
ip_dat_den_ngay | DateTime | |
ip_dc_tong_tien | decimal | |
ip_yn_giam_tru | string | |
ip_int_thang_thuong | int | |
ip_int_nam_thuong | int | |
ip_dc_id_nhan_vien | decimal | |
ip_dc_id_cach_tinh_thue | decimal | |
return | void |
public void load_du_lieu_bang_luong_1nv_theo_hs_athk(DataSet op_ds
, DateTime ip_dat_tu_ngay
, DateTime ip_dat_den_ngay
, decimal ip_dc_tong_tien
, string ip_yn_giam_tru
, int ip_int_thang_thuong
, int ip_int_nam_thuong
, decimal ip_dc_id_nhan_vien
, decimal ip_dc_id_cach_tinh_thue)
{
CStoredProc v_cstore = new CStoredProc("pr_lay_du_lieu_bang_luong_1nv_by_hs_athk");
v_cstore.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
v_cstore.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
v_cstore.addDecimalInputParam("@ip_dc_tong_so_tien", ip_dc_tong_tien);
v_cstore.addNVarcharInputParam("@ip_yn_giam_tru", ip_yn_giam_tru);
v_cstore.addDecimalInputParam("@ip_int_thang_tinh_thuong", ip_int_thang_thuong);
v_cstore.addDecimalInputParam("@ip_int_nam_tinh_thuong", ip_int_nam_thuong);
v_cstore.addDecimalInputParam("@ip_dc_id_nhan_vien", ip_dc_id_nhan_vien);
v_cstore.addDecimalInputParam("@ip_dc_id_cach_tinh_thue", ip_dc_id_cach_tinh_thue);
v_cstore.fillDataSetByCommand(this, op_ds);
}
private DataRow lay_du_lieu_tien_thuong_athk_1_nhan_vien(decimal ip_dc_id_nhan_vien) { US_GD_THU_NHAP_KHAC v_us_gd_thu_nhap_khac = new US_GD_THU_NHAP_KHAC(); DataSet v_ds_du_lieu_thu_nhap_khac = new DataSet(); v_ds_du_lieu_thu_nhap_khac.Tables.Add(); v_us_gd_thu_nhap_khac.load_du_lieu_bang_luong_1nv_theo_hs_athk(v_ds_du_lieu_thu_nhap_khac , m_us_v_gd_quy_tien_thuong.datTU_NGAY_XET_THUONG , m_us_v_gd_quy_tien_thuong.datDEN_NGAY_XET_THUONG , m_us_v_gd_quy_tien_thuong.dcSO_TIEN , m_us_v_gd_quy_tien_thuong.strGIAM_TRU_YN , Convert.ToInt32(m_us_v_gd_quy_tien_thuong.strTHANG) , Convert.ToInt32(m_us_v_gd_quy_tien_thuong.strNAM) , ip_dc_id_nhan_vien , m_us_v_gd_quy_tien_thuong.dcID_CACH_TINH_THUE); return v_ds_du_lieu_thu_nhap_khac.Tables[0].Rows[0]; }