public BD_Producto(int id_Pro, BD_Proveedor idProvee, string descripcion_larga,
                    decimal frank, decimal pre_CompraS, decimal pre_CompraD, decimal stock_Actual, BD_Categoria id_Cat,
                    BD_Marca id_Marca, string foto, decimal pre_vntaxMenor, decimal pre_vntaxMayor, decimal pre_Vntadolar,
                    String undMedida, decimal pesoUnit, decimal utilidadUnit, string tipoProdcto,
                    decimal valor_porCant, string estado_Pro, string id_ProductoFact, string claveProducto)
 {
     Id_Pro                 = id_Pro;
     this.idProvee          = idProvee;
     this.descripcion_larga = descripcion_larga;
     this.frank             = frank;
     this.pre_CompraS       = pre_CompraS;
     this.pre_CompraD       = pre_CompraD;
     this.stock_Actual      = stock_Actual;
     this.id_Cat            = id_Cat;
     this.id_Marca          = id_Marca;
     this.foto              = foto;
     this.pre_vntaxMenor    = pre_vntaxMenor;
     this.pre_vntaxMayor    = pre_vntaxMayor;
     this.pre_Vntadolar     = pre_Vntadolar;
     this.undMedida         = undMedida;
     this.pesoUnit          = pesoUnit;
     this.utilidadUnit      = utilidadUnit;
     this.tipoProdcto       = tipoProdcto;
     this.valor_porCant     = valor_porCant;
     this.estado_Pro        = estado_Pro;
     this.id_ProductoFact   = id_ProductoFact;
     this.claveProducto     = claveProducto;
 }
Exemplo n.º 2
0
 public BD_DocumentoCompras(String id_DocComp, char nroFac_Fisico,
                            BD_Proveedor iDPROVEE, decimal subTotal_ingre, DateTime echa_Ingre,
                            decimal total_Ingre, BD_Usuario id_Usu, string modalidadPago,
                            int tiempoEspera, DateTime fecha_Vencimiento, string estado_Ingre, bool recibiconforme, string datos_Adicional,
                            string tipoDoc_Compra, List <BD_Producto> productos)
 {
     this.id_DocComp        = id_DocComp;
     this.nroFac_Fisico     = nroFac_Fisico;
     this.iDPROVEE          = iDPROVEE;
     this.subTotal_ingre    = subTotal_ingre;
     this.echa_Ingre        = echa_Ingre;
     this.total_Ingre       = total_Ingre;
     this.id_Usu            = id_Usu;
     this.modalidadPago     = modalidadPago;
     this.tiempoEspera      = tiempoEspera;
     this.fecha_Vencimiento = fecha_Vencimiento;
     this.estado_Ingre      = estado_Ingre;
     this.recibiconforme    = recibiconforme;
     this.datos_Adicional   = datos_Adicional;
     this.tipoDoc_Compra    = tipoDoc_Compra;
     this.productos         = productos;
 }