Se adaptan las facturas de cliente y proveedor a la nueva logica (si la forma de pago tiene plazos establecidos se desactiva la fecha de vencimiento en el caso de no tener se activa y la fecha de vencimiento será la que mande para generar el recibo), tambien se retoca la logica que rellena las cuentas para establecer en las facturas para que se cojan tambien las de los contactos asociados al documneto ademas de las de la empresa
git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@806 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
3161f242b2
commit
dfe63e8f2e
@ -721,6 +721,7 @@ CREATE TABLE FACTURAS_CLIENTE (
|
|||||||
ID_EMPRESA TIPO_ID,
|
ID_EMPRESA TIPO_ID,
|
||||||
REFERENCIA VARCHAR(255),
|
REFERENCIA VARCHAR(255),
|
||||||
FECHA_FACTURA DATE,
|
FECHA_FACTURA DATE,
|
||||||
|
FECHA_VENCIMIENTO DATE,
|
||||||
BASE_IMPONIBLE TIPO_IMPORTE,
|
BASE_IMPONIBLE TIPO_IMPORTE,
|
||||||
DESCUENTO TIPO_PORCENTAJE,
|
DESCUENTO TIPO_PORCENTAJE,
|
||||||
IMPORTE_DESCUENTO TIPO_IMPORTE,
|
IMPORTE_DESCUENTO TIPO_IMPORTE,
|
||||||
@ -733,7 +734,7 @@ CREATE TABLE FACTURAS_CLIENTE (
|
|||||||
ID_CLIENTE TIPO_ID,
|
ID_CLIENTE TIPO_ID,
|
||||||
NIF_CIF VARCHAR(15),
|
NIF_CIF VARCHAR(15),
|
||||||
NOMBRE VARCHAR(255),
|
NOMBRE VARCHAR(255),
|
||||||
ID_DIRECCION TIPO_ID,
|
ID_DIRECCION TIPO_ID,
|
||||||
CALLE VARCHAR(255),
|
CALLE VARCHAR(255),
|
||||||
POBLACION VARCHAR(255),
|
POBLACION VARCHAR(255),
|
||||||
PROVINCIA VARCHAR(255),
|
PROVINCIA VARCHAR(255),
|
||||||
@ -748,7 +749,7 @@ CREATE TABLE FACTURAS_CLIENTE (
|
|||||||
RECARGO_EQUIVALENCIA TIPO_BOOLEANO,
|
RECARGO_EQUIVALENCIA TIPO_BOOLEANO,
|
||||||
ID_COMISION_LIQUIDADA TIPO_ID,
|
ID_COMISION_LIQUIDADA TIPO_ID,
|
||||||
DATOS_BANCARIOS VARCHAR(255),
|
DATOS_BANCARIOS VARCHAR(255),
|
||||||
CLIENTE_FINAL VARCHAR(255)
|
CLIENTE_FINAL VARCHAR(255)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE FACTURAS_CLIENTE_DETALLES (
|
CREATE TABLE FACTURAS_CLIENTE_DETALLES (
|
||||||
@ -799,7 +800,8 @@ CREATE TABLE FACTURAS_PROVEEDOR (
|
|||||||
IMPORTE_PORTE TIPO_IMPORTE,
|
IMPORTE_PORTE TIPO_IMPORTE,
|
||||||
ID_TIPO_IVA TIPO_ID,
|
ID_TIPO_IVA TIPO_ID,
|
||||||
RECARGO_EQUIVALENCIA TIPO_BOOLEANO,
|
RECARGO_EQUIVALENCIA TIPO_BOOLEANO,
|
||||||
DATOS_BANCARIOS VARCHAR(255)
|
DATOS_BANCARIOS VARCHAR(255),
|
||||||
|
FECHA_VENCIMIENTO DATE
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE FACTURAS_PROVEEDOR_DETALLES (
|
CREATE TABLE FACTURAS_PROVEEDOR_DETALLES (
|
||||||
@ -2099,6 +2101,7 @@ CREATE VIEW V_FACTURAS_CLIENTE(
|
|||||||
TIPO,
|
TIPO,
|
||||||
ID_COMISION_LIQUIDADA,
|
ID_COMISION_LIQUIDADA,
|
||||||
FECHA_FACTURA,
|
FECHA_FACTURA,
|
||||||
|
FECHA_VENCIMIENTO,
|
||||||
SITUACION,
|
SITUACION,
|
||||||
BASE_IMPONIBLE,
|
BASE_IMPONIBLE,
|
||||||
DESCUENTO,
|
DESCUENTO,
|
||||||
@ -2136,6 +2139,7 @@ SELECT FACTURAS_CLIENTE.ID,
|
|||||||
CASE WHEN (FACTURAS_CLIENTE.IMPORTE_TOTAL < 0) THEN 'A' ELSE 'F' END AS TIPO,
|
CASE WHEN (FACTURAS_CLIENTE.IMPORTE_TOTAL < 0) THEN 'A' ELSE 'F' END AS TIPO,
|
||||||
FACTURAS_CLIENTE.ID_COMISION_LIQUIDADA,
|
FACTURAS_CLIENTE.ID_COMISION_LIQUIDADA,
|
||||||
FACTURAS_CLIENTE.FECHA_FACTURA,
|
FACTURAS_CLIENTE.FECHA_FACTURA,
|
||||||
|
FACTURAS_CLIENTE.FECHA_VENCIMIENTO,
|
||||||
TRIM(V_FAC_CLI_SITUACION.SITUACION),
|
TRIM(V_FAC_CLI_SITUACION.SITUACION),
|
||||||
FACTURAS_CLIENTE.BASE_IMPONIBLE,
|
FACTURAS_CLIENTE.BASE_IMPONIBLE,
|
||||||
FACTURAS_CLIENTE.DESCUENTO,
|
FACTURAS_CLIENTE.DESCUENTO,
|
||||||
@ -2184,6 +2188,7 @@ CREATE VIEW V_FACTURAS_PROVEEDOR(
|
|||||||
TIPO,
|
TIPO,
|
||||||
REFERENCIA_PROVEEDOR,
|
REFERENCIA_PROVEEDOR,
|
||||||
FECHA_FACTURA,
|
FECHA_FACTURA,
|
||||||
|
FECHA_VENCIMIENTO,
|
||||||
SITUACION,
|
SITUACION,
|
||||||
BASE_IMPONIBLE,
|
BASE_IMPONIBLE,
|
||||||
DESCUENTO,
|
DESCUENTO,
|
||||||
@ -2217,6 +2222,7 @@ SELECT FACTURAS_PROVEEDOR.ID,
|
|||||||
CASE WHEN (FACTURAS_PROVEEDOR.IMPORTE_TOTAL < 0) THEN 'A' ELSE 'F' END AS TIPO,
|
CASE WHEN (FACTURAS_PROVEEDOR.IMPORTE_TOTAL < 0) THEN 'A' ELSE 'F' END AS TIPO,
|
||||||
FACTURAS_PROVEEDOR.REFERENCIA_PROVEEDOR,
|
FACTURAS_PROVEEDOR.REFERENCIA_PROVEEDOR,
|
||||||
FACTURAS_PROVEEDOR.FECHA_FACTURA,
|
FACTURAS_PROVEEDOR.FECHA_FACTURA,
|
||||||
|
FACTURAS_PROVEEDOR.FECHA_VENCIMIENTO,
|
||||||
TRIM(V_FAC_PRO_SITUACION.SITUACION),
|
TRIM(V_FAC_PRO_SITUACION.SITUACION),
|
||||||
FACTURAS_PROVEEDOR.BASE_IMPONIBLE,
|
FACTURAS_PROVEEDOR.BASE_IMPONIBLE,
|
||||||
FACTURAS_PROVEEDOR.DESCUENTO,
|
FACTURAS_PROVEEDOR.DESCUENTO,
|
||||||
|
|||||||
@ -144,8 +144,8 @@ begin
|
|||||||
ADatosBancarios.DataTable.First;
|
ADatosBancarios.DataTable.First;
|
||||||
while not ADatosBancarios.DataTable.EOF do
|
while not ADatosBancarios.DataTable.EOF do
|
||||||
begin
|
begin
|
||||||
Aux := Format('Nº de cuenta: %s %s %s %s', [ADatosBancarios.ENTIDAD,
|
Aux := Format('Nº de cuenta: %s %s %s %s - %s', [ADatosBancarios.ENTIDAD,
|
||||||
ADatosBancarios.SUCURSAL, ADatosBancarios.DC, ADatosBancarios.CUENTA]);
|
ADatosBancarios.SUCURSAL, ADatosBancarios.DC, ADatosBancarios.CUENTA, ADatosBancarios.NOMBRE]);
|
||||||
Add(Format('%s=%d', [Aux, ADatosBancarios.ID]));
|
Add(Format('%s=%d', [Aux, ADatosBancarios.ID]));
|
||||||
ADatosBancarios.DataTable.Next;
|
ADatosBancarios.DataTable.Next;
|
||||||
end;
|
end;
|
||||||
@ -177,7 +177,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
if not EsCadenaVacia(ADatosBancarios.IBAN) then
|
if not EsCadenaVacia(ADatosBancarios.IBAN) then
|
||||||
begin
|
begin
|
||||||
Aux := Format('IBAN: %s - SWIFT: %s', [ADatosBancarios.IBAN, ADatosBancarios.SWIFT]);
|
Aux := Format('IBAN: %s - SWIFT: %s - %s', [ADatosBancarios.IBAN, ADatosBancarios.SWIFT, ADatosBancarios.NOMBRE]);
|
||||||
Add(Format('%s=%d', [Aux, ADatosBancarios.ID]));
|
Add(Format('%s=%d', [Aux, ADatosBancarios.ID]));
|
||||||
end;
|
end;
|
||||||
ADatosBancarios.DataTable.Next;
|
ADatosBancarios.DataTable.Next;
|
||||||
|
|||||||
@ -23,7 +23,6 @@ object fEditorDatosBancariosEmpresa: TfEditorDatosBancariosEmpresa
|
|||||||
Caption = '&Guardar'
|
Caption = '&Guardar'
|
||||||
ModalResult = 1
|
ModalResult = 1
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ExplicitLeft = 350
|
|
||||||
end
|
end
|
||||||
object CancelBtn: TButton
|
object CancelBtn: TButton
|
||||||
Left = 366
|
Left = 366
|
||||||
@ -35,7 +34,6 @@ object fEditorDatosBancariosEmpresa: TfEditorDatosBancariosEmpresa
|
|||||||
Caption = '&Cancelar'
|
Caption = '&Cancelar'
|
||||||
ModalResult = 2
|
ModalResult = 2
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
ExplicitLeft = 350
|
|
||||||
end
|
end
|
||||||
object GroupBox1: TGroupBox
|
object GroupBox1: TGroupBox
|
||||||
Left = 8
|
Left = 8
|
||||||
@ -166,6 +164,7 @@ object fEditorDatosBancariosEmpresa: TfEditorDatosBancariosEmpresa
|
|||||||
Height = 83
|
Height = 83
|
||||||
Caption = 'Sufijos para normas CSB'
|
Caption = 'Sufijos para normas CSB'
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
|
Visible = False
|
||||||
object Label7: TLabel
|
object Label7: TLabel
|
||||||
Left = 12
|
Left = 12
|
||||||
Top = 28
|
Top = 28
|
||||||
|
|||||||
@ -54,57 +54,57 @@
|
|||||||
<DelphiCompile Include="Base.dpk">
|
<DelphiCompile Include="Base.dpk">
|
||||||
<MainSource>MainSource</MainSource>
|
<MainSource>MainSource</MainSource>
|
||||||
</DelphiCompile>
|
</DelphiCompile>
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\adortl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\adortl.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxDataD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxDataD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxEditorsD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxEditorsD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxExportD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxExportD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxExtEditorsD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxExtEditorsD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxGridD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxGridD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxIntl6D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxIntl6D11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxIntlPrintSys3D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxIntlPrintSys3D11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxLibraryD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxLibraryD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\cxPageControlD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxPageControlD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\DataAbstract_Core_D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\DataAbstract_Core_D11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\dbrtl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dbrtl.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\dclIndyCore.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dclIndyCore.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\designide.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\designide.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\dsnap.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dsnap.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\dxGDIPlusD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dxGDIPlusD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\dxPSCoreD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dxPSCoreD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\dxThemeD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dxThemeD11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\GUISDK_D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\GUISDK_D11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\IndyCore.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\IndyCore.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\IndyProtocols.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\IndyProtocols.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\IndySystem.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\IndySystem.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\Jcl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\Jcl.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JclVcl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JclVcl.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JSDialog100.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JSDialog100.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvCmpD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvCmpD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvCoreD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvCoreD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvCtrlsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvCtrlsD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvDlgsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvDlgsD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvMMD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvMMD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvNetD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvNetD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvPageCompsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvPageCompsD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvStdCtrlsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvStdCtrlsD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\JvSystemD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvSystemD11R.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\pckMD5.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\pckMD5.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\pckUCDataConnector.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\pckUCDataConnector.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\pckUserControl_RT.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\pckUserControl_RT.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\PngComponentsD10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\PngComponentsD10.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\PNG_D10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\PNG_D10.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\RemObjects_Core_D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\RemObjects_Core_D11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\RemObjects_Indy_D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\RemObjects_Indy_D11.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\rtl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\rtl.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\TB2k_D10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\TB2k_D10.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\tbx_d10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\tbx_d10.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\vcl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vcl.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\vclactnband.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vclactnband.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\vcldb.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vcldb.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\vcljpg.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vcljpg.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\VclSmp.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\VclSmp.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\vclx.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vclx.dcp" />
|
||||||
<DCCReference Include="..\..\Resources\Firmas Tecsitel\xmlrtl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\xmlrtl.dcp" />
|
||||||
<DCCReference Include="..\Servicios\FactuGES_Intf.pas" />
|
<DCCReference Include="..\Servicios\FactuGES_Intf.pas" />
|
||||||
<DCCReference Include="Conexion\uConfigurarConexion.pas">
|
<DCCReference Include="Conexion\uConfigurarConexion.pas">
|
||||||
<Form>fConfigurarConexion</Form>
|
<Form>fConfigurarConexion</Form>
|
||||||
|
|||||||
@ -3,7 +3,7 @@ unit uClientesController;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
uCustomEditor,
|
uCustomEditor, Classes,
|
||||||
uContactosController, uBizContactos, uBizDireccionesContacto,
|
uContactosController, uBizContactos, uBizDireccionesContacto,
|
||||||
uIEditorClientes, uIEditorCliente, uIDataModuleContactos, uIDataModuleClientes,
|
uIEditorClientes, uIEditorCliente, uIDataModuleContactos, uIDataModuleClientes,
|
||||||
uDireccionesContactoController, uBizContactosPersonal;
|
uDireccionesContactoController, uBizContactosPersonal;
|
||||||
@ -22,6 +22,7 @@ type
|
|||||||
procedure VerAlbaranesDeCliente(ACliente : IBizCliente);
|
procedure VerAlbaranesDeCliente(ACliente : IBizCliente);
|
||||||
procedure VerFacturasDeCliente(ACliente : IBizCliente);
|
procedure VerFacturasDeCliente(ACliente : IBizCliente);
|
||||||
procedure VerRecibosDeCliente(ACliente : IBizCliente);
|
procedure VerRecibosDeCliente(ACliente : IBizCliente);
|
||||||
|
function DarListaCuentasBancarias(const IdCliente: Integer): TStringList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TClientesController = class(TContactosController, IClientesController)
|
TClientesController = class(TContactosController, IClientesController)
|
||||||
@ -53,12 +54,13 @@ type
|
|||||||
procedure VerAlbaranesDeCliente(ACliente : IBizCliente);
|
procedure VerAlbaranesDeCliente(ACliente : IBizCliente);
|
||||||
procedure VerFacturasDeCliente(ACliente : IBizCliente);
|
procedure VerFacturasDeCliente(ACliente : IBizCliente);
|
||||||
procedure VerRecibosDeCliente(ACliente : IBizCliente);
|
procedure VerRecibosDeCliente(ACliente : IBizCliente);
|
||||||
|
function DarListaCuentasBancarias(const IdCliente: Integer): TStringList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Forms, Classes, Windows, SysUtils, Controls, cxControls, uDialogUtils, uDataModuleClientes, uEditorRegistryUtils,
|
Forms, Windows, SysUtils, Controls, cxControls, uDialogUtils, uDataModuleClientes, uEditorRegistryUtils,
|
||||||
uDataTableUtils, uDADataTable, DB, schContactosClient_Intf, uEtiquetasContactosReportController,
|
uDataTableUtils, uDADataTable, DB, schContactosClient_Intf, uEtiquetasContactosReportController,
|
||||||
uIEditorElegirClientes, uIEditorElegirDireccionEntrega, uEditorGridBase, uModuleController,
|
uIEditorElegirClientes, uIEditorElegirDireccionEntrega, uEditorGridBase, uModuleController,
|
||||||
Dialogs, uIntegerListUtils, uFactuGES_App,
|
Dialogs, uIntegerListUtils, uFactuGES_App,
|
||||||
@ -91,6 +93,35 @@ begin
|
|||||||
FDireccionesController := TDireccionesContactoController.Create;
|
FDireccionesController := TDireccionesContactoController.Create;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TClientesController.DarListaCuentasBancarias(const IdCliente: Integer): TStringList;
|
||||||
|
var
|
||||||
|
ACliente: IBizCliente;
|
||||||
|
Aux : String;
|
||||||
|
|
||||||
|
begin
|
||||||
|
ACliente := (Buscar(IdCliente) as IBizCliente);
|
||||||
|
ACliente.DataTable.Active := True;
|
||||||
|
|
||||||
|
Result := TStringList.Create;
|
||||||
|
ShowHourglassCursor;
|
||||||
|
try
|
||||||
|
with Result do
|
||||||
|
begin
|
||||||
|
ACliente.DatosBancarios.DataTable.First;
|
||||||
|
while not ACliente.DatosBancarios.DataTable.EOF do
|
||||||
|
begin
|
||||||
|
Aux := Format('Nº de cuenta: %s %s %s %s - Titular: %s ', [ACliente.DatosBancarios.ENTIDAD,
|
||||||
|
ACliente.DatosBancarios.SUCURSAL, ACliente.DatosBancarios.DC, ACliente.DatosBancarios.CUENTA, ACliente.DatosBancarios.TITULAR]);
|
||||||
|
Add(Format('%s=%d', [Aux, ACliente.DatosBancarios.ID]));
|
||||||
|
ACliente.DatosBancarios.DataTable.Next;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
finally
|
||||||
|
ACliente := NIL;
|
||||||
|
HideHourglassCursor;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
destructor TClientesController.Destroy;
|
destructor TClientesController.Destroy;
|
||||||
begin
|
begin
|
||||||
FDireccionesController := NIL;
|
FDireccionesController := NIL;
|
||||||
|
|||||||
@ -24,7 +24,7 @@ type
|
|||||||
procedure VerDevolucionesDeProveedor(AProveedor : IBizProveedor);
|
procedure VerDevolucionesDeProveedor(AProveedor : IBizProveedor);
|
||||||
procedure VerFacturasDeProveedor(AProveedor : IBizProveedor);
|
procedure VerFacturasDeProveedor(AProveedor : IBizProveedor);
|
||||||
procedure VerRecibosDeProveedor(AProveedor : IBizProveedor);
|
procedure VerRecibosDeProveedor(AProveedor : IBizProveedor);
|
||||||
|
function DarListaCuentasBancarias(const IdProveedor: Integer): TStringList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TProveedoresController = class(TContactosController, IProveedoresController)
|
TProveedoresController = class(TContactosController, IProveedoresController)
|
||||||
@ -55,6 +55,7 @@ type
|
|||||||
procedure VerDevolucionesDeProveedor(AProveedor : IBizProveedor);
|
procedure VerDevolucionesDeProveedor(AProveedor : IBizProveedor);
|
||||||
procedure VerFacturasDeProveedor(AProveedor : IBizProveedor);
|
procedure VerFacturasDeProveedor(AProveedor : IBizProveedor);
|
||||||
procedure VerRecibosDeProveedor(AProveedor : IBizProveedor);
|
procedure VerRecibosDeProveedor(AProveedor : IBizProveedor);
|
||||||
|
function DarListaCuentasBancarias(const IdProveedor: Integer): TStringList;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -106,6 +107,35 @@ begin
|
|||||||
FDireccionesController := TDireccionesContactoController.Create;
|
FDireccionesController := TDireccionesContactoController.Create;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TProveedoresController.DarListaCuentasBancarias(const IdProveedor: Integer): TStringList;
|
||||||
|
var
|
||||||
|
AProveedor: IBizProveedor;
|
||||||
|
Aux : String;
|
||||||
|
|
||||||
|
begin
|
||||||
|
AProveedor := (Buscar(IdProveedor) as IBizProveedor);
|
||||||
|
AProveedor.DataTable.Active := True;
|
||||||
|
|
||||||
|
Result := TStringList.Create;
|
||||||
|
ShowHourglassCursor;
|
||||||
|
try
|
||||||
|
with Result do
|
||||||
|
begin
|
||||||
|
AProveedor.DatosBancarios.DataTable.First;
|
||||||
|
while not AProveedor.DatosBancarios.DataTable.EOF do
|
||||||
|
begin
|
||||||
|
Aux := Format('Nº de cuenta: %s %s %s %s - Titular: %s ', [AProveedor.DatosBancarios.ENTIDAD,
|
||||||
|
AProveedor.DatosBancarios.SUCURSAL, AProveedor.DatosBancarios.DC, AProveedor.DatosBancarios.CUENTA, AProveedor.DatosBancarios.TITULAR]);
|
||||||
|
Add(Format('%s=%d', [Aux, AProveedor.DatosBancarios.ID]));
|
||||||
|
AProveedor.DatosBancarios.DataTable.Next;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
finally
|
||||||
|
AProveedor := NIL;
|
||||||
|
HideHourglassCursor;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
function TProveedoresController.DarListaDescripcionesProveedores: TStringList;
|
function TProveedoresController.DarListaDescripcionesProveedores: TStringList;
|
||||||
begin
|
begin
|
||||||
Result := (FDataModule as IDataModuleProveedores).DarListaDescripcionesProveedores;
|
Result := (FDataModule as IDataModuleProveedores).DarListaDescripcionesProveedores;
|
||||||
|
|||||||
Binary file not shown.
@ -555,6 +555,9 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TFacturasClienteController.ValidarFactura(AFactura: IBizFacturaCliente): Boolean;
|
function TFacturasClienteController.ValidarFactura(AFactura: IBizFacturaCliente): Boolean;
|
||||||
|
var
|
||||||
|
AFormaPago: IBizFormaPago;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
if not Assigned(AFactura) then
|
if not Assigned(AFactura) then
|
||||||
raise Exception.Create ('Factura no asignada');
|
raise Exception.Create ('Factura no asignada');
|
||||||
@ -584,6 +587,22 @@ begin
|
|||||||
{ if (AFactura.ID_TIPO_IVA = 0) then
|
{ if (AFactura.ID_TIPO_IVA = 0) then
|
||||||
raise Exception.Create('Debe indicar un tipo de IVA para esta factura');}
|
raise Exception.Create('Debe indicar un tipo de IVA para esta factura');}
|
||||||
|
|
||||||
|
//De esta forma obligaremos siempre a tener un recibo asociado a la factura,
|
||||||
|
//porque si la forma de pago no tiene plazos es obligatorio la fecha de vencimiento
|
||||||
|
with TFormasPagoController.Create do
|
||||||
|
begin
|
||||||
|
try
|
||||||
|
AFormaPago := Buscar(AFactura.ID_FORMA_PAGO);
|
||||||
|
AFormaPago.DataTable.Active := True;
|
||||||
|
if (AFormaPago.Plazos.RecordCount = 0)
|
||||||
|
and (EsFechaVacia(AFactura.FECHA_VENCIMIENTO)) then
|
||||||
|
raise Exception.Create('Debe indicar una fecha de vencimiento para esta factura');
|
||||||
|
finally
|
||||||
|
AFormaPago := NIL;
|
||||||
|
Free;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
//En caso de ser un Abono no podra tener un importe total positivo
|
//En caso de ser un Abono no podra tener un importe total positivo
|
||||||
if (AFactura.TIPO = CTE_TIPO_ABONO) then
|
if (AFactura.TIPO = CTE_TIPO_ABONO) then
|
||||||
if (AFactura.IMPORTE_TOTAL > 0) then
|
if (AFactura.IMPORTE_TOTAL > 0) then
|
||||||
@ -1104,41 +1123,48 @@ begin
|
|||||||
begin
|
begin
|
||||||
i := 1;
|
i := 1;
|
||||||
First;
|
First;
|
||||||
while not eof do
|
repeat
|
||||||
begin
|
|
||||||
ARecibos := ARecibosClienteController.Nuevo;
|
ARecibos := ARecibosClienteController.Nuevo;
|
||||||
ARecibos.Edit;
|
ARecibos.Edit;
|
||||||
ARecibos.ID_FACTURA := AFactura.ID;
|
ARecibos.ID_FACTURA := AFactura.ID;
|
||||||
ARecibos.REFERENCIA := AFactura.REFERENCIA + ' - ' + IntToStr(i);
|
ARecibos.REFERENCIA := AFactura.REFERENCIA + ' - ' + IntToStr(i);
|
||||||
ARecibos.FECHA_EMISION := AFactura.FECHA_FACTURA;
|
ARecibos.FECHA_EMISION := AFactura.FECHA_FACTURA;
|
||||||
|
|
||||||
AFechaVencimiento := AFactura.FECHA_FACTURA + AFormaPago.Plazos.NUM_DIAS;
|
if AFormaPago.Plazos.RecordCount < 1 then
|
||||||
ADiasMas := 0;
|
|
||||||
if (AFactura.Cliente.VENCIMIENTO_FACTURAS_1 <> 0)
|
|
||||||
or (AFactura.Cliente.VENCIMIENTO_FACTURAS_2 <> 0)
|
|
||||||
or (AFactura.Cliente.VENCIMIENTO_FACTURAS_3 <> 0) then
|
|
||||||
begin
|
begin
|
||||||
ADiaVencimiento := DayOf(AFechaVencimiento);
|
ARecibos.FECHA_VENCIMIENTO := AFactura.FECHA_VENCIMIENTO;
|
||||||
while (ADiaVencimiento <> AFactura.Cliente.VENCIMIENTO_FACTURAS_1)
|
ARecibos.IMPORTE := AFactura.IMPORTE_TOTAL;
|
||||||
and (ADiaVencimiento <> AFactura.Cliente.VENCIMIENTO_FACTURAS_2)
|
end
|
||||||
and (ADiaVencimiento <> AFactura.Cliente.VENCIMIENTO_FACTURAS_3) do
|
else
|
||||||
|
begin
|
||||||
|
AFechaVencimiento := AFactura.FECHA_FACTURA + AFormaPago.Plazos.NUM_DIAS;
|
||||||
|
ADiasMas := 0;
|
||||||
|
if (AFactura.Cliente.VENCIMIENTO_FACTURAS_1 <> 0)
|
||||||
|
or (AFactura.Cliente.VENCIMIENTO_FACTURAS_2 <> 0)
|
||||||
|
or (AFactura.Cliente.VENCIMIENTO_FACTURAS_3 <> 0) then
|
||||||
begin
|
begin
|
||||||
if ADiaVencimiento = DaysInMonth(AFechaVencimiento) then
|
ADiaVencimiento := DayOf(AFechaVencimiento);
|
||||||
ADiaVencimiento := 1
|
while (ADiaVencimiento <> AFactura.Cliente.VENCIMIENTO_FACTURAS_1)
|
||||||
else
|
and (ADiaVencimiento <> AFactura.Cliente.VENCIMIENTO_FACTURAS_2)
|
||||||
Inc(ADiaVencimiento);
|
and (ADiaVencimiento <> AFactura.Cliente.VENCIMIENTO_FACTURAS_3) do
|
||||||
Inc(ADiasMas);
|
begin
|
||||||
|
if ADiaVencimiento = DaysInMonth(AFechaVencimiento) then
|
||||||
|
ADiaVencimiento := 1
|
||||||
|
else
|
||||||
|
Inc(ADiaVencimiento);
|
||||||
|
Inc(ADiasMas);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
AFechaVencimiento := IncDay(AFechaVencimiento, ADiasMas);
|
||||||
|
ARecibos.FECHA_VENCIMIENTO := AFechaVencimiento;
|
||||||
|
ARecibos.IMPORTE := AFactura.IMPORTE_TOTAL * (AFormaPago.Plazos.PORCENTAJE / 100);
|
||||||
end;
|
end;
|
||||||
AFechaVencimiento := IncDay(AFechaVencimiento, ADiasMas);
|
|
||||||
ARecibos.FECHA_VENCIMIENTO := AFechaVencimiento;
|
|
||||||
|
|
||||||
ARecibos.IMPORTE := AFactura.IMPORTE_TOTAL * (AFormaPago.Plazos.PORCENTAJE / 100);
|
|
||||||
ARecibos.DESCRIPCION := 'Pago de factura ' + AFactura.REFERENCIA + ': son ' + CifraToLetras(ARecibos.IMPORTE);
|
ARecibos.DESCRIPCION := 'Pago de factura ' + AFactura.REFERENCIA + ': son ' + CifraToLetras(ARecibos.IMPORTE);
|
||||||
ARecibosClienteController.Guardar(ARecibos);
|
ARecibosClienteController.Guardar(ARecibos);
|
||||||
Inc(i);
|
Inc(i);
|
||||||
Next;
|
Next;
|
||||||
end;
|
until (eof);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//Liberamos
|
//Liberamos
|
||||||
|
|||||||
@ -65,6 +65,10 @@ inherited DataModuleFacturasCliente: TDataModuleFacturasCliente
|
|||||||
DisplayLabel = 'Fecha de las factura'
|
DisplayLabel = 'Fecha de las factura'
|
||||||
DictionaryEntry = 'FacturasCliente_FECHA_FACTURA'
|
DictionaryEntry = 'FacturasCliente_FECHA_FACTURA'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
DataType = datDateTime
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'SITUACION'
|
Name = 'SITUACION'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
|
|||||||
@ -9,8 +9,8 @@ const
|
|||||||
{ Data table rules ids
|
{ Data table rules ids
|
||||||
Feel free to change them to something more human readable
|
Feel free to change them to something more human readable
|
||||||
but make sure they are unique in the context of your application }
|
but make sure they are unique in the context of your application }
|
||||||
RID_FacturasCliente = '{AAD3829C-018F-45F7-B05F-44C9F3765E1D}';
|
RID_FacturasCliente = '{6398871A-62BF-4C9E-84DC-AE2D59FEBF59}';
|
||||||
RID_FacturasCliente_Detalles = '{9C153EDF-C5B3-4A2A-960C-9719E16B36E2}';
|
RID_FacturasCliente_Detalles = '{41556FA6-05C4-45B5-9FEF-D01F46998FE6}';
|
||||||
|
|
||||||
{ Data table names }
|
{ Data table names }
|
||||||
nme_FacturasCliente = 'FacturasCliente';
|
nme_FacturasCliente = 'FacturasCliente';
|
||||||
@ -23,6 +23,7 @@ const
|
|||||||
fld_FacturasClienteTIPO = 'TIPO';
|
fld_FacturasClienteTIPO = 'TIPO';
|
||||||
fld_FacturasClienteID_COMISION_LIQUIDADA = 'ID_COMISION_LIQUIDADA';
|
fld_FacturasClienteID_COMISION_LIQUIDADA = 'ID_COMISION_LIQUIDADA';
|
||||||
fld_FacturasClienteFECHA_FACTURA = 'FECHA_FACTURA';
|
fld_FacturasClienteFECHA_FACTURA = 'FECHA_FACTURA';
|
||||||
|
fld_FacturasClienteFECHA_VENCIMIENTO = 'FECHA_VENCIMIENTO';
|
||||||
fld_FacturasClienteSITUACION = 'SITUACION';
|
fld_FacturasClienteSITUACION = 'SITUACION';
|
||||||
fld_FacturasClienteBASE_IMPONIBLE = 'BASE_IMPONIBLE';
|
fld_FacturasClienteBASE_IMPONIBLE = 'BASE_IMPONIBLE';
|
||||||
fld_FacturasClienteDESCUENTO = 'DESCUENTO';
|
fld_FacturasClienteDESCUENTO = 'DESCUENTO';
|
||||||
@ -61,36 +62,37 @@ const
|
|||||||
idx_FacturasClienteTIPO = 3;
|
idx_FacturasClienteTIPO = 3;
|
||||||
idx_FacturasClienteID_COMISION_LIQUIDADA = 4;
|
idx_FacturasClienteID_COMISION_LIQUIDADA = 4;
|
||||||
idx_FacturasClienteFECHA_FACTURA = 5;
|
idx_FacturasClienteFECHA_FACTURA = 5;
|
||||||
idx_FacturasClienteSITUACION = 6;
|
idx_FacturasClienteFECHA_VENCIMIENTO = 6;
|
||||||
idx_FacturasClienteBASE_IMPONIBLE = 7;
|
idx_FacturasClienteSITUACION = 7;
|
||||||
idx_FacturasClienteDESCUENTO = 8;
|
idx_FacturasClienteBASE_IMPONIBLE = 8;
|
||||||
idx_FacturasClienteIMPORTE_DESCUENTO = 9;
|
idx_FacturasClienteDESCUENTO = 9;
|
||||||
idx_FacturasClienteIVA = 10;
|
idx_FacturasClienteIMPORTE_DESCUENTO = 10;
|
||||||
idx_FacturasClienteIMPORTE_IVA = 11;
|
idx_FacturasClienteIVA = 11;
|
||||||
idx_FacturasClienteRE = 12;
|
idx_FacturasClienteIMPORTE_IVA = 12;
|
||||||
idx_FacturasClienteIMPORTE_RE = 13;
|
idx_FacturasClienteRE = 13;
|
||||||
idx_FacturasClienteIMPORTE_TOTAL = 14;
|
idx_FacturasClienteIMPORTE_RE = 14;
|
||||||
idx_FacturasClienteOBSERVACIONES = 15;
|
idx_FacturasClienteIMPORTE_TOTAL = 15;
|
||||||
idx_FacturasClienteID_CLIENTE = 16;
|
idx_FacturasClienteOBSERVACIONES = 16;
|
||||||
idx_FacturasClienteNIF_CIF = 17;
|
idx_FacturasClienteID_CLIENTE = 17;
|
||||||
idx_FacturasClienteNOMBRE = 18;
|
idx_FacturasClienteNIF_CIF = 18;
|
||||||
idx_FacturasClienteID_DIRECCION = 19;
|
idx_FacturasClienteNOMBRE = 19;
|
||||||
idx_FacturasClienteCALLE = 20;
|
idx_FacturasClienteID_DIRECCION = 20;
|
||||||
idx_FacturasClientePOBLACION = 21;
|
idx_FacturasClienteCALLE = 21;
|
||||||
idx_FacturasClientePROVINCIA = 22;
|
idx_FacturasClientePOBLACION = 22;
|
||||||
idx_FacturasClienteCODIGO_POSTAL = 23;
|
idx_FacturasClientePROVINCIA = 23;
|
||||||
idx_FacturasClienteDATOS_BANCARIOS = 24;
|
idx_FacturasClienteCODIGO_POSTAL = 24;
|
||||||
idx_FacturasClienteCLIENTE_FINAL = 25;
|
idx_FacturasClienteDATOS_BANCARIOS = 25;
|
||||||
idx_FacturasClienteFECHA_ALTA = 26;
|
idx_FacturasClienteCLIENTE_FINAL = 26;
|
||||||
idx_FacturasClienteFECHA_MODIFICACION = 27;
|
idx_FacturasClienteFECHA_ALTA = 27;
|
||||||
idx_FacturasClienteUSUARIO = 28;
|
idx_FacturasClienteFECHA_MODIFICACION = 28;
|
||||||
idx_FacturasClienteID_FORMA_PAGO = 29;
|
idx_FacturasClienteUSUARIO = 29;
|
||||||
idx_FacturasClienteRECARGO_EQUIVALENCIA = 30;
|
idx_FacturasClienteID_FORMA_PAGO = 30;
|
||||||
idx_FacturasClienteID_TIPO_IVA = 31;
|
idx_FacturasClienteRECARGO_EQUIVALENCIA = 31;
|
||||||
idx_FacturasClienteIMPORTE_NETO = 32;
|
idx_FacturasClienteID_TIPO_IVA = 32;
|
||||||
idx_FacturasClienteIMPORTE_PORTE = 33;
|
idx_FacturasClienteIMPORTE_NETO = 33;
|
||||||
idx_FacturasClienteID_AGENTE = 34;
|
idx_FacturasClienteIMPORTE_PORTE = 34;
|
||||||
idx_FacturasClienteREFERENCIA_COMISION = 35;
|
idx_FacturasClienteID_AGENTE = 35;
|
||||||
|
idx_FacturasClienteREFERENCIA_COMISION = 36;
|
||||||
|
|
||||||
{ FacturasCliente_Detalles fields }
|
{ FacturasCliente_Detalles fields }
|
||||||
fld_FacturasCliente_DetallesID = 'ID';
|
fld_FacturasCliente_DetallesID = 'ID';
|
||||||
@ -129,7 +131,7 @@ const
|
|||||||
type
|
type
|
||||||
{ IFacturasCliente }
|
{ IFacturasCliente }
|
||||||
IFacturasCliente = interface(IDAStronglyTypedDataTable)
|
IFacturasCliente = interface(IDAStronglyTypedDataTable)
|
||||||
['{795D27FE-3D8E-4107-80CF-B7D21B781D7B}']
|
['{841A0CB0-FD20-4D3E-B21C-7E57896A7E3F}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -155,6 +157,10 @@ type
|
|||||||
procedure SetFECHA_FACTURAValue(const aValue: DateTime);
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime);
|
||||||
function GetFECHA_FACTURAIsNull: Boolean;
|
function GetFECHA_FACTURAIsNull: Boolean;
|
||||||
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
||||||
|
function GetFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
||||||
|
function GetFECHA_VENCIMIENTOIsNull: Boolean;
|
||||||
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
||||||
function GetSITUACIONValue: String;
|
function GetSITUACIONValue: String;
|
||||||
procedure SetSITUACIONValue(const aValue: String);
|
procedure SetSITUACIONValue(const aValue: String);
|
||||||
function GetSITUACIONIsNull: Boolean;
|
function GetSITUACIONIsNull: Boolean;
|
||||||
@ -289,6 +295,8 @@ type
|
|||||||
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
||||||
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
||||||
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
||||||
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
||||||
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
||||||
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
||||||
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
||||||
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
||||||
@ -382,6 +390,10 @@ type
|
|||||||
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
||||||
function GetFECHA_FACTURAIsNull: Boolean; virtual;
|
function GetFECHA_FACTURAIsNull: Boolean; virtual;
|
||||||
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOValue: DateTime; virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean); virtual;
|
||||||
function GetSITUACIONValue: String; virtual;
|
function GetSITUACIONValue: String; virtual;
|
||||||
procedure SetSITUACIONValue(const aValue: String); virtual;
|
procedure SetSITUACIONValue(const aValue: String); virtual;
|
||||||
function GetSITUACIONIsNull: Boolean; virtual;
|
function GetSITUACIONIsNull: Boolean; virtual;
|
||||||
@ -515,6 +527,8 @@ type
|
|||||||
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
property ID_COMISION_LIQUIDADAIsNull: Boolean read GetID_COMISION_LIQUIDADAIsNull write SetID_COMISION_LIQUIDADAIsNull;
|
||||||
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
||||||
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
||||||
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
||||||
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
||||||
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
||||||
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
||||||
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
||||||
@ -584,7 +598,7 @@ type
|
|||||||
|
|
||||||
{ IFacturasCliente_Detalles }
|
{ IFacturasCliente_Detalles }
|
||||||
IFacturasCliente_Detalles = interface(IDAStronglyTypedDataTable)
|
IFacturasCliente_Detalles = interface(IDAStronglyTypedDataTable)
|
||||||
['{B6EB9F06-15CD-4E96-B620-4AC3D546A907}']
|
['{49F2E19B-A0E4-4622-8698-5BA5688EA6F4}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -937,6 +951,27 @@ begin
|
|||||||
DataTable.Fields[idx_FacturasClienteFECHA_FACTURA].AsVariant := Null;
|
DataTable.Fields[idx_FacturasClienteFECHA_FACTURA].AsVariant := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TFacturasClienteDataTableRules.GetFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_FacturasClienteFECHA_VENCIMIENTO].AsDateTime;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasClienteDataTableRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
||||||
|
begin
|
||||||
|
DataTable.Fields[idx_FacturasClienteFECHA_VENCIMIENTO].AsDateTime := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasClienteDataTableRules.GetFECHA_VENCIMIENTOIsNull: boolean;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_FacturasClienteFECHA_VENCIMIENTO].IsNull;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasClienteDataTableRules.SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
DataTable.Fields[idx_FacturasClienteFECHA_VENCIMIENTO].AsVariant := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TFacturasClienteDataTableRules.GetSITUACIONValue: String;
|
function TFacturasClienteDataTableRules.GetSITUACIONValue: String;
|
||||||
begin
|
begin
|
||||||
result := DataTable.Fields[idx_FacturasClienteSITUACION].AsString;
|
result := DataTable.Fields[idx_FacturasClienteSITUACION].AsString;
|
||||||
|
|||||||
@ -9,13 +9,13 @@ const
|
|||||||
{ Delta rules ids
|
{ Delta rules ids
|
||||||
Feel free to change them to something more human readable
|
Feel free to change them to something more human readable
|
||||||
but make sure they are unique in the context of your application }
|
but make sure they are unique in the context of your application }
|
||||||
RID_FacturasClienteDelta = '{DBF89ADF-3FF2-4A40-9543-09F93862C1E8}';
|
RID_FacturasClienteDelta = '{4DF9EBCC-478A-4AC5-A507-11E084413331}';
|
||||||
RID_FacturasCliente_DetallesDelta = '{59EC1836-B8BD-4243-8A4E-CB96C079CDF6}';
|
RID_FacturasCliente_DetallesDelta = '{C026B2FA-D8FB-46B6-B9A9-CD245AB46BBF}';
|
||||||
|
|
||||||
type
|
type
|
||||||
{ IFacturasClienteDelta }
|
{ IFacturasClienteDelta }
|
||||||
IFacturasClienteDelta = interface(IFacturasCliente)
|
IFacturasClienteDelta = interface(IFacturasCliente)
|
||||||
['{DBF89ADF-3FF2-4A40-9543-09F93862C1E8}']
|
['{4DF9EBCC-478A-4AC5-A507-11E084413331}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_EMPRESAValue : Integer;
|
function GetOldID_EMPRESAValue : Integer;
|
||||||
@ -23,6 +23,7 @@ type
|
|||||||
function GetOldTIPOValue : String;
|
function GetOldTIPOValue : String;
|
||||||
function GetOldID_COMISION_LIQUIDADAValue : Integer;
|
function GetOldID_COMISION_LIQUIDADAValue : Integer;
|
||||||
function GetOldFECHA_FACTURAValue : DateTime;
|
function GetOldFECHA_FACTURAValue : DateTime;
|
||||||
|
function GetOldFECHA_VENCIMIENTOValue : DateTime;
|
||||||
function GetOldSITUACIONValue : String;
|
function GetOldSITUACIONValue : String;
|
||||||
function GetOldBASE_IMPONIBLEValue : Currency;
|
function GetOldBASE_IMPONIBLEValue : Currency;
|
||||||
function GetOldDESCUENTOValue : Float;
|
function GetOldDESCUENTOValue : Float;
|
||||||
@ -61,6 +62,7 @@ type
|
|||||||
property OldTIPO : String read GetOldTIPOValue;
|
property OldTIPO : String read GetOldTIPOValue;
|
||||||
property OldID_COMISION_LIQUIDADA : Integer read GetOldID_COMISION_LIQUIDADAValue;
|
property OldID_COMISION_LIQUIDADA : Integer read GetOldID_COMISION_LIQUIDADAValue;
|
||||||
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
||||||
|
property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue;
|
||||||
property OldSITUACION : String read GetOldSITUACIONValue;
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||||||
property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
|
property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
|
||||||
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
||||||
@ -136,6 +138,12 @@ type
|
|||||||
function GetOldFECHA_FACTURAIsNull: Boolean; virtual;
|
function GetOldFECHA_FACTURAIsNull: Boolean; virtual;
|
||||||
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
||||||
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOValue: DateTime; virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
||||||
|
function GetOldFECHA_VENCIMIENTOValue: DateTime; virtual;
|
||||||
|
function GetOldFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean); virtual;
|
||||||
function GetSITUACIONValue: String; virtual;
|
function GetSITUACIONValue: String; virtual;
|
||||||
function GetSITUACIONIsNull: Boolean; virtual;
|
function GetSITUACIONIsNull: Boolean; virtual;
|
||||||
function GetOldSITUACIONValue: String; virtual;
|
function GetOldSITUACIONValue: String; virtual;
|
||||||
@ -341,6 +349,10 @@ type
|
|||||||
property FECHA_FACTURAIsNull : Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
property FECHA_FACTURAIsNull : Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
||||||
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
||||||
property OldFECHA_FACTURAIsNull : Boolean read GetOldFECHA_FACTURAIsNull;
|
property OldFECHA_FACTURAIsNull : Boolean read GetOldFECHA_FACTURAIsNull;
|
||||||
|
property FECHA_VENCIMIENTO : DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
||||||
|
property FECHA_VENCIMIENTOIsNull : Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
||||||
|
property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue;
|
||||||
|
property OldFECHA_VENCIMIENTOIsNull : Boolean read GetOldFECHA_VENCIMIENTOIsNull;
|
||||||
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
||||||
property SITUACIONIsNull : Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
property SITUACIONIsNull : Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
||||||
property OldSITUACION : String read GetOldSITUACIONValue;
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||||||
@ -470,7 +482,7 @@ type
|
|||||||
|
|
||||||
{ IFacturasCliente_DetallesDelta }
|
{ IFacturasCliente_DetallesDelta }
|
||||||
IFacturasCliente_DetallesDelta = interface(IFacturasCliente_Detalles)
|
IFacturasCliente_DetallesDelta = interface(IFacturasCliente_Detalles)
|
||||||
['{59EC1836-B8BD-4243-8A4E-CB96C079CDF6}']
|
['{C026B2FA-D8FB-46B6-B9A9-CD245AB46BBF}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_FACTURAValue : Integer;
|
function GetOldID_FACTURAValue : Integer;
|
||||||
@ -883,6 +895,37 @@ begin
|
|||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteFECHA_FACTURA] := Null;
|
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteFECHA_FACTURA] := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TFacturasClienteBusinessProcessorRules.GetFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteFECHA_VENCIMIENTO];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasClienteBusinessProcessorRules.GetFECHA_VENCIMIENTOIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteFECHA_VENCIMIENTO]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasClienteBusinessProcessorRules.GetOldFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasClienteFECHA_VENCIMIENTO];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasClienteBusinessProcessorRules.GetOldFECHA_VENCIMIENTOIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasClienteFECHA_VENCIMIENTO]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasClienteBusinessProcessorRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
||||||
|
begin
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteFECHA_VENCIMIENTO] := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasClienteBusinessProcessorRules.SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteFECHA_VENCIMIENTO] := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TFacturasClienteBusinessProcessorRules.GetSITUACIONValue: String;
|
function TFacturasClienteBusinessProcessorRules.GetSITUACIONValue: String;
|
||||||
begin
|
begin
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteSITUACION];
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasClienteSITUACION];
|
||||||
|
|||||||
@ -165,6 +165,10 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
item
|
item
|
||||||
DatasetField = 'ID_DIRECCION'
|
DatasetField = 'ID_DIRECCION'
|
||||||
TableField = 'ID_DIRECCION'
|
TableField = 'ID_DIRECCION'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
DatasetField = 'FECHA_VENCIMIENTO'
|
||||||
|
TableField = 'FECHA_VENCIMIENTO'
|
||||||
end>
|
end>
|
||||||
end>
|
end>
|
||||||
Name = 'FacturasCliente'
|
Name = 'FacturasCliente'
|
||||||
@ -204,6 +208,10 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
DataType = datDateTime
|
DataType = datDateTime
|
||||||
DictionaryEntry = 'FacturasCliente_FECHA_FACTURA'
|
DictionaryEntry = 'FacturasCliente_FECHA_FACTURA'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
DataType = datDateTime
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'SITUACION'
|
Name = 'SITUACION'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
@ -758,6 +766,10 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
Name = 'FECHA_FACTURA'
|
Name = 'FECHA_FACTURA'
|
||||||
Value = ''
|
Value = ''
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
Value = ''
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'BASE_IMPONIBLE'
|
Name = 'BASE_IMPONIBLE'
|
||||||
Value = ''
|
Value = ''
|
||||||
@ -806,6 +818,10 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
Name = 'NOMBRE'
|
Name = 'NOMBRE'
|
||||||
Value = ''
|
Value = ''
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'ID_DIRECCION'
|
||||||
|
Value = ''
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'CALLE'
|
Name = 'CALLE'
|
||||||
Value = ''
|
Value = ''
|
||||||
@ -869,23 +885,24 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
TargetTable = 'FACTURAS_CLIENTE'
|
TargetTable = 'FACTURAS_CLIENTE'
|
||||||
SQL =
|
SQL =
|
||||||
'INSERT INTO FACTURAS_CLIENTE ('#10' ID,'#10' ID_EMPRESA,'#10' REFER' +
|
'INSERT INTO FACTURAS_CLIENTE ('#10' ID,'#10' ID_EMPRESA,'#10' REFER' +
|
||||||
'ENCIA,'#10' FECHA_FACTURA,'#10' BASE_IMPONIBLE,'#10' DESCUENTO,'#10' ' +
|
'ENCIA,'#10' FECHA_FACTURA,'#10' FECHA_VENCIMIENTO,'#10' BASE_IMPONI' +
|
||||||
' IMPORTE_DESCUENTO,'#10' IVA,'#10' IMPORTE_IVA,'#10' RE,'#10' IMPORT' +
|
'BLE,'#10' DESCUENTO,'#10' IMPORTE_DESCUENTO,'#10' IVA,'#10' IMPORTE_' +
|
||||||
'E_RE,'#10' IMPORTE_TOTAL,'#10' OBSERVACIONES,'#10' ID_CLIENTE,'#10' ' +
|
'IVA,'#10' RE,'#10' IMPORTE_RE,'#10' IMPORTE_TOTAL,'#10' OBSERVACIONE' +
|
||||||
'NIF_CIF,'#10' NOMBRE,'#10' ID_DIRECCION,'#10' CALLE,'#10' POBLACION,' +
|
'S,'#10' ID_CLIENTE,'#10' NIF_CIF,'#10' NOMBRE,'#10' ID_DIRECCION,'#10' ' +
|
||||||
#10' PROVINCIA,'#10' CODIGO_POSTAL,'#10' FECHA_ALTA,'#10' FECHA_MOD' +
|
' CALLE,'#10' POBLACION,'#10' PROVINCIA,'#10' CODIGO_POSTAL,'#10' FE' +
|
||||||
'IFICACION,'#10' USUARIO,'#10' ID_FORMA_PAGO,'#10' RECARGO_EQUIVALEN' +
|
'CHA_ALTA,'#10' FECHA_MODIFICACION,'#10' USUARIO,'#10' ID_FORMA_PAGO' +
|
||||||
'CIA,'#10' ID_TIPO_IVA,'#10' IMPORTE_NETO,'#10' IMPORTE_PORTE,'#10' D' +
|
','#10' RECARGO_EQUIVALENCIA,'#10' ID_TIPO_IVA,'#10' IMPORTE_NETO,'#10' ' +
|
||||||
'ATOS_BANCARIOS,'#10' CLIENTE_FINAL)'#10' VALUES ('#10' :ID,'#10' :ID_E' +
|
' IMPORTE_PORTE,'#10' DATOS_BANCARIOS,'#10' CLIENTE_FINAL)'#10' VALU' +
|
||||||
'MPRESA,'#10' :REFERENCIA,'#10' :FECHA_FACTURA,'#10' :BASE_IMPONIBLE' +
|
'ES ('#10' :ID,'#10' :ID_EMPRESA,'#10' :REFERENCIA,'#10' :FECHA_FACTU' +
|
||||||
','#10' :DESCUENTO,'#10' :IMPORTE_DESCUENTO,'#10' :IVA,'#10' :IMPORTE' +
|
'RA,'#10' :FECHA_VENCIMIENTO,'#10' :BASE_IMPONIBLE,'#10' :DESCUENTO,' +
|
||||||
'_IVA,'#10' :RE,'#10' :IMPORTE_RE,'#10' :IMPORTE_TOTAL,'#10' :OBSERVA' +
|
#10' :IMPORTE_DESCUENTO,'#10' :IVA,'#10' :IMPORTE_IVA,'#10' :RE,'#10' ' +
|
||||||
'CIONES,'#10' :ID_CLIENTE,'#10' :NIF_CIF,'#10' :NOMBRE,'#10' :ID_DIRE' +
|
' :IMPORTE_RE,'#10' :IMPORTE_TOTAL,'#10' :OBSERVACIONES,'#10' :ID_C' +
|
||||||
'CCION,'#10' :CALLE,'#10' :POBLACION,'#10' :PROVINCIA,'#10' :CODIGO_P' +
|
'LIENTE,'#10' :NIF_CIF,'#10' :NOMBRE,'#10' :ID_DIRECCION,'#10' :CALLE' +
|
||||||
'OSTAL,'#10' :FECHA_ALTA,'#10' :FECHA_MODIFICACION,'#10' :USUARIO,'#10' ' +
|
','#10' :POBLACION,'#10' :PROVINCIA,'#10' :CODIGO_POSTAL,'#10' :FECHA' +
|
||||||
' :ID_FORMA_PAGO,'#10' :RECARGO_EQUIVALENCIA,'#10' :ID_TIPO_IVA,'#10 +
|
'_ALTA,'#10' :FECHA_MODIFICACION,'#10' :USUARIO,'#10' :ID_FORMA_PAGO' +
|
||||||
' :IMPORTE_NETO,'#10' :IMPORTE_PORTE,'#10' :DATOS_BANCARIOS,'#10' ' +
|
','#10' :RECARGO_EQUIVALENCIA,'#10' :ID_TIPO_IVA,'#10' :IMPORTE_NETO' +
|
||||||
' :CLIENTE_FINAL);'#10
|
','#10' :IMPORTE_PORTE,'#10' :DATOS_BANCARIOS,'#10' :CLIENTE_FINAL);' +
|
||||||
|
#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <>
|
ColumnMappings = <>
|
||||||
end>
|
end>
|
||||||
@ -905,6 +922,10 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
Name = 'FECHA_FACTURA'
|
Name = 'FECHA_FACTURA'
|
||||||
Value = ''
|
Value = ''
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
Value = ''
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'BASE_IMPONIBLE'
|
Name = 'BASE_IMPONIBLE'
|
||||||
Value = ''
|
Value = ''
|
||||||
@ -1024,20 +1045,21 @@ object srvFacturasCliente: TsrvFacturasCliente
|
|||||||
SQL =
|
SQL =
|
||||||
'UPDATE FACTURAS_CLIENTE'#10' SET'#10' ID_EMPRESA = :ID_EMPRESA,'#10' ' +
|
'UPDATE FACTURAS_CLIENTE'#10' SET'#10' ID_EMPRESA = :ID_EMPRESA,'#10' ' +
|
||||||
'REFERENCIA = :REFERENCIA,'#10' FECHA_FACTURA = :FECHA_FACTURA,'#10' ' +
|
'REFERENCIA = :REFERENCIA,'#10' FECHA_FACTURA = :FECHA_FACTURA,'#10' ' +
|
||||||
' BASE_IMPONIBLE = :BASE_IMPONIBLE,'#10' DESCUENTO = :DESCUENTO,'#10 +
|
' FECHA_VENCIMIENTO = :FECHA_VENCIMIENTO,'#10' BASE_IMPONIBLE = :' +
|
||||||
' IMPORTE_DESCUENTO = :IMPORTE_DESCUENTO,'#10' IVA = :IVA,'#10' ' +
|
'BASE_IMPONIBLE,'#10' DESCUENTO = :DESCUENTO,'#10' IMPORTE_DESCUENT' +
|
||||||
'IMPORTE_IVA = :IMPORTE_IVA,'#10' RE = :RE,'#10' IMPORTE_RE = :IMPO' +
|
'O = :IMPORTE_DESCUENTO,'#10' IVA = :IVA,'#10' IMPORTE_IVA = :IMPOR' +
|
||||||
'RTE_RE,'#10' IMPORTE_TOTAL = :IMPORTE_TOTAL,'#10' OBSERVACIONES = ' +
|
'TE_IVA,'#10' RE = :RE,'#10' IMPORTE_RE = :IMPORTE_RE,'#10' IMPORTE_' +
|
||||||
':OBSERVACIONES,'#10' ID_CLIENTE = :ID_CLIENTE,'#10' NIF_CIF = :NIF' +
|
'TOTAL = :IMPORTE_TOTAL,'#10' OBSERVACIONES = :OBSERVACIONES,'#10' ' +
|
||||||
'_CIF,'#10' NOMBRE = :NOMBRE,'#10' ID_DIRECCION = :ID_DIRECCION,'#10' ' +
|
'ID_CLIENTE = :ID_CLIENTE,'#10' NIF_CIF = :NIF_CIF,'#10' NOMBRE = :' +
|
||||||
' CALLE = :CALLE,'#10' POBLACION = :POBLACION,'#10' PROVINCIA = :P' +
|
'NOMBRE,'#10' ID_DIRECCION = :ID_DIRECCION,'#10' CALLE = :CALLE,'#10' ' +
|
||||||
'ROVINCIA,'#10' CODIGO_POSTAL = :CODIGO_POSTAL,'#10' FECHA_ALTA = :' +
|
' POBLACION = :POBLACION,'#10' PROVINCIA = :PROVINCIA,'#10' CODIGO' +
|
||||||
'FECHA_ALTA,'#10' FECHA_MODIFICACION = :FECHA_MODIFICACION,'#10' US' +
|
'_POSTAL = :CODIGO_POSTAL,'#10' FECHA_ALTA = :FECHA_ALTA,'#10' FECH' +
|
||||||
'UARIO = :USUARIO,'#10' ID_FORMA_PAGO = :ID_FORMA_PAGO,'#10' RECARG' +
|
'A_MODIFICACION = :FECHA_MODIFICACION,'#10' USUARIO = :USUARIO,'#10' ' +
|
||||||
'O_EQUIVALENCIA = :RECARGO_EQUIVALENCIA,'#10' ID_TIPO_IVA = :ID_TI' +
|
' ID_FORMA_PAGO = :ID_FORMA_PAGO,'#10' RECARGO_EQUIVALENCIA = :RE' +
|
||||||
'PO_IVA,'#10' IMPORTE_NETO = :IMPORTE_NETO,'#10' IMPORTE_PORTE = :I' +
|
'CARGO_EQUIVALENCIA,'#10' ID_TIPO_IVA = :ID_TIPO_IVA,'#10' IMPORTE_' +
|
||||||
'MPORTE_PORTE,'#10' DATOS_BANCARIOS = :DATOS_BANCARIOS,'#10' CLIENT' +
|
'NETO = :IMPORTE_NETO,'#10' IMPORTE_PORTE = :IMPORTE_PORTE,'#10' DA' +
|
||||||
'E_FINAL = :CLIENTE_FINAL'#10' WHERE'#10' (ID = :OLD_ID);'#10
|
'TOS_BANCARIOS = :DATOS_BANCARIOS,'#10' CLIENTE_FINAL = :CLIENTE_F' +
|
||||||
|
'INAL'#10' WHERE'#10' (ID = :OLD_ID);'#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <>
|
ColumnMappings = <>
|
||||||
end>
|
end>
|
||||||
|
|||||||
@ -120,9 +120,9 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
798
|
798
|
||||||
316)
|
316)
|
||||||
inherited Label1: TLabel
|
inherited Label1: TLabel
|
||||||
Left = 351
|
Left = 378
|
||||||
Width = 311
|
Width = 311
|
||||||
ExplicitLeft = 351
|
ExplicitLeft = 378
|
||||||
ExplicitWidth = 311
|
ExplicitWidth = 311
|
||||||
end
|
end
|
||||||
inherited eReferencia: TcxDBTextEdit
|
inherited eReferencia: TcxDBTextEdit
|
||||||
@ -160,8 +160,8 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
Width = 111
|
Width = 111
|
||||||
end
|
end
|
||||||
inherited bFormasPago: TButton
|
inherited bFormasPago: TButton
|
||||||
Left = 180
|
Left = 196
|
||||||
ExplicitLeft = 180
|
ExplicitLeft = 196
|
||||||
end
|
end
|
||||||
inherited cbCuentaBancaria: TcxDBComboBox
|
inherited cbCuentaBancaria: TcxDBComboBox
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -172,12 +172,12 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
Width = 249
|
Width = 249
|
||||||
end
|
end
|
||||||
inherited cbClienteFinal: TcxDBTextEdit
|
inherited cbClienteFinal: TcxDBTextEdit
|
||||||
Left = 351
|
Left = 378
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 351
|
ExplicitLeft = 378
|
||||||
ExplicitWidth = 339
|
ExplicitWidth = 339
|
||||||
Width = 339
|
Width = 339
|
||||||
end
|
end
|
||||||
@ -186,9 +186,9 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
ExplicitLeft = 725
|
ExplicitLeft = 725
|
||||||
end
|
end
|
||||||
inherited frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
inherited frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
||||||
Left = 340
|
Left = 367
|
||||||
Width = 505
|
Width = 505
|
||||||
ExplicitLeft = 340
|
ExplicitLeft = 367
|
||||||
ExplicitWidth = 505
|
ExplicitWidth = 505
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 505
|
Width = 505
|
||||||
@ -201,16 +201,16 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
Width = 224
|
Width = 224
|
||||||
end
|
end
|
||||||
inherited edtNIFCIF: TcxDBTextEdit
|
inherited edtNIFCIF: TcxDBTextEdit
|
||||||
Left = 306
|
Left = 279
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 306
|
ExplicitLeft = 279
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 217
|
Left = 190
|
||||||
ExplicitLeft = 217
|
ExplicitLeft = 190
|
||||||
end
|
end
|
||||||
inherited edtDireccion: TcxTextEdit
|
inherited edtDireccion: TcxTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -221,11 +221,19 @@ inherited fEditorFacturaCliente: TfEditorFacturaCliente
|
|||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
inherited Button4: TButton
|
inherited Button4: TButton
|
||||||
Left = 386
|
Left = 359
|
||||||
ExplicitLeft = 386
|
ExplicitLeft = 359
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
inherited edtFechaVemcimiento: TcxDBDateEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 275
|
||||||
|
Width = 275
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -402,7 +402,10 @@ begin
|
|||||||
FController := Value;
|
FController := Value;
|
||||||
|
|
||||||
if Assigned(FController) then
|
if Assigned(FController) then
|
||||||
|
begin
|
||||||
|
ViewFacturaCliente.Controller := FController;
|
||||||
frViewDetallesFacturaCliente1.Controller := Controller.DetallesController;
|
frViewDetallesFacturaCliente1.Controller := Controller.DetallesController;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorFacturaCliente.SetFactura(const Value: IBizFacturaCliente);
|
procedure TfEditorFacturaCliente.SetFactura(const Value: IBizFacturaCliente);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
inherited frViewFacturaCliente: TfrViewFacturaCliente
|
inherited frViewFacturaCliente: TfrViewFacturaCliente
|
||||||
Width = 862
|
Width = 674
|
||||||
Height = 390
|
Height = 407
|
||||||
Align = alClient
|
Align = alClient
|
||||||
OnCreate = CustomViewCreate
|
OnCreate = CustomViewCreate
|
||||||
OnDestroy = CustomViewDestroy
|
OnDestroy = CustomViewDestroy
|
||||||
@ -9,8 +9,8 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
object dxLayoutControl1: TdxLayoutControl
|
object dxLayoutControl1: TdxLayoutControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 862
|
Width = 674
|
||||||
Height = 390
|
Height = 407
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
@ -20,10 +20,10 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
ExplicitWidth = 451
|
ExplicitWidth = 451
|
||||||
ExplicitHeight = 304
|
ExplicitHeight = 304
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
862
|
674
|
||||||
390)
|
407)
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
Left = 458
|
Left = 373
|
||||||
Top = 193
|
Top = 193
|
||||||
Width = 311
|
Width = 311
|
||||||
Height = 26
|
Height = 26
|
||||||
@ -100,13 +100,13 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 8
|
TabOrder = 9
|
||||||
Height = 345
|
Height = 345
|
||||||
Width = 355
|
Width = 355
|
||||||
end
|
end
|
||||||
object cbFormaPago: TcxDBLookupComboBox
|
object cbFormaPago: TcxDBLookupComboBox
|
||||||
Left = 124
|
Left = 146
|
||||||
Top = 84
|
Top = 103
|
||||||
DataBinding.DataField = 'ID_FORMA_PAGO'
|
DataBinding.DataField = 'ID_FORMA_PAGO'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
Properties.ImmediatePost = True
|
Properties.ImmediatePost = True
|
||||||
@ -120,6 +120,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Properties.ListOptions.SyncMode = True
|
Properties.ListOptions.SyncMode = True
|
||||||
Properties.ListSource = dsFormaPago
|
Properties.ListSource = dsFormaPago
|
||||||
Properties.PostPopupValueOnTab = True
|
Properties.PostPopupValueOnTab = True
|
||||||
|
Properties.OnEditValueChanged = edtFechaVemcimientoPropertiesEditValueChanged
|
||||||
Style.BorderColor = clWindowFrame
|
Style.BorderColor = clWindowFrame
|
||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
@ -141,8 +142,8 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 269
|
Width = 269
|
||||||
end
|
end
|
||||||
object bFormasPago: TButton
|
object bFormasPago: TButton
|
||||||
Left = 287
|
Left = 191
|
||||||
Top = 84
|
Top = 103
|
||||||
Width = 132
|
Width = 132
|
||||||
Height = 23
|
Height = 23
|
||||||
Caption = 'Ver las formas de pago...'
|
Caption = 'Ver las formas de pago...'
|
||||||
@ -150,11 +151,12 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
OnClick = bFormasPagoClick
|
OnClick = bFormasPagoClick
|
||||||
end
|
end
|
||||||
object cbCuentaBancaria: TcxDBComboBox
|
object cbCuentaBancaria: TcxDBComboBox
|
||||||
Left = 124
|
Left = 146
|
||||||
Top = 113
|
Top = 159
|
||||||
DataBinding.DataField = 'DATOS_BANCARIOS'
|
DataBinding.DataField = 'DATOS_BANCARIOS'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
Properties.DropDownListStyle = lsFixedList
|
Properties.DropDownListStyle = lsFixedList
|
||||||
|
Properties.DropDownRows = 12
|
||||||
Properties.ImmediatePost = True
|
Properties.ImmediatePost = True
|
||||||
Properties.ImmediateUpdateText = True
|
Properties.ImmediateUpdateText = True
|
||||||
Properties.PostPopupValueOnTab = True
|
Properties.PostPopupValueOnTab = True
|
||||||
@ -167,11 +169,11 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 4
|
TabOrder = 5
|
||||||
Width = 165
|
Width = 165
|
||||||
end
|
end
|
||||||
object cbClienteFinal: TcxDBTextEdit
|
object cbClienteFinal: TcxDBTextEdit
|
||||||
Left = 458
|
Left = 373
|
||||||
Top = 227
|
Top = 227
|
||||||
Anchors = [akLeft, akTop, akRight]
|
Anchors = [akLeft, akTop, akRight]
|
||||||
DataBinding.DataField = 'CLIENTE_FINAL'
|
DataBinding.DataField = 'CLIENTE_FINAL'
|
||||||
@ -195,19 +197,19 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 6
|
TabOrder = 7
|
||||||
Width = 339
|
Width = 339
|
||||||
end
|
end
|
||||||
object bElegirClienteFinal: TButton
|
object bElegirClienteFinal: TButton
|
||||||
Left = 806
|
Left = 618
|
||||||
Top = 225
|
Top = 225
|
||||||
Width = 23
|
Width = 23
|
||||||
Height = 25
|
Height = 25
|
||||||
Action = actElegirClienteFinal
|
Action = actElegirClienteFinal
|
||||||
TabOrder = 7
|
TabOrder = 8
|
||||||
end
|
end
|
||||||
inline frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
inline frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
||||||
Left = 447
|
Left = 362
|
||||||
Top = 30
|
Top = 30
|
||||||
Width = 505
|
Width = 505
|
||||||
Height = 138
|
Height = 138
|
||||||
@ -217,9 +219,9 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Font.Name = 'Tahoma'
|
Font.Name = 'Tahoma'
|
||||||
Font.Style = []
|
Font.Style = []
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 5
|
TabOrder = 6
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 447
|
ExplicitLeft = 362
|
||||||
ExplicitTop = 30
|
ExplicitTop = 30
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
inherited edtlNombre: TcxDBTextEdit
|
inherited edtlNombre: TcxDBTextEdit
|
||||||
@ -231,16 +233,16 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 224
|
Width = 224
|
||||||
end
|
end
|
||||||
inherited edtNIFCIF: TcxDBTextEdit
|
inherited edtNIFCIF: TcxDBTextEdit
|
||||||
Left = 280
|
Left = 177
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 280
|
ExplicitLeft = 177
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 191
|
Left = 88
|
||||||
ExplicitLeft = 191
|
ExplicitLeft = 88
|
||||||
end
|
end
|
||||||
inherited edtDireccion: TcxTextEdit
|
inherited edtDireccion: TcxTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -251,8 +253,8 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
inherited Button4: TButton
|
inherited Button4: TButton
|
||||||
Left = 360
|
Left = 257
|
||||||
ExplicitLeft = 360
|
ExplicitLeft = 257
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited ActionList1: TActionList
|
inherited ActionList1: TActionList
|
||||||
@ -268,6 +270,32 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Top = 48
|
Top = 48
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
object edtFechaVemcimiento: TcxDBDateEdit
|
||||||
|
Left = 146
|
||||||
|
Top = 132
|
||||||
|
Anchors = [akLeft, akTop, akRight]
|
||||||
|
DataBinding.DataField = 'FECHA_VENCIMIENTO'
|
||||||
|
DataBinding.DataSource = DADataSource
|
||||||
|
Properties.OnEditValueChanged = edtFechaVemcimientoPropertiesEditValueChanged
|
||||||
|
Style.BorderColor = clWindowFrame
|
||||||
|
Style.BorderStyle = ebs3D
|
||||||
|
Style.Color = clInfoBk
|
||||||
|
Style.HotTrack = False
|
||||||
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
Style.Shadow = False
|
||||||
|
Style.ButtonStyle = bts3D
|
||||||
|
Style.ButtonTransparency = ebtNone
|
||||||
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
TabOrder = 4
|
||||||
|
Width = 275
|
||||||
|
end
|
||||||
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
Hidden = True
|
Hidden = True
|
||||||
@ -295,25 +323,33 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Control = edtFecha
|
Control = edtFecha
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group3: TdxLayoutGroup
|
object dxLayoutControl1Group6: TdxLayoutGroup
|
||||||
ShowCaption = False
|
Caption = 'Forma de pago'
|
||||||
Hidden = True
|
|
||||||
ShowBorder = False
|
|
||||||
object dxLayoutControl1Group4: TdxLayoutGroup
|
object dxLayoutControl1Group4: TdxLayoutGroup
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Item4: TdxLayoutItem
|
object dxLayoutControl1Group3: TdxLayoutGroup
|
||||||
AutoAligns = [aaVertical]
|
|
||||||
AlignHorz = ahClient
|
|
||||||
Caption = 'Forma de pago:'
|
|
||||||
Control = cbFormaPago
|
|
||||||
ControlOptions.ShowBorder = False
|
|
||||||
end
|
|
||||||
object dxLayoutControl1Item10: TdxLayoutItem
|
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
Control = bFormasPago
|
Hidden = True
|
||||||
|
LayoutDirection = ldHorizontal
|
||||||
|
ShowBorder = False
|
||||||
|
object dxLayoutControl1Item4: TdxLayoutItem
|
||||||
|
AutoAligns = [aaVertical]
|
||||||
|
AlignHorz = ahClient
|
||||||
|
Caption = 'Forma de pago:'
|
||||||
|
Control = cbFormaPago
|
||||||
|
ControlOptions.ShowBorder = False
|
||||||
|
end
|
||||||
|
object dxLayoutControl1Item10: TdxLayoutItem
|
||||||
|
ShowCaption = False
|
||||||
|
Control = bFormasPago
|
||||||
|
ControlOptions.ShowBorder = False
|
||||||
|
end
|
||||||
|
end
|
||||||
|
object ledtFechaVencimiento: TdxLayoutItem
|
||||||
|
Caption = 'Fecha de vencimiento:'
|
||||||
|
Control = edtFechaVemcimiento
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -10,7 +10,7 @@ uses
|
|||||||
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, StdCtrls, Mask,
|
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, StdCtrls, Mask,
|
||||||
DBCtrls, cxGraphics, dxLayoutLookAndFeels, cxLookupEdit, cxDBLookupEdit,
|
DBCtrls, cxGraphics, dxLayoutLookAndFeels, cxLookupEdit, cxDBLookupEdit,
|
||||||
cxDBLookupComboBox, uFormasPagoController, uDAInterfaces, uBizFormasPago,
|
cxDBLookupComboBox, uFormasPagoController, uDAInterfaces, uBizFormasPago,
|
||||||
ActnList, uViewDatosYSeleccionClienteFacturaCliente;
|
ActnList, uViewDatosYSeleccionClienteFacturaCliente, uFacturasClienteController;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewFacturaCliente = interface(IViewBase)
|
IViewFacturaCliente = interface(IViewBase)
|
||||||
@ -18,6 +18,9 @@ type
|
|||||||
function GetFactura: IBizFacturaCliente;
|
function GetFactura: IBizFacturaCliente;
|
||||||
procedure SetFactura(const Value: IBizFacturaCliente);
|
procedure SetFactura(const Value: IBizFacturaCliente);
|
||||||
property Factura: IBizFacturaCliente read GetFactura write SetFactura;
|
property Factura: IBizFacturaCliente read GetFactura write SetFactura;
|
||||||
|
function GetController : IFacturasClienteController;
|
||||||
|
procedure SetController (const Value : IFacturasClienteController);
|
||||||
|
property Controller : IFacturasClienteController read GetController write SetController;
|
||||||
|
|
||||||
function GetViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente;
|
function GetViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente;
|
||||||
property ViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente read GetViewClienteFactura;
|
property ViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente read GetViewClienteFactura;
|
||||||
@ -44,10 +47,8 @@ type
|
|||||||
cbFormaPago: TcxDBLookupComboBox;
|
cbFormaPago: TcxDBLookupComboBox;
|
||||||
dxLayoutControl1Item10: TdxLayoutItem;
|
dxLayoutControl1Item10: TdxLayoutItem;
|
||||||
bFormasPago: TButton;
|
bFormasPago: TButton;
|
||||||
dxLayoutControl1Group3: TdxLayoutGroup;
|
|
||||||
dxLayoutControl1Item3: TdxLayoutItem;
|
dxLayoutControl1Item3: TdxLayoutItem;
|
||||||
cbCuentaBancaria: TcxDBComboBox;
|
cbCuentaBancaria: TcxDBComboBox;
|
||||||
dxLayoutControl1Group4: TdxLayoutGroup;
|
|
||||||
dxLayoutControl1Item7: TdxLayoutItem;
|
dxLayoutControl1Item7: TdxLayoutItem;
|
||||||
Label1: TLabel;
|
Label1: TLabel;
|
||||||
dxLayoutControl1Item8: TdxLayoutItem;
|
dxLayoutControl1Item8: TdxLayoutItem;
|
||||||
@ -60,23 +61,33 @@ type
|
|||||||
actElegirClienteFinal: TAction;
|
actElegirClienteFinal: TAction;
|
||||||
frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente;
|
frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente;
|
||||||
dxLayoutControl1Group9: TdxLayoutGroup;
|
dxLayoutControl1Group9: TdxLayoutGroup;
|
||||||
|
dxLayoutControl1Group6: TdxLayoutGroup;
|
||||||
|
dxLayoutControl1Group4: TdxLayoutGroup;
|
||||||
|
ledtFechaVencimiento: TdxLayoutItem;
|
||||||
|
edtFechaVemcimiento: TcxDBDateEdit;
|
||||||
|
dxLayoutControl1Group3: TdxLayoutGroup;
|
||||||
procedure bFormasPagoClick(Sender: TObject);
|
procedure bFormasPagoClick(Sender: TObject);
|
||||||
procedure CustomViewDestroy(Sender: TObject);
|
procedure CustomViewDestroy(Sender: TObject);
|
||||||
procedure CustomViewCreate(Sender: TObject);
|
procedure CustomViewCreate(Sender: TObject);
|
||||||
procedure actElegirClienteFinalExecute(Sender: TObject);
|
procedure actElegirClienteFinalExecute(Sender: TObject);
|
||||||
procedure actElegirClienteFinalUpdate(Sender: TObject);
|
procedure actElegirClienteFinalUpdate(Sender: TObject);
|
||||||
|
procedure edtFechaVemcimientoPropertiesEditValueChanged(Sender: TObject);
|
||||||
protected
|
protected
|
||||||
FFactura : IBizFacturaCliente;
|
FFactura : IBizFacturaCliente;
|
||||||
|
FController : IFacturasClienteController;
|
||||||
FFormasPago : IBizFormaPago;
|
FFormasPago : IBizFormaPago;
|
||||||
FFormasPagoController : IFormasPagoController;
|
FFormasPagoController : IFormasPagoController;
|
||||||
FViewClienteFactura : IViewDatosYSeleccionClienteFacturaCliente;
|
FViewClienteFactura : IViewDatosYSeleccionClienteFacturaCliente;
|
||||||
function GetFactura: IBizFacturaCliente;
|
function GetFactura: IBizFacturaCliente;
|
||||||
procedure SetFactura(const Value: IBizFacturaCliente);
|
procedure SetFactura(const Value: IBizFacturaCliente);
|
||||||
|
function GetController : IFacturasClienteController;
|
||||||
|
procedure SetController (const Value : IFacturasClienteController);
|
||||||
procedure RellenarCuentasBancarias;
|
procedure RellenarCuentasBancarias;
|
||||||
|
|
||||||
function GetViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente;
|
function GetViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente;
|
||||||
|
|
||||||
public
|
public
|
||||||
property Factura: IBizFacturaCliente read GetFactura write SetFactura;
|
property Factura: IBizFacturaCliente read GetFactura write SetFactura;
|
||||||
|
property Controller : IFacturasClienteController read GetController write SetController;
|
||||||
property ViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente read GetViewClienteFactura;
|
property ViewClienteFactura: IViewDatosYSeleccionClienteFacturaCliente read GetViewClienteFactura;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -146,6 +157,21 @@ begin
|
|||||||
FViewClienteFactura := NIL;
|
FViewClienteFactura := NIL;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewFacturaCliente.edtFechaVemcimientoPropertiesEditValueChanged(
|
||||||
|
Sender: TObject);
|
||||||
|
begin
|
||||||
|
if Assigned(FFormasPago) then
|
||||||
|
if (FFormasPago.Plazos.RecordCount = 0) then
|
||||||
|
ledtFechaVencimiento.Enabled := True
|
||||||
|
else
|
||||||
|
ledtFechaVencimiento.Enabled := False;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TfrViewFacturaCliente.GetController: IFacturasClienteController;
|
||||||
|
begin
|
||||||
|
Result := FController;
|
||||||
|
end;
|
||||||
|
|
||||||
function TfrViewFacturaCliente.GetFactura: IBizFacturaCliente;
|
function TfrViewFacturaCliente.GetFactura: IBizFacturaCliente;
|
||||||
begin
|
begin
|
||||||
Result := FFactura;
|
Result := FFactura;
|
||||||
@ -161,12 +187,15 @@ var
|
|||||||
AController : IEmpresasController;
|
AController : IEmpresasController;
|
||||||
ALista : TStringList;
|
ALista : TStringList;
|
||||||
AListaIBAN : TStringList;
|
AListaIBAN : TStringList;
|
||||||
|
AListaCliente: TStringList;
|
||||||
i : integer;
|
i : integer;
|
||||||
begin
|
begin
|
||||||
AController := TEmpresasController.Create;
|
AController := TEmpresasController.Create;
|
||||||
try
|
try
|
||||||
ALista := AController.DarListaCuentasBancarias(AppFactuGES.EmpresaActiva);
|
ALista := AController.DarListaCuentasBancarias(AppFactuGES.EmpresaActiva);
|
||||||
AListaIBAN := AController.DarListaCuentasBancariasIBAN(AppFactuGES.EmpresaActiva);
|
AListaIBAN := AController.DarListaCuentasBancariasIBAN(AppFactuGES.EmpresaActiva);
|
||||||
|
AListaCliente := Controller.ClienteController.DarListaCuentasBancarias(FFactura.ID_CLIENTE);
|
||||||
|
|
||||||
try
|
try
|
||||||
with cbCuentaBancaria.Properties.Items do
|
with cbCuentaBancaria.Properties.Items do
|
||||||
begin
|
begin
|
||||||
@ -183,6 +212,14 @@ begin
|
|||||||
for i := 0 to AListaIBAN.Count - 1 do
|
for i := 0 to AListaIBAN.Count - 1 do
|
||||||
Add(AListaIBAN.Names[i]);
|
Add(AListaIBAN.Names[i]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if AListaCliente.Count > 0 then
|
||||||
|
begin
|
||||||
|
Add('--------------');
|
||||||
|
for i := 0 to AListaCliente.Count - 1 do
|
||||||
|
Add(AListaCliente.Names[i]);
|
||||||
|
end;
|
||||||
|
|
||||||
finally
|
finally
|
||||||
EndUpdate;
|
EndUpdate;
|
||||||
end;
|
end;
|
||||||
@ -196,6 +233,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewFacturaCliente.SetController(const Value: IFacturasClienteController);
|
||||||
|
begin
|
||||||
|
FController := Value;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewFacturaCliente.SetFactura(const Value: IBizFacturaCliente);
|
procedure TfrViewFacturaCliente.SetFactura(const Value: IBizFacturaCliente);
|
||||||
var
|
var
|
||||||
ACadena : String;
|
ACadena : String;
|
||||||
@ -214,6 +256,13 @@ begin
|
|||||||
dsFormaPago.DataTable := FFormasPago.DataTable;
|
dsFormaPago.DataTable := FFormasPago.DataTable;
|
||||||
dsFormaPago.DataTable.Active := True;
|
dsFormaPago.DataTable.Active := True;
|
||||||
|
|
||||||
|
//Posicionamos la tabla en la forma de pago que tiene la factura ya que no lo hace el componente por si solo
|
||||||
|
FFormasPago.DataTable.Locate(fld_FacturasClienteID, FFactura.ID_FORMA_PAGO, []);
|
||||||
|
if (FFormasPago.Plazos.RecordCount = 0) then
|
||||||
|
ledtFechaVencimiento.Enabled := True
|
||||||
|
else
|
||||||
|
ledtFechaVencimiento.Enabled := False;
|
||||||
|
|
||||||
if FFactura.TIPO = CTE_TIPO_ABONO then
|
if FFactura.TIPO = CTE_TIPO_ABONO then
|
||||||
begin
|
begin
|
||||||
dxLayoutControl1Group1.Caption := 'Datos del abono:';
|
dxLayoutControl1Group1.Caption := 'Datos del abono:';
|
||||||
|
|||||||
@ -71,8 +71,10 @@ type
|
|||||||
|
|
||||||
function ValidarFactura(AFactura: IBizFacturaProveedor): Boolean;
|
function ValidarFactura(AFactura: IBizFacturaProveedor): Boolean;
|
||||||
procedure GenerarRecibos(AFactura: IBizFacturaProveedor);
|
procedure GenerarRecibos(AFactura: IBizFacturaProveedor);
|
||||||
|
|
||||||
protected
|
protected
|
||||||
procedure RecibirAviso(ASujeto: ISujeto; ADataTable: IDAStronglyTypedDataTable); override;
|
procedure RecibirAviso(ASujeto: ISujeto; ADataTable: IDAStronglyTypedDataTable); override;
|
||||||
|
|
||||||
public
|
public
|
||||||
property ProveedorController: IProveedoresController read GetProveedorController write SetProveedorController;
|
property ProveedorController: IProveedoresController read GetProveedorController write SetProveedorController;
|
||||||
property DetallesController: IDetallesFacturaProveedorController read GetDetallesController write SetDetallesController;
|
property DetallesController: IDetallesFacturaProveedorController read GetDetallesController write SetDetallesController;
|
||||||
@ -406,6 +408,9 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TFacturasProveedorController.ValidarFactura(AFactura: IBizFacturaProveedor): Boolean;
|
function TFacturasProveedorController.ValidarFactura(AFactura: IBizFacturaProveedor): Boolean;
|
||||||
|
var
|
||||||
|
AFormaPago: IBizFormaPago;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
|
|
||||||
@ -437,6 +442,22 @@ begin
|
|||||||
{ if (AFactura.ID_TIPO_IVA = 0) then
|
{ if (AFactura.ID_TIPO_IVA = 0) then
|
||||||
raise Exception.Create('Debe indicar un tipo de IVA para esta factura');}
|
raise Exception.Create('Debe indicar un tipo de IVA para esta factura');}
|
||||||
|
|
||||||
|
//De esta forma obligaremos siempre a tener un recibo asociado a la factura,
|
||||||
|
//porque si la forma de pago no tiene plazos es obligatorio la fecha de vencimiento
|
||||||
|
with TFormasPagoController.Create do
|
||||||
|
begin
|
||||||
|
try
|
||||||
|
AFormaPago := Buscar(AFactura.ID_FORMA_PAGO);
|
||||||
|
AFormaPago.DataTable.Active := True;
|
||||||
|
if (AFormaPago.Plazos.RecordCount = 0)
|
||||||
|
and (EsFechaVacia(AFactura.FECHA_VENCIMIENTO)) then
|
||||||
|
raise Exception.Create('Debe indicar una fecha de vencimiento para esta factura');
|
||||||
|
finally
|
||||||
|
AFormaPago := NIL;
|
||||||
|
Free;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
//En caso de ser un Abono no podra tener un importe total positivo
|
//En caso de ser un Abono no podra tener un importe total positivo
|
||||||
if (AFactura.TIPO = CTE_TIPO_ABONO) then
|
if (AFactura.TIPO = CTE_TIPO_ABONO) then
|
||||||
if (AFactura.IMPORTE_TOTAL >= 0) then
|
if (AFactura.IMPORTE_TOTAL >= 0) then
|
||||||
@ -897,9 +918,6 @@ begin
|
|||||||
AFormasPagoController := TFormasPagoController.Create;
|
AFormasPagoController := TFormasPagoController.Create;
|
||||||
AFormaPago := AFormasPagoController.Buscar(AFactura.ID_FORMA_PAGO);
|
AFormaPago := AFormasPagoController.Buscar(AFactura.ID_FORMA_PAGO);
|
||||||
AFormaPago.DataTable.Active := True;
|
AFormaPago.DataTable.Active := True;
|
||||||
if AFormaPago.DataTable.RecordCount <> 1 then
|
|
||||||
Exit; //No hay forma de pago en la factura y por lo tanto no se generan recibos
|
|
||||||
//raise Exception.Create('No existe la forma de pago de la factura');
|
|
||||||
|
|
||||||
ARecibosProveedorController := TRecibosProveedorController.Create;
|
ARecibosProveedorController := TRecibosProveedorController.Create;
|
||||||
//Eliminamos todos los recibos que tuviera la factura porque sabemos que todos
|
//Eliminamos todos los recibos que tuviera la factura porque sabemos que todos
|
||||||
@ -908,46 +926,56 @@ begin
|
|||||||
ARecibos := ARecibosProveedorController.BuscarRecibosFactura(AFactura.ID);
|
ARecibos := ARecibosProveedorController.BuscarRecibosFactura(AFactura.ID);
|
||||||
ARecibosProveedorController.EliminarTodo(ARecibos);
|
ARecibosProveedorController.EliminarTodo(ARecibos);
|
||||||
|
|
||||||
//Vamos a generar todos los recibos necesarios para la factura
|
//Se cambia la lógica a peticion de tecsitel, en el caso de meter una fecha de vencimiento,
|
||||||
|
//los plazos de la forma de pago no tendrán efecto, se generará un recibo con el 100% y fecha de vencimiento
|
||||||
|
//de la factura.
|
||||||
With AFormaPago.Plazos.DataTable do
|
With AFormaPago.Plazos.DataTable do
|
||||||
begin
|
begin
|
||||||
i := 1;
|
i := 1;
|
||||||
First;
|
First;
|
||||||
while not eof do
|
repeat
|
||||||
begin
|
|
||||||
ARecibos := ARecibosProveedorController.Nuevo;
|
ARecibos := ARecibosProveedorController.Nuevo;
|
||||||
ARecibos.Edit;
|
ARecibos.Edit;
|
||||||
ARecibos.ID_FACTURA := AFactura.ID;
|
ARecibos.ID_FACTURA := AFactura.ID;
|
||||||
ARecibos.REFERENCIA := AFactura.REFERENCIA + ' - ' + IntToStr(i);
|
ARecibos.REFERENCIA := AFactura.REFERENCIA + ' - ' + IntToStr(i);
|
||||||
ARecibos.FECHA_EMISION := AFactura.FECHA_FACTURA;
|
ARecibos.FECHA_EMISION := AFactura.FECHA_FACTURA;
|
||||||
|
|
||||||
AFechaVencimiento := AFactura.FECHA_FACTURA + AFormaPago.Plazos.NUM_DIAS;
|
if AFormaPago.Plazos.RecordCount < 1 then
|
||||||
ADiasMas := 0;
|
|
||||||
if (AFactura.Proveedor.VENCIMIENTO_FACTURAS_1 <> 0)
|
|
||||||
or (AFactura.Proveedor.VENCIMIENTO_FACTURAS_2 <> 0)
|
|
||||||
or (AFactura.Proveedor.VENCIMIENTO_FACTURAS_3 <> 0) then
|
|
||||||
begin
|
begin
|
||||||
ADiaVencimiento := DayOf(AFechaVencimiento);
|
ARecibos.FECHA_VENCIMIENTO := AFactura.FECHA_VENCIMIENTO;
|
||||||
while (ADiaVencimiento <> AFactura.Proveedor.VENCIMIENTO_FACTURAS_1)
|
ARecibos.IMPORTE := AFactura.IMPORTE_TOTAL;
|
||||||
and (ADiaVencimiento <> AFactura.Proveedor.VENCIMIENTO_FACTURAS_2)
|
end
|
||||||
and (ADiaVencimiento <> AFactura.Proveedor.VENCIMIENTO_FACTURAS_3) do
|
else
|
||||||
|
begin
|
||||||
|
AFechaVencimiento := AFactura.FECHA_FACTURA + AFormaPago.Plazos.NUM_DIAS;
|
||||||
|
ADiasMas := 0;
|
||||||
|
if (AFactura.Proveedor.VENCIMIENTO_FACTURAS_1 <> 0)
|
||||||
|
or (AFactura.Proveedor.VENCIMIENTO_FACTURAS_2 <> 0)
|
||||||
|
or (AFactura.Proveedor.VENCIMIENTO_FACTURAS_3 <> 0) then
|
||||||
begin
|
begin
|
||||||
if ADiaVencimiento = DaysInMonth(AFechaVencimiento) then
|
ADiaVencimiento := DayOf(AFechaVencimiento);
|
||||||
ADiaVencimiento := 1
|
while (ADiaVencimiento <> AFactura.Proveedor.VENCIMIENTO_FACTURAS_1)
|
||||||
else
|
and (ADiaVencimiento <> AFactura.Proveedor.VENCIMIENTO_FACTURAS_2)
|
||||||
Inc(ADiaVencimiento);
|
and (ADiaVencimiento <> AFactura.Proveedor.VENCIMIENTO_FACTURAS_3) do
|
||||||
Inc(ADiasMas);
|
begin
|
||||||
|
if ADiaVencimiento = DaysInMonth(AFechaVencimiento) then
|
||||||
|
ADiaVencimiento := 1
|
||||||
|
else
|
||||||
|
Inc(ADiaVencimiento);
|
||||||
|
Inc(ADiasMas);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
|
||||||
AFechaVencimiento := IncDay(AFechaVencimiento, ADiasMas);
|
|
||||||
ARecibos.FECHA_VENCIMIENTO := AFechaVencimiento;
|
|
||||||
|
|
||||||
ARecibos.IMPORTE := AFactura.IMPORTE_TOTAL * (AFormaPago.Plazos.PORCENTAJE / 100);
|
AFechaVencimiento := IncDay(AFechaVencimiento, ADiasMas);
|
||||||
|
ARecibos.FECHA_VENCIMIENTO := AFechaVencimiento;
|
||||||
|
ARecibos.IMPORTE := AFactura.IMPORTE_TOTAL * (AFormaPago.Plazos.PORCENTAJE / 100);
|
||||||
|
end;
|
||||||
|
|
||||||
ARecibos.DESCRIPCION := 'Pago de factura ' + AFactura.REFERENCIA + ': son ' + CifraToLetras(ARecibos.IMPORTE);
|
ARecibos.DESCRIPCION := 'Pago de factura ' + AFactura.REFERENCIA + ': son ' + CifraToLetras(ARecibos.IMPORTE);
|
||||||
ARecibosProveedorController.Guardar(ARecibos);
|
ARecibosProveedorController.Guardar(ARecibos);
|
||||||
Inc(i);
|
Inc(i);
|
||||||
Next;
|
Next;
|
||||||
end;
|
until (eof);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//Liberamos
|
//Liberamos
|
||||||
|
|||||||
@ -66,6 +66,11 @@ inherited DataModuleFacturasProveedor: TDataModuleFacturasProveedor
|
|||||||
DisplayLabel = 'Fecha de las factura'
|
DisplayLabel = 'Fecha de las factura'
|
||||||
DictionaryEntry = 'FacturasProveedor_FECHA_FACTURA'
|
DictionaryEntry = 'FacturasProveedor_FECHA_FACTURA'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
DataType = datDateTime
|
||||||
|
DisplayLabel = 'Fecha vto.'
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'SITUACION'
|
Name = 'SITUACION'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
<Projects Include="..\Albaranes de proveedor\Views\AlbaranesProveedor_view.dproj" />
|
<Projects Include="..\Albaranes de proveedor\Views\AlbaranesProveedor_view.dproj" />
|
||||||
<Projects Include="..\Articulos\Controller\Articulos_controller.dproj" />
|
<Projects Include="..\Articulos\Controller\Articulos_controller.dproj" />
|
||||||
<Projects Include="..\Articulos\Views\Articulos_view.dproj" />
|
<Projects Include="..\Articulos\Views\Articulos_view.dproj" />
|
||||||
|
<Projects Include="..\Contactos\Controller\Contactos_controller.dproj" />
|
||||||
<Projects Include="..\Contactos\Views\Contactos_view.dproj" />
|
<Projects Include="..\Contactos\Views\Contactos_view.dproj" />
|
||||||
<Projects Include="..\Facturas de cliente\Views\FacturasCliente_view.dproj" />
|
<Projects Include="..\Facturas de cliente\Views\FacturasCliente_view.dproj" />
|
||||||
<Projects Include="..\Pedidos a proveedor\Controller\PedidosProveedor_controller.dproj" />
|
<Projects Include="..\Pedidos a proveedor\Controller\PedidosProveedor_controller.dproj" />
|
||||||
@ -251,14 +252,23 @@
|
|||||||
<Target Name="PedidosProveedor_data:Make">
|
<Target Name="PedidosProveedor_data:Make">
|
||||||
<MSBuild Projects="..\Pedidos a proveedor\Data\PedidosProveedor_data.dproj" Targets="Make" />
|
<MSBuild Projects="..\Pedidos a proveedor\Data\PedidosProveedor_data.dproj" Targets="Make" />
|
||||||
</Target>
|
</Target>
|
||||||
|
<Target Name="Contactos_controller">
|
||||||
|
<MSBuild Projects="..\Contactos\Controller\Contactos_controller.dproj" Targets="" />
|
||||||
|
</Target>
|
||||||
|
<Target Name="Contactos_controller:Clean">
|
||||||
|
<MSBuild Projects="..\Contactos\Controller\Contactos_controller.dproj" Targets="Clean" />
|
||||||
|
</Target>
|
||||||
|
<Target Name="Contactos_controller:Make">
|
||||||
|
<MSBuild Projects="..\Contactos\Controller\Contactos_controller.dproj" Targets="Make" />
|
||||||
|
</Target>
|
||||||
<Target Name="Build">
|
<Target Name="Build">
|
||||||
<CallTarget Targets="Base;GUIBase;ApplicationBase;Contactos_view;Articulos_view;FacturasProveedor_model;FacturasProveedor_data;FacturasProveedor_controller;FacturasProveedor_view;FacturasProveedor_plugin;FactuGES;FactuGES_Server;AlbProv_FacProv_relation;AlbaranesProveedor_view;PedProv_AlbProv_relation;PedidosProveedor_view;PedidosProveedor_controller;AlbaranesProveedor_controller;Articulos_controller;AlbCli_FacCli_relation;FacturasCliente_view;PedProv_FacProv_relation;PreCli_FacCli_relation;PedidosProveedor_data" />
|
<CallTarget Targets="Base;GUIBase;ApplicationBase;Contactos_view;Articulos_view;FacturasProveedor_model;FacturasProveedor_data;FacturasProveedor_controller;FacturasProveedor_view;FacturasProveedor_plugin;FactuGES;FactuGES_Server;AlbProv_FacProv_relation;AlbaranesProveedor_view;PedProv_AlbProv_relation;PedidosProveedor_view;PedidosProveedor_controller;AlbaranesProveedor_controller;Articulos_controller;AlbCli_FacCli_relation;FacturasCliente_view;PedProv_FacProv_relation;PreCli_FacCli_relation;PedidosProveedor_data;Contactos_controller" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="Clean">
|
<Target Name="Clean">
|
||||||
<CallTarget Targets="Base:Clean;GUIBase:Clean;ApplicationBase:Clean;Contactos_view:Clean;Articulos_view:Clean;FacturasProveedor_model:Clean;FacturasProveedor_data:Clean;FacturasProveedor_controller:Clean;FacturasProveedor_view:Clean;FacturasProveedor_plugin:Clean;FactuGES:Clean;FactuGES_Server:Clean;AlbProv_FacProv_relation:Clean;AlbaranesProveedor_view:Clean;PedProv_AlbProv_relation:Clean;PedidosProveedor_view:Clean;PedidosProveedor_controller:Clean;AlbaranesProveedor_controller:Clean;Articulos_controller:Clean;AlbCli_FacCli_relation:Clean;FacturasCliente_view:Clean;PedProv_FacProv_relation:Clean;PreCli_FacCli_relation:Clean;PedidosProveedor_data:Clean" />
|
<CallTarget Targets="Base:Clean;GUIBase:Clean;ApplicationBase:Clean;Contactos_view:Clean;Articulos_view:Clean;FacturasProveedor_model:Clean;FacturasProveedor_data:Clean;FacturasProveedor_controller:Clean;FacturasProveedor_view:Clean;FacturasProveedor_plugin:Clean;FactuGES:Clean;FactuGES_Server:Clean;AlbProv_FacProv_relation:Clean;AlbaranesProveedor_view:Clean;PedProv_AlbProv_relation:Clean;PedidosProveedor_view:Clean;PedidosProveedor_controller:Clean;AlbaranesProveedor_controller:Clean;Articulos_controller:Clean;AlbCli_FacCli_relation:Clean;FacturasCliente_view:Clean;PedProv_FacProv_relation:Clean;PreCli_FacCli_relation:Clean;PedidosProveedor_data:Clean;Contactos_controller:Clean" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="Make">
|
<Target Name="Make">
|
||||||
<CallTarget Targets="Base:Make;GUIBase:Make;ApplicationBase:Make;Contactos_view:Make;Articulos_view:Make;FacturasProveedor_model:Make;FacturasProveedor_data:Make;FacturasProveedor_controller:Make;FacturasProveedor_view:Make;FacturasProveedor_plugin:Make;FactuGES:Make;FactuGES_Server:Make;AlbProv_FacProv_relation:Make;AlbaranesProveedor_view:Make;PedProv_AlbProv_relation:Make;PedidosProveedor_view:Make;PedidosProveedor_controller:Make;AlbaranesProveedor_controller:Make;Articulos_controller:Make;AlbCli_FacCli_relation:Make;FacturasCliente_view:Make;PedProv_FacProv_relation:Make;PreCli_FacCli_relation:Make;PedidosProveedor_data:Make" />
|
<CallTarget Targets="Base:Make;GUIBase:Make;ApplicationBase:Make;Contactos_view:Make;Articulos_view:Make;FacturasProveedor_model:Make;FacturasProveedor_data:Make;FacturasProveedor_controller:Make;FacturasProveedor_view:Make;FacturasProveedor_plugin:Make;FactuGES:Make;FactuGES_Server:Make;AlbProv_FacProv_relation:Make;AlbaranesProveedor_view:Make;PedProv_AlbProv_relation:Make;PedidosProveedor_view:Make;PedidosProveedor_controller:Make;AlbaranesProveedor_controller:Make;Articulos_controller:Make;AlbCli_FacCli_relation:Make;FacturasCliente_view:Make;PedProv_FacProv_relation:Make;PreCli_FacCli_relation:Make;PedidosProveedor_data:Make;Contactos_controller:Make" />
|
||||||
</Target>
|
</Target>
|
||||||
<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\Borland.Group.Targets" />
|
<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\Borland.Group.Targets" />
|
||||||
</Project>
|
</Project>
|
||||||
@ -9,9 +9,9 @@ const
|
|||||||
{ Data table rules ids
|
{ Data table rules ids
|
||||||
Feel free to change them to something more human readable
|
Feel free to change them to something more human readable
|
||||||
but make sure they are unique in the context of your application }
|
but make sure they are unique in the context of your application }
|
||||||
RID_FacturasProveedor = '{EE9FBF74-DB1B-4B3C-93F6-B8A512067389}';
|
RID_FacturasProveedor = '{FF3B435F-FC16-4D50-A208-6783A0728850}';
|
||||||
RID_FacturasProveedor_Detalles = '{554F91EF-CCD5-46D5-9A25-64BDD41C19E6}';
|
RID_FacturasProveedor_Detalles = '{20EEDDBF-D1E1-4000-975B-D59C7740F875}';
|
||||||
RID_FacturasProveedor_Pedidos = '{3EE7B732-A5CB-47B3-BB5A-32CA6600E3C3}';
|
RID_FacturasProveedor_Pedidos = '{2875F854-3655-4217-910B-6D4DE734817F}';
|
||||||
|
|
||||||
{ Data table names }
|
{ Data table names }
|
||||||
nme_FacturasProveedor = 'FacturasProveedor';
|
nme_FacturasProveedor = 'FacturasProveedor';
|
||||||
@ -25,6 +25,7 @@ const
|
|||||||
fld_FacturasProveedorTIPO = 'TIPO';
|
fld_FacturasProveedorTIPO = 'TIPO';
|
||||||
fld_FacturasProveedorREFERENCIA_PROVEEDOR = 'REFERENCIA_PROVEEDOR';
|
fld_FacturasProveedorREFERENCIA_PROVEEDOR = 'REFERENCIA_PROVEEDOR';
|
||||||
fld_FacturasProveedorFECHA_FACTURA = 'FECHA_FACTURA';
|
fld_FacturasProveedorFECHA_FACTURA = 'FECHA_FACTURA';
|
||||||
|
fld_FacturasProveedorFECHA_VENCIMIENTO = 'FECHA_VENCIMIENTO';
|
||||||
fld_FacturasProveedorSITUACION = 'SITUACION';
|
fld_FacturasProveedorSITUACION = 'SITUACION';
|
||||||
fld_FacturasProveedorBASE_IMPONIBLE = 'BASE_IMPONIBLE';
|
fld_FacturasProveedorBASE_IMPONIBLE = 'BASE_IMPONIBLE';
|
||||||
fld_FacturasProveedorDESCUENTO = 'DESCUENTO';
|
fld_FacturasProveedorDESCUENTO = 'DESCUENTO';
|
||||||
@ -59,32 +60,33 @@ const
|
|||||||
idx_FacturasProveedorTIPO = 3;
|
idx_FacturasProveedorTIPO = 3;
|
||||||
idx_FacturasProveedorREFERENCIA_PROVEEDOR = 4;
|
idx_FacturasProveedorREFERENCIA_PROVEEDOR = 4;
|
||||||
idx_FacturasProveedorFECHA_FACTURA = 5;
|
idx_FacturasProveedorFECHA_FACTURA = 5;
|
||||||
idx_FacturasProveedorSITUACION = 6;
|
idx_FacturasProveedorFECHA_VENCIMIENTO = 6;
|
||||||
idx_FacturasProveedorBASE_IMPONIBLE = 7;
|
idx_FacturasProveedorSITUACION = 7;
|
||||||
idx_FacturasProveedorDESCUENTO = 8;
|
idx_FacturasProveedorBASE_IMPONIBLE = 8;
|
||||||
idx_FacturasProveedorIMPORTE_DESCUENTO = 9;
|
idx_FacturasProveedorDESCUENTO = 9;
|
||||||
idx_FacturasProveedorIVA = 10;
|
idx_FacturasProveedorIMPORTE_DESCUENTO = 10;
|
||||||
idx_FacturasProveedorIMPORTE_IVA = 11;
|
idx_FacturasProveedorIVA = 11;
|
||||||
idx_FacturasProveedorRE = 12;
|
idx_FacturasProveedorIMPORTE_IVA = 12;
|
||||||
idx_FacturasProveedorIMPORTE_RE = 13;
|
idx_FacturasProveedorRE = 13;
|
||||||
idx_FacturasProveedorIMPORTE_TOTAL = 14;
|
idx_FacturasProveedorIMPORTE_RE = 14;
|
||||||
idx_FacturasProveedorOBSERVACIONES = 15;
|
idx_FacturasProveedorIMPORTE_TOTAL = 15;
|
||||||
idx_FacturasProveedorID_PROVEEDOR = 16;
|
idx_FacturasProveedorOBSERVACIONES = 16;
|
||||||
idx_FacturasProveedorNIF_CIF = 17;
|
idx_FacturasProveedorID_PROVEEDOR = 17;
|
||||||
idx_FacturasProveedorNOMBRE = 18;
|
idx_FacturasProveedorNIF_CIF = 18;
|
||||||
idx_FacturasProveedorCALLE = 19;
|
idx_FacturasProveedorNOMBRE = 19;
|
||||||
idx_FacturasProveedorPOBLACION = 20;
|
idx_FacturasProveedorCALLE = 20;
|
||||||
idx_FacturasProveedorPROVINCIA = 21;
|
idx_FacturasProveedorPOBLACION = 21;
|
||||||
idx_FacturasProveedorCODIGO_POSTAL = 22;
|
idx_FacturasProveedorPROVINCIA = 22;
|
||||||
idx_FacturasProveedorFECHA_ALTA = 23;
|
idx_FacturasProveedorCODIGO_POSTAL = 23;
|
||||||
idx_FacturasProveedorFECHA_MODIFICACION = 24;
|
idx_FacturasProveedorFECHA_ALTA = 24;
|
||||||
idx_FacturasProveedorUSUARIO = 25;
|
idx_FacturasProveedorFECHA_MODIFICACION = 25;
|
||||||
idx_FacturasProveedorID_FORMA_PAGO = 26;
|
idx_FacturasProveedorUSUARIO = 26;
|
||||||
idx_FacturasProveedorRECARGO_EQUIVALENCIA = 27;
|
idx_FacturasProveedorID_FORMA_PAGO = 27;
|
||||||
idx_FacturasProveedorID_TIPO_IVA = 28;
|
idx_FacturasProveedorRECARGO_EQUIVALENCIA = 28;
|
||||||
idx_FacturasProveedorIMPORTE_NETO = 29;
|
idx_FacturasProveedorID_TIPO_IVA = 29;
|
||||||
idx_FacturasProveedorIMPORTE_PORTE = 30;
|
idx_FacturasProveedorIMPORTE_NETO = 30;
|
||||||
idx_FacturasProveedorDATOS_BANCARIOS = 31;
|
idx_FacturasProveedorIMPORTE_PORTE = 31;
|
||||||
|
idx_FacturasProveedorDATOS_BANCARIOS = 32;
|
||||||
|
|
||||||
{ FacturasProveedor_Detalles fields }
|
{ FacturasProveedor_Detalles fields }
|
||||||
fld_FacturasProveedor_DetallesID = 'ID';
|
fld_FacturasProveedor_DetallesID = 'ID';
|
||||||
@ -143,7 +145,7 @@ const
|
|||||||
type
|
type
|
||||||
{ IFacturasProveedor }
|
{ IFacturasProveedor }
|
||||||
IFacturasProveedor = interface(IDAStronglyTypedDataTable)
|
IFacturasProveedor = interface(IDAStronglyTypedDataTable)
|
||||||
['{2B8A31E0-CC1A-432A-8ED5-FF8718B38A4A}']
|
['{890AD02A-06A6-4529-91FE-5FDB296787A3}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -169,6 +171,10 @@ type
|
|||||||
procedure SetFECHA_FACTURAValue(const aValue: DateTime);
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime);
|
||||||
function GetFECHA_FACTURAIsNull: Boolean;
|
function GetFECHA_FACTURAIsNull: Boolean;
|
||||||
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean);
|
||||||
|
function GetFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
||||||
|
function GetFECHA_VENCIMIENTOIsNull: Boolean;
|
||||||
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
||||||
function GetSITUACIONValue: String;
|
function GetSITUACIONValue: String;
|
||||||
procedure SetSITUACIONValue(const aValue: String);
|
procedure SetSITUACIONValue(const aValue: String);
|
||||||
function GetSITUACIONIsNull: Boolean;
|
function GetSITUACIONIsNull: Boolean;
|
||||||
@ -287,6 +293,8 @@ type
|
|||||||
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
|
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
|
||||||
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
||||||
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
||||||
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
||||||
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
||||||
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
||||||
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
||||||
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
||||||
@ -372,6 +380,10 @@ type
|
|||||||
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
||||||
function GetFECHA_FACTURAIsNull: Boolean; virtual;
|
function GetFECHA_FACTURAIsNull: Boolean; virtual;
|
||||||
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOValue: DateTime; virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean); virtual;
|
||||||
function GetSITUACIONValue: String; virtual;
|
function GetSITUACIONValue: String; virtual;
|
||||||
procedure SetSITUACIONValue(const aValue: String); virtual;
|
procedure SetSITUACIONValue(const aValue: String); virtual;
|
||||||
function GetSITUACIONIsNull: Boolean; virtual;
|
function GetSITUACIONIsNull: Boolean; virtual;
|
||||||
@ -489,6 +501,8 @@ type
|
|||||||
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
|
property REFERENCIA_PROVEEDORIsNull: Boolean read GetREFERENCIA_PROVEEDORIsNull write SetREFERENCIA_PROVEEDORIsNull;
|
||||||
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
property FECHA_FACTURA: DateTime read GetFECHA_FACTURAValue write SetFECHA_FACTURAValue;
|
||||||
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
property FECHA_FACTURAIsNull: Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
||||||
|
property FECHA_VENCIMIENTO: DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
||||||
|
property FECHA_VENCIMIENTOIsNull: Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
||||||
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
||||||
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
property SITUACIONIsNull: Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
||||||
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
property BASE_IMPONIBLE: Currency read GetBASE_IMPONIBLEValue write SetBASE_IMPONIBLEValue;
|
||||||
@ -550,7 +564,7 @@ type
|
|||||||
|
|
||||||
{ IFacturasProveedor_Detalles }
|
{ IFacturasProveedor_Detalles }
|
||||||
IFacturasProveedor_Detalles = interface(IDAStronglyTypedDataTable)
|
IFacturasProveedor_Detalles = interface(IDAStronglyTypedDataTable)
|
||||||
['{719BD22D-DC5C-4EA5-83AD-3FE3BFCFACD8}']
|
['{84D37F36-0D2C-4509-83AC-5D2C4B5365DF}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -765,7 +779,7 @@ type
|
|||||||
|
|
||||||
{ IFacturasProveedor_Pedidos }
|
{ IFacturasProveedor_Pedidos }
|
||||||
IFacturasProveedor_Pedidos = interface(IDAStronglyTypedDataTable)
|
IFacturasProveedor_Pedidos = interface(IDAStronglyTypedDataTable)
|
||||||
['{0EF668B9-36CD-49D2-98AA-73BC8A470306}']
|
['{ABC0DDB3-7231-4FF1-8AB7-5C99F75F480D}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -1022,6 +1036,27 @@ begin
|
|||||||
DataTable.Fields[idx_FacturasProveedorFECHA_FACTURA].AsVariant := Null;
|
DataTable.Fields[idx_FacturasProveedorFECHA_FACTURA].AsVariant := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TFacturasProveedorDataTableRules.GetFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_FacturasProveedorFECHA_VENCIMIENTO].AsDateTime;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasProveedorDataTableRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
||||||
|
begin
|
||||||
|
DataTable.Fields[idx_FacturasProveedorFECHA_VENCIMIENTO].AsDateTime := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasProveedorDataTableRules.GetFECHA_VENCIMIENTOIsNull: boolean;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_FacturasProveedorFECHA_VENCIMIENTO].IsNull;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasProveedorDataTableRules.SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
DataTable.Fields[idx_FacturasProveedorFECHA_VENCIMIENTO].AsVariant := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TFacturasProveedorDataTableRules.GetSITUACIONValue: String;
|
function TFacturasProveedorDataTableRules.GetSITUACIONValue: String;
|
||||||
begin
|
begin
|
||||||
result := DataTable.Fields[idx_FacturasProveedorSITUACION].AsString;
|
result := DataTable.Fields[idx_FacturasProveedorSITUACION].AsString;
|
||||||
|
|||||||
@ -9,14 +9,14 @@ const
|
|||||||
{ Delta rules ids
|
{ Delta rules ids
|
||||||
Feel free to change them to something more human readable
|
Feel free to change them to something more human readable
|
||||||
but make sure they are unique in the context of your application }
|
but make sure they are unique in the context of your application }
|
||||||
RID_FacturasProveedorDelta = '{DEDF4BE8-84F9-4301-B8D1-EDA6D80F4806}';
|
RID_FacturasProveedorDelta = '{2730D1DB-B404-41F5-BAFB-3C04F5CE8911}';
|
||||||
RID_FacturasProveedor_DetallesDelta = '{5546A2C7-8888-4209-A16C-2CBD7F2F0445}';
|
RID_FacturasProveedor_DetallesDelta = '{9550F90F-A4DD-4C53-87E1-486C0B219348}';
|
||||||
RID_FacturasProveedor_PedidosDelta = '{46AB77BB-35CB-4499-8923-289831F40490}';
|
RID_FacturasProveedor_PedidosDelta = '{14838498-B2C3-4AF5-B92E-4B250F856A69}';
|
||||||
|
|
||||||
type
|
type
|
||||||
{ IFacturasProveedorDelta }
|
{ IFacturasProveedorDelta }
|
||||||
IFacturasProveedorDelta = interface(IFacturasProveedor)
|
IFacturasProveedorDelta = interface(IFacturasProveedor)
|
||||||
['{DEDF4BE8-84F9-4301-B8D1-EDA6D80F4806}']
|
['{2730D1DB-B404-41F5-BAFB-3C04F5CE8911}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_EMPRESAValue : Integer;
|
function GetOldID_EMPRESAValue : Integer;
|
||||||
@ -24,6 +24,7 @@ type
|
|||||||
function GetOldTIPOValue : String;
|
function GetOldTIPOValue : String;
|
||||||
function GetOldREFERENCIA_PROVEEDORValue : String;
|
function GetOldREFERENCIA_PROVEEDORValue : String;
|
||||||
function GetOldFECHA_FACTURAValue : DateTime;
|
function GetOldFECHA_FACTURAValue : DateTime;
|
||||||
|
function GetOldFECHA_VENCIMIENTOValue : DateTime;
|
||||||
function GetOldSITUACIONValue : String;
|
function GetOldSITUACIONValue : String;
|
||||||
function GetOldBASE_IMPONIBLEValue : Currency;
|
function GetOldBASE_IMPONIBLEValue : Currency;
|
||||||
function GetOldDESCUENTOValue : Float;
|
function GetOldDESCUENTOValue : Float;
|
||||||
@ -58,6 +59,7 @@ type
|
|||||||
property OldTIPO : String read GetOldTIPOValue;
|
property OldTIPO : String read GetOldTIPOValue;
|
||||||
property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
|
property OldREFERENCIA_PROVEEDOR : String read GetOldREFERENCIA_PROVEEDORValue;
|
||||||
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
||||||
|
property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue;
|
||||||
property OldSITUACION : String read GetOldSITUACIONValue;
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||||||
property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
|
property OldBASE_IMPONIBLE : Currency read GetOldBASE_IMPONIBLEValue;
|
||||||
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
property OldDESCUENTO : Float read GetOldDESCUENTOValue;
|
||||||
@ -129,6 +131,12 @@ type
|
|||||||
function GetOldFECHA_FACTURAIsNull: Boolean; virtual;
|
function GetOldFECHA_FACTURAIsNull: Boolean; virtual;
|
||||||
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
procedure SetFECHA_FACTURAValue(const aValue: DateTime); virtual;
|
||||||
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
procedure SetFECHA_FACTURAIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOValue: DateTime; virtual;
|
||||||
|
function GetFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
||||||
|
function GetOldFECHA_VENCIMIENTOValue: DateTime; virtual;
|
||||||
|
function GetOldFECHA_VENCIMIENTOIsNull: Boolean; virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOValue(const aValue: DateTime); virtual;
|
||||||
|
procedure SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean); virtual;
|
||||||
function GetSITUACIONValue: String; virtual;
|
function GetSITUACIONValue: String; virtual;
|
||||||
function GetSITUACIONIsNull: Boolean; virtual;
|
function GetSITUACIONIsNull: Boolean; virtual;
|
||||||
function GetOldSITUACIONValue: String; virtual;
|
function GetOldSITUACIONValue: String; virtual;
|
||||||
@ -310,6 +318,10 @@ type
|
|||||||
property FECHA_FACTURAIsNull : Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
property FECHA_FACTURAIsNull : Boolean read GetFECHA_FACTURAIsNull write SetFECHA_FACTURAIsNull;
|
||||||
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
property OldFECHA_FACTURA : DateTime read GetOldFECHA_FACTURAValue;
|
||||||
property OldFECHA_FACTURAIsNull : Boolean read GetOldFECHA_FACTURAIsNull;
|
property OldFECHA_FACTURAIsNull : Boolean read GetOldFECHA_FACTURAIsNull;
|
||||||
|
property FECHA_VENCIMIENTO : DateTime read GetFECHA_VENCIMIENTOValue write SetFECHA_VENCIMIENTOValue;
|
||||||
|
property FECHA_VENCIMIENTOIsNull : Boolean read GetFECHA_VENCIMIENTOIsNull write SetFECHA_VENCIMIENTOIsNull;
|
||||||
|
property OldFECHA_VENCIMIENTO : DateTime read GetOldFECHA_VENCIMIENTOValue;
|
||||||
|
property OldFECHA_VENCIMIENTOIsNull : Boolean read GetOldFECHA_VENCIMIENTOIsNull;
|
||||||
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
||||||
property SITUACIONIsNull : Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
property SITUACIONIsNull : Boolean read GetSITUACIONIsNull write SetSITUACIONIsNull;
|
||||||
property OldSITUACION : String read GetOldSITUACIONValue;
|
property OldSITUACION : String read GetOldSITUACIONValue;
|
||||||
@ -423,7 +435,7 @@ type
|
|||||||
|
|
||||||
{ IFacturasProveedor_DetallesDelta }
|
{ IFacturasProveedor_DetallesDelta }
|
||||||
IFacturasProveedor_DetallesDelta = interface(IFacturasProveedor_Detalles)
|
IFacturasProveedor_DetallesDelta = interface(IFacturasProveedor_Detalles)
|
||||||
['{5546A2C7-8888-4209-A16C-2CBD7F2F0445}']
|
['{9550F90F-A4DD-4C53-87E1-486C0B219348}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_FACTURAValue : Integer;
|
function GetOldID_FACTURAValue : Integer;
|
||||||
@ -637,7 +649,7 @@ type
|
|||||||
|
|
||||||
{ IFacturasProveedor_PedidosDelta }
|
{ IFacturasProveedor_PedidosDelta }
|
||||||
IFacturasProveedor_PedidosDelta = interface(IFacturasProveedor_Pedidos)
|
IFacturasProveedor_PedidosDelta = interface(IFacturasProveedor_Pedidos)
|
||||||
['{46AB77BB-35CB-4499-8923-289831F40490}']
|
['{14838498-B2C3-4AF5-B92E-4B250F856A69}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_FACTURAValue : Integer;
|
function GetOldID_FACTURAValue : Integer;
|
||||||
@ -954,6 +966,37 @@ begin
|
|||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_FACTURA] := Null;
|
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_FACTURA] := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TFacturasProveedorBusinessProcessorRules.GetFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasProveedorBusinessProcessorRules.GetFECHA_VENCIMIENTOIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasProveedorBusinessProcessorRules.GetOldFECHA_VENCIMIENTOValue: DateTime;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TFacturasProveedorBusinessProcessorRules.GetOldFECHA_VENCIMIENTOIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasProveedorBusinessProcessorRules.SetFECHA_VENCIMIENTOValue(const aValue: DateTime);
|
||||||
|
begin
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO] := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TFacturasProveedorBusinessProcessorRules.SetFECHA_VENCIMIENTOIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorFECHA_VENCIMIENTO] := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TFacturasProveedorBusinessProcessorRules.GetSITUACIONValue: String;
|
function TFacturasProveedorBusinessProcessorRules.GetSITUACIONValue: String;
|
||||||
begin
|
begin
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorSITUACION];
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_FacturasProveedorSITUACION];
|
||||||
|
|||||||
@ -150,6 +150,10 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
item
|
item
|
||||||
DatasetField = 'DATOS_BANCARIOS'
|
DatasetField = 'DATOS_BANCARIOS'
|
||||||
TableField = 'DATOS_BANCARIOS'
|
TableField = 'DATOS_BANCARIOS'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
DatasetField = 'FECHA_VENCIMIENTO'
|
||||||
|
TableField = 'FECHA_VENCIMIENTO'
|
||||||
end>
|
end>
|
||||||
end>
|
end>
|
||||||
Name = 'FacturasProveedor'
|
Name = 'FacturasProveedor'
|
||||||
@ -190,6 +194,11 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
DataType = datDateTime
|
DataType = datDateTime
|
||||||
DictionaryEntry = 'FacturasProveedor_FECHA_FACTURA'
|
DictionaryEntry = 'FacturasProveedor_FECHA_FACTURA'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
DataType = datDateTime
|
||||||
|
DisplayLabel = 'Fecha vto.'
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'SITUACION'
|
Name = 'SITUACION'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
@ -630,12 +639,6 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
end
|
end
|
||||||
item
|
item
|
||||||
Params = <
|
Params = <
|
||||||
item
|
|
||||||
Name = 'DATOS_BANCARIOS'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
Value = ''
|
|
||||||
end
|
|
||||||
item
|
item
|
||||||
Name = 'ID'
|
Name = 'ID'
|
||||||
DataType = datAutoInc
|
DataType = datAutoInc
|
||||||
@ -753,6 +756,14 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
item
|
item
|
||||||
Name = 'IMPORTE_PORTE'
|
Name = 'IMPORTE_PORTE'
|
||||||
Value = ''
|
Value = ''
|
||||||
|
end
|
||||||
|
item
|
||||||
|
Name = 'DATOS_BANCARIOS'
|
||||||
|
Value = ''
|
||||||
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
Value = ''
|
||||||
end>
|
end>
|
||||||
Statements = <
|
Statements = <
|
||||||
item
|
item
|
||||||
@ -767,14 +778,15 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
' NOMBRE, CALLE, POBLACION, PROVINCIA, CODIGO_POSTAL, '#10' FECH' +
|
' NOMBRE, CALLE, POBLACION, PROVINCIA, CODIGO_POSTAL, '#10' FECH' +
|
||||||
'A_ALTA, FECHA_MODIFICACION, USUARIO, ID_FORMA_PAGO, '#10' RECARG' +
|
'A_ALTA, FECHA_MODIFICACION, USUARIO, ID_FORMA_PAGO, '#10' RECARG' +
|
||||||
'O_EQUIVALENCIA, ID_TIPO_IVA, IMPORTE_NETO, IMPORTE_PORTE,'#10' D' +
|
'O_EQUIVALENCIA, ID_TIPO_IVA, IMPORTE_NETO, IMPORTE_PORTE,'#10' D' +
|
||||||
'ATOS_BANCARIOS)'#10' VALUES'#10' (:ID, :ID_EMPRESA, :REFERENCIA, :RE' +
|
'ATOS_BANCARIOS, FECHA_VENCIMIENTO)'#10' VALUES'#10' (:ID, :ID_EMPRES' +
|
||||||
'FERENCIA_PROVEEDOR,'#10' :FECHA_FACTURA, :BASE_IMPONIBLE, :DESCU' +
|
'A, :REFERENCIA, :REFERENCIA_PROVEEDOR,'#10' :FECHA_FACTURA, :BAS' +
|
||||||
'ENTO,'#10' :IMPORTE_DESCUENTO, :IVA, :IMPORTE_IVA, :RE, :IMPORTE' +
|
'E_IMPONIBLE, :DESCUENTO,'#10' :IMPORTE_DESCUENTO, :IVA, :IMPORTE' +
|
||||||
'_RE, '#10' :IMPORTE_TOTAL, :OBSERVACIONES, :ID_PROVEEDOR, :NIF_C' +
|
'_IVA, :RE, :IMPORTE_RE, '#10' :IMPORTE_TOTAL, :OBSERVACIONES, :I' +
|
||||||
'IF, '#10' :NOMBRE, :CALLE, :POBLACION, :PROVINCIA, :CODIGO_POSTA' +
|
'D_PROVEEDOR, :NIF_CIF, '#10' :NOMBRE, :CALLE, :POBLACION, :PROVI' +
|
||||||
'L, '#10' :FECHA_ALTA, :FECHA_MODIFICACION, :USUARIO, :ID_FORMA_P' +
|
'NCIA, :CODIGO_POSTAL, '#10' :FECHA_ALTA, :FECHA_MODIFICACION, :U' +
|
||||||
'AGO, '#10' :RECARGO_EQUIVALENCIA, :ID_TIPO_IVA, :IMPORTE_NETO, '#10 +
|
'SUARIO, :ID_FORMA_PAGO, '#10' :RECARGO_EQUIVALENCIA, :ID_TIPO_IV' +
|
||||||
' :IMPORTE_PORTE, :DATOS_BANCARIOS)'#10' '#10' '#10#10
|
'A, :IMPORTE_NETO, '#10' :IMPORTE_PORTE, :DATOS_BANCARIOS, :FECHA' +
|
||||||
|
'_VENCIMIENTO)'#10' '#10' '#10#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <>
|
ColumnMappings = <>
|
||||||
end>
|
end>
|
||||||
@ -801,12 +813,6 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
end
|
end
|
||||||
item
|
item
|
||||||
Params = <
|
Params = <
|
||||||
item
|
|
||||||
Name = 'DATOS_BANCARIOS'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
Value = ''
|
|
||||||
end
|
|
||||||
item
|
item
|
||||||
Name = 'ID'
|
Name = 'ID'
|
||||||
Value = ''
|
Value = ''
|
||||||
@ -923,6 +929,14 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
Name = 'IMPORTE_PORTE'
|
Name = 'IMPORTE_PORTE'
|
||||||
Value = ''
|
Value = ''
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'DATOS_BANCARIOS'
|
||||||
|
Value = ''
|
||||||
|
end
|
||||||
|
item
|
||||||
|
Name = 'FECHA_VENCIMIENTO'
|
||||||
|
Value = ''
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'OLD_ID'
|
Name = 'OLD_ID'
|
||||||
Value = ''
|
Value = ''
|
||||||
@ -948,8 +962,8 @@ object srvFacturasProveedor: TsrvFacturasProveedor
|
|||||||
' :USUARIO, '#10' ID_FORMA_PAGO = :ID_FORMA_PAGO, '#10' RECARGO_EQU' +
|
' :USUARIO, '#10' ID_FORMA_PAGO = :ID_FORMA_PAGO, '#10' RECARGO_EQU' +
|
||||||
'IVALENCIA = :RECARGO_EQUIVALENCIA, '#10' ID_TIPO_IVA = :ID_TIPO_I' +
|
'IVALENCIA = :RECARGO_EQUIVALENCIA, '#10' ID_TIPO_IVA = :ID_TIPO_I' +
|
||||||
'VA, '#10' IMPORTE_NETO = :IMPORTE_NETO, '#10' IMPORTE_PORTE = :IMP' +
|
'VA, '#10' IMPORTE_NETO = :IMPORTE_NETO, '#10' IMPORTE_PORTE = :IMP' +
|
||||||
'ORTE_PORTE,'#10' DATOS_BANCARIOS = :DATOS_BANCARIOS'#10' WHERE'#10' (' +
|
'ORTE_PORTE,'#10' DATOS_BANCARIOS = :DATOS_BANCARIOS,'#10' FECHA_VE' +
|
||||||
'ID = :OLD_ID)'#10
|
'NCIMIENTO = :FECHA_VENCIMIENTO'#10' WHERE'#10' (ID = :OLD_ID)'#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <>
|
ColumnMappings = <>
|
||||||
end>
|
end>
|
||||||
|
|||||||
@ -224,8 +224,12 @@ inherited fEditorFacturaProveedor: TfEditorFacturaProveedor
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 165
|
end
|
||||||
Width = 165
|
inherited edtFechaVencimiento: TcxDBDateEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -256,9 +260,22 @@ inherited fEditorFacturaProveedor: TfEditorFacturaProveedor
|
|||||||
Height = 51
|
Height = 51
|
||||||
ExplicitWidth = 805
|
ExplicitWidth = 805
|
||||||
ExplicitHeight = 51
|
ExplicitHeight = 51
|
||||||
inherited ToolButton14: TToolButton
|
inherited ToolButton3: TToolButton
|
||||||
Wrap = False
|
Wrap = False
|
||||||
end
|
end
|
||||||
|
inherited ToolButton4: TToolButton
|
||||||
|
Left = 278
|
||||||
|
Top = 0
|
||||||
|
ExplicitLeft = 278
|
||||||
|
ExplicitTop = 0
|
||||||
|
end
|
||||||
|
inherited ToolButton14: TToolButton
|
||||||
|
Left = 334
|
||||||
|
Top = 0
|
||||||
|
Wrap = False
|
||||||
|
ExplicitLeft = 334
|
||||||
|
ExplicitTop = 0
|
||||||
|
end
|
||||||
inherited FontName: TJvFontComboBox
|
inherited FontName: TJvFontComboBox
|
||||||
Left = 399
|
Left = 399
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -273,7 +290,13 @@ inherited fEditorFacturaProveedor: TfEditorFacturaProveedor
|
|||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
ExplicitWidth = 168
|
ExplicitWidth = 168
|
||||||
end
|
end
|
||||||
inherited ToolButton13: TToolButton [7]
|
inherited UpDown1: TUpDown
|
||||||
|
Left = 712
|
||||||
|
Top = 0
|
||||||
|
ExplicitLeft = 712
|
||||||
|
ExplicitTop = 0
|
||||||
|
end
|
||||||
|
inherited ToolButton13: TToolButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Wrap = True
|
Wrap = True
|
||||||
@ -281,54 +304,46 @@ inherited fEditorFacturaProveedor: TfEditorFacturaProveedor
|
|||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
ExplicitHeight = 27
|
ExplicitHeight = 27
|
||||||
end
|
end
|
||||||
inherited UpDown1: TUpDown [8]
|
inherited ToolButton6: TToolButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 0
|
ExplicitLeft = 0
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton6: TToolButton
|
|
||||||
Left = 17
|
|
||||||
Top = 27
|
|
||||||
ExplicitLeft = 17
|
|
||||||
ExplicitTop = 27
|
|
||||||
end
|
|
||||||
inherited ToolButton7: TToolButton
|
inherited ToolButton7: TToolButton
|
||||||
Left = 83
|
Left = 66
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 83
|
ExplicitLeft = 66
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton8: TToolButton
|
inherited ToolButton8: TToolButton
|
||||||
Left = 150
|
Left = 133
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 150
|
ExplicitLeft = 133
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton12: TToolButton
|
inherited ToolButton12: TToolButton
|
||||||
Left = 233
|
Left = 216
|
||||||
Top = 27
|
Top = 27
|
||||||
Wrap = False
|
ExplicitLeft = 216
|
||||||
ExplicitLeft = 233
|
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
ExplicitHeight = 22
|
|
||||||
end
|
end
|
||||||
inherited ToolButton9: TToolButton
|
inherited ToolButton9: TToolButton
|
||||||
Left = 241
|
Left = 224
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 241
|
ExplicitLeft = 224
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton10: TToolButton
|
inherited ToolButton10: TToolButton
|
||||||
Left = 386
|
Left = 369
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 386
|
ExplicitLeft = 369
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton11: TToolButton
|
inherited ToolButton11: TToolButton
|
||||||
Left = 511
|
Left = 494
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 511
|
ExplicitLeft = 494
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -41,6 +41,7 @@ type
|
|||||||
procedure frViewTotales1ePortePropertiesValidate(Sender: TObject;
|
procedure frViewTotales1ePortePropertiesValidate(Sender: TObject;
|
||||||
var DisplayValue: Variant; var ErrorText: TCaption; var Error: Boolean);
|
var DisplayValue: Variant; var ErrorText: TCaption; var Error: Boolean);
|
||||||
procedure frViewTotales1ePorteEditing(Sender: TObject; var CanEdit: Boolean);
|
procedure frViewTotales1ePorteEditing(Sender: TObject; var CanEdit: Boolean);
|
||||||
|
|
||||||
private
|
private
|
||||||
procedure RecalcularPortePorUnidad;
|
procedure RecalcularPortePorUnidad;
|
||||||
|
|
||||||
@ -373,7 +374,7 @@ begin
|
|||||||
|
|
||||||
if Assigned(FController) then
|
if Assigned(FController) then
|
||||||
begin
|
begin
|
||||||
frViewFacturaProveedor1.frViewProveedorFactura.Controller := Controller.ProveedorController;
|
ViewFacturaProveedor.Controller := Controller;
|
||||||
frViewDetallesFacturaProveedor1.Controller := Controller.DetallesController;
|
frViewDetallesFacturaProveedor1.Controller := Controller.DetallesController;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
||||||
Width = 451
|
Width = 687
|
||||||
Height = 304
|
Height = 304
|
||||||
Align = alClient
|
Align = alClient
|
||||||
OnCreate = CustomViewCreate
|
OnCreate = CustomViewCreate
|
||||||
@ -9,7 +9,7 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
object dxLayoutControl1: TdxLayoutControl
|
object dxLayoutControl1: TdxLayoutControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 451
|
Width = 687
|
||||||
Height = 304
|
Height = 304
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
@ -17,8 +17,9 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
TabStop = False
|
TabStop = False
|
||||||
AutoContentSizes = [acsWidth, acsHeight]
|
AutoContentSizes = [acsWidth, acsHeight]
|
||||||
LookAndFeel = dxLayoutOfficeLookAndFeel1
|
LookAndFeel = dxLayoutOfficeLookAndFeel1
|
||||||
|
ExplicitWidth = 451
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
451
|
687
|
||||||
304)
|
304)
|
||||||
object eReferencia: TcxDBTextEdit
|
object eReferencia: TcxDBTextEdit
|
||||||
Left = 136
|
Left = 136
|
||||||
@ -72,7 +73,7 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
end
|
end
|
||||||
object memObservaciones: TcxDBMemo
|
object memObservaciones: TcxDBMemo
|
||||||
Left = 22
|
Left = 22
|
||||||
Top = 191
|
Top = 242
|
||||||
Anchors = [akLeft, akTop, akRight, akBottom]
|
Anchors = [akLeft, akTop, akRight, akBottom]
|
||||||
DataBinding.DataField = 'OBSERVACIONES'
|
DataBinding.DataField = 'OBSERVACIONES'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
@ -88,13 +89,13 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 6
|
TabOrder = 7
|
||||||
Height = 159
|
Height = 159
|
||||||
Width = 301
|
Width = 301
|
||||||
end
|
end
|
||||||
object cbFormaPago: TcxDBLookupComboBox
|
object cbFormaPago: TcxDBLookupComboBox
|
||||||
Left = 136
|
Left = 136
|
||||||
Top = 111
|
Top = 135
|
||||||
DataBinding.DataField = 'ID_FORMA_PAGO'
|
DataBinding.DataField = 'ID_FORMA_PAGO'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
Properties.ImmediatePost = True
|
Properties.ImmediatePost = True
|
||||||
@ -107,6 +108,7 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
Properties.ListOptions.ShowHeader = False
|
Properties.ListOptions.ShowHeader = False
|
||||||
Properties.ListOptions.SyncMode = True
|
Properties.ListOptions.SyncMode = True
|
||||||
Properties.ListSource = dsFormaPago
|
Properties.ListSource = dsFormaPago
|
||||||
|
Properties.OnEditValueChanged = cbFormaPagoPropertiesEditValueChanged
|
||||||
Style.BorderColor = clWindowFrame
|
Style.BorderColor = clWindowFrame
|
||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
@ -128,8 +130,8 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
Width = 78
|
Width = 78
|
||||||
end
|
end
|
||||||
object bFormasPago: TButton
|
object bFormasPago: TButton
|
||||||
Left = 162
|
Left = 204
|
||||||
Top = 111
|
Top = 135
|
||||||
Width = 132
|
Width = 132
|
||||||
Height = 23
|
Height = 23
|
||||||
Caption = 'Ver las formas de pago...'
|
Caption = 'Ver las formas de pago...'
|
||||||
@ -161,7 +163,7 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
Width = 158
|
Width = 158
|
||||||
end
|
end
|
||||||
inline frViewProveedorFactura: TfrViewDatosYSeleccionProveedor
|
inline frViewProveedorFactura: TfrViewDatosYSeleccionProveedor
|
||||||
Left = 322
|
Left = 364
|
||||||
Top = 30
|
Top = 30
|
||||||
Width = 350
|
Width = 350
|
||||||
Height = 202
|
Height = 202
|
||||||
@ -171,9 +173,9 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
Font.Name = 'Tahoma'
|
Font.Name = 'Tahoma'
|
||||||
Font.Style = []
|
Font.Style = []
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 7
|
TabOrder = 8
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 322
|
ExplicitLeft = 364
|
||||||
ExplicitTop = 30
|
ExplicitTop = 30
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
inherited edtlNombre: TcxDBTextEdit
|
inherited edtlNombre: TcxDBTextEdit
|
||||||
@ -215,25 +217,26 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
Width = 327
|
Width = 327
|
||||||
end
|
end
|
||||||
inherited edtCodigoPostal: TcxDBTextEdit
|
inherited edtCodigoPostal: TcxDBTextEdit
|
||||||
Left = 203
|
Left = 209
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 203
|
ExplicitLeft = 209
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 87
|
Left = 93
|
||||||
ExplicitLeft = 87
|
ExplicitLeft = 93
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object cbCuentaBancaria: TcxDBComboBox
|
object cbCuentaBancaria: TcxDBComboBox
|
||||||
Left = 136
|
Left = 136
|
||||||
Top = 140
|
Top = 191
|
||||||
DataBinding.DataField = 'DATOS_BANCARIOS'
|
DataBinding.DataField = 'DATOS_BANCARIOS'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
Properties.DropDownListStyle = lsFixedList
|
Properties.DropDownListStyle = lsFixedList
|
||||||
|
Properties.DropDownRows = 12
|
||||||
Properties.ImmediatePost = True
|
Properties.ImmediatePost = True
|
||||||
Properties.ImmediateUpdateText = True
|
Properties.ImmediateUpdateText = True
|
||||||
Properties.PostPopupValueOnTab = True
|
Properties.PostPopupValueOnTab = True
|
||||||
@ -246,9 +249,34 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 5
|
TabOrder = 6
|
||||||
Width = 165
|
Width = 165
|
||||||
end
|
end
|
||||||
|
object edtFechaVencimiento: TcxDBDateEdit
|
||||||
|
Left = 136
|
||||||
|
Top = 164
|
||||||
|
Anchors = [akLeft, akTop, akRight]
|
||||||
|
DataBinding.DataField = 'FECHA_VENCIMIENTO'
|
||||||
|
DataBinding.DataSource = DADataSource
|
||||||
|
Style.BorderColor = clWindowFrame
|
||||||
|
Style.BorderStyle = ebs3D
|
||||||
|
Style.Color = clInfoBk
|
||||||
|
Style.HotTrack = False
|
||||||
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
Style.Shadow = False
|
||||||
|
Style.ButtonStyle = bts3D
|
||||||
|
Style.ButtonTransparency = ebtNone
|
||||||
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
TabOrder = 5
|
||||||
|
Width = 251
|
||||||
|
end
|
||||||
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
object dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
Hidden = True
|
Hidden = True
|
||||||
@ -279,11 +307,14 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
Control = edtFecha
|
Control = edtFecha
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
object dxLayoutControl1Group7: TdxLayoutGroup
|
||||||
|
Caption = 'Forma de pago'
|
||||||
object dxLayoutControl1Group3: TdxLayoutGroup
|
object dxLayoutControl1Group3: TdxLayoutGroup
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
object dxLayoutControl1Group4: TdxLayoutGroup
|
object dxLayoutControl1Group8: TdxLayoutGroup
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
Hidden = True
|
Hidden = True
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
@ -301,12 +332,17 @@ inherited frViewFacturaProveedor: TfrViewFacturaProveedor
|
|||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Item7: TdxLayoutItem
|
object ledtFechaVencimiento: TdxLayoutItem
|
||||||
Caption = 'Cuenta bancaria:'
|
Caption = 'Fecha vencimiento:'
|
||||||
Control = cbCuentaBancaria
|
Control = edtFechaVencimiento
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
object dxLayoutControl1Item7: TdxLayoutItem
|
||||||
|
Caption = 'Cuenta bancaria:'
|
||||||
|
Control = cbCuentaBancaria
|
||||||
|
ControlOptions.ShowBorder = False
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object dxLayoutControl1Group5: TdxLayoutGroup
|
object dxLayoutControl1Group5: TdxLayoutGroup
|
||||||
AutoAligns = [aaHorizontal]
|
AutoAligns = [aaHorizontal]
|
||||||
|
|||||||
@ -10,7 +10,7 @@ uses
|
|||||||
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, StdCtrls, Mask,
|
cxMemo, cxMaskEdit, cxDropDownEdit, cxCalendar, cxSpinEdit, StdCtrls, Mask,
|
||||||
DBCtrls, cxGraphics, dxLayoutLookAndFeels, cxLookupEdit, cxDBLookupEdit,
|
DBCtrls, cxGraphics, dxLayoutLookAndFeels, cxLookupEdit, cxDBLookupEdit,
|
||||||
cxDBLookupComboBox, uFormasPagoController, uViewDatosYSeleccionProveedor,
|
cxDBLookupComboBox, uFormasPagoController, uViewDatosYSeleccionProveedor,
|
||||||
uDAInterfaces, uBizFormasPago;
|
uDAInterfaces, uBizFormasPago, uFacturasProveedorController;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewFacturaProveedor = interface(IViewBase)
|
IViewFacturaProveedor = interface(IViewBase)
|
||||||
@ -18,6 +18,9 @@ type
|
|||||||
function GetFactura: IBizFacturaProveedor;
|
function GetFactura: IBizFacturaProveedor;
|
||||||
procedure SetFactura(const Value: IBizFacturaProveedor);
|
procedure SetFactura(const Value: IBizFacturaProveedor);
|
||||||
property Factura: IBizFacturaProveedor read GetFactura write SetFactura;
|
property Factura: IBizFacturaProveedor read GetFactura write SetFactura;
|
||||||
|
function GetController : IFacturasProveedorController;
|
||||||
|
procedure SetController (const Value : IFacturasProveedorController);
|
||||||
|
property Controller : IFacturasProveedorController read GetController write SetController;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TfrViewFacturaProveedor = class(TfrViewBase, IViewFacturaProveedor)
|
TfrViewFacturaProveedor = class(TfrViewBase, IViewFacturaProveedor)
|
||||||
@ -40,7 +43,6 @@ type
|
|||||||
cbFormaPago: TcxDBLookupComboBox;
|
cbFormaPago: TcxDBLookupComboBox;
|
||||||
dxLayoutControl1Item10: TdxLayoutItem;
|
dxLayoutControl1Item10: TdxLayoutItem;
|
||||||
bFormasPago: TButton;
|
bFormasPago: TButton;
|
||||||
dxLayoutControl1Group3: TdxLayoutGroup;
|
|
||||||
dxLayoutControl1Group6: TdxLayoutGroup;
|
dxLayoutControl1Group6: TdxLayoutGroup;
|
||||||
dxLayoutControl1Item6: TdxLayoutItem;
|
dxLayoutControl1Item6: TdxLayoutItem;
|
||||||
eReferenciaProveedor: TcxDBTextEdit;
|
eReferenciaProveedor: TcxDBTextEdit;
|
||||||
@ -48,21 +50,32 @@ type
|
|||||||
frViewProveedorFactura: TfrViewDatosYSeleccionProveedor;
|
frViewProveedorFactura: TfrViewDatosYSeleccionProveedor;
|
||||||
dxLayoutControl1Item7: TdxLayoutItem;
|
dxLayoutControl1Item7: TdxLayoutItem;
|
||||||
cbCuentaBancaria: TcxDBComboBox;
|
cbCuentaBancaria: TcxDBComboBox;
|
||||||
dxLayoutControl1Group4: TdxLayoutGroup;
|
dxLayoutControl1Group7: TdxLayoutGroup;
|
||||||
|
dxLayoutControl1Group3: TdxLayoutGroup;
|
||||||
|
ledtFechaVencimiento: TdxLayoutItem;
|
||||||
|
edtFechaVencimiento: TcxDBDateEdit;
|
||||||
|
dxLayoutControl1Group8: TdxLayoutGroup;
|
||||||
procedure bFormasPagoClick(Sender: TObject);
|
procedure bFormasPagoClick(Sender: TObject);
|
||||||
procedure CustomViewDestroy(Sender: TObject);
|
procedure CustomViewDestroy(Sender: TObject);
|
||||||
procedure CustomViewCreate(Sender: TObject);
|
procedure CustomViewCreate(Sender: TObject);
|
||||||
procedure frViewProveedorFacturaButton1Click(Sender: TObject);
|
procedure frViewProveedorFacturaButton1Click(Sender: TObject);
|
||||||
procedure frViewProveedorFacturaButton2Click(Sender: TObject);
|
procedure frViewProveedorFacturaButton2Click(Sender: TObject);
|
||||||
|
procedure cbFormaPagoPropertiesEditValueChanged(Sender: TObject);
|
||||||
|
|
||||||
protected
|
protected
|
||||||
FFactura : IBizFacturaProveedor;
|
FFactura : IBizFacturaProveedor;
|
||||||
|
FController : IFacturasProveedorController;
|
||||||
FFormasPago : IBizFormaPago;
|
FFormasPago : IBizFormaPago;
|
||||||
FFormasPagoController : IFormasPagoController;
|
FFormasPagoController : IFormasPagoController;
|
||||||
function GetFactura: IBizFacturaProveedor;
|
function GetFactura: IBizFacturaProveedor;
|
||||||
procedure SetFactura(const Value: IBizFacturaProveedor);
|
procedure SetFactura(const Value: IBizFacturaProveedor);
|
||||||
|
function GetController : IFacturasProveedorController;
|
||||||
|
procedure SetController (const Value : IFacturasProveedorController);
|
||||||
procedure RellenarCuentasBancarias;
|
procedure RellenarCuentasBancarias;
|
||||||
|
|
||||||
public
|
public
|
||||||
property Factura: IBizFacturaProveedor read GetFactura write SetFactura;
|
property Factura: IBizFacturaProveedor read GetFactura write SetFactura;
|
||||||
|
property Controller : IFacturasProveedorController read GetController write SetController;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -83,6 +96,17 @@ begin
|
|||||||
FFormasPagoController.VerTodos(FFormasPago);
|
FFormasPagoController.VerTodos(FFormasPago);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewFacturaProveedor.cbFormaPagoPropertiesEditValueChanged(
|
||||||
|
Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
if Assigned(FFormasPago) then
|
||||||
|
if (FFormasPago.Plazos.RecordCount = 0) then
|
||||||
|
ledtFechaVencimiento.Enabled := True
|
||||||
|
else
|
||||||
|
ledtFechaVencimiento.Enabled := False;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewFacturaProveedor.CustomViewCreate(Sender: TObject);
|
procedure TfrViewFacturaProveedor.CustomViewCreate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
@ -121,6 +145,11 @@ begin
|
|||||||
frViewProveedorFactura.actAnadirContacto.Execute;
|
frViewProveedorFactura.actAnadirContacto.Execute;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TfrViewFacturaProveedor.GetController: IFacturasProveedorController;
|
||||||
|
begin
|
||||||
|
Result := FController;
|
||||||
|
end;
|
||||||
|
|
||||||
function TfrViewFacturaProveedor.GetFactura: IBizFacturaProveedor;
|
function TfrViewFacturaProveedor.GetFactura: IBizFacturaProveedor;
|
||||||
begin
|
begin
|
||||||
Result := FFactura;
|
Result := FFactura;
|
||||||
@ -131,12 +160,15 @@ var
|
|||||||
AController : IEmpresasController;
|
AController : IEmpresasController;
|
||||||
ALista : TStringList;
|
ALista : TStringList;
|
||||||
AListaIBAN : TStringList;
|
AListaIBAN : TStringList;
|
||||||
|
AListaProveedor : TStringList;
|
||||||
i : integer;
|
i : integer;
|
||||||
begin
|
begin
|
||||||
AController := TEmpresasController.Create;
|
AController := TEmpresasController.Create;
|
||||||
try
|
try
|
||||||
ALista := AController.DarListaCuentasBancarias(AppFactuGES.EmpresaActiva);
|
ALista := AController.DarListaCuentasBancarias(AppFactuGES.EmpresaActiva);
|
||||||
AListaIBAN := AController.DarListaCuentasBancariasIBAN(AppFactuGES.EmpresaActiva);
|
AListaIBAN := AController.DarListaCuentasBancariasIBAN(AppFactuGES.EmpresaActiva);
|
||||||
|
AListaProveedor := Controller.ProveedorController.DarListaCuentasBancarias(FFactura.ID_PROVEEDOR);
|
||||||
|
|
||||||
try
|
try
|
||||||
with cbCuentaBancaria.Properties.Items do
|
with cbCuentaBancaria.Properties.Items do
|
||||||
begin
|
begin
|
||||||
@ -153,6 +185,14 @@ begin
|
|||||||
for i := 0 to AListaIBAN.Count - 1 do
|
for i := 0 to AListaIBAN.Count - 1 do
|
||||||
Add(AListaIBAN.Names[i]);
|
Add(AListaIBAN.Names[i]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if AListaProveedor.Count > 0 then
|
||||||
|
begin
|
||||||
|
Add('--------------');
|
||||||
|
for i := 0 to AListaProveedor.Count - 1 do
|
||||||
|
Add(AListaProveedor.Names[i]);
|
||||||
|
end;
|
||||||
|
|
||||||
finally
|
finally
|
||||||
EndUpdate;
|
EndUpdate;
|
||||||
end;
|
end;
|
||||||
@ -166,6 +206,14 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewFacturaProveedor.SetController(const Value: IFacturasProveedorController);
|
||||||
|
begin
|
||||||
|
FController := Value;
|
||||||
|
|
||||||
|
if Assigned(FController) then
|
||||||
|
frViewProveedorFactura.Controller := Controller.ProveedorController;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewFacturaProveedor.SetFactura(const Value: IBizFacturaProveedor);
|
procedure TfrViewFacturaProveedor.SetFactura(const Value: IBizFacturaProveedor);
|
||||||
begin
|
begin
|
||||||
FFactura := Value;
|
FFactura := Value;
|
||||||
@ -180,6 +228,13 @@ begin
|
|||||||
dsFormaPago.DataTable := FFormasPago.DataTable;
|
dsFormaPago.DataTable := FFormasPago.DataTable;
|
||||||
dsFormaPago.DataTable.Active := True;
|
dsFormaPago.DataTable.Active := True;
|
||||||
|
|
||||||
|
//Posicionamos la tabla en la forma de pago que tiene la factura ya que no lo hace el componente por si solo
|
||||||
|
FFormasPago.DataTable.Locate(fld_FacturasProveedorID, FFactura.ID_FORMA_PAGO, []);
|
||||||
|
if (FFormasPago.Plazos.RecordCount = 0) then
|
||||||
|
ledtFechaVencimiento.Enabled := True
|
||||||
|
else
|
||||||
|
ledtFechaVencimiento.Enabled := False;
|
||||||
|
|
||||||
if FFactura.TIPO = CTE_TIPO_ABONO then
|
if FFactura.TIPO = CTE_TIPO_ABONO then
|
||||||
begin
|
begin
|
||||||
dxLayoutControl1Item2.Caption := 'Fecha del abono:';
|
dxLayoutControl1Item2.Caption := 'Fecha del abono:';
|
||||||
|
|||||||
@ -142,7 +142,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
function TDataModuleGestorInformes.GenerarInformeListadoPresupuestos(
|
function TDataModuleGestorInformes.GenerarInformeListadoPresupuestos(
|
||||||
const IdEmpresa: Integer; const FechaInicio, FechaFin: TDateTime;
|
const IdEmpresa: Integer; const FechaInicio, FechaFin: Variant;
|
||||||
const ListaIDClientes: TIntegerArray; const Desglosado: Boolean;
|
const ListaIDClientes: TIntegerArray; const Desglosado: Boolean;
|
||||||
const ImporteMinimo: Currency): Binary;
|
const ImporteMinimo: Currency): Binary;
|
||||||
begin
|
begin
|
||||||
|
|||||||
@ -66,23 +66,11 @@ inherited fEditorInformePedidosReport: TfEditorInformePedidosReport
|
|||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 188
|
ExplicitWidth = 188
|
||||||
ExplicitHeight = 136
|
ExplicitHeight = 136
|
||||||
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
|
||||||
Width = 182
|
|
||||||
ExplicitWidth = 182
|
|
||||||
inherited cbPeriodo: TcxComboBox
|
|
||||||
Style.LookAndFeel.SkinName = ''
|
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
|
||||||
ExplicitWidth = 153
|
|
||||||
Width = 153
|
|
||||||
end
|
|
||||||
end
|
|
||||||
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
|
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
|
||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -100,11 +88,48 @@ inherited fEditorInformePedidosReport: TfEditorInformePedidosReport
|
|||||||
ExplicitWidth = 97
|
ExplicitWidth = 97
|
||||||
Width = 97
|
Width = 97
|
||||||
end
|
end
|
||||||
|
inherited cbPeriodo: TcxComboBox
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited TBXLabel2: TTBXLabel
|
inherited TBXLabel2: TTBXLabel
|
||||||
Width = 188
|
Width = 188
|
||||||
ExplicitWidth = 188
|
ExplicitWidth = 188
|
||||||
end
|
end
|
||||||
|
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
|
||||||
|
Width = 182
|
||||||
|
ExplicitWidth = 182
|
||||||
|
inherited Label4: TLabel
|
||||||
|
Width = 172
|
||||||
|
end
|
||||||
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 99
|
||||||
|
Width = 99
|
||||||
|
end
|
||||||
|
inherited edtFechaVenIni: TcxDateEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 97
|
||||||
|
Width = 97
|
||||||
|
end
|
||||||
|
inherited cbPeriodo2: TcxComboBox
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 166
|
||||||
|
Width = 166
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited TBXDockablePanel1: TTBXDockablePanel
|
inherited TBXDockablePanel1: TTBXDockablePanel
|
||||||
Top = 368
|
Top = 368
|
||||||
|
|||||||
@ -25,8 +25,8 @@ type
|
|||||||
procedure actRefrescarExecute(Sender: TObject);
|
procedure actRefrescarExecute(Sender: TObject);
|
||||||
private
|
private
|
||||||
FListaIDProveedores: TIntegerArray;
|
FListaIDProveedores: TIntegerArray;
|
||||||
function GetFechaFin: TDateTime;
|
function GetFechaFin: Variant;
|
||||||
function GetFechaInicio: TDateTime;
|
function GetFechaInicio: Variant;
|
||||||
function GetListaIDProveedores: TIntegerArray;
|
function GetListaIDProveedores: TIntegerArray;
|
||||||
function GetImporteMinimo: Currency;
|
function GetImporteMinimo: Currency;
|
||||||
function GetDesglosadoProveedor: Boolean;
|
function GetDesglosadoProveedor: Boolean;
|
||||||
@ -34,8 +34,8 @@ type
|
|||||||
procedure RefrescarInforme;
|
procedure RefrescarInforme;
|
||||||
|
|
||||||
public
|
public
|
||||||
property FechaInicio: TDateTime read GetFechaInicio;
|
property FechaInicio: Variant read GetFechaInicio;
|
||||||
property FechaFin: TDateTime read GetFechaFin;
|
property FechaFin: Variant read GetFechaFin;
|
||||||
property ListaIDProveedores: TIntegerArray read GetListaIDProveedores;
|
property ListaIDProveedores: TIntegerArray read GetListaIDProveedores;
|
||||||
property DesglosadoProveedor: Boolean read GetDesglosadoProveedor;
|
property DesglosadoProveedor: Boolean read GetDesglosadoProveedor;
|
||||||
property ImporteMinimo: Currency read GetImporteMinimo;
|
property ImporteMinimo: Currency read GetImporteMinimo;
|
||||||
@ -79,14 +79,14 @@ begin
|
|||||||
Result := False;
|
Result := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformePedidosReport.GetFechaFin: TDateTime;
|
function TfEditorInformePedidosReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.Date;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformePedidosReport.GetFechaInicio: TDateTime;
|
function TfEditorInformePedidosReport.GetFechaInicio: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaIni.Date;
|
Result := frViewPeriodoFechas1.edtFechaIni.EditValue;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformePedidosReport.GetImporteMinimo: Currency;
|
function TfEditorInformePedidosReport.GetImporteMinimo: Currency;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -104,8 +104,6 @@ uses
|
|||||||
schPedidosProveedorClient_Intf in '..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorClient_Intf.pas',
|
schPedidosProveedorClient_Intf in '..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorClient_Intf.pas',
|
||||||
schPedidosProveedorServer_Intf in '..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorServer_Intf.pas',
|
schPedidosProveedorServer_Intf in '..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorServer_Intf.pas',
|
||||||
srvGestorDocumentos_Impl in '..\Modulos\Gestion de documentos\Servidor\srvGestorDocumentos_Impl.pas' {srvGestorDocumentos: TDataAbstractService},
|
srvGestorDocumentos_Impl in '..\Modulos\Gestion de documentos\Servidor\srvGestorDocumentos_Impl.pas' {srvGestorDocumentos: TDataAbstractService},
|
||||||
schFacturasProveedorClient_Intf in '..\Modulos\Facturas de proveedor\Model\schFacturasProveedorClient_Intf.pas',
|
|
||||||
schFacturasProveedorServer_Intf in '..\Modulos\Facturas de proveedor\Model\schFacturasProveedorServer_Intf.pas',
|
|
||||||
schInventarioClient_Intf in '..\Modulos\Inventario\Model\schInventarioClient_Intf.pas',
|
schInventarioClient_Intf in '..\Modulos\Inventario\Model\schInventarioClient_Intf.pas',
|
||||||
schInventarioServer_Intf in '..\Modulos\Inventario\Model\schInventarioServer_Intf.pas',
|
schInventarioServer_Intf in '..\Modulos\Inventario\Model\schInventarioServer_Intf.pas',
|
||||||
schHistoricoMovimientosClient_Intf in '..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosClient_Intf.pas',
|
schHistoricoMovimientosClient_Intf in '..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosClient_Intf.pas',
|
||||||
@ -114,8 +112,6 @@ uses
|
|||||||
schAlbaranesClienteServer_Intf in '..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteServer_Intf.pas',
|
schAlbaranesClienteServer_Intf in '..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteServer_Intf.pas',
|
||||||
schAlbaranesProveedorClient_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorClient_Intf.pas',
|
schAlbaranesProveedorClient_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorClient_Intf.pas',
|
||||||
schAlbaranesProveedorServer_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorServer_Intf.pas',
|
schAlbaranesProveedorServer_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorServer_Intf.pas',
|
||||||
schFacturasClienteClient_Intf in '..\Modulos\Facturas de cliente\Model\schFacturasClienteClient_Intf.pas',
|
|
||||||
schFacturasClienteServer_Intf in '..\Modulos\Facturas de cliente\Model\schFacturasClienteServer_Intf.pas',
|
|
||||||
schUsuariosClient_Intf in '..\ApplicationBase\Usuarios\Model\schUsuariosClient_Intf.pas',
|
schUsuariosClient_Intf in '..\ApplicationBase\Usuarios\Model\schUsuariosClient_Intf.pas',
|
||||||
schUsuariosServer_Intf in '..\ApplicationBase\Usuarios\Model\schUsuariosServer_Intf.pas',
|
schUsuariosServer_Intf in '..\ApplicationBase\Usuarios\Model\schUsuariosServer_Intf.pas',
|
||||||
schContactosClient_Intf in '..\Modulos\Contactos\Model\schContactosClient_Intf.pas',
|
schContactosClient_Intf in '..\Modulos\Contactos\Model\schContactosClient_Intf.pas',
|
||||||
@ -132,7 +128,11 @@ uses
|
|||||||
schPresupuestosClienteClient_Intf in '..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteClient_Intf.pas',
|
schPresupuestosClienteClient_Intf in '..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteClient_Intf.pas',
|
||||||
schPresupuestosClienteServer_Intf in '..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteServer_Intf.pas',
|
schPresupuestosClienteServer_Intf in '..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteServer_Intf.pas',
|
||||||
schEmpresasClient_Intf in '..\ApplicationBase\Empresas\Model\schEmpresasClient_Intf.pas',
|
schEmpresasClient_Intf in '..\ApplicationBase\Empresas\Model\schEmpresasClient_Intf.pas',
|
||||||
schEmpresasServer_Intf in '..\ApplicationBase\Empresas\Model\schEmpresasServer_Intf.pas';
|
schEmpresasServer_Intf in '..\ApplicationBase\Empresas\Model\schEmpresasServer_Intf.pas',
|
||||||
|
schFacturasProveedorClient_Intf in '..\Modulos\Facturas de proveedor\Model\schFacturasProveedorClient_Intf.pas',
|
||||||
|
schFacturasProveedorServer_Intf in '..\Modulos\Facturas de proveedor\Model\schFacturasProveedorServer_Intf.pas',
|
||||||
|
schFacturasClienteClient_Intf in '..\Modulos\Facturas de cliente\Model\schFacturasClienteClient_Intf.pas',
|
||||||
|
schFacturasClienteServer_Intf in '..\Modulos\Facturas de cliente\Model\schFacturasClienteServer_Intf.pas';
|
||||||
|
|
||||||
{$R *.res}
|
{$R *.res}
|
||||||
{$R ..\Servicios\RODLFile.res}
|
{$R ..\Servicios\RODLFile.res}
|
||||||
|
|||||||
@ -1,327 +1,327 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectGuid>{ebdcd25d-40d7-4146-91ec-a0ea4aa1dcd1}</ProjectGuid>
|
<ProjectGuid>{ebdcd25d-40d7-4146-91ec-a0ea4aa1dcd1}</ProjectGuid>
|
||||||
<MainSource>FactuGES_Server.dpr</MainSource>
|
<MainSource>FactuGES_Server.dpr</MainSource>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
|
<DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
|
||||||
<DCC_DependencyCheckOutputName>..\..\Output\Debug\Servidor\FactuGES_Server.exe</DCC_DependencyCheckOutputName>
|
<DCC_DependencyCheckOutputName>..\..\Output\Debug\Servidor\FactuGES_Server.exe</DCC_DependencyCheckOutputName>
|
||||||
<DCC_UsePackage>vcl;rtl;vclx;vclactnband;dbrtl;vcldb;vcldbx;bdertl;dsnap;dsnapcon;teeUI;teedb;tee;adortl;vclib;ibxpress;dbxcds;dbexpress;DbxCommonDriver;IndyCore;IndySystem;IndyProtocols;VclSmp;vclie;webdsnap;xmlrtl;inet;inetdbbde;inetdbxpress;RemObjects_BPDX_D11;RemObjects_RODX_D11;RemObjects_Indy_D11;RemObjects_Synapse_D11;RemObjects_WebBroker_D11;DataAbstract_Core_D11;DataAbstract_DBXDriver_D11;DataAbstract_IDE_D11;DataAbstract_Scripting_D11;DataAbstract_SDACDriver_D11;sdac105;dac105;DataAbstract_SQLiteDriver_D11;cxEditorsD10;cxLibraryD10;dxThemeD10;cxDataD10;cxExtEditorsD10;cxGridD10;cxPageControlD10;cxSchedulerD10;cxTreeListD10;cxVerticalGridD10;dxBarD10;dxComnD10;dxBarDBNavD10;dxBarExtDBItemsD10;dxBarExtItemsD10;dxDockingD10;dxLayoutControlD10;dxNavBarD10;dxPSCoreD10;dxsbD10;dxPScxCommonD10;dxPSLnksD10;vclshlctrls;dxPScxExtCommonD10;dxPScxGridLnkD10;dxPScxPCProdD10;dxPScxScheduler2LnkD10;dxPScxTLLnkD10;dxPSdxLCLnkD10;dxPsPrVwAdvD10;pckMD5;pckUCDataConnector;pckUserControl_RT;PluginSDK_D10R;PNG_D10;PngComponentsD10;tb2k_d10;tbx_d10;JclVcl;Jcl;JvXPCtrlsD11R;JvCoreD11R;JvSystemD11R;JvStdCtrlsD11R;JvAppFrmD11R;JvBandsD11R;JvDBD11R;JvDlgsD11R;JvBDED11R;JvCmpD11R;JvCryptD11R;JvCtrlsD11R;JvCustomD11R;JvDockingD11R;JvDotNetCtrlsD11R;JvEDID11R;JvGlobusD11R;JvHMID11R;JvInterpreterD11R;JvJansD11R;JvManagedThreadsD11R;JvMMD11R;JvNetD11R;JvPageCompsD11R;JvPluginD11R;JvPrintPreviewD11R;JvRuntimeDesignD11R;JvTimeFrameworkD11R;JvUIBD11R;JvValidatorsD11R;JvWizardD11R;pckUCADOConn;pckUCBDEConn;pckUCIBXConn;pckUCMidasConn;cxIntlPrintSys3D10;cxExportD10;cxIntl5D10;GUISDK_D11;ccpackD11;JSDialog100;fsTee11;fs11;frx11;frxADO11;frxBDE11;frxDB11;frxDBX11;frxe11;frxIBX11;frxTee11;fsADO11;fsBDE11;fsDB11;fsIBX11;websnap;soaprtl;IntrawebDB_90_100;Intraweb_90_100</DCC_UsePackage>
|
<DCC_UsePackage>vcl;rtl;vclx;vclactnband;dbrtl;vcldb;vcldbx;bdertl;dsnap;dsnapcon;teeUI;teedb;tee;adortl;vclib;ibxpress;dbxcds;dbexpress;DbxCommonDriver;IndyCore;IndySystem;IndyProtocols;VclSmp;vclie;webdsnap;xmlrtl;inet;inetdbbde;inetdbxpress;RemObjects_BPDX_D11;RemObjects_RODX_D11;RemObjects_Indy_D11;RemObjects_Synapse_D11;RemObjects_WebBroker_D11;DataAbstract_Core_D11;DataAbstract_DBXDriver_D11;DataAbstract_IDE_D11;DataAbstract_Scripting_D11;DataAbstract_SDACDriver_D11;sdac105;dac105;DataAbstract_SQLiteDriver_D11;cxEditorsD10;cxLibraryD10;dxThemeD10;cxDataD10;cxExtEditorsD10;cxGridD10;cxPageControlD10;cxSchedulerD10;cxTreeListD10;cxVerticalGridD10;dxBarD10;dxComnD10;dxBarDBNavD10;dxBarExtDBItemsD10;dxBarExtItemsD10;dxDockingD10;dxLayoutControlD10;dxNavBarD10;dxPSCoreD10;dxsbD10;dxPScxCommonD10;dxPSLnksD10;vclshlctrls;dxPScxExtCommonD10;dxPScxGridLnkD10;dxPScxPCProdD10;dxPScxScheduler2LnkD10;dxPScxTLLnkD10;dxPSdxLCLnkD10;dxPsPrVwAdvD10;pckMD5;pckUCDataConnector;pckUserControl_RT;PluginSDK_D10R;PNG_D10;PngComponentsD10;tb2k_d10;tbx_d10;JclVcl;Jcl;JvXPCtrlsD11R;JvCoreD11R;JvSystemD11R;JvStdCtrlsD11R;JvAppFrmD11R;JvBandsD11R;JvDBD11R;JvDlgsD11R;JvBDED11R;JvCmpD11R;JvCryptD11R;JvCtrlsD11R;JvCustomD11R;JvDockingD11R;JvDotNetCtrlsD11R;JvEDID11R;JvGlobusD11R;JvHMID11R;JvInterpreterD11R;JvJansD11R;JvManagedThreadsD11R;JvMMD11R;JvNetD11R;JvPageCompsD11R;JvPluginD11R;JvPrintPreviewD11R;JvRuntimeDesignD11R;JvTimeFrameworkD11R;JvUIBD11R;JvValidatorsD11R;JvWizardD11R;pckUCADOConn;pckUCBDEConn;pckUCIBXConn;pckUCMidasConn;cxIntlPrintSys3D10;cxExportD10;cxIntl5D10;GUISDK_D11;ccpackD11;JSDialog100;fsTee11;fs11;frx11;frxADO11;frxBDE11;frxDB11;frxDBX11;frxe11;frxIBX11;frxTee11;fsADO11;fsBDE11;fsDB11;fsIBX11;websnap;soaprtl;IntrawebDB_90_100;Intraweb_90_100</DCC_UsePackage>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<Version>7.0</Version>
|
<Version>7.0</Version>
|
||||||
<DCC_DebugInformation>False</DCC_DebugInformation>
|
<DCC_DebugInformation>False</DCC_DebugInformation>
|
||||||
<DCC_LocalDebugSymbols>False</DCC_LocalDebugSymbols>
|
<DCC_LocalDebugSymbols>False</DCC_LocalDebugSymbols>
|
||||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||||
<DCC_MapFile>3</DCC_MapFile>
|
<DCC_MapFile>3</DCC_MapFile>
|
||||||
<DCC_ExeOutput>..\..\Output\Release\Servidor</DCC_ExeOutput>
|
<DCC_ExeOutput>..\..\Output\Release\Servidor</DCC_ExeOutput>
|
||||||
<DCC_Define>RELEASE</DCC_Define>
|
<DCC_Define>RELEASE</DCC_Define>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<Version>7.0</Version>
|
<Version>7.0</Version>
|
||||||
<DCC_MapFile>3</DCC_MapFile>
|
<DCC_MapFile>3</DCC_MapFile>
|
||||||
<DCC_ExeOutput>..\..\Output\Debug\Servidor</DCC_ExeOutput>
|
<DCC_ExeOutput>..\..\Output\Debug\Servidor</DCC_ExeOutput>
|
||||||
<DCC_Define>DEBUG;</DCC_Define>
|
<DCC_Define>DEBUG;</DCC_Define>
|
||||||
<DCC_GenerateStackFrames>True</DCC_GenerateStackFrames>
|
<DCC_GenerateStackFrames>True</DCC_GenerateStackFrames>
|
||||||
<DCC_DebugInfoInExe>True</DCC_DebugInfoInExe>
|
<DCC_DebugInfoInExe>True</DCC_DebugInfoInExe>
|
||||||
<DCC_DebugVN>True</DCC_DebugVN>
|
<DCC_DebugVN>True</DCC_DebugVN>
|
||||||
<DCC_UnitSearchPath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_UnitSearchPath>
|
<DCC_UnitSearchPath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_UnitSearchPath>
|
||||||
<DCC_ResourcePath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_ResourcePath>
|
<DCC_ResourcePath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_ResourcePath>
|
||||||
<DCC_ObjPath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_ObjPath>
|
<DCC_ObjPath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_ObjPath>
|
||||||
<DCC_IncludePath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_IncludePath>
|
<DCC_IncludePath>$(BDS)\lib\Debug;$(BDS)\Lib\Debug\Indy10</DCC_IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<Borland.Personality>Delphi.Personality</Borland.Personality>
|
<Borland.Personality>Delphi.Personality</Borland.Personality>
|
||||||
<Borland.ProjectType />
|
<Borland.ProjectType/>
|
||||||
<BorlandProject>
|
<BorlandProject>
|
||||||
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters><Parameters Name="RunParams">/standalone</Parameters></Parameters><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">1</VersionInfo><VersionInfo Name="MinorVer">4</VersionInfo><VersionInfo Name="Release">7</VersionInfo><VersionInfo Name="Build">0</VersionInfo><VersionInfo Name="Debug">False</VersionInfo><VersionInfo Name="PreRelease">False</VersionInfo><VersionInfo Name="Special">False</VersionInfo><VersionInfo Name="Private">False</VersionInfo><VersionInfo Name="DLL">False</VersionInfo><VersionInfo Name="Locale">3082</VersionInfo><VersionInfo Name="CodePage">1252</VersionInfo></VersionInfo><VersionInfoKeys><VersionInfoKeys Name="CompanyName"></VersionInfoKeys><VersionInfoKeys Name="FileDescription"></VersionInfoKeys><VersionInfoKeys Name="FileVersion">1.4.7.0</VersionInfoKeys><VersionInfoKeys Name="InternalName"></VersionInfoKeys><VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys><VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys><VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys><VersionInfoKeys Name="ProductName"></VersionInfoKeys><VersionInfoKeys Name="ProductVersion">1.4.7.0</VersionInfoKeys><VersionInfoKeys Name="Comments"></VersionInfoKeys><VersionInfoKeys Name="CompileDate">jueves, 27 de noviembre de 2008 16:53</VersionInfoKeys></VersionInfoKeys><Excluded_Packages /><Source><Source Name="MainSource">FactuGES_Server.dpr</Source></Source></Delphi.Personality></BorlandProject></BorlandProject>
|
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters><Parameters Name="RunParams">/standalone</Parameters></Parameters><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">1</VersionInfo><VersionInfo Name="MinorVer">4</VersionInfo><VersionInfo Name="Release">7</VersionInfo><VersionInfo Name="Build">0</VersionInfo><VersionInfo Name="Debug">False</VersionInfo><VersionInfo Name="PreRelease">False</VersionInfo><VersionInfo Name="Special">False</VersionInfo><VersionInfo Name="Private">False</VersionInfo><VersionInfo Name="DLL">False</VersionInfo><VersionInfo Name="Locale">3082</VersionInfo><VersionInfo Name="CodePage">1252</VersionInfo></VersionInfo><VersionInfoKeys><VersionInfoKeys Name="CompanyName"></VersionInfoKeys><VersionInfoKeys Name="FileDescription"></VersionInfoKeys><VersionInfoKeys Name="FileVersion">1.4.7.0</VersionInfoKeys><VersionInfoKeys Name="InternalName"></VersionInfoKeys><VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys><VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys><VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys><VersionInfoKeys Name="ProductName"></VersionInfoKeys><VersionInfoKeys Name="ProductVersion">1.4.7.0</VersionInfoKeys><VersionInfoKeys Name="Comments"></VersionInfoKeys><VersionInfoKeys Name="CompileDate">jueves, 27 de noviembre de 2008 16:53</VersionInfoKeys></VersionInfoKeys><Excluded_Packages/><Source><Source Name="MainSource">FactuGES_Server.dpr</Source></Source></Delphi.Personality></BorlandProject></BorlandProject>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
<Import Project="$(MSBuildBinPath)\Borland.Delphi.Targets" />
|
<Import Project="$(MSBuildBinPath)\Borland.Delphi.Targets"/>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DelphiCompile Include="FactuGES_Server.dpr">
|
<DelphiCompile Include="FactuGES_Server.dpr">
|
||||||
<MainSource>MainSource</MainSource>
|
<MainSource>MainSource</MainSource>
|
||||||
</DelphiCompile>
|
</DelphiCompile>
|
||||||
<DCCReference Include="..\ApplicationBase\Empresas\Model\schEmpresasClient_Intf.pas" />
|
<DCCReference Include="..\ApplicationBase\Empresas\Model\schEmpresasClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\ApplicationBase\Empresas\Model\schEmpresasServer_Intf.pas" />
|
<DCCReference Include="..\ApplicationBase\Empresas\Model\schEmpresasServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\ApplicationBase\Empresas\Model\uBizEmpresasServer.pas" />
|
<DCCReference Include="..\ApplicationBase\Empresas\Model\uBizEmpresasServer.pas"/>
|
||||||
<DCCReference Include="..\ApplicationBase\Empresas\Servidor\srvEmpresas_Impl.pas">
|
<DCCReference Include="..\ApplicationBase\Empresas\Servidor\srvEmpresas_Impl.pas">
|
||||||
<Form>srvEmpresas</Form>
|
<Form>srvEmpresas</Form>
|
||||||
<DesignClass>TDARemoteService</DesignClass>
|
<DesignClass>TDARemoteService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\ApplicationBase\ProvinciasPoblaciones\Servidor\srvProvinciasPoblaciones_Impl.pas">
|
<DCCReference Include="..\ApplicationBase\ProvinciasPoblaciones\Servidor\srvProvinciasPoblaciones_Impl.pas">
|
||||||
<Form>srvProvinciasPoblaciones_Impl</Form>
|
<Form>srvProvinciasPoblaciones_Impl</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\ApplicationBase\Usuarios\Model\schUsuariosClient_Intf.pas" />
|
<DCCReference Include="..\ApplicationBase\Usuarios\Model\schUsuariosClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\ApplicationBase\Usuarios\Model\schUsuariosServer_Intf.pas" />
|
<DCCReference Include="..\ApplicationBase\Usuarios\Model\schUsuariosServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\ApplicationBase\Usuarios\Servidor\srvUsuarios_Impl.pas">
|
<DCCReference Include="..\ApplicationBase\Usuarios\Servidor\srvUsuarios_Impl.pas">
|
||||||
<Form>srvUsuarios</Form>
|
<Form>srvUsuarios</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Base\schBase_Intf.pas" />
|
<DCCReference Include="..\Base\schBase_Intf.pas"/>
|
||||||
<DCCReference Include="..\Base\Utiles\uSistemaFunc.pas" />
|
<DCCReference Include="..\Base\Utiles\uSistemaFunc.pas"/>
|
||||||
<DCCReference Include="..\Base\Utiles\uStringsUtils.pas" />
|
<DCCReference Include="..\Base\Utiles\uStringsUtils.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Albaranes de cliente\Model\schAlbaranesClienteServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de cliente\Model\uBizAlbaranClienteServer.pas" />
|
<DCCReference Include="..\Modulos\Albaranes de cliente\Model\uBizAlbaranClienteServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de cliente\Reports\uRptAlbaranesCliente_Server.pas">
|
<DCCReference Include="..\Modulos\Albaranes de cliente\Reports\uRptAlbaranesCliente_Server.pas">
|
||||||
<Form>RptAlbaranesCliente</Form>
|
<Form>RptAlbaranesCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de cliente\Reports\uRptWordAlbaranCliente.pas">
|
<DCCReference Include="..\Modulos\Albaranes de cliente\Reports\uRptWordAlbaranCliente.pas">
|
||||||
<Form>RptWordAlbaranCliente</Form>
|
<Form>RptWordAlbaranCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de cliente\Servidor\srvAlbaranesCliente_Impl.pas">
|
<DCCReference Include="..\Modulos\Albaranes de cliente\Servidor\srvAlbaranesCliente_Impl.pas">
|
||||||
<Form>srvAlbaranesCliente</Form>
|
<Form>srvAlbaranesCliente</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de proveedor\Model\uBizAlbaranProveedorServer.PAS" />
|
<DCCReference Include="..\Modulos\Albaranes de proveedor\Model\uBizAlbaranProveedorServer.PAS"/>
|
||||||
<DCCReference Include="..\Modulos\Albaranes de proveedor\Servidor\srvAlbaranesProveedor_Impl.pas">
|
<DCCReference Include="..\Modulos\Albaranes de proveedor\Servidor\srvAlbaranesProveedor_Impl.pas">
|
||||||
<Form>srvAlbaranesProveedor</Form>
|
<Form>srvAlbaranesProveedor</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Almacenes\Model\schAlmacenesClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Almacenes\Model\schAlmacenesClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Almacenes\Model\schAlmacenesServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Almacenes\Model\schAlmacenesServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Almacenes\Servidor\srvAlmacenes_Impl.pas">
|
<DCCReference Include="..\Modulos\Almacenes\Servidor\srvAlmacenes_Impl.pas">
|
||||||
<Form>srvAlmacenes</Form>
|
<Form>srvAlmacenes</Form>
|
||||||
<DesignClass>TDARemoteService</DesignClass>
|
<DesignClass>TDARemoteService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Articulos\Model\schArticulosClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Articulos\Model\schArticulosClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Articulos\Model\schArticulosServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Articulos\Model\schArticulosServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Articulos\Model\uBizArticulosServer.pas" />
|
<DCCReference Include="..\Modulos\Articulos\Model\uBizArticulosServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Articulos\Servidor\srvArticulos_Impl.pas">
|
<DCCReference Include="..\Modulos\Articulos\Servidor\srvArticulos_Impl.pas">
|
||||||
<Form>srvArticulos</Form>
|
<Form>srvArticulos</Form>
|
||||||
<DesignClass>TDARemoteService</DesignClass>
|
<DesignClass>TDARemoteService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Model\schContactosClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Contactos\Model\schContactosClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Model\schContactosServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Contactos\Model\schContactosServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Model\uBizClientesServer.pas" />
|
<DCCReference Include="..\Modulos\Contactos\Model\uBizClientesServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Model\uBizContactosServer.pas" />
|
<DCCReference Include="..\Modulos\Contactos\Model\uBizContactosServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Model\uBizEmpleadosServer.pas" />
|
<DCCReference Include="..\Modulos\Contactos\Model\uBizEmpleadosServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Model\uBizProveedoresServer.pas" />
|
<DCCReference Include="..\Modulos\Contactos\Model\uBizProveedoresServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Reports\uRptEtiquetasContacto_Server.pas">
|
<DCCReference Include="..\Modulos\Contactos\Reports\uRptEtiquetasContacto_Server.pas">
|
||||||
<Form>RptEtiquetasContacto</Form>
|
<Form>RptEtiquetasContacto</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Reports\uRptFichasEmpleado_Server.pas">
|
<DCCReference Include="..\Modulos\Contactos\Reports\uRptFichasEmpleado_Server.pas">
|
||||||
<Form>RptFichasEmpleado</Form>
|
<Form>RptFichasEmpleado</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Contactos\Servidor\srvContactos_Impl.pas">
|
<DCCReference Include="..\Modulos\Contactos\Servidor\srvContactos_Impl.pas">
|
||||||
<Form>srvContactos</Form>
|
<Form>srvContactos</Form>
|
||||||
<DesignClass>TDARemoteService</DesignClass>
|
<DesignClass>TDARemoteService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Fabricantes\Model\schFabricantesClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Fabricantes\Model\schFabricantesClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Fabricantes\Model\schFabricantesServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Fabricantes\Model\schFabricantesServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Fabricantes\Servidor\srvFabricantes_Impl.pas">
|
<DCCReference Include="..\Modulos\Fabricantes\Servidor\srvFabricantes_Impl.pas">
|
||||||
<Form>srvFabricantes</Form>
|
<Form>srvFabricantes</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Facturas de cliente\Model\schFacturasClienteClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Facturas de cliente\Model\schFacturasClienteClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Facturas de cliente\Model\schFacturasClienteServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Facturas de cliente\Model\schFacturasClienteServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Facturas de cliente\Model\uBizFacturasClienteServer.pas" />
|
<DCCReference Include="..\Modulos\Facturas de cliente\Model\uBizFacturasClienteServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Facturas de cliente\Reports\uRptFacturasCliente_Server.pas">
|
<DCCReference Include="..\Modulos\Facturas de cliente\Reports\uRptFacturasCliente_Server.pas">
|
||||||
<Form>RptFacturasCliente</Form>
|
<Form>RptFacturasCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Facturas de cliente\Reports\uRptWordFacturaCliente.pas">
|
<DCCReference Include="..\Modulos\Facturas de cliente\Reports\uRptWordFacturaCliente.pas">
|
||||||
<Form>RptWordFacturaCliente</Form>
|
<Form>RptWordFacturaCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Facturas de cliente\Servidor\srvFacturasCliente_Impl.pas">
|
<DCCReference Include="..\Modulos\Facturas de cliente\Servidor\srvFacturasCliente_Impl.pas">
|
||||||
<Form>srvFacturasCliente</Form>
|
<Form>srvFacturasCliente</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Facturas de proveedor\Model\schFacturasProveedorClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Facturas de proveedor\Model\schFacturasProveedorClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Facturas de proveedor\Model\schFacturasProveedorServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Facturas de proveedor\Model\schFacturasProveedorServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Facturas de proveedor\Model\uBizFacturasProveedorServer.pas" />
|
<DCCReference Include="..\Modulos\Facturas de proveedor\Model\uBizFacturasProveedorServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Facturas de proveedor\Reports\uRptFacturasProveedor_Server.pas">
|
<DCCReference Include="..\Modulos\Facturas de proveedor\Reports\uRptFacturasProveedor_Server.pas">
|
||||||
<Form>RptFacturasProveedor</Form>
|
<Form>RptFacturasProveedor</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Facturas de proveedor\Servidor\srvFacturasProveedor_Impl.pas">
|
<DCCReference Include="..\Modulos\Facturas de proveedor\Servidor\srvFacturasProveedor_Impl.pas">
|
||||||
<Form>srvFacturasProveedor</Form>
|
<Form>srvFacturasProveedor</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Familias\Model\schFamiliasClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Familias\Model\schFamiliasClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Familias\Model\schFamiliasServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Familias\Model\schFamiliasServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Familias\Servidor\srvFamilias_Impl.pas">
|
<DCCReference Include="..\Modulos\Familias\Servidor\srvFamilias_Impl.pas">
|
||||||
<Form>srvFamilias</Form>
|
<Form>srvFamilias</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Formas de pago\Model\schFormasPagoClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Formas de pago\Model\schFormasPagoClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Formas de pago\Model\schFormasPagoServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Formas de pago\Model\schFormasPagoServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Formas de pago\Servidor\srvFormasPago_Impl.pas">
|
<DCCReference Include="..\Modulos\Formas de pago\Servidor\srvFormasPago_Impl.pas">
|
||||||
<Form>srvFormasPago</Form>
|
<Form>srvFormasPago</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Gestion de documentos\Servidor\srvGestorDocumentos_Impl.pas">
|
<DCCReference Include="..\Modulos\Gestion de documentos\Servidor\srvGestorDocumentos_Impl.pas">
|
||||||
<Form>srvGestorDocumentos</Form>
|
<Form>srvGestorDocumentos</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Gestor de informes\Servidor\srvGestorInformes_Impl.pas">
|
<DCCReference Include="..\Modulos\Gestor de informes\Servidor\srvGestorInformes_Impl.pas">
|
||||||
<Form>srvGestorInformes</Form>
|
<Form>srvGestorInformes</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Historico de movimientos\Servidor\srvHistoricoMovimientos_Impl.pas">
|
<DCCReference Include="..\Modulos\Historico de movimientos\Servidor\srvHistoricoMovimientos_Impl.pas">
|
||||||
<Form>srvHistoricoMovimientos</Form>
|
<Form>srvHistoricoMovimientos</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Inventario\Model\schInventarioClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Inventario\Model\schInventarioClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Inventario\Model\schInventarioServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Inventario\Model\schInventarioServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Inventario\Servidor\srvInventario_Impl.pas">
|
<DCCReference Include="..\Modulos\Inventario\Servidor\srvInventario_Impl.pas">
|
||||||
<Form>srvInventario</Form>
|
<Form>srvInventario</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Obras\Model\schObrasClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Obras\Model\schObrasClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Obras\Model\schObrasServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Obras\Model\schObrasServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Obras\Model\uBizObrasServer.pas" />
|
<DCCReference Include="..\Modulos\Obras\Model\uBizObrasServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Obras\Servidor\srvObras_Impl.pas">
|
<DCCReference Include="..\Modulos\Obras\Servidor\srvObras_Impl.pas">
|
||||||
<Form>srvObras</Form>
|
<Form>srvObras</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Pedidos a proveedor\Model\schPedidosProveedorServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Pedidos a proveedor\Model\uBizPedidosProveedorServer.pas" />
|
<DCCReference Include="..\Modulos\Pedidos a proveedor\Model\uBizPedidosProveedorServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Pedidos a proveedor\Reports\uRptPedidosProveedor_Server.pas">
|
<DCCReference Include="..\Modulos\Pedidos a proveedor\Reports\uRptPedidosProveedor_Server.pas">
|
||||||
<Form>RptPedidosProveedor</Form>
|
<Form>RptPedidosProveedor</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Pedidos a proveedor\Reports\uRptWordPedidoProveedor.pas">
|
<DCCReference Include="..\Modulos\Pedidos a proveedor\Reports\uRptWordPedidoProveedor.pas">
|
||||||
<Form>RptWordPedidoProveedor</Form>
|
<Form>RptWordPedidoProveedor</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Pedidos a proveedor\Servidor\srvPedidosProveedor_Impl.pas">
|
<DCCReference Include="..\Modulos\Pedidos a proveedor\Servidor\srvPedidosProveedor_Impl.pas">
|
||||||
<Form>srvPedidosProveedor</Form>
|
<Form>srvPedidosProveedor</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Model\schPresupuestosClienteServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Model\uBizPresupuestosClienteServer.pas" />
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Model\uBizPresupuestosClienteServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Reports\uRptPresupuestosCliente_Server.pas">
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Reports\uRptPresupuestosCliente_Server.pas">
|
||||||
<Form>RptPresupuestosCliente</Form>
|
<Form>RptPresupuestosCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Reports\uRptWordCertificadoTrabajo_Server.pas">
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Reports\uRptWordCertificadoTrabajo_Server.pas">
|
||||||
<Form>RptWordCertificadoTrabajo</Form>
|
<Form>RptWordCertificadoTrabajo</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Reports\uRptWordPresupuestoCliente.pas">
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Reports\uRptWordPresupuestoCliente.pas">
|
||||||
<Form>RptWordPresupuestoCliente</Form>
|
<Form>RptWordPresupuestoCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Presupuestos de cliente\Servidor\srvPresupuestosCliente_Impl.pas">
|
<DCCReference Include="..\Modulos\Presupuestos de cliente\Servidor\srvPresupuestosCliente_Impl.pas">
|
||||||
<Form>srvPresupuestosCliente</Form>
|
<Form>srvPresupuestosCliente</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Recibos de cliente\Model\schRecibosClienteClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Recibos de cliente\Model\schRecibosClienteClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Recibos de cliente\Model\schRecibosClienteServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Recibos de cliente\Model\schRecibosClienteServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Recibos de cliente\Reports\uRptRecibosCliente_Server.pas">
|
<DCCReference Include="..\Modulos\Recibos de cliente\Reports\uRptRecibosCliente_Server.pas">
|
||||||
<Form>RptRecibosCliente</Form>
|
<Form>RptRecibosCliente</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Recibos de cliente\Servidor\srvRecibosCliente_Impl.pas">
|
<DCCReference Include="..\Modulos\Recibos de cliente\Servidor\srvRecibosCliente_Impl.pas">
|
||||||
<Form>srvRecibosCliente</Form>
|
<Form>srvRecibosCliente</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Recibos de proveedor\Model\schRecibosProveedorClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Recibos de proveedor\Model\schRecibosProveedorClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Recibos de proveedor\Model\schRecibosProveedorServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Recibos de proveedor\Model\schRecibosProveedorServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Recibos de proveedor\Reports\uRptRecibosProveedor_Server.pas">
|
<DCCReference Include="..\Modulos\Recibos de proveedor\Reports\uRptRecibosProveedor_Server.pas">
|
||||||
<Form>RptRecibosProveedor</Form>
|
<Form>RptRecibosProveedor</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Recibos de proveedor\Servidor\srvRecibosProveedor_Impl.pas">
|
<DCCReference Include="..\Modulos\Recibos de proveedor\Servidor\srvRecibosProveedor_Impl.pas">
|
||||||
<Form>srvRecibosProveedor</Form>
|
<Form>srvRecibosProveedor</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Referencias\Model\schReferenciasClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Referencias\Model\schReferenciasClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Referencias\Model\schReferenciasServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Referencias\Model\schReferenciasServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Referencias\Servidor\srvReferencias_Impl.pas">
|
<DCCReference Include="..\Modulos\Referencias\Servidor\srvReferencias_Impl.pas">
|
||||||
<Form>srvReferencias</Form>
|
<Form>srvReferencias</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Remesas de cliente\Model\schRemesasClienteClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Remesas de cliente\Model\schRemesasClienteClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Remesas de cliente\Model\schRemesasClienteServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Remesas de cliente\Model\schRemesasClienteServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Remesas de cliente\Model\uBizRemesasClienteServer.pas" />
|
<DCCReference Include="..\Modulos\Remesas de cliente\Model\uBizRemesasClienteServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Remesas de cliente\Servidor\srvRemesasCliente_Impl.pas">
|
<DCCReference Include="..\Modulos\Remesas de cliente\Servidor\srvRemesasCliente_Impl.pas">
|
||||||
<Form>srvRemesasCliente</Form>
|
<Form>srvRemesasCliente</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Remesas de proveedor\Model\schRemesasProveedorClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Remesas de proveedor\Model\schRemesasProveedorClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Remesas de proveedor\Model\schRemesasProveedorServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Remesas de proveedor\Model\schRemesasProveedorServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Remesas de proveedor\Model\uBizRemesasProveedorServer.pas" />
|
<DCCReference Include="..\Modulos\Remesas de proveedor\Model\uBizRemesasProveedorServer.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Remesas de proveedor\Servidor\srvRemesasProveedor_Impl.pas">
|
<DCCReference Include="..\Modulos\Remesas de proveedor\Servidor\srvRemesasProveedor_Impl.pas">
|
||||||
<Form>srvRemesasProveedor</Form>
|
<Form>srvRemesasProveedor</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Tipos de IVA\Model\schTiposIVAClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Tipos de IVA\Model\schTiposIVAClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Tipos de IVA\Model\schTiposIVAServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Tipos de IVA\Model\schTiposIVAServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Tipos de IVA\Servidor\srvTiposIVA_Impl.pas">
|
<DCCReference Include="..\Modulos\Tipos de IVA\Servidor\srvTiposIVA_Impl.pas">
|
||||||
<Form>srvTiposIVA</Form>
|
<Form>srvTiposIVA</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Modulos\Unidades de medida\Model\schUnidadesMedidaClient_Intf.pas" />
|
<DCCReference Include="..\Modulos\Unidades de medida\Model\schUnidadesMedidaClient_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Unidades de medida\Model\schUnidadesMedidaServer_Intf.pas" />
|
<DCCReference Include="..\Modulos\Unidades de medida\Model\schUnidadesMedidaServer_Intf.pas"/>
|
||||||
<DCCReference Include="..\Modulos\Unidades de medida\Servidor\srvUnidadesMedida_Impl.pas">
|
<DCCReference Include="..\Modulos\Unidades de medida\Servidor\srvUnidadesMedida_Impl.pas">
|
||||||
<Form>srvUnidadesMedida</Form>
|
<Form>srvUnidadesMedida</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="..\Servicios\FactuGES_Intf.pas" />
|
<DCCReference Include="..\Servicios\FactuGES_Intf.pas"/>
|
||||||
<DCCReference Include="..\Servicios\FactuGES_Invk.pas" />
|
<DCCReference Include="..\Servicios\FactuGES_Invk.pas"/>
|
||||||
<DCCReference Include="Configuracion\srvConfiguracion_Impl.pas">
|
<DCCReference Include="Configuracion\srvConfiguracion_Impl.pas">
|
||||||
<Form>srvConfiguracion</Form>
|
<Form>srvConfiguracion</Form>
|
||||||
<DesignClass>TDataAbstractService</DesignClass>
|
<DesignClass>TDataAbstractService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="Configuracion\uConexionBD.pas">
|
<DCCReference Include="Configuracion\uConexionBD.pas">
|
||||||
<Form>frConexionBD</Form>
|
<Form>frConexionBD</Form>
|
||||||
<DesignClass>TFrame</DesignClass>
|
<DesignClass>TFrame</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="Configuracion\uConfGeneral.pas">
|
<DCCReference Include="Configuracion\uConfGeneral.pas">
|
||||||
<Form>frConfGeneral</Form>
|
<Form>frConfGeneral</Form>
|
||||||
<DesignClass>TFrame</DesignClass>
|
<DesignClass>TFrame</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="Configuracion\uConfiguracion.pas">
|
<DCCReference Include="Configuracion\uConfiguracion.pas">
|
||||||
<Form>fConfiguracion</Form>
|
<Form>fConfiguracion</Form>
|
||||||
<DesignClass>TForm</DesignClass>
|
<DesignClass>TForm</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="Configuracion\uFrameConfiguracion.pas">
|
<DCCReference Include="Configuracion\uFrameConfiguracion.pas">
|
||||||
<Form>FrameConfiguracion</Form>
|
<Form>FrameConfiguracion</Form>
|
||||||
<DesignClass>TFrame</DesignClass>
|
<DesignClass>TFrame</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="srvLogin_Impl.pas">
|
<DCCReference Include="srvLogin_Impl.pas">
|
||||||
<Form>srvLogin</Form>
|
<Form>srvLogin</Form>
|
||||||
<DesignClass>TDARemoteService</DesignClass>
|
<DesignClass>TDARemoteService</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="uAcercaDe.pas">
|
<DCCReference Include="uAcercaDe.pas">
|
||||||
<Form>fAcercaDe</Form>
|
<Form>fAcercaDe</Form>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="uDataModuleServer.pas">
|
<DCCReference Include="uDataModuleServer.pas">
|
||||||
<Form>dmServer</Form>
|
<Form>dmServer</Form>
|
||||||
<DesignClass>TDataModule</DesignClass>
|
<DesignClass>TDataModule</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="uServerMainForm.pas">
|
<DCCReference Include="uServerMainForm.pas">
|
||||||
<Form>fServerForm</Form>
|
<Form>fServerForm</Form>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="Utiles\AHWord97.pas" />
|
<DCCReference Include="Utiles\AHWord97.pas"/>
|
||||||
<DCCReference Include="Utiles\RegExpr.pas" />
|
<DCCReference Include="Utiles\RegExpr.pas"/>
|
||||||
<DCCReference Include="Utiles\uBusinessUtils.pas" />
|
<DCCReference Include="Utiles\uBusinessUtils.pas"/>
|
||||||
<DCCReference Include="Utiles\uDatabaseUtils.pas" />
|
<DCCReference Include="Utiles\uDatabaseUtils.pas"/>
|
||||||
<DCCReference Include="Utiles\uReferenciasUtils.pas" />
|
<DCCReference Include="Utiles\uReferenciasUtils.pas"/>
|
||||||
<DCCReference Include="Utiles\uRestriccionesUsuarioUtils.pas" />
|
<DCCReference Include="Utiles\uRestriccionesUsuarioUtils.pas"/>
|
||||||
<DCCReference Include="Utiles\uSchemaUtilsServer.pas" />
|
<DCCReference Include="Utiles\uSchemaUtilsServer.pas"/>
|
||||||
<DCCReference Include="Utiles\uServerAppUtils.pas" />
|
<DCCReference Include="Utiles\uServerAppUtils.pas"/>
|
||||||
<DCCReference Include="Utiles\uSesionesUtils.pas" />
|
<DCCReference Include="Utiles\uSesionesUtils.pas"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
<!-- EurekaLog First Line
|
<!-- EurekaLog First Line
|
||||||
[Exception Log]
|
[Exception Log]
|
||||||
EurekaLog Version=6006
|
EurekaLog Version=6011
|
||||||
Activate=0
|
Activate=0
|
||||||
Activate Handle=1
|
Activate Handle=1
|
||||||
Save Log File=1
|
Save Log File=1
|
||||||
|
|||||||
@ -14,7 +14,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileVersion", "1.4.7.0\0"
|
VALUE "FileVersion", "1.4.7.0\0"
|
||||||
VALUE "ProductVersion", "1.4.7.0\0"
|
VALUE "ProductVersion", "1.4.7.0\0"
|
||||||
VALUE "CompileDate", "martes, 09 de diciembre de 2008 18:32\0"
|
VALUE "CompileDate", "miércoles, 17 de diciembre de 2008 19:17\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user