Beispiel #1
0
 public void actualizar()
 {
     try
     {
         CtrlVenta.actualizarJSON(this);
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex, "Venta.actualizarJSON");
     }
 }
Beispiel #2
0
 public void eliminar()
 {
     try
     {
         CtrlVenta.eliminar(this._ID);
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
     }
 }
Beispiel #3
0
 public int guardar()
 {
     try
     {
         return(CtrlVenta.guardar(this));
     }
     catch (Exception ex)
     {
         Utils.EscribeLog(ex);
         return(0);
     }
 }
Beispiel #4
0
 public int guardar()
 {
     return(CtrlVenta.guardarJSON(this));
 }
        //public Producto getProducto()
        //{
        //	return CtrlProducto.getProducto(_producto_ID);
        //}

        //public Detalle_comprobante_contable getDetalle_comprobante_contable()
        //{
        //	return CtrlDetalle_comprobante_contable.getDetalle_comprobante_contable(_detalle_comprobante_contable_ID);
        //}

        public Venta getVenta()
        {
            return(CtrlVenta.getVenta(_venta_ID));
        }