Exemple #1
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();
     }
 }
 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_BuscarCliente(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)).BuscarCliente(ClienteID);
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "BuscarClienteResponse");
         @__Message.Write("Result", Result, typeof(TCliente), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
Exemple #4
0
 public static void Invoke_GetVehiculoTransportista(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");
         TVehiculo[] Result;
         Result = ((IRPDataService)(@__Instance)).GetVehiculoTransportista(Datos);
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "RPSuiteServer", "RPDataService", "GetVehiculoTransportistaResponse");
         @__Message.Write("Result", Result, typeof(TVehiculo[]), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }
Exemple #5
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();
     }
 }
Exemple #6
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();
     }
 }
 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();
     }
 }
Exemple #8
0
 public static void Invoke_MethodWithComplexTypes(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(4);
     try {
         TestStructure[] data = ((TestStructure[])(@__Message.Read("data", typeof(TestStructure[]), RemObjects.SDK.StreamingFormat.Default)));
         TestStructure singleStructure = ((TestStructure)(@__Message.Read("singleStructure", typeof(TestStructure), RemObjects.SDK.StreamingFormat.Default)));
         TestEnum expectedResult = ((TestEnum)(@__Message.Read("expectedResult", typeof(TestEnum), RemObjects.SDK.StreamingFormat.Default)));
         @__ObjectDisposer.Add(data);
         @__ObjectDisposer.Add(singleStructure);
         @__ObjectDisposer.Add(expectedResult);
         TestStructure Result;
         Result = ((ITestService)(@__Instance)).MethodWithComplexTypes(data, singleStructure, expectedResult);
         @__ObjectDisposer.Add(Result);
         @__Message.InitializeResponseMessage(@__ServerChannelInfo, "TestLibrary", "TestService", "MethodWithComplexTypesResponse");
         @__Message.Write("Result", Result, typeof(TestStructure), RemObjects.SDK.StreamingFormat.Default);
         @__Message.FinalizeMessage();
         @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
     }
     finally {
         @__ObjectDisposer.Dispose();
     }
 }