git-svn-id: https://192.168.0.254/svn/Proyectos.Acana_FactuGES2/trunk@57 f4e31baf-9722-1c47-927c-6f952f962d4b
69 lines
2.2 KiB
ObjectPascal
69 lines
2.2 KiB
ObjectPascal
unit srvContabilidad_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:} DataAbstractService_Impl,
|
|
{Used RODLs:} DataAbstract4_Intf,
|
|
{Generated:} FactuGES_Intf, uDADataTable, uDABINAdapter, uDAClasses,
|
|
uDAScriptingProvider, uDABusinessProcessor, uDADataStreamer,
|
|
uDABin2DataStreamer;
|
|
|
|
type
|
|
{ TsrvContabilidad }
|
|
TsrvContabilidad = class(TDataAbstractService, IsrvContabilidad)
|
|
Diagrams: TDADiagrams;
|
|
Bin2DataStreamer: TDABin2DataStreamer;
|
|
bpEpigrafes: TDABusinessProcessor;
|
|
bpCuentas: TDABusinessProcessor;
|
|
bpSubCuentas: TDABusinessProcessor;
|
|
bpApuntes: TDABusinessProcessor;
|
|
bpAsientos: TDABusinessProcessor;
|
|
schContabilidad: TDASchema;
|
|
DataDictionary: TDADataDictionary;
|
|
procedure DARemoteServiceCreate(Sender: TObject);
|
|
procedure DataAbstractServiceBeforeAcquireConnection(aSender: TObject; var aConnectionName: string);
|
|
private
|
|
protected
|
|
end;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
uses
|
|
{Generated:} FactuGES_Invk, uDataModuleServer,
|
|
uDatabaseUtils;
|
|
|
|
procedure Create_srvContabilidad(out anInstance : IUnknown);
|
|
begin
|
|
anInstance := TsrvContabilidad.Create(NIL);
|
|
end;
|
|
|
|
{ srvContabilidad }
|
|
procedure TsrvContabilidad.DARemoteServiceCreate(Sender: TObject);
|
|
begin
|
|
SessionManager := dmServer.SessionManager;
|
|
end;
|
|
|
|
procedure TsrvContabilidad.DataAbstractServiceBeforeAcquireConnection(
|
|
aSender: TObject; var aConnectionName: string);
|
|
begin
|
|
ConnectionName := dmServer.ConnectionName;
|
|
end;
|
|
|
|
initialization
|
|
TROClassFactory.Create('srvContabilidad', Create_srvContabilidad, TsrvContabilidad_Invoker);
|
|
|
|
finalization
|
|
|
|
end.
|