public static DataTable mostrarCorrelativo(DateTime fecha) { DComprobanteAnulado Obj = new DComprobanteAnulado(); Obj.FechaAnulacion = fecha; return(Obj.mostrarCorrelativo(Obj)); }
public static string Insertar(int idComprobante, DateTime fechaAnulacion, string serie, string numero, string estado, string descripcion) { DComprobanteAnulado Obj = new DComprobanteAnulado(); Obj.IdComprobante = idComprobante; Obj.FechaAnulacion = fechaAnulacion; Obj.Serie = serie; Obj.Numero = numero; Obj.Estado = estado; Obj.Descripcion = descripcion; return(Obj.Insertar(Obj)); }