73 lines
2.2 KiB
ObjectPascal
73 lines
2.2 KiB
ObjectPascal
unit srvFormasPago_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;
|
|
|
|
type
|
|
{ TsrvFormasPago }
|
|
TsrvFormasPago = class(TDARemoteService, IsrvFormasPago)
|
|
Diagrams: TDADiagrams;
|
|
DABINAdapter: TDABINAdapter;
|
|
bpFormasPagoPlazos: TDABusinessProcessor;
|
|
bpFormasPago: TDABusinessProcessor;
|
|
schFormasPago: TDASchema;
|
|
DataDictionary: TDADataDictionary;
|
|
procedure DARemoteServiceCreate(Sender: TObject);
|
|
procedure DARemoteServiceBeforeAcquireConnection(Sender: TDARemoteService;
|
|
var ConnectionName: string);
|
|
private
|
|
protected
|
|
{ IsrvFormasPago methods }
|
|
function GetNextAutoInc(const GeneratorName: String): Integer;
|
|
end;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
uses
|
|
{Generated:} FactuGES_Invk, uDataModuleServer,
|
|
uDatabaseUtils;
|
|
|
|
procedure Create_srvFormasPago(out anInstance : IUnknown);
|
|
begin
|
|
anInstance := TsrvFormasPago.Create(NIL);
|
|
end;
|
|
|
|
{ srvFormasPago }
|
|
procedure TsrvFormasPago.DARemoteServiceBeforeAcquireConnection(
|
|
Sender: TDARemoteService; var ConnectionName: string);
|
|
begin
|
|
ConnectionName := dmServer.ConnectionName;
|
|
end;
|
|
|
|
procedure TsrvFormasPago.DARemoteServiceCreate(Sender: TObject);
|
|
begin
|
|
SessionManager := dmServer.SessionManager;
|
|
end;
|
|
|
|
function TsrvFormasPago.GetNextAutoInc(const GeneratorName: String): Integer;
|
|
begin
|
|
Result := uDatabaseUtils.GetNextAutoInc(GeneratorName)
|
|
end;
|
|
|
|
initialization
|
|
TROClassFactory.Create('srvFormasPago', Create_srvFormasPago, TsrvFormasPago_Invoker);
|
|
|
|
finalization
|
|
|
|
end.
|