Exemplo n.º 1
0
 public frm_PhieuXuatTraNCC(int oid, string sochungtu, string ngaylap, string sopo, int idChungTuGoc, int trangThai, string ghiChu, string nguoiLap, int dongBo, int idphongban, int idchiphi, int idNhaCC, int idLydo, string soPO, string soRE, string tenDT)
     : base(oid, sochungtu, ngaylap, sopo, Declare.Prefix.PhieuTraHangMua)
 {
     InitializeComponent();
     this.idChungTuGoc  = idChungTuGoc;
     this.trangThai     = trangThai;
     this.GhiChu        = ghiChu;
     this.NguoiLap      = nguoiLap;
     this.DongBo        = dongBo;
     this.IdPhongBan    = idphongban;
     this.IdChiPhi      = idchiphi;
     this.IdNhaCC       = idNhaCC;
     this.IdLyDo        = idLydo;
     this.TenDT         = tenDT;
     this.soPO          = soPO;
     this.soRE          = soRE;
     XuatTraNccBusiness = new KhoXuatNccBusiness(new ChungTuXuatNhapNccInfo
     {
         IdChungTu   = oid,
         SoChungTu   = sochungtu,
         NgayLap     = Convert.ToDateTime(ngaylap),
         SoPO        = sopo,
         LoaiChungTu = Convert.ToInt32(TransactionType.TRA_LAI_PO)
     });
 }
Exemplo n.º 2
0
 public frm_PhieuXuatTraNCC()
     : base(Declare.Prefix.PhieuTraHangMua)
 {
     InitializeComponent();
     Common.LoadStyle(this);
     XuatTraNccBusiness = new KhoXuatNccBusiness();
 }
Exemplo n.º 3
0
 public frm_PhieuXuatTraNCC(int oid, string sochungtu, string ngaylap, string sopo)
     : base(oid, sochungtu, ngaylap, sopo, Declare.Prefix.PhieuTraHangMua)
 {
     InitializeComponent();
     XuatTraNccBusiness = new KhoXuatNccBusiness(new ChungTuXuatNhapNccInfo
     {
         IdChungTu = oid,
         SoChungTu = sochungtu,
         NgayLap   = Convert.ToDateTime(ngaylap),
         SoPO      = sopo
     });
 }