unit srvInformes_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, uDADataTable, uDABINAdapter, uDAClasses,
  uDAScriptingProvider, uDABusinessProcessor, uDAInterfaces;

type
  { TsrvInformes }
  TsrvInformes = class(TDARemoteService, IsrvInformes)
    bpInformes: TDABusinessProcessor;
    DABINAdapter: TDABINAdapter;
    schInformes: TDASchema;
    DADataDictionary: TDADataDictionary;
  private
  protected
    function GetNextAutoInc(const GeneratorName: String): Integer;
  end;

implementation

{$R *.dfm}
uses
  {Generated:} FactuGES_Invk, uDataModuleServer, uDatabaseUtils;

procedure Create_srvInformes(out anInstance : IUnknown);
begin
  anInstance := TsrvInformes.Create(NIL);
end;

{ srvInformes }
{ TsrvInformes }

function TsrvInformes.GetNextAutoInc(const GeneratorName: String): Integer;
begin
  Result := uDatabaseUtils.GetNextAutoInc(GeneratorName)
end;

initialization
  TROClassFactory.Create('srvInformes', Create_srvInformes, TsrvInformes_Invoker);

finalization

end.
