public static void Invoke_Fecha(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     System.DateTime Result;
     Result = ((IRPDataService)(@__Instance)).Fecha();
     @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "FechaResponse");
     @__Message.WriteDateTime("Result", Result);
     @__Message.FinalizeMessage();
     @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
 }
        public static void Invoke_SPGetFolio(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
        {
            string Datos = @__Message.ReadAnsiString("Datos");
            int    Result;

            Result = ((IRPDataService)(@__Instance)).SPGetFolio(Datos);
            @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "SPGetFolioResponse");
            @__Message.WriteInt32("Result", Result);
            @__Message.FinalizeMessage();
            @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
        }
示例#3
0
 public static void Invoke_GetVendedor(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
     try {
         string    Datos = @__Message.ReadAnsiString("Datos");
         TVendedor Result;
         Result = ((IRPDataService)(@__Instance)).GetVendedor(Datos);
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "GetVendedorResponse");
         @__Message.Write("Result", Result, typeof(TVendedor), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
 public static void Invoke_getCliente(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
     try {
         int      ClienteID = @__Message.ReadInt32("ClienteID");
         TCliente Result;
         Result = ((IRPDataService)(@__Instance)).getCliente(ClienteID);
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "getClienteResponse");
         @__Message.Write("Result", Result, typeof(TCliente), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
 public static void Invoke_NotaCredito(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
     try {
         string   NewParam  = @__Message.ReadAnsiString("NewParam");
         string   NewParam1 = @__Message.ReadAnsiString("NewParam1");
         string   NewParam2 = @__Message.ReadAnsiString("NewParam2");
         string   NewParam3 = @__Message.ReadAnsiString("NewParam3");
         TFactura Result;
         Result = ((IRPDataService)(@__Instance)).NotaCredito(NewParam, NewParam1, NewParam2, NewParam3);
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "NotaCreditoResponse");
         @__Message.Write("Result", Result, typeof(TFactura), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
 public static void Invoke_GuardaFactura(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
     try {
         TFactura Datos = ((TFactura)(@__Message.Read("Datos", typeof(TFactura), RemObjects.SDK.StreamingFormat.Default)));
         @__ObjectDisposer.Add(Datos);
         bool Result;
         Result = ((IRPDataService)(@__Instance)).GuardaFactura(Datos);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "GuardaFacturaResponse");
         @__Message.WriteBoolean("Result", Result);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
        public static void Invoke_getGasolinero(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
        {
            string Result;

            Result = ((IRPDataService)(@__Instance)).getGasolinero();
            @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "getGasolineroResponse");
            @__Message.WriteAnsiString("Result", Result);
            @__Message.FinalizeMessage();
            @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
        }
示例#8
0
 public static void Invoke_InsertaMuestradeProducto(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
     try {
         TMuestraProducto MuestraProducto = ((TMuestraProducto)(@__Message.Read("MuestraProducto", typeof(TMuestraProducto), RemObjects.SDK.StreamingFormat.Default)));
         @__ObjectDisposer.Add(MuestraProducto);
         int Result;
         Result = ((IRPDataService)(@__Instance)).InsertaMuestradeProducto(MuestraProducto);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "InsertaMuestradeProductoResponse");
         @__Message.WriteInt32("Result", Result);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
示例#9
0
 public static void Invoke_CargarProductoIEPS(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
     try {
         TCustomProductoIEPS[] Result;
         Result = ((IRPDataService)(@__Instance)).CargarProductoIEPS();
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "CargarProductoIEPSResponse");
         @__Message.Write("Result", Result, typeof(TCustomProductoIEPS[]), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
示例#10
0
        public static void Invoke_UpdatePedidoFactura(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
        {
            int PedidoID  = @__Message.ReadInt32("PedidoID");
            int FacturaID = @__Message.ReadInt32("FacturaID");
            int Result;

            Result = ((IRPDataService)(@__Instance)).UpdatePedidoFactura(PedidoID, FacturaID);
            @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "UpdatePedidoFacturaResponse");
            @__Message.WriteInt32("Result", Result);
            @__Message.FinalizeMessage();
            @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
        }
示例#11
0
        public static void Invoke_UpdateSaldoCargoPedido(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
        {
            double Saldo      = @__Message.ReadDouble("Saldo");
            int    EstacionID = @__Message.ReadInt32("EstacionID");
            double Result;

            Result = ((IRPDataService)(@__Instance)).UpdateSaldoCargoPedido(Saldo, EstacionID);
            @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "UpdateSaldoCargoPedidoResponse");
            @__Message.WriteDouble("Result", Result);
            @__Message.FinalizeMessage();
            @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
        }
示例#12
0
        public static void Invoke_InsertarDetalleFactura(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
        {
            int    Cantidad   = @__Message.ReadInt32("Cantidad");
            double Precio     = @__Message.ReadDouble("Precio");
            double SubTotal   = @__Message.ReadDouble("SubTotal");
            double IVA        = @__Message.ReadDouble("IVA");
            double IEPS       = @__Message.ReadDouble("IEPS");
            double Total      = @__Message.ReadDouble("Total");
            double Descuento  = @__Message.ReadDouble("Descuento");
            int    NoItems    = @__Message.ReadInt32("NoItems");
            int    FacturaID  = @__Message.ReadInt32("FacturaID");
            int    ProductoID = @__Message.ReadInt32("ProductoID");
            int    Result;

            Result = ((IRPDataService)(@__Instance)).InsertarDetalleFactura(Cantidad, Precio, SubTotal, IVA, IEPS, Total, Descuento, NoItems, FacturaID, ProductoID);
            @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "InsertarDetalleFacturaResponse");
            @__Message.WriteInt32("Result", Result);
            @__Message.FinalizeMessage();
            @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
        }
示例#13
0
        public static void Invoke_InsertarFactura(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
        {
            string Serie = @__Message.ReadAnsiString("Serie");
            int    Folio = @__Message.ReadInt32("Folio");

            System.DateTime Fecha     = @__Message.ReadDateTime("Fecha");
            int             Ejercicio = @__Message.ReadInt32("Ejercicio");
            int             Periodo   = @__Message.ReadInt32("Periodo");
            int             Dia       = @__Message.ReadInt32("Dia");

            System.DateTime FechaVencimiento   = @__Message.ReadDateTime("FechaVencimiento");
            double          ImpuestoPorcentaje = @__Message.ReadDouble("ImpuestoPorcentaje");
            string          Observacion        = @__Message.ReadAnsiString("Observacion");
            int             FacturaUsoID       = @__Message.ReadInt32("FacturaUsoID");
            int             FormaPagoID        = @__Message.ReadInt32("FormaPagoID");
            int             MetodoPagoID       = @__Message.ReadInt32("MetodoPagoID");
            int             EstacionID         = @__Message.ReadInt32("EstacionID");
            int             ConfiguracionID    = @__Message.ReadInt32("ConfiguracionID");
            int             MovimientoID       = @__Message.ReadInt32("MovimientoID");
            int             Result;

            Result = ((IRPDataService)(@__Instance)).InsertarFactura(Serie, Folio, Fecha, Ejercicio, Periodo, Dia, FechaVencimiento, ImpuestoPorcentaje, Observacion, FacturaUsoID, FormaPagoID, MetodoPagoID, EstacionID, ConfiguracionID, MovimientoID);
            @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "InsertarFacturaResponse");
            @__Message.WriteInt32("Result", Result);
            @__Message.FinalizeMessage();
            @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
        }
示例#14
0
 public static void Invoke_GenerarFactura(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(2);
     try {
         TPedido        Datos        = ((TPedido)(@__Message.Read("Datos", typeof(TPedido), RemObjects.SDK.StreamingFormat.Default)));
         TDetallePedido DatosDetalle = ((TDetallePedido)(@__Message.Read("DatosDetalle", typeof(TDetallePedido), RemObjects.SDK.StreamingFormat.Default)));
         @__ObjectDisposer.Add(Datos);
         @__ObjectDisposer.Add(DatosDetalle);
         int Result;
         Result = ((IRPDataService)(@__Instance)).GenerarFactura(Datos, DatosDetalle);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "GenerarFacturaResponse");
         @__Message.WriteInt32("Result", Result);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }