Arreglo de informes de cliente para que salgan los dos formatos con logotipo y sin logotipo, se detecta en el servicio de pedidos de clienteque no esta bien y tira de interfaz e invoker de pedidos de proveedor
git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES/trunk@277 c93665c3-c93d-084d-9b98-7d5f4a9c3376
This commit is contained in:
parent
b14718b5ad
commit
3e0bcba9e4
@ -170,8 +170,7 @@
|
||||
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
|
||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
||||
</VersionInfoKeys>
|
||||
<Excluded_Packages>
|
||||
</VersionInfoKeys> <Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Documents and Settings\David\Mis documentos\Borland Studio Projects\Bpl\dxComnD10.bpl">ExpressCommonLibrary by Developer Express Inc.</Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Documents and Settings\David\Mis documentos\Borland Studio Projects\Bpl\cxEditorsD10.bpl">ExpressEditors Library 5 by Developer Express Inc.</Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Documents and Settings\David\Mis documentos\Borland Studio Projects\Bpl\cxDataD10.bpl">ExpressDataController by Developer Express Inc.</Excluded_Packages>
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -38,7 +38,7 @@ type
|
||||
function NewItem : IBizAlbaranCliente;
|
||||
|
||||
// Report
|
||||
function GetReport(const AID: String): Binary;
|
||||
function GetReport(const AID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
function GetEtiquetas(const AID: Integer; withRefCliente: Boolean): Binary;
|
||||
end;
|
||||
|
||||
@ -76,9 +76,9 @@ begin
|
||||
Result := (RORemoteService as IsrvAlbaranesCliente).GetNextAutoInc(aGeneratorName)
|
||||
end;
|
||||
|
||||
function TDataModuleAlbaranesCliente.GetReport(const AID: String): Binary;
|
||||
function TDataModuleAlbaranesCliente.GetReport(const AID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
begin
|
||||
Result := (RORemoteService as IsrvAlbaranesCliente).GenerateReport(AID)
|
||||
Result := (RORemoteService as IsrvAlbaranesCliente).GenerateReport(AID, ShowLogotipo)
|
||||
end;
|
||||
|
||||
function TDataModuleAlbaranesCliente.NewItem: IBizAlbaranCliente;
|
||||
|
||||
@ -8,7 +8,7 @@ uses
|
||||
type
|
||||
IDataModuleAlbaranesClienteReport = interface
|
||||
['{42C55204-5AB9-403E-8385-1A62B02D8234}']
|
||||
function GetReport(const AID: String): Binary;
|
||||
function GetReport(const AID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
function GetEtiquetas(const AID: Integer; withRefCliente: Boolean): Binary;
|
||||
end;
|
||||
|
||||
|
||||
@ -1321,13 +1321,14 @@ object RptAlbaranesCliente: TRptAlbaranesCliente
|
||||
Top = 158
|
||||
end
|
||||
object frxReport: TfrxReport
|
||||
Version = '3.23.7'
|
||||
Version = '4.3'
|
||||
DotMatrixReport = False
|
||||
EngineOptions.DoublePass = True
|
||||
IniFile = '\Software\Fast Reports'
|
||||
PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
|
||||
PreviewOptions.Zoom = 1.000000000000000000
|
||||
PrintOptions.Printer = 'Por defecto'
|
||||
PrintOptions.PrintOnSheet = 0
|
||||
ReportOptions.CreateDate = 39065.872423495400000000
|
||||
ReportOptions.LastChange = 39286.749813368060000000
|
||||
ScriptLanguage = 'PascalScript'
|
||||
@ -1385,28 +1386,9 @@ object RptAlbaranesCliente: TRptAlbaranesCliente
|
||||
'end.')
|
||||
ShowProgress = False
|
||||
StoreInDFM = False
|
||||
OnGetValue = frxReportGetValue
|
||||
Left = 169
|
||||
Top = 16
|
||||
Datasets = <
|
||||
item
|
||||
DataSet = frxDBCabecera
|
||||
DataSetName = 'frxDBCabecera'
|
||||
end
|
||||
item
|
||||
DataSet = frxDBDetalles
|
||||
DataSetName = 'frxDBDetalles'
|
||||
end>
|
||||
Variables = <>
|
||||
Style = <
|
||||
item
|
||||
Name = 'Style1'
|
||||
Color = clNone
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -27
|
||||
Font.Name = 'Arial'
|
||||
Font.Style = []
|
||||
end>
|
||||
end
|
||||
object frxDBCabecera: TfrxDBDataset
|
||||
UserName = 'frxDBCabecera'
|
||||
|
||||
@ -29,12 +29,14 @@ type
|
||||
DataDictionary: TDADataDictionary;
|
||||
frxReport: TfrxReport;
|
||||
procedure DataModuleCreate(Sender: TObject);
|
||||
procedure frxReportGetValue(const VarName: string; var Value: Variant);
|
||||
private
|
||||
FConnection: IDAConnection;
|
||||
FShowLogotipo: Boolean;
|
||||
//Genera cada uno de los albaranes a imprimir
|
||||
procedure GenerarAlbaran(const ID: integer); overload;
|
||||
public
|
||||
function GenerarAlbaran(const AID : String): Binary; overload;
|
||||
function GenerarAlbaran(const AID : String; const AConLogotipo: Boolean = False): Binary; overload;
|
||||
function GenerarEtiquetas(const AID : Integer; withRefCliente: Boolean): Binary;
|
||||
end;
|
||||
|
||||
@ -62,10 +64,11 @@ procedure TRptAlbaranesCliente.DataModuleCreate(Sender: TObject);
|
||||
begin
|
||||
schReport.ConnectionManager := dmServer.ConnectionManager;
|
||||
FConnection := dmServer.DarNuevaConexion;
|
||||
FShowLogotipo := False;
|
||||
frxReport.EngineOptions.NewSilentMode := simReThrow;
|
||||
end;
|
||||
|
||||
function TRptAlbaranesCliente.GenerarAlbaran(const AID: String): Binary;
|
||||
function TRptAlbaranesCliente.GenerarAlbaran(const AID: String; const AConLogotipo: Boolean = False): Binary;
|
||||
var
|
||||
ID_Albaranes: TStringList;
|
||||
i: Integer;
|
||||
@ -74,6 +77,7 @@ begin
|
||||
FConnection.BeginTransaction;
|
||||
|
||||
try
|
||||
FShowLogotipo := AConLogotipo;
|
||||
ID_Albaranes := TStringList.Create;
|
||||
ID_Albaranes.CommaText := AID;
|
||||
|
||||
@ -88,6 +92,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TRptAlbaranesCliente.frxReportGetValue(const VarName: string; var Value: Variant);
|
||||
begin
|
||||
if VarName = 'ShowLogotipo' then
|
||||
Value := FShowLogotipo;
|
||||
end;
|
||||
|
||||
procedure TRptAlbaranesCliente.GenerarAlbaran(const ID: integer);
|
||||
var
|
||||
AStream: TMemoryStream;
|
||||
|
||||
@ -38,7 +38,7 @@ type
|
||||
protected
|
||||
{ IsrvAlbaranesCliente methods }
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const ID: String): Binary;
|
||||
function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
function GenerateEtiquetas(const ID: Integer; const withRefCliente: Boolean): Binary;
|
||||
end;
|
||||
|
||||
@ -94,13 +94,13 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function TsrvAlbaranesCliente.GenerateReport(const ID: String): Binary;
|
||||
function TsrvAlbaranesCliente.GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
var
|
||||
AReportGenerator : TRptAlbaranesCliente;
|
||||
begin
|
||||
AReportGenerator := TRptAlbaranesCliente.Create(nil);
|
||||
try
|
||||
Result := AReportGenerator.GenerarAlbaran(ID);
|
||||
Result := AReportGenerator.GenerarAlbaran(ID, ShowLogotipo);
|
||||
finally
|
||||
FreeAndNIL(AReportGenerator);
|
||||
end;
|
||||
|
||||
@ -33,7 +33,7 @@ type
|
||||
function NewItem : IBizFacturaCliente;
|
||||
|
||||
// Report
|
||||
function GetReport(const AFacturaID: String): Binary;
|
||||
function GetReport(const AFacturaID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -65,9 +65,9 @@ begin
|
||||
Result := (RORemoteService as IsrvFacturasCliente).GetNextAutoInc(aGeneratorName)
|
||||
end;
|
||||
|
||||
function TDataModuleFacturasCliente.GetReport(const AFacturaID: String): Binary;
|
||||
function TDataModuleFacturasCliente.GetReport(const AFacturaID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
begin
|
||||
Result := (RORemoteService as IsrvFacturasCliente).GenerateReport(AFacturaID)
|
||||
Result := (RORemoteService as IsrvFacturasCliente).GenerateReport(AFacturaID, ShowLogotipo)
|
||||
end;
|
||||
|
||||
function TDataModuleFacturasCliente.NewItem: IBizFacturaCliente;
|
||||
|
||||
@ -8,13 +8,7 @@
|
||||
<Option Name="GUID">{31F77077-B4B9-443C-9AA9-F13B4EB640B4}</Option>
|
||||
</Option>
|
||||
</PersonalityInfo>
|
||||
<Default.Personality>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Projects>
|
||||
<Default.Personality> <Projects>
|
||||
<Projects Name="Base.bpl">..\..\Base\Base.bdsproj</Projects>
|
||||
<Projects Name="ControllerBase.bpl">..\..\Base\ControllerBase\ControllerBase.bdsproj</Projects>
|
||||
<Projects Name="GUIBase.bpl">..\..\Base\GUIBase\GUIBase.bdsproj</Projects>
|
||||
|
||||
@ -8,7 +8,7 @@ uses
|
||||
type
|
||||
IDataModuleFacturasClienteReport = interface
|
||||
['{F498AC70-AA38-4C06-B301-85A4AC0B210B}']
|
||||
function GetReport(const AFacturaID: String): Binary;
|
||||
function GetReport(const AFacturaID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
@ -1253,7 +1253,7 @@ object RptFacturasCliente: TRptFacturasCliente
|
||||
PrintOptions.Printer = 'Default'
|
||||
PrintOptions.PrintOnSheet = 0
|
||||
ReportOptions.CreateDate = 37871.995398692100000000
|
||||
ReportOptions.LastChange = 39290.847101226850000000
|
||||
ReportOptions.LastChange = 39701.539507187500000000
|
||||
ReportOptions.VersionBuild = '1'
|
||||
ReportOptions.VersionMajor = '12'
|
||||
ReportOptions.VersionMinor = '13'
|
||||
@ -1399,11 +1399,20 @@ object RptFacturasCliente: TRptFacturasCliente
|
||||
' Set('#39'TotalPaginas'#39', 0);'
|
||||
'end;'
|
||||
''
|
||||
'procedure Picture1OnBeforePrint(Sender: TfrxComponent);'
|
||||
'begin'
|
||||
' if <ShowLogotipo> then'
|
||||
' Picture1.Visible := True'
|
||||
' else'
|
||||
' Picture1.Visible := False; '
|
||||
'end;'
|
||||
''
|
||||
'begin'
|
||||
''
|
||||
'end.')
|
||||
ShowProgress = False
|
||||
StoreInDFM = False
|
||||
OnGetValue = frxReportGetValue
|
||||
OnStartReport = 'frxReportOnStartReport'
|
||||
Left = 169
|
||||
Top = 16
|
||||
|
||||
@ -32,12 +32,14 @@ type
|
||||
DataDictionary: TDADataDictionary;
|
||||
frxReport: TfrxReport;
|
||||
procedure DataModuleCreate(Sender: TObject);
|
||||
procedure frxReportGetValue(const VarName: string; var Value: Variant);
|
||||
private
|
||||
FConnection: IDAConnection;
|
||||
FShowLogotipo: Boolean;
|
||||
//Genera cada uno de los albaranes a imprimir
|
||||
procedure GenerarFactura(const ID: integer); overload;
|
||||
public
|
||||
function GenerarFactura(const AFacturaID : String): Binary; overload;
|
||||
function GenerarFactura(const AFacturaID: String; const AConLogotipo: Boolean = False): Binary; overload;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -53,20 +55,26 @@ const
|
||||
{ Dataset names for schReport }
|
||||
ds_InformeFacturasCliente = 'InformeFacturasCliente';
|
||||
ds_InformeFacturasCliente_Detalles = 'InformeFacturasCliente_Detalles';
|
||||
ds_InformeFacturasCliente_Vencimientos = 'InformeFacturasCliente_Vencimientos';
|
||||
ds_InformeFacturasCliente_Vencimientos = 'InformeFacturasCliente_Vencimientos';
|
||||
|
||||
|
||||
{ TRptFacturasCliente }
|
||||
|
||||
|
||||
procedure TRptFacturasCliente.DataModuleCreate(Sender: TObject);
|
||||
begin
|
||||
schReport.ConnectionManager := dmServer.ConnectionManager;
|
||||
FConnection := dmServer.DarNuevaConexion;
|
||||
frxReport.EngineOptions.NewSilentMode := simReThrow;
|
||||
FShowLogotipo := False;
|
||||
frxReport.EngineOptions.NewSilentMode := simReThrow;
|
||||
end;
|
||||
|
||||
function TRptFacturasCliente.GenerarFactura(const AFacturaID: String): Binary;
|
||||
procedure TRptFacturasCliente.frxReportGetValue(const VarName: string; var Value: Variant);
|
||||
begin
|
||||
if VarName = 'ShowLogotipo' then
|
||||
Value := FShowLogotipo;
|
||||
end;
|
||||
|
||||
function TRptFacturasCliente.GenerarFactura(const AFacturaID: String; const AConLogotipo: Boolean = False): Binary;
|
||||
var
|
||||
ID_Facturas: TStringList;
|
||||
i: Integer;
|
||||
@ -76,6 +84,7 @@ begin
|
||||
FConnection.BeginTransaction;
|
||||
|
||||
try
|
||||
FShowLogotipo := AConLogotipo;
|
||||
ID_Facturas := TStringList.Create;
|
||||
ID_Facturas.CommaText := AFacturaID;
|
||||
|
||||
@ -116,7 +125,6 @@ begin
|
||||
DABINAdapter.WriteDataset(AStream, dsVencimientos, [woRows, woSchema], -1);
|
||||
DABINAdapter.ReadDataset(AStream, tbl_Vencimientos, TRUE, '', TRUE, TRUE);
|
||||
|
||||
|
||||
frxReport.LoadFromFile(DarRutaInformes + rptFacturaCliente, True);
|
||||
frxReport.PrepareReport(False);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ type
|
||||
protected
|
||||
{ IsrvFacturasCliente methods }
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const FacturaID: String): Binary;
|
||||
function GenerateReport(const FacturaID: String; const ShowLogotipo: Boolean): Binary;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -78,13 +78,13 @@ begin
|
||||
bpFacturasCliente.BusinessRulesID := BIZ_SERVER_FACTURAS_CLIENTE;
|
||||
end;
|
||||
|
||||
function TsrvFacturasCliente.GenerateReport(const FacturaID: String): Binary;
|
||||
function TsrvFacturasCliente.GenerateReport(const FacturaID: String; const ShowLogotipo: Boolean): Binary;
|
||||
var
|
||||
AReportGenerator : TRptFacturasCliente;
|
||||
begin
|
||||
AReportGenerator := TRptFacturasCliente.Create(nil);
|
||||
try
|
||||
Result := AReportGenerator.GenerarFactura(FacturaID);
|
||||
Result := AReportGenerator.GenerarFactura(FacturaID, ShowLogotipo);
|
||||
finally
|
||||
FreeAndNIL(AReportGenerator);
|
||||
end;
|
||||
|
||||
@ -63,7 +63,7 @@ begin
|
||||
|
||||
ShowHourglassCursor;
|
||||
try
|
||||
AStream := FDataModule.GetReport(AID);
|
||||
AStream := FDataModule.GetReport(AID, True);
|
||||
try
|
||||
CreateEditor('EditorPedidosClientePreview', IEditorPedidosClientePreview, AEditor);
|
||||
AEditor.LoadFromStream(AStream);
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
||||
</VersionInfoKeys>
|
||||
</Delphi.Personality>
|
||||
<!-- EurekaLog First Line
|
||||
<!-- EurekaLog First Line
|
||||
[Exception Log]
|
||||
EurekaLog Version=519
|
||||
Activate=1
|
||||
|
||||
@ -919,7 +919,7 @@ object DataModulePedidosCliente: TDataModulePedidosCliente
|
||||
end
|
||||
item
|
||||
Name = 'CANTIDAD_PENDIENTE'
|
||||
DataType = datLargeInt
|
||||
DataType = datInteger
|
||||
BlobType = dabtUnknown
|
||||
DisplayWidth = 0
|
||||
DisplayLabel = 'Cantidad pendiente'
|
||||
@ -935,7 +935,7 @@ object DataModulePedidosCliente: TDataModulePedidosCliente
|
||||
Name = 'ID_PEDIDO'
|
||||
DataType = datInteger
|
||||
BlobType = dabtUnknown
|
||||
Value = '11'
|
||||
Value = ''
|
||||
ParamType = daptInput
|
||||
end>
|
||||
MasterMappingMode = mmDataRequest
|
||||
|
||||
@ -45,7 +45,8 @@ type
|
||||
function NewItem : IBizPedidoCliente;
|
||||
|
||||
// Report
|
||||
function GetReport(const AID: String): Binary;
|
||||
// function GetReport(const AID: String): Binary;
|
||||
function GetReport(const AID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -82,9 +83,9 @@ begin
|
||||
Result := (RORemoteService as IsrvPedidosCliente).GetNextAutoInc(aGeneratorName)
|
||||
end;
|
||||
|
||||
function TDataModulePedidosCliente.GetReport(const AID: String): Binary;
|
||||
function TDataModulePedidosCliente.GetReport(const AID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
begin
|
||||
Result := (RORemoteService as IsrvPedidosCliente).GenerateReport(AID)
|
||||
Result := (RORemoteService as IsrvPedidosCliente).GenerateReport(AID, ShowLogotipo)
|
||||
end;
|
||||
|
||||
function TDataModulePedidosCliente.NewItem: IBizPedidoCliente;
|
||||
|
||||
@ -8,7 +8,7 @@ uses
|
||||
type
|
||||
IDataModulePedidosClienteReport = interface
|
||||
['{70CEBB06-376F-4363-B80F-DDA4324E0F85}']
|
||||
function GetReport(const AID: String): Binary;
|
||||
function GetReport(const AID: String; const ShowLogotipo: Boolean = False): Binary;
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
@ -21,7 +21,9 @@
|
||||
<Projects Name="PedidosCliente_controller.bpl">Controller\PedidosCliente_controller.bdsproj</Projects>
|
||||
<Projects Name="PedidosCliente_view.bpl">Views\PedidosCliente_view.bdsproj</Projects>
|
||||
<Projects Name="PedidosCliente_plugin.bpl">Plugin\PedidosCliente_plugin.bdsproj</Projects>
|
||||
<Projects Name="Targets">Base.bpl ControllerBase.bpl GUIBase.bpl Articulos_model.bpl Articulos_data.bpl Articulos_controller.bpl Articulos_view.bpl PedidosCliente_model.bpl PedidosCliente_data.bpl PedidosCliente_controller.bpl PedidosCliente_view.bpl PedidosCliente_plugin.bpl</Projects>
|
||||
<Projects Name="FactuGES_Server.exe">..\..\Servidor\FactuGES_Server.bdsproj</Projects>
|
||||
<Projects Name="FactuGES.exe">..\..\Cliente\FactuGES.bdsproj</Projects>
|
||||
<Projects Name="Targets">Base.bpl ControllerBase.bpl GUIBase.bpl Articulos_model.bpl Articulos_data.bpl Articulos_controller.bpl Articulos_view.bpl PedidosCliente_model.bpl PedidosCliente_data.bpl PedidosCliente_controller.bpl PedidosCliente_view.bpl PedidosCliente_plugin.bpl FactuGES_Server.exe FactuGES.exe</Projects>
|
||||
</Projects>
|
||||
<Dependencies/>
|
||||
</Default.Personality>
|
||||
|
||||
@ -852,13 +852,14 @@ object RptPedidosCliente: TRptPedidosCliente
|
||||
Top = 158
|
||||
end
|
||||
object frxReport: TfrxReport
|
||||
Version = '3.23.7'
|
||||
Version = '4.3'
|
||||
DotMatrixReport = False
|
||||
EngineOptions.DoublePass = True
|
||||
IniFile = '\Software\Fast Reports'
|
||||
PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
|
||||
PreviewOptions.Zoom = 1.000000000000000000
|
||||
PrintOptions.Printer = 'Por defecto'
|
||||
PrintOptions.PrintOnSheet = 0
|
||||
ReportOptions.CreateDate = 39065.872423495400000000
|
||||
ReportOptions.LastChange = 39255.590290254630000000
|
||||
ScriptLanguage = 'PascalScript'
|
||||
@ -921,19 +922,9 @@ object RptPedidosCliente: TRptPedidosCliente
|
||||
'end.')
|
||||
ShowProgress = False
|
||||
StoreInDFM = False
|
||||
OnGetValue = frxReportGetValue
|
||||
Left = 169
|
||||
Top = 16
|
||||
Datasets = <
|
||||
item
|
||||
DataSet = frxDBCabecera
|
||||
DataSetName = 'frxDBCabecera'
|
||||
end
|
||||
item
|
||||
DataSet = frxDBDetalles
|
||||
DataSetName = 'frxDBDetalles'
|
||||
end>
|
||||
Variables = <>
|
||||
Style = <>
|
||||
end
|
||||
object frxDBCabecera: TfrxDBDataset
|
||||
UserName = 'frxDBCabecera'
|
||||
|
||||
@ -29,11 +29,13 @@ type
|
||||
DataDictionary: TDADataDictionary;
|
||||
frxReport: TfrxReport;
|
||||
procedure DataModuleCreate(Sender: TObject);
|
||||
procedure frxReportGetValue(const VarName: string; var Value: Variant);
|
||||
private
|
||||
FConnection: IDAConnection;
|
||||
FShowLogotipo: Boolean;
|
||||
procedure GenerarPedido(const AID : Integer); overload;
|
||||
public
|
||||
function GenerarPedido(const AID : String): Binary; overload;
|
||||
function GenerarPedido(const AID : String; const AConLogotipo: Boolean = False): Binary; overload;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -61,7 +63,7 @@ begin
|
||||
frxReport.EngineOptions.NewSilentMode := simReThrow;
|
||||
end;
|
||||
|
||||
function TRptPedidosCliente.GenerarPedido(const AID: String): Binary;
|
||||
function TRptPedidosCliente.GenerarPedido(const AID: String; const AConLogotipo: Boolean = False): Binary;
|
||||
var
|
||||
ID_Pedidos: TStringList;
|
||||
i: Integer;
|
||||
@ -71,6 +73,7 @@ begin
|
||||
FConnection.BeginTransaction;
|
||||
|
||||
try
|
||||
FShowLogotipo := AConLogotipo;
|
||||
ID_Pedidos := TStringList.Create;
|
||||
ID_Pedidos.CommaText := AID;
|
||||
|
||||
@ -85,6 +88,13 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TRptPedidosCliente.frxReportGetValue(const VarName: string;
|
||||
var Value: Variant);
|
||||
begin
|
||||
if VarName = 'ShowLogotipo' then
|
||||
Value := FShowLogotipo;
|
||||
end;
|
||||
|
||||
procedure TRptPedidosCliente.GenerarPedido(const AID: Integer);
|
||||
var
|
||||
AStream: TMemoryStream;
|
||||
|
||||
@ -22,8 +22,8 @@ uses
|
||||
frxChBox, frxCross, frxRich, frxChart, frxOLE, frxBarcode;
|
||||
|
||||
type
|
||||
{ TsrvPedidosProveedor }
|
||||
TsrvPedidosCliente = class(TDARemoteService, IsrvPedidosProveedor)
|
||||
{ TsrvPedidosCliente }
|
||||
TsrvPedidosCliente = class(TDARemoteService, IsrvPedidosCliente)
|
||||
DABINAdapter: TDABINAdapter;
|
||||
bpPedidosCliente: TDABusinessProcessor;
|
||||
bpPedidosCliente_Detalles: TDABusinessProcessor;
|
||||
@ -36,9 +36,9 @@ type
|
||||
procedure DARemoteServiceCreate(Sender: TObject);
|
||||
private
|
||||
protected
|
||||
{ IsrvPedidosProveedor methods }
|
||||
{ IsrvPedidosCliente methods }
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const ID: String): Binary;
|
||||
function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -50,12 +50,12 @@ uses
|
||||
schPedidosClienteClient_Intf, uRestriccionesUsuarioUtils,
|
||||
uRptPedidosCliente_Server, uBizPedidosClienteServer;
|
||||
|
||||
procedure Create_srvPedidosProveedor(out anInstance : IUnknown);
|
||||
procedure Create_srvPedidosCliente(out anInstance : IUnknown);
|
||||
begin
|
||||
anInstance := TsrvPedidosCliente.Create(NIL);
|
||||
end;
|
||||
|
||||
{ srvPedidosProveedor }
|
||||
{ srvPedidosCliente }
|
||||
procedure TsrvPedidosCliente.DARemoteServiceBeforeAcquireConnection(
|
||||
Sender: TDARemoteService; var ConnectionName: string);
|
||||
begin
|
||||
@ -81,13 +81,13 @@ begin
|
||||
bpPedidosCliente.BusinessRulesID := BIZ_SERVER_PEDIDOS_CLIENTE;
|
||||
end;
|
||||
|
||||
function TsrvPedidosCliente.GenerateReport(const ID: String): Binary;
|
||||
function TsrvPedidosCliente.GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
var
|
||||
AReportGenerator : TRptPedidosCliente;
|
||||
begin
|
||||
AReportGenerator := TRptPedidosCliente.Create(nil);
|
||||
try
|
||||
Result := AReportGenerator.GenerarPedido(ID);
|
||||
Result := AReportGenerator.GenerarPedido(ID, ShowLogotipo);
|
||||
finally
|
||||
FreeAndNIL(AReportGenerator);
|
||||
end;
|
||||
@ -99,7 +99,7 @@ begin
|
||||
end;
|
||||
|
||||
initialization
|
||||
TROClassFactory.Create('srvPedidosCliente', Create_srvPedidosProveedor, TsrvPedidosProveedor_Invoker);
|
||||
TROClassFactory.Create('srvPedidosCliente', Create_srvPedidosCliente, TsrvPedidosCliente_Invoker);
|
||||
|
||||
finalization
|
||||
|
||||
|
||||
@ -132,6 +132,8 @@
|
||||
</Parameter>
|
||||
<Parameter Name="FacturaID" DataType="String" Flag="In" >
|
||||
</Parameter>
|
||||
<Parameter Name="ShowLogotipo" DataType="Boolean" Flag="In" >
|
||||
</Parameter>
|
||||
</Parameters>
|
||||
</Operation>
|
||||
</Operations>
|
||||
@ -244,6 +246,8 @@
|
||||
</Parameter>
|
||||
<Parameter Name="ID" DataType="String" Flag="In" >
|
||||
</Parameter>
|
||||
<Parameter Name="ShowLogotipo" DataType="Boolean" Flag="In" >
|
||||
</Parameter>
|
||||
</Parameters>
|
||||
</Operation>
|
||||
</Operations>
|
||||
@ -276,6 +280,8 @@
|
||||
</Parameter>
|
||||
<Parameter Name="ID" DataType="String" Flag="In" >
|
||||
</Parameter>
|
||||
<Parameter Name="ShowLogotipo" DataType="Boolean" Flag="In" >
|
||||
</Parameter>
|
||||
</Parameters>
|
||||
</Operation>
|
||||
<Operation Name="GenerateEtiquetas" UID="{260CD213-F125-422B-9BD1-401729460DF0}">
|
||||
|
||||
@ -236,7 +236,7 @@ type
|
||||
IsrvFacturasCliente = interface(IDARemoteService)
|
||||
['{56B4FFF0-AB1B-46B2-BA16-ABD5360F6311}']
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const FacturaID: String): Binary;
|
||||
function GenerateReport(const FacturaID: String; const ShowLogotipo: Boolean): Binary;
|
||||
end;
|
||||
|
||||
{ CosrvFacturasCliente }
|
||||
@ -250,7 +250,7 @@ type
|
||||
function __GetInterfaceName:string; override;
|
||||
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const FacturaID: String): Binary;
|
||||
function GenerateReport(const FacturaID: String; const ShowLogotipo: Boolean): Binary;
|
||||
end;
|
||||
|
||||
{ IsrvPedidosProveedor }
|
||||
@ -354,7 +354,7 @@ type
|
||||
IsrvPedidosCliente = interface(IDARemoteService)
|
||||
['{8A06D5A7-8461-4F6E-8A8B-EC49C84C45D1}']
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const ID: String): Binary;
|
||||
function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
end;
|
||||
|
||||
{ CosrvPedidosCliente }
|
||||
@ -368,7 +368,7 @@ type
|
||||
function __GetInterfaceName:string; override;
|
||||
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const ID: String): Binary;
|
||||
function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
end;
|
||||
|
||||
{ IsrvFamilias }
|
||||
@ -392,7 +392,7 @@ type
|
||||
IsrvAlbaranesCliente = interface(IDARemoteService)
|
||||
['{6E910718-9AB0-47BB-9875-B0DE66A68D7A}']
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const ID: String): Binary;
|
||||
function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
function GenerateEtiquetas(const ID: Integer; const withRefCliente: Boolean): Binary;
|
||||
end;
|
||||
|
||||
@ -407,7 +407,7 @@ type
|
||||
function __GetInterfaceName:string; override;
|
||||
|
||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
||||
function GenerateReport(const ID: String): Binary;
|
||||
function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
function GenerateEtiquetas(const ID: Integer; const withRefCliente: Boolean): Binary;
|
||||
end;
|
||||
|
||||
@ -1187,7 +1187,7 @@ begin
|
||||
end
|
||||
end;
|
||||
|
||||
function TsrvFacturasCliente_Proxy.GenerateReport(const FacturaID: String): Binary;
|
||||
function TsrvFacturasCliente_Proxy.GenerateReport(const FacturaID: String; const ShowLogotipo: Boolean): Binary;
|
||||
var
|
||||
__request, __response : TMemoryStream;
|
||||
begin
|
||||
@ -1198,6 +1198,7 @@ begin
|
||||
try
|
||||
__Message.Initialize(__TransportChannel, 'FactuGES', __InterfaceName, 'GenerateReport');
|
||||
__Message.Write('FacturaID', TypeInfo(String), FacturaID, []);
|
||||
__Message.Write('ShowLogotipo', TypeInfo(Boolean), ShowLogotipo, []);
|
||||
__Message.Finalize;
|
||||
|
||||
__Message.WriteToStream(__request);
|
||||
@ -1457,7 +1458,7 @@ begin
|
||||
end
|
||||
end;
|
||||
|
||||
function TsrvPedidosCliente_Proxy.GenerateReport(const ID: String): Binary;
|
||||
function TsrvPedidosCliente_Proxy.GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
var
|
||||
__request, __response : TMemoryStream;
|
||||
begin
|
||||
@ -1468,6 +1469,7 @@ begin
|
||||
try
|
||||
__Message.Initialize(__TransportChannel, 'FactuGES', __InterfaceName, 'GenerateReport');
|
||||
__Message.Write('ID', TypeInfo(String), ID, []);
|
||||
__Message.Write('ShowLogotipo', TypeInfo(Boolean), ShowLogotipo, []);
|
||||
__Message.Finalize;
|
||||
|
||||
__Message.WriteToStream(__request);
|
||||
@ -1530,7 +1532,7 @@ begin
|
||||
end
|
||||
end;
|
||||
|
||||
function TsrvAlbaranesCliente_Proxy.GenerateReport(const ID: String): Binary;
|
||||
function TsrvAlbaranesCliente_Proxy.GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary;
|
||||
var
|
||||
__request, __response : TMemoryStream;
|
||||
begin
|
||||
@ -1541,6 +1543,7 @@ begin
|
||||
try
|
||||
__Message.Initialize(__TransportChannel, 'FactuGES', __InterfaceName, 'GenerateReport');
|
||||
__Message.Write('ID', TypeInfo(String), ID, []);
|
||||
__Message.Write('ShowLogotipo', TypeInfo(Boolean), ShowLogotipo, []);
|
||||
__Message.Finalize;
|
||||
|
||||
__Message.WriteToStream(__request);
|
||||
|
||||
@ -470,17 +470,19 @@ begin
|
||||
end;
|
||||
|
||||
procedure TsrvFacturasCliente_Invoker.Invoke_GenerateReport(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||
{ function GenerateReport(const FacturaID: String): Binary; }
|
||||
{ function GenerateReport(const FacturaID: String; const ShowLogotipo: Boolean): Binary; }
|
||||
var
|
||||
FacturaID: String;
|
||||
ShowLogotipo: Boolean;
|
||||
lResult: Binary;
|
||||
__lObjectDisposer: TROObjectDisposer;
|
||||
begin
|
||||
lResult := nil;
|
||||
try
|
||||
__Message.Read('FacturaID', TypeInfo(String), FacturaID, []);
|
||||
__Message.Read('ShowLogotipo', TypeInfo(Boolean), ShowLogotipo, []);
|
||||
|
||||
lResult := (__Instance as IsrvFacturasCliente).GenerateReport(FacturaID);
|
||||
lResult := (__Instance as IsrvFacturasCliente).GenerateReport(FacturaID, ShowLogotipo);
|
||||
|
||||
__Message.Initialize(__Transport, 'FactuGES', 'srvFacturasCliente', 'GenerateReportResponse');
|
||||
__Message.Write('Result', TypeInfo(Binary), lResult, []);
|
||||
@ -650,17 +652,19 @@ begin
|
||||
end;
|
||||
|
||||
procedure TsrvPedidosCliente_Invoker.Invoke_GenerateReport(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||
{ function GenerateReport(const ID: String): Binary; }
|
||||
{ function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary; }
|
||||
var
|
||||
ID: String;
|
||||
ShowLogotipo: Boolean;
|
||||
lResult: Binary;
|
||||
__lObjectDisposer: TROObjectDisposer;
|
||||
begin
|
||||
lResult := nil;
|
||||
try
|
||||
__Message.Read('ID', TypeInfo(String), ID, []);
|
||||
__Message.Read('ShowLogotipo', TypeInfo(Boolean), ShowLogotipo, []);
|
||||
|
||||
lResult := (__Instance as IsrvPedidosCliente).GenerateReport(ID);
|
||||
lResult := (__Instance as IsrvPedidosCliente).GenerateReport(ID, ShowLogotipo);
|
||||
|
||||
__Message.Initialize(__Transport, 'FactuGES', 'srvPedidosCliente', 'GenerateReportResponse');
|
||||
__Message.Write('Result', TypeInfo(Binary), lResult, []);
|
||||
@ -698,17 +702,19 @@ begin
|
||||
end;
|
||||
|
||||
procedure TsrvAlbaranesCliente_Invoker.Invoke_GenerateReport(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||
{ function GenerateReport(const ID: String): Binary; }
|
||||
{ function GenerateReport(const ID: String; const ShowLogotipo: Boolean): Binary; }
|
||||
var
|
||||
ID: String;
|
||||
ShowLogotipo: Boolean;
|
||||
lResult: Binary;
|
||||
__lObjectDisposer: TROObjectDisposer;
|
||||
begin
|
||||
lResult := nil;
|
||||
try
|
||||
__Message.Read('ID', TypeInfo(String), ID, []);
|
||||
__Message.Read('ShowLogotipo', TypeInfo(Boolean), ShowLogotipo, []);
|
||||
|
||||
lResult := (__Instance as IsrvAlbaranesCliente).GenerateReport(ID);
|
||||
lResult := (__Instance as IsrvAlbaranesCliente).GenerateReport(ID, ShowLogotipo);
|
||||
|
||||
__Message.Initialize(__Transport, 'FactuGES', 'srvAlbaranesCliente', 'GenerateReportResponse');
|
||||
__Message.Write('Result', TypeInfo(Binary), lResult, []);
|
||||
|
||||
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<BorlandProject>
|
||||
<PersonalityInfo>
|
||||
<Option>
|
||||
@ -175,11 +175,10 @@
|
||||
<VersionInfoKeys Name="ProductName">FactuGES Server</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="ProductVersion">3.0.5.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
||||
<VersionInfoKeys Name="CompileDate">martes, 15 de julio de 2008 19:13</VersionInfoKeys></VersionInfoKeys>
|
||||
<Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Archivos de programa\RemObjects Software\Pascal Script\Dcu\D10\PascalScript_RO_D10.bpl">RemObjects Pascal Script - RemObjects SDK 3.0 Integration</Excluded_Packages>
|
||||
</Excluded_Packages>
|
||||
</Delphi.Personality>
|
||||
<VersionInfoKeys Name="CompileDate">martes, 15 de julio de 2008 19:13</VersionInfoKeys></VersionInfoKeys> <Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Archivos de programa\RemObjects Software\Pascal Script\Dcu\D10\PascalScript_RO_D10.bpl">RemObjects Pascal Script - RemObjects SDK 3.0 Integration</Excluded_Packages>
|
||||
</Excluded_Packages>
|
||||
</Delphi.Personality>
|
||||
<ModelSupport>False</ModelSupport>
|
||||
<!-- EurekaLog First Line
|
||||
[Exception Log]
|
||||
|
||||
@ -122,8 +122,6 @@ uses
|
||||
schFacturasClienteServer_Intf in '..\Modulos\Facturas de cliente\Model\schFacturasClienteServer_Intf.pas',
|
||||
schPedidosProveedorClient_Intf in '..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorClient_Intf.pas',
|
||||
schPedidosProveedorServer_Intf in '..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorServer_Intf.pas',
|
||||
schPedidosClienteClient_Intf in '..\Modulos\Pedidos de cliente\Model\schPedidosClienteClient_Intf.pas',
|
||||
schPedidosClienteServer_Intf in '..\Modulos\Pedidos de cliente\Model\schPedidosClienteServer_Intf.pas',
|
||||
schAlbaranesClienteClient_Intf in '..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteClient_Intf.pas',
|
||||
schAlbaranesClienteServer_Intf in '..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteServer_Intf.pas',
|
||||
schAlbaranesProveedorClient_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorClient_Intf.pas',
|
||||
@ -135,7 +133,9 @@ uses
|
||||
schRemesasClienteClient_Intf in '..\Modulos\Remesas de cliente\Model\schRemesasClienteClient_Intf.pas',
|
||||
schRemesasClienteServer_Intf in '..\Modulos\Remesas de cliente\Model\schRemesasClienteServer_Intf.pas',
|
||||
schRecibosClienteClient_Intf in '..\Modulos\Recibos de cliente\Model\schRecibosClienteClient_Intf.pas',
|
||||
schRecibosClienteServer_Intf in '..\Modulos\Recibos de cliente\Model\schRecibosClienteServer_Intf.pas';
|
||||
schRecibosClienteServer_Intf in '..\Modulos\Recibos de cliente\Model\schRecibosClienteServer_Intf.pas',
|
||||
schPedidosClienteClient_Intf in '..\Modulos\Pedidos de cliente\Model\schPedidosClienteClient_Intf.pas',
|
||||
schPedidosClienteServer_Intf in '..\Modulos\Pedidos de cliente\Model\schPedidosClienteServer_Intf.pas';
|
||||
|
||||
{$R *.res}
|
||||
{$R ..\Servicios\RODLFile.res}
|
||||
|
||||
@ -912,12 +912,12 @@
|
||||
#define IdResourceStrings_RSMIMEMIMETypeEmpty 65181
|
||||
#define IdResourceStrings_RSMIMEMIMEExtAlreadyExists 65182
|
||||
#define IdResourceStrings_RSStatusResolving 65183
|
||||
#define uRODECConst_sFMT_HEXL 65184
|
||||
#define uRODECConst_sFMT_MIME64 65185
|
||||
#define uRODECConst_sFMT_UU 65186
|
||||
#define uRODECConst_sFMT_XX 65187
|
||||
#define uRODECConst_sInvalidKeySize 65188
|
||||
#define uRODECConst_sNotInitialized 65189
|
||||
#define uRORes_err_InvalidVarArrayDimCount 65184
|
||||
#define uRORes_err_MessageNotAssigned 65185
|
||||
#define ComConst_SOleError 65186
|
||||
#define ComConst_SNoMethod 65187
|
||||
#define ComConst_SVarNotObject 65188
|
||||
#define ComConst_STooManyParams 65189
|
||||
#define IdResourceStrings_RSCannotAllocateSocket 65190
|
||||
#define IdResourceStrings_RSConnectionClosedGracefully 65191
|
||||
#define IdResourceStrings_RSCouldNotBindSocket 65192
|
||||
@ -928,70 +928,70 @@
|
||||
#define IdResourceStrings_RSThreadClassNotSpecified 65197
|
||||
#define IdResourceStrings_RSFileNotFound 65198
|
||||
#define IdResourceStrings_RSOnlyOneAntiFreeze 65199
|
||||
#define uRORes_err_NoXMLParsersAvailable 65200
|
||||
#define uRORes_err_IDispatchMarshalingNotSupported 65201
|
||||
#define uRORes_err_UnsupportedVariantType 65202
|
||||
#define uRORes_err_VariantIsNotArray 65203
|
||||
#define uRORes_err_InvalidVarArrayDimCount 65204
|
||||
#define uRORes_err_MessageNotAssigned 65205
|
||||
#define ComConst_SOleError 65206
|
||||
#define ComConst_SNoMethod 65207
|
||||
#define ComConst_SVarNotObject 65208
|
||||
#define ComConst_STooManyParams 65209
|
||||
#define uRODECConst_sProtectionCircular 65210
|
||||
#define uRODECConst_sStringFormatExists 65211
|
||||
#define uRODECConst_sInvalidStringFormat 65212
|
||||
#define uRODECConst_sInvalidFormatString 65213
|
||||
#define uRODECConst_sFMT_COPY 65214
|
||||
#define uRODECConst_sFMT_HEX 65215
|
||||
#define uRORes_err_UnknownProxyInterface 65216
|
||||
#define uRORes_err_DispatcherAlreadyAssigned 65217
|
||||
#define uRORes_err_CannotFindMessageDispatcher 65218
|
||||
#define uRORes_err_ServerOnlySupportsOneDispatcher 65219
|
||||
#define uRORes_err_UnhandledException 65220
|
||||
#define uRORes_err_ChannelBusy 65221
|
||||
#define uRORes_err_ArrayIndexOutOfBounds 65222
|
||||
#define uRORes_err_InvalidHeader 65223
|
||||
#define uRORes_err_UnknownClassInStream 65224
|
||||
#define uRORes_err_UnexpectedClassInStream 65225
|
||||
#define uRORes_err_SessionNotFound 65226
|
||||
#define uRORes_err_ChannelDoesntSupportIROMetadataReader 65227
|
||||
#define uRORes_err_TooManySessions 65228
|
||||
#define uRORes_err_DOMElementIsNIL 65229
|
||||
#define uRORes_err_CannotLoadXMLDocument 65230
|
||||
#define uRORes_err_ErrorCreatingMsXmlDoc 65231
|
||||
#define uRORes_err_RodlInvalidDataType 65232
|
||||
#define uRORes_err_RodlStructCannotBeNested 65233
|
||||
#define uRORes_err_RodlInvalidAncestorType 65234
|
||||
#define uRORes_str_ExceptionOnServer 65235
|
||||
#define uRORes_str_ExceptionReraisedFromServer 65236
|
||||
#define uRORes_err_AssignError 65237
|
||||
#define uRORes_err_InvalidRequestStream 65238
|
||||
#define uRORes_err_NILMessage 65239
|
||||
#define uRORes_err_UnspecifiedInterface 65240
|
||||
#define uRORes_err_UnspecifiedMessage 65241
|
||||
#define uRORes_err_UnknownMethod 65242
|
||||
#define uRORes_err_ClassFactoryDidNotReturnInstance 65243
|
||||
#define uRORes_err_TypeNotSupported 65244
|
||||
#define uRORes_err_ClassFactoryNotFound 65245
|
||||
#define uRORes_err_IROMessageNotSupported 65246
|
||||
#define uRORes_err_ClassAlreadyRegistered 65247
|
||||
#define uRORes_err_UnhandledException 65200
|
||||
#define uRORes_err_ChannelBusy 65201
|
||||
#define uRORes_err_ArrayIndexOutOfBounds 65202
|
||||
#define uRORes_err_InvalidHeader 65203
|
||||
#define uRORes_err_UnknownClassInStream 65204
|
||||
#define uRORes_err_UnexpectedClassInStream 65205
|
||||
#define uRORes_err_SessionNotFound 65206
|
||||
#define uRORes_err_ChannelDoesntSupportIROMetadataReader 65207
|
||||
#define uRORes_err_TooManySessions 65208
|
||||
#define uRORes_err_DOMElementIsNIL 65209
|
||||
#define uRORes_err_CannotLoadXMLDocument 65210
|
||||
#define uRORes_err_ErrorCreatingMsXmlDoc 65211
|
||||
#define uRORes_err_NoXMLParsersAvailable 65212
|
||||
#define uRORes_err_IDispatchMarshalingNotSupported 65213
|
||||
#define uRORes_err_UnsupportedVariantType 65214
|
||||
#define uRORes_err_VariantIsNotArray 65215
|
||||
#define uRORes_str_ExceptionReraisedFromServer 65216
|
||||
#define uRORes_err_AssignError 65217
|
||||
#define uRORes_err_InvalidRequestStream 65218
|
||||
#define uRORes_err_NILMessage 65219
|
||||
#define uRORes_err_UnspecifiedInterface 65220
|
||||
#define uRORes_err_UnspecifiedMessage 65221
|
||||
#define uRORes_err_UnknownMethod 65222
|
||||
#define uRORes_err_ClassFactoryDidNotReturnInstance 65223
|
||||
#define uRORes_err_TypeNotSupported 65224
|
||||
#define uRORes_err_ClassFactoryNotFound 65225
|
||||
#define uRORes_err_IROMessageNotSupported 65226
|
||||
#define uRORes_err_ClassAlreadyRegistered 65227
|
||||
#define uRORes_err_UnknownProxyInterface 65228
|
||||
#define uRORes_err_DispatcherAlreadyAssigned 65229
|
||||
#define uRORes_err_CannotFindMessageDispatcher 65230
|
||||
#define uRORes_err_ServerOnlySupportsOneDispatcher 65231
|
||||
#define uRORes_err_InvalidType 65232
|
||||
#define uRORes_err_InvalidStream 65233
|
||||
#define uRORes_err_InvalidParamFlag 65234
|
||||
#define uRORes_err_InvalidStringLength 65235
|
||||
#define uRORes_str_InvalidClassTypeInStream 65236
|
||||
#define uRORes_err_UnexpectedEndOfStream 65237
|
||||
#define uRORes_err_RodlDuplicateName 65238
|
||||
#define uRORes_err_RodlNoDataTypeSpecified 65239
|
||||
#define uRORes_err_RodlNoEnumValues 65240
|
||||
#define uRORes_err_RodlNoStructElementsDefined 65241
|
||||
#define uRORes_err_RodlNoOperationsDefined 65242
|
||||
#define uRORes_err_RodlUsedFileDoesNotExist 65243
|
||||
#define uRORes_err_RodlInvalidDataType 65244
|
||||
#define uRORes_err_RodlStructCannotBeNested 65245
|
||||
#define uRORes_err_RodlInvalidAncestorType 65246
|
||||
#define uRORes_str_ExceptionOnServer 65247
|
||||
#define Consts_SUTF8Encoding 65248
|
||||
#define Consts_SUTF7Encoding 65249
|
||||
#define Consts_SPageControlNotSet 65250
|
||||
#define uRORes_err_InvalidIndex 65251
|
||||
#define uRORes_err_InvalidType 65252
|
||||
#define uRORes_err_InvalidStream 65253
|
||||
#define uRORes_err_InvalidParamFlag 65254
|
||||
#define uRORes_err_InvalidStringLength 65255
|
||||
#define uRORes_str_InvalidClassTypeInStream 65256
|
||||
#define uRORes_err_UnexpectedEndOfStream 65257
|
||||
#define uRORes_err_RodlDuplicateName 65258
|
||||
#define uRORes_err_RodlNoDataTypeSpecified 65259
|
||||
#define uRORes_err_RodlNoEnumValues 65260
|
||||
#define uRORes_err_RodlNoStructElementsDefined 65261
|
||||
#define uRORes_err_RodlNoOperationsDefined 65262
|
||||
#define uRORes_err_RodlUsedFileDoesNotExist 65263
|
||||
#define uRODECConst_sProtectionCircular 65251
|
||||
#define uRODECConst_sStringFormatExists 65252
|
||||
#define uRODECConst_sInvalidStringFormat 65253
|
||||
#define uRODECConst_sInvalidFormatString 65254
|
||||
#define uRODECConst_sFMT_COPY 65255
|
||||
#define uRODECConst_sFMT_HEX 65256
|
||||
#define uRODECConst_sFMT_HEXL 65257
|
||||
#define uRODECConst_sFMT_MIME64 65258
|
||||
#define uRODECConst_sFMT_UU 65259
|
||||
#define uRODECConst_sFMT_XX 65260
|
||||
#define uRODECConst_sInvalidKeySize 65261
|
||||
#define uRODECConst_sNotInitialized 65262
|
||||
#define uRORes_err_InvalidIndex 65263
|
||||
#define Consts_SPictureLabel 65264
|
||||
#define Consts_SPictureDesc 65265
|
||||
#define Consts_SPreviewLabel 65266
|
||||
@ -2170,12 +2170,12 @@ BEGIN
|
||||
IdResourceStrings_RSMIMEMIMETypeEmpty, "Mimetype is empty"
|
||||
IdResourceStrings_RSMIMEMIMEExtAlreadyExists, "Extension already exits"
|
||||
IdResourceStrings_RSStatusResolving, "Resolving hostname %s."
|
||||
uRODECConst_sFMT_HEXL, "Hexadecimal lowercase"
|
||||
uRODECConst_sFMT_MIME64, "MIME Base 64"
|
||||
uRODECConst_sFMT_UU, "UU Coding"
|
||||
uRODECConst_sFMT_XX, "XX Coding"
|
||||
uRODECConst_sInvalidKeySize, "Length from Encryptionkey is invalid.\r\nKeysize for %s must be to %d-%d bytes"
|
||||
uRODECConst_sNotInitialized, "%s is not initialized call Init() or InitKey() before."
|
||||
uRORes_err_InvalidVarArrayDimCount, "Variant Array DimCount must be 1 but is %d"
|
||||
uRORes_err_MessageNotAssigned, "Message is NIL"
|
||||
ComConst_SOleError, "OLE error %.8x"
|
||||
ComConst_SNoMethod, "Method '%s' not supported by automation object"
|
||||
ComConst_SVarNotObject, "Variant does not reference an automation object"
|
||||
ComConst_STooManyParams, "Dispatch methods do not support more than 64 parameters"
|
||||
IdResourceStrings_RSCannotAllocateSocket, "Cannot allocate socket."
|
||||
IdResourceStrings_RSConnectionClosedGracefully, "Connection Closed Gracefully."
|
||||
IdResourceStrings_RSCouldNotBindSocket, "Could not bind socket. Address and port are already in use."
|
||||
@ -2186,26 +2186,6 @@ BEGIN
|
||||
IdResourceStrings_RSThreadClassNotSpecified, "Thread Class Not Specified."
|
||||
IdResourceStrings_RSFileNotFound, "File \"%s\" not found"
|
||||
IdResourceStrings_RSOnlyOneAntiFreeze, "Only one TIdAntiFreeze can exist per application."
|
||||
uRORes_err_NoXMLParsersAvailable, "MSXML is not installed"
|
||||
uRORes_err_IDispatchMarshalingNotSupported, "Marshaling of IDispatch (%d) type variants is not supported."
|
||||
uRORes_err_UnsupportedVariantType, "Unsupported variant type \"%d\""
|
||||
uRORes_err_VariantIsNotArray, "Variant must be Array, but is %d"
|
||||
uRORes_err_InvalidVarArrayDimCount, "Variant Array DimCount must be 1 but is %d"
|
||||
uRORes_err_MessageNotAssigned, "Message is NIL"
|
||||
ComConst_SOleError, "OLE error %.8x"
|
||||
ComConst_SNoMethod, "Method '%s' not supported by automation object"
|
||||
ComConst_SVarNotObject, "Variant does not reference an automation object"
|
||||
ComConst_STooManyParams, "Dispatch methods do not support more than 64 parameters"
|
||||
uRODECConst_sProtectionCircular, "Circular Protection detected, Protection Object is invalid."
|
||||
uRODECConst_sStringFormatExists, "String Format \"%d\" not exists."
|
||||
uRODECConst_sInvalidStringFormat, "Input is not an valid %s Format."
|
||||
uRODECConst_sInvalidFormatString, "Input can not be convert to %s Format."
|
||||
uRODECConst_sFMT_COPY, "copy Input to Output"
|
||||
uRODECConst_sFMT_HEX, "Hexadecimal"
|
||||
uRORes_err_UnknownProxyInterface, "Unknown proxy interface \"%s\""
|
||||
uRORes_err_DispatcherAlreadyAssigned, "Dispatcher for %s already assigned"
|
||||
uRORes_err_CannotFindMessageDispatcher, "Cannot find message dispatcher. Maybe there is no message component configured for for the requested path?"
|
||||
uRORes_err_ServerOnlySupportsOneDispatcher, "%s servers only support one dispatcher"
|
||||
uRORes_err_UnhandledException, "Unhandled exception"
|
||||
uRORes_err_ChannelBusy, "Channel is busy. Try again later."
|
||||
uRORes_err_ArrayIndexOutOfBounds, "Array index out of bounds (%d)."
|
||||
@ -2218,10 +2198,10 @@ BEGIN
|
||||
uRORes_err_DOMElementIsNIL, "DOMElement is NIL"
|
||||
uRORes_err_CannotLoadXMLDocument, "Cannot load XML document.\rReason: %s\rLine: %d\rPosition: %d"
|
||||
uRORes_err_ErrorCreatingMsXmlDoc, "Error creating MSXML Document class\r\r%s: %s"
|
||||
uRORes_err_RodlInvalidDataType, "Invalid or undefined data type \"%s\"."
|
||||
uRORes_err_RodlStructCannotBeNested, "Structs cannot recursively contain themselves."
|
||||
uRORes_err_RodlInvalidAncestorType, "Invalid or undefined ancestor type \"%s\"."
|
||||
uRORes_str_ExceptionOnServer, "An exception of type %s was raised on the server: %s"
|
||||
uRORes_err_NoXMLParsersAvailable, "MSXML is not installed"
|
||||
uRORes_err_IDispatchMarshalingNotSupported, "Marshaling of IDispatch (%d) type variants is not supported."
|
||||
uRORes_err_UnsupportedVariantType, "Unsupported variant type \"%d\""
|
||||
uRORes_err_VariantIsNotArray, "Variant must be Array, but is %d"
|
||||
uRORes_str_ExceptionReraisedFromServer, "An exception was raised on the server: %s"
|
||||
uRORes_err_AssignError, "Cannot assign a \"%s\" to a \"%s\"."
|
||||
uRORes_err_InvalidRequestStream, "Invalid request stream (%d bytes)"
|
||||
@ -2234,10 +2214,10 @@ BEGIN
|
||||
uRORes_err_ClassFactoryNotFound, "Class factory for interface %s not found"
|
||||
uRORes_err_IROMessageNotSupported, "Class \"%s\" does not support IROMessage"
|
||||
uRORes_err_ClassAlreadyRegistered, "Class \"%s\" is already registered"
|
||||
Consts_SUTF8Encoding, "UTF-8"
|
||||
Consts_SUTF7Encoding, "UTF-7"
|
||||
Consts_SPageControlNotSet, "PageControl must first be assigned"
|
||||
uRORes_err_InvalidIndex, "Invalid index %d"
|
||||
uRORes_err_UnknownProxyInterface, "Unknown proxy interface \"%s\""
|
||||
uRORes_err_DispatcherAlreadyAssigned, "Dispatcher for %s already assigned"
|
||||
uRORes_err_CannotFindMessageDispatcher, "Cannot find message dispatcher. Maybe there is no message component configured for for the requested path?"
|
||||
uRORes_err_ServerOnlySupportsOneDispatcher, "%s servers only support one dispatcher"
|
||||
uRORes_err_InvalidType, "Invalid type \"%s. Expected \"%s\"\""
|
||||
uRORes_err_InvalidStream, "Invalid stream"
|
||||
uRORes_err_InvalidParamFlag, "Invalid Parameter Flag \"%s\""
|
||||
@ -2250,6 +2230,26 @@ BEGIN
|
||||
uRORes_err_RodlNoStructElementsDefined, "Struct does not contain any elements."
|
||||
uRORes_err_RodlNoOperationsDefined, "Service interface does not contain any elements."
|
||||
uRORes_err_RodlUsedFileDoesNotExist, "The referenced RODL file \"%s\" could not be found."
|
||||
uRORes_err_RodlInvalidDataType, "Invalid or undefined data type \"%s\"."
|
||||
uRORes_err_RodlStructCannotBeNested, "Structs cannot recursively contain themselves."
|
||||
uRORes_err_RodlInvalidAncestorType, "Invalid or undefined ancestor type \"%s\"."
|
||||
uRORes_str_ExceptionOnServer, "An exception of type %s was raised on the server: %s"
|
||||
Consts_SUTF8Encoding, "UTF-8"
|
||||
Consts_SUTF7Encoding, "UTF-7"
|
||||
Consts_SPageControlNotSet, "PageControl must first be assigned"
|
||||
uRODECConst_sProtectionCircular, "Circular Protection detected, Protection Object is invalid."
|
||||
uRODECConst_sStringFormatExists, "String Format \"%d\" not exists."
|
||||
uRODECConst_sInvalidStringFormat, "Input is not an valid %s Format."
|
||||
uRODECConst_sInvalidFormatString, "Input can not be convert to %s Format."
|
||||
uRODECConst_sFMT_COPY, "copy Input to Output"
|
||||
uRODECConst_sFMT_HEX, "Hexadecimal"
|
||||
uRODECConst_sFMT_HEXL, "Hexadecimal lowercase"
|
||||
uRODECConst_sFMT_MIME64, "MIME Base 64"
|
||||
uRODECConst_sFMT_UU, "UU Coding"
|
||||
uRODECConst_sFMT_XX, "XX Coding"
|
||||
uRODECConst_sInvalidKeySize, "Length from Encryptionkey is invalid.\r\nKeysize for %s must be to %d-%d bytes"
|
||||
uRODECConst_sNotInitialized, "%s is not initialized call Init() or InitKey() before."
|
||||
uRORes_err_InvalidIndex, "Invalid index %d"
|
||||
Consts_SPictureLabel, "Picture:"
|
||||
Consts_SPictureDesc, " (%dx%d)"
|
||||
Consts_SPreviewLabel, "Preview"
|
||||
|
||||
@ -16,7 +16,7 @@ BEGIN
|
||||
VALUE "FileVersion", "3.0.5.0\0"
|
||||
VALUE "ProductName", "FactuGES Server\0"
|
||||
VALUE "ProductVersion", "3.0.5.0\0"
|
||||
VALUE "CompileDate", "martes, 15 de julio de 2008 19:39\0"
|
||||
VALUE "CompileDate", "miércoles, 10 de septiembre de 2008 20:27\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
Binary file not shown.
@ -33,7 +33,7 @@ object dmServer: TdmServer
|
||||
object DriverManager: TDADriverManager
|
||||
DriverDirectory = '%SYSTEM%\'
|
||||
AutoLoad = True
|
||||
TraceActive = True
|
||||
TraceActive = False
|
||||
TraceFlags = [toPrepare, toExecute, toError, toStmt, toConnect, toTransact, toMisc]
|
||||
OnTraceEvent = DriverManagerTraceEvent
|
||||
Left = 136
|
||||
|
||||
Reference in New Issue
Block a user