unit srvArticulos_Impl; {----------------------------------------------------------------------------} { This unit was automatically generated by the RemObjects SDK after reading } { the RODL file associated with this project . } { } { This is where you are supposed to code the implementation of your objects. } {----------------------------------------------------------------------------} interface uses {vcl:} Classes, SysUtils, {RemObjects:} uROClientIntf, uROTypes, uROServer, uROServerIntf, uROSessions, {Ancestor Implementation:} DARemoteService_Impl, {Used RODLs:} DataAbstract_Intf, {Generated:} FactuGES_Intf, uDAClasses, uDAScriptingProvider, uDABusinessProcessor, uDADataTable, uDABINAdapter; type { TsrvArticulos } TsrvArticulos = class(TDARemoteService, IsrvArticulos) bpArticulos: TDABusinessProcessor; DABINAdapter: TDABINAdapter; schArticulos: TDASchema; private protected { IsrvArticulos methods } function GetNextAutoinc: Integer; end; implementation {$R *.dfm} uses {Generated:} FactuGES_Invk, uDataModuleServer; procedure Create_srvArticulos(out anInstance : IUnknown); begin anInstance := TsrvArticulos.Create(NIL); end; { srvArticulos } function TsrvArticulos.GetNextAutoinc: Integer; begin Result := uDataModuleServer.GetNextAutoinc(Connection, 'GEN_ARTICULOS'); end; initialization TROClassFactory.Create('srvArticulos', Create_srvArticulos, TsrvArticulos_Invoker); finalization end.