public ValidationResponse ActualizarAlerta(JObject objData) { ValidationResponse response; try { VMComprobante oComprobante = new VMComprobante(); response = new LNComprobante().ActualizarAlerta(oComprobante); } catch (Exception exception) { throw exception; } return(response); }
public ValidationResponse ConsultarDetalle(JObject objData) { ValidationResponse response; try { VMComprobante oComprobante = new VMComprobante(); response = new LNComprobante().ConsultarDetalle(oComprobante); } catch (Exception exception) { throw exception; } return(response); }
static void Main(string[] args) { while (true) { string StrCadena = ""; string StrCadenaCab = ""; LNComprobante _oLNComprobante = new LNComprobante(); DT_ConsulComproPagoSap _EntidadComprobante = new DT_ConsulComproPagoSap(); VMComprobante oComprobante = new VMComprobante(); var vr = _oLNComprobante.ConsultarPendiente(); if (vr.Status != Status.Error) { List <BEConsulta> _lista = ((List <BEConsulta>)vr.Resultado); } } }
public ValidationResponse ConsultarCabecera(JObject objData) { object data = null; ValidationResponse response; try { VMComprobante oComprobante = new VMComprobante(); oComprobante.PkId = 0; oComprobante.CNumDoc = ""; oComprobante.CNumDocN = ""; oComprobante.FecDesde = ""; oComprobante.FecHasta = ""; oComprobante.CSerie = ""; response = new LNComprobante().ConsultarCabecera(oComprobante); //VMComprobante oComprobante = new VMComprobante(); //LNComprobante _oLNComprobante = new LNComprobante(); //var vr = _oLNComprobante.ConsultarCabecera(oComprobante); //if (vr.Status != Status.Error) //{ // var _lista = ((List<BEComprobante>)vr.Resultado).ToArray(); // data = new // { // }; //} //else { } catch (Exception exception) { throw exception; } return(response); }