public void actualizar() { try { CtrlVenta.actualizarJSON(this); } catch (Exception ex) { Utils.EscribeLog(ex, "Venta.actualizarJSON"); } }
public void eliminar() { try { CtrlVenta.eliminar(this._ID); } catch (Exception ex) { Utils.EscribeLog(ex); } }
public int guardar() { try { return(CtrlVenta.guardar(this)); } catch (Exception ex) { Utils.EscribeLog(ex); return(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)); }