Exemplo n.º 1
0
        public void Update(int IdCredito, decimal?Cantidad, int IdFactura, int IdNomenclador, int IdMotivoD, decimal?Monto, string CodigoCred, string ObservacionesCred)
        {
            PnCredito item = new PnCredito();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdCredito = IdCredito;

            item.Cantidad = Cantidad;

            item.IdFactura = IdFactura;

            item.IdNomenclador = IdNomenclador;

            item.IdMotivoD = IdMotivoD;

            item.Monto = Monto;

            item.CodigoCred = CodigoCred;

            item.ObservacionesCred = ObservacionesCred;

            item.Save(UserName);
        }
Exemplo n.º 2
0
 public bool Destroy(object IdCredito)
 {
     return(PnCredito.Destroy(IdCredito) == 1);
 }
Exemplo n.º 3
0
 public bool Delete(object IdCredito)
 {
     return(PnCredito.Delete(IdCredito) == 1);
 }