git-svn-id: https://192.168.0.254/svn/Proyectos.AlonsoYSal_FactuGES/trunk@12 9a1d36f3-7752-2d40-8ccb-50eb49674c68
60 lines
1.9 KiB
ObjectPascal
60 lines
1.9 KiB
ObjectPascal
unit srvFacturasProveedor_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, uDAScriptingProvider, uDADataTable,
|
|
uDACDSDataTable, frxClass, DB, frxDBSet, uDAClasses, uDABINAdapter;
|
|
|
|
type
|
|
{ TsrvFacturasProveedor }
|
|
TsrvFacturasProveedor = class(TDARemoteService, IsrvFacturasProveedor)
|
|
DABINAdapter: TDABINAdapter;
|
|
schFacturasProveedor: TDASchema;
|
|
private
|
|
protected
|
|
{ IsrvFacturasProveedor methods }
|
|
function GetNextAutoinc: Integer;
|
|
function PuedoEliminarFactura(const CodigoFactura: Integer): Boolean;
|
|
end;
|
|
|
|
implementation
|
|
|
|
{$R *.dfm}
|
|
uses
|
|
{Generated:} FactuGES_Invk, uDataModuleServer;
|
|
|
|
procedure Create_srvFacturasProveedor(out anInstance : IUnknown);
|
|
begin
|
|
anInstance := TsrvFacturasProveedor.Create(NIL);
|
|
end;
|
|
|
|
{ srvFacturasProveedor }
|
|
function TsrvFacturasProveedor.GetNextAutoinc: Integer;
|
|
begin
|
|
Result := uDataModuleServer.GetNextAutoinc(Connection, 'GEN_FACTURASPROVEEDOR');
|
|
end;
|
|
|
|
function TsrvFacturasProveedor.PuedoEliminarFactura(const CodigoFactura: Integer): Boolean;
|
|
begin
|
|
// ?
|
|
end;
|
|
|
|
initialization
|
|
TROClassFactory.Create('srvFacturasProveedor', Create_srvFacturasProveedor, TsrvFacturasProveedor_Invoker);
|
|
|
|
finalization
|
|
|
|
end.
|