version 4.1.6
git-svn-id: https://192.168.0.254/svn/Proyectos.AbetoDesign_FactuGES/trunk@170 93f398dd-4eb6-7a46-baf6-13f46f578da2
This commit is contained in:
parent
080f8bff63
commit
7cbf513d15
BIN
Build/Build.fbl6
BIN
Build/Build.fbl6
Binary file not shown.
@ -44,13 +44,6 @@
|
|||||||
<Borland.ProjectType>Package</Borland.ProjectType>
|
<Borland.ProjectType>Package</Borland.ProjectType>
|
||||||
<BorlandProject>
|
<BorlandProject>
|
||||||
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters></Parameters><Package_Options><Package_Options Name="PackageDescription">Libreria base de FactuGES</Package_Options><Package_Options Name="ImplicitBuild">False</Package_Options><Package_Options Name="DesigntimeOnly">False</Package_Options><Package_Options Name="RuntimeOnly">False</Package_Options></Package_Options><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">1</VersionInfo><VersionInfo Name="MinorVer">0</VersionInfo><VersionInfo Name="Release">0</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.0.0.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.0.0.0</VersionInfoKeys></VersionInfoKeys><Excluded_Packages>
|
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters></Parameters><Package_Options><Package_Options Name="PackageDescription">Libreria base de FactuGES</Package_Options><Package_Options Name="ImplicitBuild">False</Package_Options><Package_Options Name="DesigntimeOnly">False</Package_Options><Package_Options Name="RuntimeOnly">False</Package_Options></Package_Options><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">1</VersionInfo><VersionInfo Name="MinorVer">0</VersionInfo><VersionInfo Name="Release">0</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.0.0.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.0.0.0</VersionInfoKeys></VersionInfoKeys><Excluded_Packages>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Excluded_Packages Name="$(BDS)\Bin\dclintraweb_90_100.bpl">VCL for the Web Design Package for CodeGear RAD Studio</Excluded_Packages>
|
<Excluded_Packages Name="$(BDS)\Bin\dclintraweb_90_100.bpl">VCL for the Web Design Package for CodeGear RAD Studio</Excluded_Packages>
|
||||||
<Excluded_Packages Name="$(BDS)\bin\dclwebsnap100.bpl">CodeGear WebSnap Components</Excluded_Packages>
|
<Excluded_Packages Name="$(BDS)\bin\dclwebsnap100.bpl">CodeGear WebSnap Components</Excluded_Packages>
|
||||||
<Excluded_Packages Name="$(BDS)\bin\dclsoap100.bpl">CodeGear SOAP Components</Excluded_Packages>
|
<Excluded_Packages Name="$(BDS)\bin\dclsoap100.bpl">CodeGear SOAP Components</Excluded_Packages>
|
||||||
@ -65,54 +58,54 @@
|
|||||||
<DelphiCompile Include="Base.dpk">
|
<DelphiCompile Include="Base.dpk">
|
||||||
<MainSource>MainSource</MainSource>
|
<MainSource>MainSource</MainSource>
|
||||||
</DelphiCompile>
|
</DelphiCompile>
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\adortl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\adortl.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\cxDataD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxDataD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\cxEditorsD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxEditorsD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\cxExtEditorsD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxExtEditorsD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\cxGridD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxGridD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\cxLibraryD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxLibraryD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\cxPageControlD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\cxPageControlD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\DataAbstract_Core_D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\DataAbstract_Core_D11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\dbrtl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dbrtl.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\dclIndyCore.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dclIndyCore.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\designide.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\designide.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\dsnap.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dsnap.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\dxGDIPlusD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dxGDIPlusD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\dxPSCoreD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dxPSCoreD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\dxThemeD11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\dxThemeD11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\GUISDK_D11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\GUISDK_D11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\IndyCore.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\IndyCore.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\IndyProtocols.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\IndyProtocols.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\IndySystem.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\IndySystem.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\Jcl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\Jcl.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JclVcl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JclVcl.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JSDialog100.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JSDialog100.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvCmpD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvCmpD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvCoreD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvCoreD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvCtrlsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvCtrlsD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvDlgsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvDlgsD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvMMD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvMMD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvNetD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvNetD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvPageCompsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvPageCompsD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvStdCtrlsD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvStdCtrlsD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\JvSystemD11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\JvSystemD11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\pckMD5.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\pckMD5.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\pckUCDataConnector.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\pckUCDataConnector.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\pckUserControl_RT.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\pckUserControl_RT.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\PluginSDK_D11R.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\PluginSDK_D11R.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\PngComponentsD10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\PngComponentsD10.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\PNG_D10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\PNG_D10.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\RemObjects_Core_D11.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\RemObjects_Core_D11.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\rtl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\rtl.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\TB2k_D10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\TB2k_D10.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\tbx_d10.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\tbx_d10.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\vcl.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vcl.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\vclactnband.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vclactnband.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\vcldb.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vcldb.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\vcljpg.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vcljpg.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\VclSmp.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\VclSmp.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\vclx.dcp" />
|
<DCCReference Include="..\Modulos\Contactos\vclx.dcp" />
|
||||||
<DCCReference Include="..\Modulos\Contratos de cliente\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>
|
||||||
|
|||||||
@ -52,9 +52,7 @@
|
|||||||
<Borland.Personality>Delphi.Personality</Borland.Personality>
|
<Borland.Personality>Delphi.Personality</Borland.Personality>
|
||||||
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
|
<Borland.ProjectType>VCLApplication</Borland.ProjectType>
|
||||||
<BorlandProject>
|
<BorlandProject>
|
||||||
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters></Parameters><Language><Language Name="RootDir">C:\Archivos de programa\Borland\Delphi7\Bin\</Language></Language><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">4</VersionInfo><VersionInfo Name="MinorVer">1</VersionInfo><VersionInfo Name="Release">4</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">Rodax Software S.L.</VersionInfoKeys><VersionInfoKeys Name="FileDescription"></VersionInfoKeys><VersionInfoKeys Name="FileVersion">4.1.4.0</VersionInfoKeys><VersionInfoKeys Name="InternalName">FactuGES</VersionInfoKeys><VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys><VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys><VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys><VersionInfoKeys Name="ProductName">FactuGES</VersionInfoKeys><VersionInfoKeys Name="ProductVersion">4.1.4.0</VersionInfoKeys><VersionInfoKeys Name="Comments"></VersionInfoKeys></VersionInfoKeys><Excluded_Packages>
|
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters></Parameters><Language><Language Name="RootDir">C:\Archivos de programa\Borland\Delphi7\Bin\</Language></Language><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">4</VersionInfo><VersionInfo Name="MinorVer">1</VersionInfo><VersionInfo Name="Release">6</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">Rodax Software S.L.</VersionInfoKeys><VersionInfoKeys Name="FileDescription"></VersionInfoKeys><VersionInfoKeys Name="FileVersion">4.1.6.0</VersionInfoKeys><VersionInfoKeys Name="InternalName">FactuGES</VersionInfoKeys><VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys><VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys><VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys><VersionInfoKeys Name="ProductName">FactuGES</VersionInfoKeys><VersionInfoKeys Name="ProductVersion">4.1.6.0</VersionInfoKeys><VersionInfoKeys Name="Comments"></VersionInfoKeys></VersionInfoKeys><Excluded_Packages>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl">File C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl not found</Excluded_Packages>
|
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl">File C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl not found</Excluded_Packages>
|
||||||
</Excluded_Packages><Source><Source Name="MainSource">FactuGES.dpr</Source></Source></Delphi.Personality><ModelSupport>False</ModelSupport></BorlandProject></BorlandProject>
|
</Excluded_Packages><Source><Source Name="MainSource">FactuGES.dpr</Source></Source></Delphi.Personality><ModelSupport>False</ModelSupport></BorlandProject></BorlandProject>
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
95
Source/Informes/2/5/InfContratoCliente.fr3
Normal file
95
Source/Informes/2/5/InfContratoCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
69
Source/Informes/2/5/InfFacturaCliente.fr3
Normal file
69
Source/Informes/2/5/InfFacturaCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
92
Source/Informes/2/5/InfPresupuestoCliente.fr3
Normal file
92
Source/Informes/2/5/InfPresupuestoCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
69
Source/Informes/2/5/InfReciboCliente.fr3
Normal file
69
Source/Informes/2/5/InfReciboCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
66
Source/Informes/2/InfFacturaCliente.fr3
Normal file
66
Source/Informes/2/InfFacturaCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
87
Source/Informes/2/InfPresupuestoCliente.fr3
Normal file
87
Source/Informes/2/InfPresupuestoCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
69
Source/Informes/2/InfReciboCliente.fr3
Normal file
69
Source/Informes/2/InfReciboCliente.fr3
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -242,7 +242,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.DarNuevaReferencia(ATipo, -1, ID_TIENDA)
|
Result := AReferenciasService.DarNuevaReferencia(ATipo, ID_EMPRESA, -1)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TBizContactosServer._IncrementarReferenciaInterna(
|
function TBizContactosServer._IncrementarReferenciaInterna(
|
||||||
@ -256,7 +256,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.IncrementarValorReferencia(ATipo, Self.REFERENCIA, -1, ID_TIENDA)
|
Result := AReferenciasService.IncrementarValorReferencia(ATipo, Self.REFERENCIA, ID_EMPRESA, -1)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
|||||||
@ -47,36 +47,42 @@
|
|||||||
<DelphiCompile Include="Contactos_view.dpk">
|
<DelphiCompile Include="Contactos_view.dpk">
|
||||||
<MainSource>MainSource</MainSource>
|
<MainSource>MainSource</MainSource>
|
||||||
</DelphiCompile>
|
</DelphiCompile>
|
||||||
<DCCReference Include="adortl.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\adortl.dcp" />
|
||||||
<DCCReference Include="ApplicationBase.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\ApplicationBase.dcp" />
|
||||||
<DCCReference Include="Base.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\Base.dcp" />
|
||||||
<DCCReference Include="bdertl.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\bdertl.dcp" />
|
||||||
<DCCReference Include="Contactos_controller.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\Contactos_controller.dcp" />
|
||||||
<DCCReference Include="Contactos_model.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\Contactos_model.dcp" />
|
||||||
<DCCReference Include="cxDataD11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\cxDataD11.dcp" />
|
||||||
<DCCReference Include="cxEditorsD11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\cxEditorsD11.dcp" />
|
||||||
<DCCReference Include="cxLibraryD11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\cxLibraryD11.dcp" />
|
||||||
<DCCReference Include="DataAbstract_Core_D11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\DataAbstract_Core_D11.dcp" />
|
||||||
<DCCReference Include="dbrtl.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\dbrtl.dcp" />
|
||||||
<DCCReference Include="designide.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\designide.dcp" />
|
||||||
<DCCReference Include="dsnap.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\dsnap.dcp" />
|
||||||
<DCCReference Include="dxCoreD11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\dxCoreD11.dcp" />
|
||||||
<DCCReference Include="dxGDIPlusD11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\dxGDIPlusD11.dcp" />
|
||||||
<DCCReference Include="dxThemeD11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\dxThemeD11.dcp" />
|
||||||
<DCCReference Include="FormasPago_controller.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\FormasPago_controller.dcp" />
|
||||||
<DCCReference Include="FormasPago_model.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\FormasPago_model.dcp" />
|
||||||
<DCCReference Include="GestorInformes_controller.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\GestorInformes_controller.dcp" />
|
||||||
<DCCReference Include="GUIBase.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\GUIBase.dcp" />
|
||||||
<DCCReference Include="GUISDK_D11R.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\GUISDK_D11R.dcp" />
|
||||||
<DCCReference Include="Jcl.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\Jcl.dcp" />
|
||||||
<DCCReference Include="JclVcl.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\JclVcl.dcp" />
|
||||||
<DCCReference Include="JvCoreD11R.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\JvCoreD11R.dcp" />
|
||||||
<DCCReference Include="JvGlobusD11R.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\JvGlobusD11R.dcp" />
|
||||||
<DCCReference Include="JvSystemD11R.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\JvSystemD11R.dcp" />
|
||||||
<DCCReference Include="RemObjects_Core_D11.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\RemObjects_Core_D11.dcp" />
|
||||||
<DCCReference Include="rtl.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\rtl.dcp" />
|
||||||
<DCCReference Include="TiposIVA_controller.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\TiposIVA_controller.dcp" />
|
||||||
<DCCReference Include="TiposIVA_model.dcp" />
|
<DCCReference Include="C:\Documents and Settings\Usuario\TiposIVA_model.dcp" />
|
||||||
|
<DCCReference Include="C:\Documents and Settings\Usuario\vcl.dcp" />
|
||||||
|
<DCCReference Include="C:\Documents and Settings\Usuario\vclactnband.dcp" />
|
||||||
|
<DCCReference Include="C:\Documents and Settings\Usuario\vcldb.dcp" />
|
||||||
|
<DCCReference Include="C:\Documents and Settings\Usuario\vcljpg.dcp" />
|
||||||
|
<DCCReference Include="C:\Documents and Settings\Usuario\vclx.dcp" />
|
||||||
|
<DCCReference Include="C:\Documents and Settings\Usuario\xmlrtl.dcp" />
|
||||||
<DCCReference Include="uContactosViewRegister.pas" />
|
<DCCReference Include="uContactosViewRegister.pas" />
|
||||||
<DCCReference Include="uEditorAsignarPrecioPunto.pas">
|
<DCCReference Include="uEditorAsignarPrecioPunto.pas">
|
||||||
<Form>fEditorAsignarPrecioPunto</Form>
|
<Form>fEditorAsignarPrecioPunto</Form>
|
||||||
@ -228,12 +234,6 @@
|
|||||||
<Form>frViewVendedores</Form>
|
<Form>frViewVendedores</Form>
|
||||||
<DesignClass>TCustomView</DesignClass>
|
<DesignClass>TCustomView</DesignClass>
|
||||||
</DCCReference>
|
</DCCReference>
|
||||||
<DCCReference Include="vcl.dcp" />
|
|
||||||
<DCCReference Include="vclactnband.dcp" />
|
|
||||||
<DCCReference Include="vcldb.dcp" />
|
|
||||||
<DCCReference Include="vcljpg.dcp" />
|
|
||||||
<DCCReference Include="vclx.dcp" />
|
|
||||||
<DCCReference Include="xmlrtl.dcp" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
<!-- EurekaLog First Line
|
<!-- EurekaLog First Line
|
||||||
|
|||||||
@ -5,7 +5,7 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
ClientHeight = 658
|
ClientHeight = 658
|
||||||
ClientWidth = 937
|
ClientWidth = 937
|
||||||
ExplicitWidth = 945
|
ExplicitWidth = 945
|
||||||
ExplicitHeight = 692
|
ExplicitHeight = 696
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
@ -69,19 +69,17 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
end
|
end
|
||||||
inherited pgPaginas: TPageControl
|
inherited pgPaginas: TPageControl
|
||||||
Width = 931
|
Width = 931
|
||||||
Height = 527
|
Height = 524
|
||||||
ActivePage = pagGeneral
|
|
||||||
ExplicitTop = 109
|
|
||||||
ExplicitWidth = 931
|
ExplicitWidth = 931
|
||||||
ExplicitHeight = 527
|
ExplicitHeight = 524
|
||||||
inherited pagGeneral: TTabSheet
|
inherited pagGeneral: TTabSheet
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inline frViewCliente1: TfrViewCliente
|
inline frViewCliente1: TfrViewCliente
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -92,29 +90,29 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited dxLayoutControlContacto: TdxLayoutControl
|
inherited dxLayoutControlContacto: TdxLayoutControl
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
LookAndFeel = dxLayoutOfficeLookAndFeel
|
LookAndFeel = dxLayoutOfficeLookAndFeel
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited PngSpeedButton1: TPngSpeedButton
|
inherited PngSpeedButton1: TPngSpeedButton
|
||||||
Left = 861
|
Left = 859
|
||||||
Top = 218
|
Top = 218
|
||||||
ExplicitLeft = 861
|
ExplicitLeft = 859
|
||||||
ExplicitTop = 218
|
ExplicitTop = 218
|
||||||
end
|
end
|
||||||
inherited PngSpeedButton2: TPngSpeedButton
|
inherited PngSpeedButton2: TPngSpeedButton
|
||||||
Left = 861
|
Left = 859
|
||||||
Top = 190
|
Top = 190
|
||||||
ExplicitLeft = 861
|
ExplicitLeft = 859
|
||||||
ExplicitTop = 190
|
ExplicitTop = 190
|
||||||
end
|
end
|
||||||
inherited PngSpeedButton3: TPngSpeedButton
|
inherited PngSpeedButton3: TPngSpeedButton
|
||||||
Left = 861
|
Left = 859
|
||||||
Top = 162
|
Top = 162
|
||||||
ExplicitLeft = 861
|
ExplicitLeft = 859
|
||||||
ExplicitTop = 162
|
ExplicitTop = 162
|
||||||
end
|
end
|
||||||
inherited eCalle: TcxDBTextEdit
|
inherited eCalle: TcxDBTextEdit
|
||||||
@ -148,23 +146,23 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Width = 428
|
Width = 428
|
||||||
end
|
end
|
||||||
inherited eCodigoPostal: TcxDBTextEdit
|
inherited eCodigoPostal: TcxDBTextEdit
|
||||||
Left = 520
|
Left = 518
|
||||||
Top = 243
|
Top = 243
|
||||||
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 = 520
|
ExplicitLeft = 518
|
||||||
ExplicitTop = 243
|
ExplicitTop = 243
|
||||||
end
|
end
|
||||||
inherited eTlfParticular: TcxDBTextEdit
|
inherited eTlfParticular: TcxDBTextEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 57
|
Top = 57
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 57
|
ExplicitTop = 57
|
||||||
ExplicitWidth = 177
|
ExplicitWidth = 177
|
||||||
Width = 177
|
Width = 177
|
||||||
@ -230,37 +228,37 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Width = 428
|
Width = 428
|
||||||
end
|
end
|
||||||
inherited eTlfTrabajo: TcxDBTextEdit
|
inherited eTlfTrabajo: TcxDBTextEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 30
|
Top = 30
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 30
|
ExplicitTop = 30
|
||||||
ExplicitWidth = 177
|
ExplicitWidth = 177
|
||||||
Width = 177
|
Width = 177
|
||||||
end
|
end
|
||||||
inherited eTlfMovil: TcxDBTextEdit
|
inherited eTlfMovil: TcxDBTextEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 84
|
Top = 84
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 84
|
ExplicitTop = 84
|
||||||
ExplicitWidth = 177
|
ExplicitWidth = 177
|
||||||
Width = 177
|
Width = 177
|
||||||
end
|
end
|
||||||
inherited eFax: TcxDBTextEdit
|
inherited eFax: TcxDBTextEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 111
|
Top = 111
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 111
|
ExplicitTop = 111
|
||||||
ExplicitWidth = 177
|
ExplicitWidth = 177
|
||||||
Width = 177
|
Width = 177
|
||||||
@ -288,39 +286,39 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Width = 271
|
Width = 271
|
||||||
end
|
end
|
||||||
inherited eMailTrabajo: TcxDBHyperLinkEdit
|
inherited eMailTrabajo: TcxDBHyperLinkEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 162
|
Top = 162
|
||||||
Properties.Prefix = 'mailto:'
|
Properties.Prefix = 'mailto:'
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 162
|
ExplicitTop = 162
|
||||||
ExplicitWidth = 148
|
ExplicitWidth = 148
|
||||||
Width = 148
|
Width = 148
|
||||||
end
|
end
|
||||||
inherited eMailParticular: TcxDBHyperLinkEdit
|
inherited eMailParticular: TcxDBHyperLinkEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 190
|
Top = 190
|
||||||
Properties.Prefix = 'mailto:'
|
Properties.Prefix = 'mailto:'
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 190
|
ExplicitTop = 190
|
||||||
ExplicitWidth = 148
|
ExplicitWidth = 148
|
||||||
Width = 148
|
Width = 148
|
||||||
end
|
end
|
||||||
inherited ePaginaWeb: TcxDBHyperLinkEdit
|
inherited ePaginaWeb: TcxDBHyperLinkEdit
|
||||||
Left = 699
|
Left = 697
|
||||||
Top = 217
|
Top = 217
|
||||||
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 = 699
|
ExplicitLeft = 697
|
||||||
ExplicitTop = 217
|
ExplicitTop = 217
|
||||||
ExplicitWidth = 148
|
ExplicitWidth = 148
|
||||||
Width = 148
|
Width = 148
|
||||||
@ -346,9 +344,9 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Width = 428
|
Width = 428
|
||||||
end
|
end
|
||||||
inherited frViewTienda1: TfrViewTienda
|
inherited frViewTienda1: TfrViewTienda
|
||||||
Left = 604
|
Left = 602
|
||||||
Top = 270
|
Top = 270
|
||||||
ExplicitLeft = 604
|
ExplicitLeft = 602
|
||||||
ExplicitTop = 270
|
ExplicitTop = 270
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
inherited cbTienda: TcxComboBox
|
inherited cbTienda: TcxComboBox
|
||||||
@ -356,8 +354,8 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 229
|
ExplicitWidth = 376
|
||||||
Width = 229
|
Width = 376
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -368,10 +366,20 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
ExplicitWidth = 521
|
ExplicitWidth = 521
|
||||||
inherited memObservaciones: TcxDBMemo
|
inherited memObservaciones: TcxDBMemo
|
||||||
DataBinding.DataSource = frViewCliente1.dsContacto
|
DataBinding.DataSource = frViewCliente1.dsContacto
|
||||||
ExplicitWidth = 862
|
ExplicitWidth = 521
|
||||||
Width = 521
|
Width = 521
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
inherited dxLayoutControlContactoGroup_Root: TdxLayoutGroup
|
||||||
|
inherited dxLayoutControlContactoGroup9: TdxLayoutGroup
|
||||||
|
inherited dxLayoutControlContactoGroup6: TdxLayoutGroup
|
||||||
|
inherited dxLayoutControlContactoGroup100: TdxLayoutGroup
|
||||||
|
Enabled = True
|
||||||
|
Visible = True
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited dsContacto: TDADataSource
|
inherited dsContacto: TDADataSource
|
||||||
Left = 24
|
Left = 24
|
||||||
@ -386,7 +394,7 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -397,12 +405,12 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 474
|
Height = 471
|
||||||
ExplicitWidth = 882
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 461
|
ExplicitHeight = 471
|
||||||
inherited cxGridView: TcxGridDBTableView
|
inherited cxGridView: TcxGridDBTableView
|
||||||
inherited cxGridViewID: TcxGridDBColumn
|
inherited cxGridViewID: TcxGridDBColumn
|
||||||
SortIndex = 0
|
SortIndex = 0
|
||||||
@ -412,33 +420,21 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
end
|
end
|
||||||
inherited ToolBar1: TToolBar
|
inherited ToolBar1: TToolBar
|
||||||
Width = 923
|
Width = 923
|
||||||
ExplicitWidth = 882
|
ExplicitWidth = 923
|
||||||
inherited ToolButton1: TToolButton
|
|
||||||
ExplicitWidth = 113
|
|
||||||
end
|
|
||||||
inherited ToolButton4: TToolButton
|
|
||||||
ExplicitWidth = 113
|
|
||||||
end
|
|
||||||
inherited ToolButton2: TToolButton
|
|
||||||
ExplicitWidth = 113
|
|
||||||
end
|
|
||||||
inherited ToolButton7: TToolButton
|
|
||||||
ExplicitWidth = 113
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited pagPersonal: TTabSheet [2]
|
inherited pagPersonal: TTabSheet [2]
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited frViewPersonalContacto1: TfrViewPersonalContacto
|
inherited frViewPersonalContacto1: TfrViewPersonalContacto
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 474
|
Height = 471
|
||||||
ExplicitWidth = 882
|
ExplicitWidth = 882
|
||||||
ExplicitHeight = 461
|
ExplicitHeight = 461
|
||||||
end
|
end
|
||||||
@ -601,6 +597,12 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
ExplicitWidth = 508
|
ExplicitWidth = 508
|
||||||
Width = 508
|
Width = 508
|
||||||
end
|
end
|
||||||
|
inherited ePrecioPunto: TcxDBCurrencyEdit
|
||||||
|
Top = 240
|
||||||
|
ExplicitTop = 240
|
||||||
|
ExplicitWidth = 239
|
||||||
|
Width = 239
|
||||||
|
end
|
||||||
inherited dxLayoutGroup1: TdxLayoutGroup
|
inherited dxLayoutGroup1: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Group4: TdxLayoutGroup
|
inherited dxLayoutControl1Group4: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Group5: TdxLayoutGroup
|
inherited dxLayoutControl1Group5: TdxLayoutGroup
|
||||||
@ -615,12 +617,12 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
end
|
end
|
||||||
inherited pagDatosBancarios: TTabSheet [4]
|
inherited pagDatosBancarios: TTabSheet [4]
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited frViewClienteDatosBancarios: TfrViewClienteDatosBancarios
|
inherited frViewClienteDatosBancarios: TfrViewClienteDatosBancarios
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 923
|
Width = 923
|
||||||
LookAndFeel = dxLayoutOfficeLookAndFeel
|
LookAndFeel = dxLayoutOfficeLookAndFeel
|
||||||
@ -634,12 +636,12 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Width = 345
|
Width = 345
|
||||||
end
|
end
|
||||||
inherited eSucursal: TcxDBTextEdit
|
inherited eSucursal: TcxDBTextEdit
|
||||||
Left = 564
|
Left = 565
|
||||||
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 = 564
|
ExplicitLeft = 565
|
||||||
ExplicitWidth = 318
|
ExplicitWidth = 318
|
||||||
Width = 318
|
Width = 318
|
||||||
end
|
end
|
||||||
@ -665,6 +667,14 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
ExplicitWidth = 743
|
ExplicitWidth = 743
|
||||||
Width = 743
|
Width = 743
|
||||||
end
|
end
|
||||||
|
inherited eIBAN: TcxDBTextEdit
|
||||||
|
ExplicitWidth = 782
|
||||||
|
Width = 782
|
||||||
|
end
|
||||||
|
inherited eSWIFT: TcxDBTextEdit
|
||||||
|
ExplicitWidth = 782
|
||||||
|
Width = 782
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -676,7 +686,7 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -687,10 +697,10 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 474
|
Height = 471
|
||||||
ExplicitWidth = 882
|
ExplicitWidth = 882
|
||||||
ExplicitHeight = 461
|
ExplicitHeight = 461
|
||||||
end
|
end
|
||||||
@ -720,7 +730,7 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
Align = alClient
|
Align = alClient
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
@ -732,15 +742,15 @@ inherited fEditorCliente: TfEditorCliente
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
inherited layoutApunte: TdxLayoutControl
|
inherited layoutApunte: TdxLayoutControl
|
||||||
Width = 923
|
Width = 923
|
||||||
Height = 499
|
Height = 496
|
||||||
ExplicitWidth = 923
|
ExplicitWidth = 923
|
||||||
ExplicitHeight = 499
|
ExplicitHeight = 496
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
923
|
923
|
||||||
499)
|
496)
|
||||||
inherited eRefSubCuenta: TcxDBTextEdit
|
inherited eRefSubCuenta: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
|||||||
@ -7,12 +7,13 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
ClientWidth = 632
|
ClientWidth = 632
|
||||||
Scaled = False
|
Scaled = False
|
||||||
ExplicitWidth = 640
|
ExplicitWidth = 640
|
||||||
ExplicitHeight = 240
|
ExplicitHeight = 497
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
Width = 632
|
Width = 632
|
||||||
Caption = 'Contacto'
|
Caption = 'Contacto'
|
||||||
|
ExplicitTop = 52
|
||||||
ExplicitWidth = 632
|
ExplicitWidth = 632
|
||||||
inherited Image1: TImage
|
inherited Image1: TImage
|
||||||
Left = 605
|
Left = 605
|
||||||
@ -23,7 +24,7 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
Width = 632
|
Width = 632
|
||||||
ExplicitWidth = 632
|
ExplicitWidth = 632
|
||||||
inherited tbxMain: TTBXToolbar
|
inherited tbxMain: TTBXToolbar
|
||||||
ExplicitWidth = 330
|
ExplicitWidth = 370
|
||||||
inherited TBXItem2: TTBXItem
|
inherited TBXItem2: TTBXItem
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
@ -83,15 +84,14 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
end
|
end
|
||||||
inherited pgPaginas: TPageControl
|
inherited pgPaginas: TPageControl
|
||||||
Width = 626
|
Width = 626
|
||||||
ActivePage = pagPersonal
|
ExplicitTop = 112
|
||||||
ExplicitTop = 79
|
|
||||||
ExplicitWidth = 626
|
ExplicitWidth = 626
|
||||||
ExplicitHeight = 358
|
ExplicitHeight = 325
|
||||||
inherited pagGeneral: TTabSheet
|
inherited pagGeneral: TTabSheet
|
||||||
ExplicitLeft = 4
|
ExplicitLeft = 4
|
||||||
ExplicitTop = 24
|
ExplicitTop = 24
|
||||||
ExplicitWidth = 618
|
ExplicitWidth = 618
|
||||||
ExplicitHeight = 330
|
ExplicitHeight = 297
|
||||||
end
|
end
|
||||||
object pagDatosBancarios: TTabSheet
|
object pagDatosBancarios: TTabSheet
|
||||||
Caption = 'Datos bancarios'
|
Caption = 'Datos bancarios'
|
||||||
@ -100,7 +100,7 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 618
|
Width = 618
|
||||||
Height = 300
|
Height = 297
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -111,7 +111,7 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 618
|
ExplicitWidth = 618
|
||||||
ExplicitHeight = 300
|
ExplicitHeight = 297
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 618
|
Width = 618
|
||||||
LookAndFeel = dxLayoutOfficeLookAndFeel
|
LookAndFeel = dxLayoutOfficeLookAndFeel
|
||||||
@ -127,13 +127,13 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
Width = 114
|
Width = 114
|
||||||
end
|
end
|
||||||
inherited eSucursal: TcxDBTextEdit
|
inherited eSucursal: TcxDBTextEdit
|
||||||
Left = 403
|
Left = 405
|
||||||
Top = 57
|
Top = 57
|
||||||
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 = 403
|
ExplicitLeft = 405
|
||||||
ExplicitTop = 57
|
ExplicitTop = 57
|
||||||
ExplicitWidth = 112
|
ExplicitWidth = 112
|
||||||
Width = 112
|
Width = 112
|
||||||
@ -166,6 +166,18 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
ExplicitWidth = 194
|
ExplicitWidth = 194
|
||||||
Width = 194
|
Width = 194
|
||||||
end
|
end
|
||||||
|
inherited eIBAN: TcxDBTextEdit
|
||||||
|
Top = 111
|
||||||
|
ExplicitTop = 111
|
||||||
|
ExplicitWidth = 782
|
||||||
|
Width = 782
|
||||||
|
end
|
||||||
|
inherited eSWIFT: TcxDBTextEdit
|
||||||
|
Top = 138
|
||||||
|
ExplicitTop = 138
|
||||||
|
ExplicitWidth = 782
|
||||||
|
Width = 782
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -176,7 +188,7 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 618
|
Width = 618
|
||||||
Height = 300
|
Height = 297
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -187,12 +199,12 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitWidth = 618
|
ExplicitWidth = 618
|
||||||
ExplicitHeight = 300
|
ExplicitHeight = 297
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 618
|
Width = 618
|
||||||
Height = 275
|
Height = 272
|
||||||
ExplicitWidth = 618
|
ExplicitWidth = 618
|
||||||
ExplicitHeight = 305
|
ExplicitHeight = 272
|
||||||
end
|
end
|
||||||
inherited ToolBar1: TToolBar
|
inherited ToolBar1: TToolBar
|
||||||
Width = 618
|
Width = 618
|
||||||
@ -215,6 +227,7 @@ inherited fEditorContacto: TfEditorContacto
|
|||||||
end
|
end
|
||||||
inherited PnlComentario: TPanel
|
inherited PnlComentario: TPanel
|
||||||
Width = 632
|
Width = 632
|
||||||
|
ExplicitTop = 79
|
||||||
ExplicitWidth = 632
|
ExplicitWidth = 632
|
||||||
end
|
end
|
||||||
inherited dsDataTable: TDADataSource [5]
|
inherited dsDataTable: TDADataSource [5]
|
||||||
|
|||||||
@ -3,6 +3,7 @@ inherited frViewCliente: TfrViewCliente
|
|||||||
Height = 563
|
Height = 563
|
||||||
OnCreate = CustomViewCreate
|
OnCreate = CustomViewCreate
|
||||||
OnDestroy = CustomViewDestroy
|
OnDestroy = CustomViewDestroy
|
||||||
|
OnShow = CustomViewShow
|
||||||
ExplicitWidth = 646
|
ExplicitWidth = 646
|
||||||
ExplicitHeight = 563
|
ExplicitHeight = 563
|
||||||
inherited dxLayoutControlContacto: TdxLayoutControl
|
inherited dxLayoutControlContacto: TdxLayoutControl
|
||||||
@ -32,8 +33,6 @@ inherited frViewCliente: TfrViewCliente
|
|||||||
TabOrder = 7
|
TabOrder = 7
|
||||||
ExplicitLeft = 132
|
ExplicitLeft = 132
|
||||||
ExplicitTop = 220
|
ExplicitTop = 220
|
||||||
ExplicitWidth = 181
|
|
||||||
Width = 181
|
|
||||||
end
|
end
|
||||||
inherited cbProvincia: TcxDBComboBox
|
inherited cbProvincia: TcxDBComboBox
|
||||||
Left = 132
|
Left = 132
|
||||||
@ -335,8 +334,6 @@ inherited frViewCliente: TfrViewCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 132
|
ExplicitLeft = 132
|
||||||
ExplicitWidth = 38
|
|
||||||
Width = 38
|
|
||||||
end
|
end
|
||||||
inherited ePersonaContacto: TcxDBTextEdit
|
inherited ePersonaContacto: TcxDBTextEdit
|
||||||
Left = 132
|
Left = 132
|
||||||
@ -348,14 +345,11 @@ inherited frViewCliente: TfrViewCliente
|
|||||||
TabOrder = 11
|
TabOrder = 11
|
||||||
ExplicitLeft = 132
|
ExplicitLeft = 132
|
||||||
ExplicitTop = 301
|
ExplicitTop = 301
|
||||||
ExplicitWidth = 256
|
|
||||||
Width = 256
|
|
||||||
end
|
end
|
||||||
inherited frViewTienda1: TfrViewTienda
|
inherited frViewTienda1: TfrViewTienda
|
||||||
Left = 344
|
Left = 344
|
||||||
Width = 270
|
Width = 270
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Enabled = False
|
|
||||||
TabOrder = 21
|
TabOrder = 21
|
||||||
ExplicitLeft = 344
|
ExplicitLeft = 344
|
||||||
ExplicitWidth = 270
|
ExplicitWidth = 270
|
||||||
@ -367,8 +361,6 @@ inherited frViewCliente: TfrViewCliente
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 376
|
|
||||||
Width = 376
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -444,8 +436,6 @@ inherited frViewCliente: TfrViewCliente
|
|||||||
inherited dxLayoutControlContactoGroup6: TdxLayoutGroup
|
inherited dxLayoutControlContactoGroup6: TdxLayoutGroup
|
||||||
inherited dxLayoutControlContactoGroup100: TdxLayoutGroup
|
inherited dxLayoutControlContactoGroup100: TdxLayoutGroup
|
||||||
Caption = 'El cliente pertenece a la tienda'
|
Caption = 'El cliente pertenece a la tienda'
|
||||||
Enabled = False
|
|
||||||
Visible = False
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -43,6 +43,7 @@ type
|
|||||||
procedure cbProcedenciaClientePropertiesInitPopup(Sender: TObject);
|
procedure cbProcedenciaClientePropertiesInitPopup(Sender: TObject);
|
||||||
procedure cbProcedenciaClientePropertiesValidate(Sender: TObject;
|
procedure cbProcedenciaClientePropertiesValidate(Sender: TObject;
|
||||||
var DisplayValue: Variant; var ErrorText: TCaption; var Error: Boolean);
|
var DisplayValue: Variant; var ErrorText: TCaption; var Error: Boolean);
|
||||||
|
procedure CustomViewShow(Sender: TObject);
|
||||||
protected
|
protected
|
||||||
FGrupoController: IGruposClienteController;
|
FGrupoController: IGruposClienteController;
|
||||||
FProcedenciaController: IProcedenciasClienteController;
|
FProcedenciaController: IProcedenciasClienteController;
|
||||||
@ -54,7 +55,7 @@ implementation
|
|||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
uBizGruposCliente, uBizProcedenciasCliente;
|
uBizGruposCliente, uBizProcedenciasCliente, uFactuGES_App;
|
||||||
|
|
||||||
{ TfrViewCliente }
|
{ TfrViewCliente }
|
||||||
|
|
||||||
@ -161,6 +162,22 @@ begin
|
|||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewCliente.CustomViewShow(Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
//Solo se ve campo tienda en Graden
|
||||||
|
if (AppFactuGES.EmpresaActiva.ID = 1) then
|
||||||
|
begin
|
||||||
|
dxLayoutControlContactoGroup100.Enabled := False;
|
||||||
|
dxLayoutControlContactoGroup100.Visible := False;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
dxLayoutControlContactoGroup100.Enabled := True;
|
||||||
|
dxLayoutControlContactoGroup100.Visible := True;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewCliente.SetContacto(const Value: IBizContacto);
|
procedure TfrViewCliente.SetContacto(const Value: IBizContacto);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
|||||||
@ -39,10 +39,6 @@ inherited frViewClientes: TfrViewClientes
|
|||||||
VisibleForCustomization = False
|
VisibleForCustomization = False
|
||||||
Width = 22
|
Width = 22
|
||||||
end
|
end
|
||||||
inherited cxGridViewTIENDA: TcxGridDBColumn
|
|
||||||
Visible = False
|
|
||||||
VisibleForCustomization = False
|
|
||||||
end
|
|
||||||
object cxGridViewNOMBRE_COMERCIAL: TcxGridDBColumn [6]
|
object cxGridViewNOMBRE_COMERCIAL: TcxGridDBColumn [6]
|
||||||
DataBinding.FieldName = 'NOMBRE_COMERCIAL'
|
DataBinding.FieldName = 'NOMBRE_COMERCIAL'
|
||||||
Width = 164
|
Width = 164
|
||||||
|
|||||||
@ -473,6 +473,7 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
ExplicitLeft = 312
|
ExplicitLeft = 312
|
||||||
ExplicitTop = 280
|
ExplicitTop = 280
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
|
ExplicitWidth = 290
|
||||||
inherited cbTienda: TcxComboBox
|
inherited cbTienda: TcxComboBox
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
@ -502,7 +503,8 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
inherited memObservaciones: TcxDBMemo
|
inherited memObservaciones: TcxDBMemo
|
||||||
DataBinding.DataField = 'NOTAS'
|
DataBinding.DataField = 'NOTAS'
|
||||||
DataBinding.DataSource = dsContacto
|
DataBinding.DataSource = dsContacto
|
||||||
ExplicitHeight = 228
|
ExplicitWidth = 580
|
||||||
|
ExplicitHeight = 163
|
||||||
Height = 228
|
Height = 228
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -700,6 +702,8 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
object dxLayoutControlContactoGroup100: TdxLayoutGroup
|
object dxLayoutControlContactoGroup100: TdxLayoutGroup
|
||||||
AutoAligns = [aaHorizontal]
|
AutoAligns = [aaHorizontal]
|
||||||
Caption = 'El contacto pertenece a la tienda'
|
Caption = 'El contacto pertenece a la tienda'
|
||||||
|
Enabled = False
|
||||||
|
Visible = False
|
||||||
object dxLayoutControlContactoItem16: TdxLayoutItem
|
object dxLayoutControlContactoItem16: TdxLayoutItem
|
||||||
Caption = 'New Item'
|
Caption = 'New Item'
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
|
|||||||
@ -75,6 +75,7 @@ type
|
|||||||
|
|
||||||
function MandarFabrica(AContrato: IBizContratoCliente): Boolean;
|
function MandarFabrica(AContrato: IBizContratoCliente): Boolean;
|
||||||
function AceptarContrato(AContrato: IBizContratoCliente): Boolean;
|
function AceptarContrato(AContrato: IBizContratoCliente): Boolean;
|
||||||
|
function AnadirIncidenciaContrato(AIdContrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TContratosClienteController = class(TControllerBase, IContratosClienteController)
|
TContratosClienteController = class(TControllerBase, IContratosClienteController)
|
||||||
@ -160,6 +161,7 @@ type
|
|||||||
|
|
||||||
function MandarFabrica(AContrato: IBizContratoCliente): Boolean;
|
function MandarFabrica(AContrato: IBizContratoCliente): Boolean;
|
||||||
function AceptarContrato(AContrato: IBizContratoCliente): Boolean;
|
function AceptarContrato(AContrato: IBizContratoCliente): Boolean;
|
||||||
|
function AnadirIncidenciaContrato(AIdContrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -213,7 +215,7 @@ begin
|
|||||||
ADestino.PROPIEDAD := AOrigen.PROPIEDAD;
|
ADestino.PROPIEDAD := AOrigen.PROPIEDAD;
|
||||||
ADestino.CONCEPTO := AOrigen.CONCEPTO;
|
ADestino.CONCEPTO := AOrigen.CONCEPTO;
|
||||||
// Se copia como variant para que no convierta a double y meta ceros.
|
// Se copia como variant para que no convierta a double y meta ceros.
|
||||||
ADestino.DataTable.FieldByName(fld_PresupuestosCliente_DetallesCANTIDAD).AsVariant := AOrigen.DataTable.FieldByName(fld_PresupuestosCliente_DetallesCANTIDAD).AsVariant;
|
ADestino.DataTable.FieldByName(fld_PresupuestosCliente_DetallesCANTIDAD).AsFloat := AOrigen.DataTable.FieldByName(fld_PresupuestosCliente_DetallesCANTIDAD).AsFloat;
|
||||||
// ADestino.CANTIDAD := AOrigen.CANTIDAD;
|
// ADestino.CANTIDAD := AOrigen.CANTIDAD;
|
||||||
ADestino.DataTable.FieldByName(fld_PresupuestosCliente_DetallesIMPORTE_UNIDAD).AsVariant := AOrigen.DataTable.FieldByName(fld_PresupuestosCliente_DetallesIMPORTE_UNIDAD).AsVariant;
|
ADestino.DataTable.FieldByName(fld_PresupuestosCliente_DetallesIMPORTE_UNIDAD).AsVariant := AOrigen.DataTable.FieldByName(fld_PresupuestosCliente_DetallesIMPORTE_UNIDAD).AsVariant;
|
||||||
// ADestino.IMPORTE_UNIDAD := AOrigen.IMPORTE_UNIDAD;
|
// ADestino.IMPORTE_UNIDAD := AOrigen.IMPORTE_UNIDAD;
|
||||||
@ -425,6 +427,13 @@ begin
|
|||||||
if bEnEdicion then
|
if bEnEdicion then
|
||||||
AContratos.Edit;
|
AContratos.Edit;
|
||||||
|
|
||||||
|
//En el caso de ser 1 contrato a partir de 1 presupuesto copiamos las referencias de cliente y la tienda del presupuesto origen
|
||||||
|
if (AListaPresupuestos.DataTable.RecordCount = 1) then
|
||||||
|
begin
|
||||||
|
AContratos.REFERENCIA_CLIENTE := AListaPresupuestos.REFERENCIA_CLIENTE;
|
||||||
|
AContratos.ID_TIENDA := AListaPresupuestos.ID_TIENDA;
|
||||||
|
end;
|
||||||
|
|
||||||
AContratoActual := AContratos;
|
AContratoActual := AContratos;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -522,6 +531,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TContratosClienteController.AnadirIncidenciaContrato(
|
||||||
|
AIdContrato: Integer): Boolean;
|
||||||
|
begin
|
||||||
|
Result := FDataModule.AnadirIncidenciaContrato(AIdContrato);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TContratosClienteController.AsignarDataModule;
|
procedure TContratosClienteController.AsignarDataModule;
|
||||||
begin
|
begin
|
||||||
FDataModule := TDataModuleContratosCliente.Create(Nil);
|
FDataModule := TDataModuleContratosCliente.Create(Nil);
|
||||||
@ -591,9 +606,12 @@ begin
|
|||||||
AContrato.DataTable.Edit;
|
AContrato.DataTable.Edit;
|
||||||
AContrato.SITUACION := Situacion;
|
AContrato.SITUACION := Situacion;
|
||||||
AContrato.DataTable.Post;
|
AContrato.DataTable.Post;
|
||||||
|
if (not AContrato.ID_CONTRATO_ASOCIADOIsNull)
|
||||||
|
and (AContrato.SITUACION = SITUACION_CONTRATO_CANCELADO) then
|
||||||
|
Self.AnadirIncidenciaContrato(AContrato.ID_CONTRATO_ASOCIADO);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//En el caso de querer eliminar todos los items del objeto AContrato
|
//En el caso de querer cambiar todos los items del objeto AContrato
|
||||||
if AllItems then
|
if AllItems then
|
||||||
begin
|
begin
|
||||||
with AContrato.DataTable do
|
with AContrato.DataTable do
|
||||||
@ -606,6 +624,8 @@ begin
|
|||||||
AContrato.DataTable.Edit;
|
AContrato.DataTable.Edit;
|
||||||
AContrato.SITUACION := Situacion;
|
AContrato.SITUACION := Situacion;
|
||||||
AContrato.DataTable.Post;
|
AContrato.DataTable.Post;
|
||||||
|
if not AContrato.ID_CONTRATO_ASOCIADOIsNull then
|
||||||
|
Self.AnadirIncidenciaContrato(AContrato.ID_CONTRATO_ASOCIADO);
|
||||||
end;
|
end;
|
||||||
Next;
|
Next;
|
||||||
end;
|
end;
|
||||||
@ -703,6 +723,8 @@ begin
|
|||||||
FECHA_CONTRATO := DateOf(Now);
|
FECHA_CONTRATO := DateOf(Now);
|
||||||
INCIDENCIAS_ACTIVAS := 0;
|
INCIDENCIAS_ACTIVAS := 0;
|
||||||
INCIDENCIASIsNull := True;
|
INCIDENCIASIsNull := True;
|
||||||
|
ENVIADA_REVISADA := 0;
|
||||||
|
ID_CONTRATO_ASOCIADOIsNull := True;
|
||||||
// ID_FACTURAIsNull := True;
|
// ID_FACTURAIsNull := True;
|
||||||
REFERENCIA := '';
|
REFERENCIA := '';
|
||||||
SITUACION := SITUACION_CONTRATO_PENDIENTE;
|
SITUACION := SITUACION_CONTRATO_PENDIENTE;
|
||||||
|
|||||||
@ -56,6 +56,7 @@ type
|
|||||||
|
|
||||||
function GetAnosItems : TStringList;
|
function GetAnosItems : TStringList;
|
||||||
function GetContratosClienteBeneficios : IBizContratosClienteBeneficios;
|
function GetContratosClienteBeneficios : IBizContratosClienteBeneficios;
|
||||||
|
function AnadirIncidenciaContrato(const id_contrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -68,6 +69,12 @@ uses
|
|||||||
|
|
||||||
{ TdmContratosCliente }
|
{ TdmContratosCliente }
|
||||||
|
|
||||||
|
function TDataModuleContratosCliente.AnadirIncidenciaContrato(
|
||||||
|
const id_contrato: Integer): Boolean;
|
||||||
|
begin
|
||||||
|
Result := (RORemoteService as IsrvContratosCliente).AnadirIncidenciaContrato(id_contrato);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TDataModuleContratosCliente.AsignarClaseNegocio(AContrato: TDADataTable);
|
procedure TDataModuleContratosCliente.AsignarClaseNegocio(AContrato: TDADataTable);
|
||||||
begin
|
begin
|
||||||
AContrato.BusinessRulesID := BIZ_CLIENT_CONTRATO_CLIENTE;
|
AContrato.BusinessRulesID := BIZ_CLIENT_CONTRATO_CLIENTE;
|
||||||
|
|||||||
@ -15,6 +15,7 @@ type
|
|||||||
function GetItem(const ID : Integer) : IBizContratoCliente;
|
function GetItem(const ID : Integer) : IBizContratoCliente;
|
||||||
function NewItem : IBizContratoCliente;
|
function NewItem : IBizContratoCliente;
|
||||||
function GetContratosClienteBeneficios : IBizContratosClienteBeneficios;
|
function GetContratosClienteBeneficios : IBizContratosClienteBeneficios;
|
||||||
|
function AnadirIncidenciaContrato(const id_contrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|||||||
@ -9,13 +9,13 @@ 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_Valores = '{D5E5E35F-2DA7-48D2-A379-56EB76852FBC}';
|
RID_Valores = '{8ACAF219-8101-4DAD-BF41-5ED9197B7AEA}';
|
||||||
RID_Propiedades = '{57E36EAD-2E69-4822-8D20-27E700CDA02A}';
|
RID_Propiedades = '{D7E9DBD6-13C0-4C9D-A088-C2289FF4E94C}';
|
||||||
RID_ListaAnosContratos = '{332766CB-3910-4BF6-8FE4-A4FC2C9401AD}';
|
RID_ListaAnosContratos = '{AA2B5D48-D253-469C-AF7A-F69F3A4855BE}';
|
||||||
RID_ContratosClienteBeneficios = '{7661D161-1EC2-47AE-B690-531646C455D7}';
|
RID_ContratosClienteBeneficios = '{BF9F1FA6-4537-49DD-BAD6-ED5089323CF1}';
|
||||||
RID_ContratosCliente = '{7BF6D9BC-9390-4F1D-BF55-65ABF0C0E538}';
|
RID_ContratosCliente = '{1B1ED532-8A4F-42AF-8DDB-0B357CDEC752}';
|
||||||
RID_TiposCapitulos = '{30C7D945-8123-4220-80A8-053F36943EF7}';
|
RID_TiposCapitulos = '{1B246FE2-B5BC-482A-BA80-09BEE78E6B47}';
|
||||||
RID_ContratosCliente_Detalles = '{12571A19-998F-484D-BB5E-EDF3F13F424C}';
|
RID_ContratosCliente_Detalles = '{6C4DA840-1DEC-4A3A-B313-22662176E271}';
|
||||||
|
|
||||||
{ Data table names }
|
{ Data table names }
|
||||||
nme_Valores = 'Valores';
|
nme_Valores = 'Valores';
|
||||||
@ -271,7 +271,7 @@ const
|
|||||||
type
|
type
|
||||||
{ IValores }
|
{ IValores }
|
||||||
IValores = interface(IDAStronglyTypedDataTable)
|
IValores = interface(IDAStronglyTypedDataTable)
|
||||||
['{DC31F047-82DF-4D1E-9D34-58E8185C7777}']
|
['{705F78EB-86CF-4A91-B549-3E33D21ED403}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -330,7 +330,7 @@ type
|
|||||||
|
|
||||||
{ IPropiedades }
|
{ IPropiedades }
|
||||||
IPropiedades = interface(IDAStronglyTypedDataTable)
|
IPropiedades = interface(IDAStronglyTypedDataTable)
|
||||||
['{AF55E67B-6949-47CD-941C-28EA29930113}']
|
['{BC20A9B4-71D3-4A1E-98F7-D02E4C048CE7}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -389,7 +389,7 @@ type
|
|||||||
|
|
||||||
{ IListaAnosContratos }
|
{ IListaAnosContratos }
|
||||||
IListaAnosContratos = interface(IDAStronglyTypedDataTable)
|
IListaAnosContratos = interface(IDAStronglyTypedDataTable)
|
||||||
['{A5F01DD2-681C-46B7-B1A5-F537E7A9C576}']
|
['{668486B3-25A1-4453-A0C1-638ECF020E58}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetANOValue: String;
|
function GetANOValue: String;
|
||||||
procedure SetANOValue(const aValue: String);
|
procedure SetANOValue(const aValue: String);
|
||||||
@ -424,7 +424,7 @@ type
|
|||||||
|
|
||||||
{ IContratosClienteBeneficios }
|
{ IContratosClienteBeneficios }
|
||||||
IContratosClienteBeneficios = interface(IDAStronglyTypedDataTable)
|
IContratosClienteBeneficios = interface(IDAStronglyTypedDataTable)
|
||||||
['{039CC4EF-AF47-47D9-BCD9-FD711CC078BD}']
|
['{4D7889FC-42CB-4859-86A4-CE9211D0D593}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -627,7 +627,7 @@ type
|
|||||||
|
|
||||||
{ IContratosCliente }
|
{ IContratosCliente }
|
||||||
IContratosCliente = interface(IDAStronglyTypedDataTable)
|
IContratosCliente = interface(IDAStronglyTypedDataTable)
|
||||||
['{F3FEC1BB-9BE8-4AAD-8E45-7F8FBDF849C7}']
|
['{F63FB999-3889-45F4-9BC7-6E06A9D18E71}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -1373,7 +1373,7 @@ type
|
|||||||
}
|
}
|
||||||
{ ITiposCapitulos }
|
{ ITiposCapitulos }
|
||||||
ITiposCapitulos = interface(IDAStronglyTypedDataTable)
|
ITiposCapitulos = interface(IDAStronglyTypedDataTable)
|
||||||
['{55353FAD-BDD3-4139-8528-B14F80FA3250}']
|
['{D55205DF-DD63-42BD-B89C-7B46709D972E}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
@ -1468,7 +1468,7 @@ type
|
|||||||
|
|
||||||
{ IContratosCliente_Detalles }
|
{ IContratosCliente_Detalles }
|
||||||
IContratosCliente_Detalles = interface(IDAStronglyTypedDataTable)
|
IContratosCliente_Detalles = interface(IDAStronglyTypedDataTable)
|
||||||
['{58973079-33E4-4FD7-9D90-5022EB5FE0E1}']
|
['{C9DC930F-F554-469D-9644-0FFB9551249F}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetIDValue: Integer;
|
function GetIDValue: Integer;
|
||||||
procedure SetIDValue(const aValue: Integer);
|
procedure SetIDValue(const aValue: Integer);
|
||||||
|
|||||||
@ -9,18 +9,18 @@ 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_ValoresDelta = '{AB534F6D-5CB4-42AE-99A6-DB32A159786A}';
|
RID_ValoresDelta = '{B1DDE678-7C06-4F0F-A1A0-7C88498BFBCF}';
|
||||||
RID_PropiedadesDelta = '{0A5AD994-2440-429C-ABFF-1A05AF5DC3BD}';
|
RID_PropiedadesDelta = '{98B8D0C8-5C71-437A-9D8E-F1C5529264D0}';
|
||||||
RID_ListaAnosContratosDelta = '{C4285284-A679-4D2C-951A-917136D03E11}';
|
RID_ListaAnosContratosDelta = '{251E5873-5A2B-4DD9-A437-A4AA686545E7}';
|
||||||
RID_ContratosClienteBeneficiosDelta = '{22C5CA7A-0598-4FF2-83F9-20D7A73F174B}';
|
RID_ContratosClienteBeneficiosDelta = '{14FFEEE8-E584-4327-9AE0-CBA2F8F7B787}';
|
||||||
RID_ContratosClienteDelta = '{540F2A27-DE58-4367-92D9-9033464DF39E}';
|
RID_ContratosClienteDelta = '{4D93A3D6-EC00-4933-A6CA-F7B9FE480CA2}';
|
||||||
RID_TiposCapitulosDelta = '{46EF310E-1A4F-4C79-B660-A75D73C0ECF8}';
|
RID_TiposCapitulosDelta = '{31536ABE-8759-41FD-8890-F292958DCBA0}';
|
||||||
RID_ContratosCliente_DetallesDelta = '{83816E0E-FC42-447E-BEFB-CC135039BF11}';
|
RID_ContratosCliente_DetallesDelta = '{8DC57EB7-7682-4AA2-B800-37BA98492A26}';
|
||||||
|
|
||||||
type
|
type
|
||||||
{ IValoresDelta }
|
{ IValoresDelta }
|
||||||
IValoresDelta = interface(IValores)
|
IValoresDelta = interface(IValores)
|
||||||
['{AB534F6D-5CB4-42AE-99A6-DB32A159786A}']
|
['{B1DDE678-7C06-4F0F-A1A0-7C88498BFBCF}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_PROPIEDADValue : Integer;
|
function GetOldID_PROPIEDADValue : Integer;
|
||||||
@ -78,7 +78,7 @@ type
|
|||||||
|
|
||||||
{ IPropiedadesDelta }
|
{ IPropiedadesDelta }
|
||||||
IPropiedadesDelta = interface(IPropiedades)
|
IPropiedadesDelta = interface(IPropiedades)
|
||||||
['{0A5AD994-2440-429C-ABFF-1A05AF5DC3BD}']
|
['{98B8D0C8-5C71-437A-9D8E-F1C5529264D0}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldDESCRIPCIONValue : String;
|
function GetOldDESCRIPCIONValue : String;
|
||||||
@ -136,7 +136,7 @@ type
|
|||||||
|
|
||||||
{ IListaAnosContratosDelta }
|
{ IListaAnosContratosDelta }
|
||||||
IListaAnosContratosDelta = interface(IListaAnosContratos)
|
IListaAnosContratosDelta = interface(IListaAnosContratos)
|
||||||
['{C4285284-A679-4D2C-951A-917136D03E11}']
|
['{251E5873-5A2B-4DD9-A437-A4AA686545E7}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldANOValue : String;
|
function GetOldANOValue : String;
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ type
|
|||||||
|
|
||||||
{ IContratosClienteBeneficiosDelta }
|
{ IContratosClienteBeneficiosDelta }
|
||||||
IContratosClienteBeneficiosDelta = interface(IContratosClienteBeneficios)
|
IContratosClienteBeneficiosDelta = interface(IContratosClienteBeneficios)
|
||||||
['{22C5CA7A-0598-4FF2-83F9-20D7A73F174B}']
|
['{14FFEEE8-E584-4327-9AE0-CBA2F8F7B787}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldREFERENCIAValue : String;
|
function GetOldREFERENCIAValue : String;
|
||||||
@ -372,7 +372,7 @@ type
|
|||||||
|
|
||||||
{ IContratosClienteDelta }
|
{ IContratosClienteDelta }
|
||||||
IContratosClienteDelta = interface(IContratosCliente)
|
IContratosClienteDelta = interface(IContratosCliente)
|
||||||
['{540F2A27-DE58-4367-92D9-9033464DF39E}']
|
['{4D93A3D6-EC00-4933-A6CA-F7B9FE480CA2}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_EMPRESAValue : Integer;
|
function GetOldID_EMPRESAValue : Integer;
|
||||||
@ -1118,7 +1118,7 @@ type
|
|||||||
|
|
||||||
{ ITiposCapitulosDelta }
|
{ ITiposCapitulosDelta }
|
||||||
ITiposCapitulosDelta = interface(ITiposCapitulos)
|
ITiposCapitulosDelta = interface(ITiposCapitulos)
|
||||||
['{46EF310E-1A4F-4C79-B660-A75D73C0ECF8}']
|
['{31536ABE-8759-41FD-8890-F292958DCBA0}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldPOSICIONValue : Integer;
|
function GetOldPOSICIONValue : Integer;
|
||||||
@ -1212,7 +1212,7 @@ type
|
|||||||
|
|
||||||
{ IContratosCliente_DetallesDelta }
|
{ IContratosCliente_DetallesDelta }
|
||||||
IContratosCliente_DetallesDelta = interface(IContratosCliente_Detalles)
|
IContratosCliente_DetallesDelta = interface(IContratosCliente_Detalles)
|
||||||
['{83816E0E-FC42-447E-BEFB-CC135039BF11}']
|
['{8DC57EB7-7682-4AA2-B800-37BA98492A26}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldIDValue : Integer;
|
function GetOldIDValue : Integer;
|
||||||
function GetOldID_CONTRATOValue : Integer;
|
function GetOldID_CONTRATOValue : Integer;
|
||||||
|
|||||||
@ -20,6 +20,7 @@ const
|
|||||||
CTE_CLIENTE_PARA_FABRICA = 2000000005;
|
CTE_CLIENTE_PARA_FABRICA = 2000000005;
|
||||||
SITUACION_CONTRATO_PENDIENTE = 'PENDIENTE';
|
SITUACION_CONTRATO_PENDIENTE = 'PENDIENTE';
|
||||||
SITUACION_CONTRATO_TERMINADO = 'TERMINADO';
|
SITUACION_CONTRATO_TERMINADO = 'TERMINADO';
|
||||||
|
SITUACION_CONTRATO_CANCELADO = 'CANCELADO';
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
@ -213,6 +214,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
Add(SITUACION_CONTRATO_PENDIENTE);
|
Add(SITUACION_CONTRATO_PENDIENTE);
|
||||||
Add(SITUACION_CONTRATO_TERMINADO);
|
Add(SITUACION_CONTRATO_TERMINADO);
|
||||||
|
Add(SITUACION_CONTRATO_CANCELADO);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -1422,6 +1422,24 @@ object srvContratosCliente: TsrvContratosCliente
|
|||||||
end>
|
end>
|
||||||
Name = 'Insert_ContratosCliente'
|
Name = 'Insert_ContratosCliente'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Params = <
|
||||||
|
item
|
||||||
|
Name = 'id_contrato'
|
||||||
|
DataType = datInteger
|
||||||
|
Value = ''
|
||||||
|
end>
|
||||||
|
Statements = <
|
||||||
|
item
|
||||||
|
ConnectionType = 'Interbase'
|
||||||
|
Default = True
|
||||||
|
Name = 'IBX'
|
||||||
|
SQL = 'execute procedure PROC_SET_INC_CONTRATO_ENVIADO :id_contrato'#10
|
||||||
|
StatementType = stSQL
|
||||||
|
ColumnMappings = <>
|
||||||
|
end>
|
||||||
|
Name = 'AnadirIncidenciaContrato'
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Params = <
|
Params = <
|
||||||
item
|
item
|
||||||
|
|||||||
@ -37,6 +37,7 @@ type
|
|||||||
function GenerarInformeEnPDF(const ListaID: TIntegerArray; const NombreEmpresa: AnsiString; const VerLogotipo: Boolean; const VerPrecios: Boolean; const VerTotales: Boolean): Binary;
|
function GenerarInformeEnPDF(const ListaID: TIntegerArray; const NombreEmpresa: AnsiString; const VerLogotipo: Boolean; const VerPrecios: Boolean; const VerTotales: Boolean): Binary;
|
||||||
function GenerarInformeEtiquetas(const ID: Integer; const AAgencia: Variant; const ARefPedido: Variant; const ANumEtiquetas: Integer;
|
function GenerarInformeEtiquetas(const ID: Integer; const AAgencia: Variant; const ARefPedido: Variant; const ANumEtiquetas: Integer;
|
||||||
const AEtiquetaIni: Integer): Binary;
|
const AEtiquetaIni: Integer): Binary;
|
||||||
|
function AnadirIncidenciaContrato(const id_contrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -55,6 +56,22 @@ end;
|
|||||||
|
|
||||||
{ srvContratosCliente }
|
{ srvContratosCliente }
|
||||||
|
|
||||||
|
function TsrvContratosCliente.AnadirIncidenciaContrato(
|
||||||
|
const id_contrato: Integer): Boolean;
|
||||||
|
begin
|
||||||
|
Result := False;
|
||||||
|
|
||||||
|
Connection.BeginTransaction;
|
||||||
|
try
|
||||||
|
schContratosCLiente.NewCommand(Connection, 'AnadirIncidenciaContrato', ['ID_CONTRATO'], [ID_CONTRATO]);
|
||||||
|
Connection.CommitTransaction;
|
||||||
|
Result := True;
|
||||||
|
except
|
||||||
|
Connection.RollbackTransaction;
|
||||||
|
RaiseError('Error al añadir incidencia a contrato asociado');
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TsrvContratosCliente.DARemoteServiceBeforeGetDatasetData(
|
procedure TsrvContratosCliente.DARemoteServiceBeforeGetDatasetData(
|
||||||
const Dataset: IDADataset; const IncludeSchema: Boolean;
|
const Dataset: IDADataset; const IncludeSchema: Boolean;
|
||||||
const MaxRecords: Integer);
|
const MaxRecords: Integer);
|
||||||
|
|||||||
@ -243,6 +243,10 @@ inherited fEditorContratosCliente: TfEditorContratosCliente
|
|||||||
Action = actTerminar
|
Action = actTerminar
|
||||||
DisplayMode = nbdmImageAndText
|
DisplayMode = nbdmImageAndText
|
||||||
end
|
end
|
||||||
|
object TBXItem51: TTBXItem
|
||||||
|
Action = actCancelar
|
||||||
|
DisplayMode = nbdmImageAndText
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited StatusBar: TJvStatusBar
|
inherited StatusBar: TJvStatusBar
|
||||||
@ -320,6 +324,12 @@ inherited fEditorContratosCliente: TfEditorContratosCliente
|
|||||||
OnExecute = actAceptadoExecute
|
OnExecute = actAceptadoExecute
|
||||||
OnUpdate = actAceptadoUpdate
|
OnUpdate = actAceptadoUpdate
|
||||||
end
|
end
|
||||||
|
object actCancelar: TAction
|
||||||
|
Caption = 'Cancelar'
|
||||||
|
ImageIndex = 26
|
||||||
|
OnExecute = actCancelarExecute
|
||||||
|
OnUpdate = actCancelarUpdate
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited SmallImages: TPngImageList
|
inherited SmallImages: TPngImageList
|
||||||
PngImages = <
|
PngImages = <
|
||||||
|
|||||||
@ -56,6 +56,8 @@ type
|
|||||||
TBXSeparatorItem21: TTBXSeparatorItem;
|
TBXSeparatorItem21: TTBXSeparatorItem;
|
||||||
actAceptado: TAction;
|
actAceptado: TAction;
|
||||||
TBXItem50: TTBXItem;
|
TBXItem50: TTBXItem;
|
||||||
|
actCancelar: TAction;
|
||||||
|
TBXItem51: TTBXItem;
|
||||||
procedure FormShow(Sender: TObject);
|
procedure FormShow(Sender: TObject);
|
||||||
procedure actGenerarAlbaranCliExecute(Sender: TObject);
|
procedure actGenerarAlbaranCliExecute(Sender: TObject);
|
||||||
procedure actEliminarUpdate(Sender: TObject);
|
procedure actEliminarUpdate(Sender: TObject);
|
||||||
@ -85,6 +87,8 @@ type
|
|||||||
procedure actTerminarUpdate(Sender: TObject);
|
procedure actTerminarUpdate(Sender: TObject);
|
||||||
procedure actAceptadoExecute(Sender: TObject);
|
procedure actAceptadoExecute(Sender: TObject);
|
||||||
procedure actAceptadoUpdate(Sender: TObject);
|
procedure actAceptadoUpdate(Sender: TObject);
|
||||||
|
procedure actCancelarExecute(Sender: TObject);
|
||||||
|
procedure actCancelarUpdate(Sender: TObject);
|
||||||
|
|
||||||
protected
|
protected
|
||||||
FContratos: IBizContratoCliente;
|
FContratos: IBizContratoCliente;
|
||||||
@ -176,6 +180,7 @@ begin
|
|||||||
and ViewGrid.esSeleccionCeldaDatos
|
and ViewGrid.esSeleccionCeldaDatos
|
||||||
and not (ViewGrid.NumSeleccionados > 1)
|
and not (ViewGrid.NumSeleccionados > 1)
|
||||||
and (FContratos.SITUACION <> SITUACION_CONTRATO_TERMINADO)
|
and (FContratos.SITUACION <> SITUACION_CONTRATO_TERMINADO)
|
||||||
|
and (FContratos.SITUACION <> SITUACION_CONTRATO_CANCELADO)
|
||||||
and (FContratos.ENVIADA_REVISADA = CONST_CONTRATO_RECIBIDO_UECKO)
|
and (FContratos.ENVIADA_REVISADA = CONST_CONTRATO_RECIBIDO_UECKO)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -281,6 +286,45 @@ begin
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorContratosCliente.actCancelarExecute(Sender: TObject);
|
||||||
|
var
|
||||||
|
AContratos: IBizContratoCliente;
|
||||||
|
AllItems: Boolean;
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
AContratos := Nil;
|
||||||
|
AllItems := False;
|
||||||
|
|
||||||
|
if MultiSelect and Assigned(ViewGrid) then
|
||||||
|
AllItems := (ViewGrid.NumSeleccionados > 1);
|
||||||
|
|
||||||
|
if AllItems then
|
||||||
|
begin
|
||||||
|
SeleccionarFilasDesdeGrid(ViewGrid._FocusedView, (Contratos as ISeleccionable).SelectedRecords);
|
||||||
|
AContratos := (Controller as IContratosClienteController).ExtraerSeleccionados(Contratos) as IBizContratoCliente;
|
||||||
|
end
|
||||||
|
else begin
|
||||||
|
AContratos := Contratos;
|
||||||
|
end;
|
||||||
|
|
||||||
|
ViewGrid._Grid.BeginUpdate;
|
||||||
|
if Assigned(AContratos) then
|
||||||
|
begin
|
||||||
|
FController.CambiarSituacion(AContratos, SITUACION_CONTRATO_CANCELADO, now, AllItems);
|
||||||
|
actRefrescar.Execute;
|
||||||
|
end;
|
||||||
|
ViewGrid._Grid.EndUpdate;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorContratosCliente.actCancelarUpdate(Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
(Sender as TAction).Enabled := HayDatos
|
||||||
|
and ViewGrid.esSeleccionCeldaDatos
|
||||||
|
and (FContratos.SITUACION <> SITUACION_CONTRATO_CANCELADO)
|
||||||
|
and (FContratos.SITUACION <> SITUACION_CONTRATO_TERMINADO);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfEditorContratosCliente.actEliminarUpdate(Sender: TObject);
|
procedure TfEditorContratosCliente.actEliminarUpdate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
@ -478,6 +522,7 @@ begin
|
|||||||
inherited;
|
inherited;
|
||||||
(Sender as TAction).Enabled := HayDatos
|
(Sender as TAction).Enabled := HayDatos
|
||||||
and ViewGrid.esSeleccionCeldaDatos
|
and ViewGrid.esSeleccionCeldaDatos
|
||||||
|
and (FContratos.SITUACION <> SITUACION_CONTRATO_CANCELADO)
|
||||||
and (FContratos.SITUACION <> SITUACION_CONTRATO_TERMINADO);
|
and (FContratos.SITUACION <> SITUACION_CONTRATO_TERMINADO);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -144,6 +144,10 @@ inherited frViewContratoCliente: TfrViewContratoCliente
|
|||||||
item
|
item
|
||||||
Description = 'TERMINADO'
|
Description = 'TERMINADO'
|
||||||
Value = 'TERMINADO'
|
Value = 'TERMINADO'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
Description = 'CANCELADO'
|
||||||
|
Value = 'CANCELADO'
|
||||||
end>
|
end>
|
||||||
Style.BorderColor = clWindowFrame
|
Style.BorderColor = clWindowFrame
|
||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
|
|||||||
@ -196,6 +196,9 @@ inherited frViewContratosCliente: TfrViewContratosCliente
|
|||||||
object cxGridLevelTerminados: TcxGridLevel
|
object cxGridLevelTerminados: TcxGridLevel
|
||||||
Caption = 'Terminados'
|
Caption = 'Terminados'
|
||||||
end
|
end
|
||||||
|
object cxGridLevelCancelados: TcxGridLevel
|
||||||
|
Caption = 'Cancelados'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited frViewFiltroBase1: TfrViewFiltroBase
|
inherited frViewFiltroBase1: TfrViewFiltroBase
|
||||||
Width = 903
|
Width = 903
|
||||||
|
|||||||
@ -57,6 +57,7 @@ type
|
|||||||
cxGridLevelPendientesRevisar: TcxGridLevel;
|
cxGridLevelPendientesRevisar: TcxGridLevel;
|
||||||
cxStylePENDIENTESREVISION: TcxStyle;
|
cxStylePENDIENTESREVISION: TcxStyle;
|
||||||
cxGridViewENVIADA_REVISADA: TcxGridDBColumn;
|
cxGridViewENVIADA_REVISADA: TcxGridDBColumn;
|
||||||
|
cxGridLevelCancelados: TcxGridLevel;
|
||||||
procedure cxGridActiveTabChanged(Sender: TcxCustomGrid; ALevel:
|
procedure cxGridActiveTabChanged(Sender: TcxCustomGrid; ALevel:
|
||||||
TcxGridLevel);
|
TcxGridLevel);
|
||||||
procedure cxGridViewStylesGetContentStyle(Sender: TcxCustomGridTableView;
|
procedure cxGridViewStylesGetContentStyle(Sender: TcxCustomGridTableView;
|
||||||
@ -174,6 +175,7 @@ begin
|
|||||||
1 : FFiltro.AddItem(cxGridViewENVIADA_REVISADA, foEqual, '2', '2');
|
1 : FFiltro.AddItem(cxGridViewENVIADA_REVISADA, foEqual, '2', '2');
|
||||||
2 : FFiltro.AddItem(cxGridViewSITUACION, foEqual, SITUACION_CONTRATO_PENDIENTE, SITUACION_CONTRATO_PENDIENTE);
|
2 : FFiltro.AddItem(cxGridViewSITUACION, foEqual, SITUACION_CONTRATO_PENDIENTE, SITUACION_CONTRATO_PENDIENTE);
|
||||||
3 : FFiltro.AddItem(cxGridViewSITUACION, foEqual, SITUACION_CONTRATO_TERMINADO, SITUACION_CONTRATO_TERMINADO);
|
3 : FFiltro.AddItem(cxGridViewSITUACION, foEqual, SITUACION_CONTRATO_TERMINADO, SITUACION_CONTRATO_TERMINADO);
|
||||||
|
4 : FFiltro.AddItem(cxGridViewSITUACION, foEqual, SITUACION_CONTRATO_CANCELADO, SITUACION_CONTRATO_CANCELADO);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -302,7 +304,8 @@ begin
|
|||||||
else
|
else
|
||||||
AStyle.TextColor := cxStylePENDIENTES.TextColor;
|
AStyle.TextColor := cxStylePENDIENTES.TextColor;
|
||||||
end
|
end
|
||||||
else if ASituacion = SITUACION_CONTRATO_TERMINADO then
|
else if (ASituacion = SITUACION_CONTRATO_TERMINADO)
|
||||||
|
or (ASituacion = SITUACION_CONTRATO_CANCELADO) then
|
||||||
AStyle.TextColor := cxStyleTERMINADO.TextColor
|
AStyle.TextColor := cxStyleTERMINADO.TextColor
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -1,91 +1,5 @@
|
|||||||
inherited frViewDetallesContratoCliente: TfrViewDetallesContratoCliente
|
inherited frViewDetallesContratoCliente: TfrViewDetallesContratoCliente
|
||||||
Width = 1095
|
|
||||||
inherited ToolBar1: TToolBar
|
|
||||||
Width = 1095
|
|
||||||
Height = 24
|
|
||||||
inherited ToolButton4: TToolButton
|
|
||||||
Wrap = False
|
|
||||||
end
|
|
||||||
inherited ToolButton14: TToolButton
|
|
||||||
Left = 334
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 334
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited FontName: TJvFontComboBox
|
|
||||||
Left = 368
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 368
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited FontSize: TEdit
|
|
||||||
Left = 513
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 513
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited UpDown1: TUpDown
|
|
||||||
Left = 555
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 555
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton13: TToolButton
|
|
||||||
Left = 572
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 572
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton6: TToolButton
|
|
||||||
Left = 580
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 580
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton7: TToolButton
|
|
||||||
Left = 614
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 614
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton8: TToolButton
|
|
||||||
Left = 648
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 648
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton12: TToolButton
|
|
||||||
Left = 682
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 682
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton9: TToolButton
|
|
||||||
Left = 690
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 690
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton10: TToolButton
|
|
||||||
Left = 724
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 724
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
inherited ToolButton11: TToolButton
|
|
||||||
Left = 758
|
|
||||||
Top = 0
|
|
||||||
ExplicitLeft = 758
|
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
|
||||||
end
|
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Top = 50
|
|
||||||
Width = 1095
|
|
||||||
Height = 254
|
|
||||||
ExplicitTop = 78
|
|
||||||
ExplicitWidth = 451
|
|
||||||
ExplicitHeight = 232
|
|
||||||
inherited cxGridView: TcxGridDBTableView
|
inherited cxGridView: TcxGridDBTableView
|
||||||
inherited cxGridViewID_ARTICULO: TcxGridDBColumn
|
inherited cxGridViewID_ARTICULO: TcxGridDBColumn
|
||||||
Width = 57
|
Width = 57
|
||||||
@ -153,10 +67,7 @@ inherited frViewDetallesContratoCliente: TfrViewDetallesContratoCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXDock1: TTBXDock
|
inherited TBXDock1: TTBXDock
|
||||||
Top = 24
|
|
||||||
Width = 1095
|
|
||||||
inherited TBXToolbar1: TTBXToolbar
|
inherited TBXToolbar1: TTBXToolbar
|
||||||
ExplicitWidth = 831
|
|
||||||
object TBXSubmenuItem1: TTBXSubmenuItem [0]
|
object TBXSubmenuItem1: TTBXSubmenuItem [0]
|
||||||
Caption = 'A'#241'adir cap'#237'tulo'
|
Caption = 'A'#241'adir cap'#237'tulo'
|
||||||
DisplayMode = nbdmImageAndText
|
DisplayMode = nbdmImageAndText
|
||||||
@ -209,6 +120,12 @@ inherited frViewDetallesContratoCliente: TfrViewDetallesContratoCliente
|
|||||||
object TBXItem23: TTBXItem
|
object TBXItem23: TTBXItem
|
||||||
Action = actCapituloClaSemSuspendido
|
Action = actCapituloClaSemSuspendido
|
||||||
end
|
end
|
||||||
|
object TBXItem27: TTBXItem
|
||||||
|
Action = actCapituloServSuministro
|
||||||
|
end
|
||||||
|
object TBXItem28: TTBXItem
|
||||||
|
Action = actCapituloServInstalacion
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object TBXSeparatorItem6: TTBXSeparatorItem [1]
|
object TBXSeparatorItem6: TTBXSeparatorItem [1]
|
||||||
end
|
end
|
||||||
@ -396,6 +313,16 @@ inherited frViewDetallesContratoCliente: TfrViewDetallesContratoCliente
|
|||||||
Caption = 'Cap'#237'tulo cl'#225'sico/semisuspendido/suspendido'
|
Caption = 'Cap'#237'tulo cl'#225'sico/semisuspendido/suspendido'
|
||||||
OnExecute = actCapituloClaSemSuspendidoExecute
|
OnExecute = actCapituloClaSemSuspendidoExecute
|
||||||
end
|
end
|
||||||
|
object actCapituloServInstalacion: TAction
|
||||||
|
Category = 'Operaciones'
|
||||||
|
Caption = 'Servicio de intalaci'#243'n'
|
||||||
|
OnExecute = actCapituloServInstalacionExecute
|
||||||
|
end
|
||||||
|
object actCapituloServSuministro: TAction
|
||||||
|
Category = 'Operaciones'
|
||||||
|
Caption = 'Servicio de suministro'
|
||||||
|
OnExecute = actCapituloServSuministroExecute
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited cxStyleRepository: TcxStyleRepository
|
inherited cxStyleRepository: TcxStyleRepository
|
||||||
inherited cxStyle_IMPORTETOTAL: TcxStyle
|
inherited cxStyle_IMPORTETOTAL: TcxStyle
|
||||||
|
|||||||
@ -70,6 +70,10 @@ type
|
|||||||
edtPrecioPunto: TcxDBCurrencyEdit;
|
edtPrecioPunto: TcxDBCurrencyEdit;
|
||||||
bRecalcularPrecioPunto: TButton;
|
bRecalcularPrecioPunto: TButton;
|
||||||
TBXLabelItem1: TTBXLabelItem;
|
TBXLabelItem1: TTBXLabelItem;
|
||||||
|
actCapituloServInstalacion: TAction;
|
||||||
|
actCapituloServSuministro: TAction;
|
||||||
|
TBXItem27: TTBXItem;
|
||||||
|
TBXItem28: TTBXItem;
|
||||||
procedure actAsignarDescuentoExecute(Sender: TObject);
|
procedure actAsignarDescuentoExecute(Sender: TObject);
|
||||||
procedure actAsignarDescuentoUpdate(Sender: TObject);
|
procedure actAsignarDescuentoUpdate(Sender: TObject);
|
||||||
procedure CustomViewShow(Sender: TObject);
|
procedure CustomViewShow(Sender: TObject);
|
||||||
@ -93,6 +97,8 @@ type
|
|||||||
procedure actCapituloFreArmAbatibleExecute(Sender: TObject);
|
procedure actCapituloFreArmAbatibleExecute(Sender: TObject);
|
||||||
procedure actCapituloIntArmForradoExecute(Sender: TObject);
|
procedure actCapituloIntArmForradoExecute(Sender: TObject);
|
||||||
procedure actCapituloClaSemSuspendidoExecute(Sender: TObject);
|
procedure actCapituloClaSemSuspendidoExecute(Sender: TObject);
|
||||||
|
procedure actCapituloServSuministroExecute(Sender: TObject);
|
||||||
|
procedure actCapituloServInstalacionExecute(Sender: TObject);
|
||||||
|
|
||||||
private
|
private
|
||||||
procedure AnadirCapitulo(const Tipo: String;const Descripcion: String; const Descuento:Boolean = false; const ConstanteConfiguracion: String = '');
|
procedure AnadirCapitulo(const Tipo: String;const Descripcion: String; const Descuento:Boolean = false; const ConstanteConfiguracion: String = '');
|
||||||
@ -247,6 +253,20 @@ begin
|
|||||||
AnadirCapitulo(TIPO_CAPITULO_V, 'SEPARACIÓN DE AMBIENTES', true, 'CAP_SEP_AMBIENTES');
|
AnadirCapitulo(TIPO_CAPITULO_V, 'SEPARACIÓN DE AMBIENTES', true, 'CAP_SEP_AMBIENTES');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewDetallesContratoCliente.actCapituloServInstalacionExecute(
|
||||||
|
Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
AnadirCapitulo(TIPO_CAPITULO_V, 'SERVICIO DE INSTALACIÓN - PRECIO NETO', true, 'CAP_INSTALACION');
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewDetallesContratoCliente.actCapituloServSuministroExecute(
|
||||||
|
Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
AnadirCapitulo(TIPO_CAPITULO_V, 'SERVICIO DE SUMINISTRO - PRECIO NETO', true, 'CAP_SUMINISTRO');
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewDetallesContratoCliente.actCapituloVariosExecute(Sender: TObject);
|
procedure TfrViewDetallesContratoCliente.actCapituloVariosExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
AnadirCapitulo(TIPO_CAPITULO_V, 'VARIOS ', true);
|
AnadirCapitulo(TIPO_CAPITULO_V, 'VARIOS ', true);
|
||||||
|
|||||||
@ -138,7 +138,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.DarNuevaReferencia(ATipo, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.DarNuevaReferencia(ATipo, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TBizFacturasClienteServer.IncrementarReferencia: Boolean;
|
function TBizFacturasClienteServer.IncrementarReferencia: Boolean;
|
||||||
@ -157,7 +157,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.IncrementarValorReferencia(ATipo, Self.REFERENCIA, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.IncrementarValorReferencia(ATipo, Self.REFERENCIA, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TBizFacturasClienteServer.Insert_Asiento_Factura(aChange: TDADeltaChange);
|
procedure TBizFacturasClienteServer.Insert_Asiento_Factura(aChange: TDADeltaChange);
|
||||||
|
|||||||
@ -517,12 +517,12 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
#10'when extract (month from fecha_factura) = 11 then '#39'NOVIEMBRE - ' +
|
#10'when extract (month from fecha_factura) = 11 then '#39'NOVIEMBRE - ' +
|
||||||
#39' || extract (year from fecha_factura)'#10'when extract (month from ' +
|
#39' || extract (year from fecha_factura)'#10'when extract (month from ' +
|
||||||
'fecha_factura) = 12 then '#39'DICIEMBRE - '#39' || extract (year from fe' +
|
'fecha_factura) = 12 then '#39'DICIEMBRE - '#39' || extract (year from fe' +
|
||||||
'cha_factura)'#10'end as TITULO,'#10'REFERENCIA, ID_CLIENTE, NOMBRE, TIP' +
|
'cha_factura)'#10'end as TITULO,'#10'REFERENCIA, ID_CLIENTE, NOMBRE, TIE' +
|
||||||
'O_OPERACION, SITUACION, NIF_CIF, REFERENCIA_CLIENTE, FECHA_FACTU' +
|
'NDA, TIPO_OPERACION, SITUACION, NIF_CIF, REFERENCIA_CLIENTE, FEC' +
|
||||||
'RA,'#10'FECHA_VENCIMIENTO, BASE_IMPONIBLE, IVA, IMPORTE_IVA, RE, IMP' +
|
'HA_FACTURA,'#10'FECHA_VENCIMIENTO, BASE_IMPONIBLE, IVA, IMPORTE_IVA,' +
|
||||||
'ORTE_RE, RETENCION, IMPORTE_RETENCION, IMPORTE_TOTAL'#10#10'from V_fac' +
|
' RE, IMPORTE_RE, RETENCION, IMPORTE_RETENCION, IMPORTE_TOTAL'#10#10'fr' +
|
||||||
'turas_cliente'#10'where {where}'#10'order by ANO, MES, FECHA_FACTURA, RE' +
|
'om V_facturas_cliente'#10'where {where}'#10'order by ANO, MES, FECHA_FAC' +
|
||||||
'FERENCIA, NOMBRE'#10#10
|
'TURA, REFERENCIA, NOMBRE'#10#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <
|
ColumnMappings = <
|
||||||
item
|
item
|
||||||
@ -608,6 +608,10 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
item
|
item
|
||||||
DatasetField = 'TIPO_OPERACION'
|
DatasetField = 'TIPO_OPERACION'
|
||||||
TableField = 'TIPO_OPERACION'
|
TableField = 'TIPO_OPERACION'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
DatasetField = 'TIENDA'
|
||||||
|
TableField = 'TIENDA'
|
||||||
end>
|
end>
|
||||||
end>
|
end>
|
||||||
Name = 'ListadoFacturas'
|
Name = 'ListadoFacturas'
|
||||||
@ -643,6 +647,11 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
DataType = datString
|
DataType = datString
|
||||||
Size = 255
|
Size = 255
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'TIENDA'
|
||||||
|
DataType = datString
|
||||||
|
Size = 255
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'TIPO_OPERACION'
|
Name = 'TIPO_OPERACION'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
@ -1840,6 +1849,11 @@ object RptFacturasCliente: TRptFacturasCliente
|
|||||||
DataType = datString
|
DataType = datString
|
||||||
Size = 255
|
Size = 255
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'TIENDA'
|
||||||
|
DataType = datString
|
||||||
|
Size = 255
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'TIPO_OPERACION'
|
Name = 'TIPO_OPERACION'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
|
|||||||
@ -39,10 +39,10 @@ type
|
|||||||
frxDBInformeListadoRecibos: TfrxDBDataset;
|
frxDBInformeListadoRecibos: TfrxDBDataset;
|
||||||
DADSInformeListadoRecibos: TDADataSource;
|
DADSInformeListadoRecibos: TDADataSource;
|
||||||
tbl_InformeListadoRecibos: TDAMemDataTable;
|
tbl_InformeListadoRecibos: TDAMemDataTable;
|
||||||
schReport: TDASchema;
|
|
||||||
frxDBInformeListadoFacturasTipoResumen: TfrxDBDataset;
|
frxDBInformeListadoFacturasTipoResumen: TfrxDBDataset;
|
||||||
DADSInformeListadoFacturasTipoResumen: TDADataSource;
|
DADSInformeListadoFacturasTipoResumen: TDADataSource;
|
||||||
tbl_InformeListadoFacturasTipoResumen: TDAMemDataTable;
|
tbl_InformeListadoFacturasTipoResumen: TDAMemDataTable;
|
||||||
|
schReport: TDASchema;
|
||||||
procedure DataModuleCreate(Sender: TObject);
|
procedure DataModuleCreate(Sender: TObject);
|
||||||
procedure DataModuleDestroy(Sender: TObject);
|
procedure DataModuleDestroy(Sender: TObject);
|
||||||
private
|
private
|
||||||
|
|||||||
@ -106,7 +106,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.DarNuevaReferencia(ATipo, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.DarNuevaReferencia(ATipo, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TBizFacturasProveedorServer.Delete_Asiento_Factura(aChange: TDADeltaChange);
|
procedure TBizFacturasProveedorServer.Delete_Asiento_Factura(aChange: TDADeltaChange);
|
||||||
@ -160,7 +160,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.IncrementarValorReferencia(ATipo, Self.REFERENCIA, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.IncrementarValorReferencia(ATipo, Self.REFERENCIA, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TBizFacturasProveedorServer.Insert_Asiento_Factura(aChange: TDADeltaChange);
|
procedure TBizFacturasProveedorServer.Insert_Asiento_Factura(aChange: TDADeltaChange);
|
||||||
|
|||||||
@ -151,6 +151,10 @@ inherited DataModuleInventario: TDataModuleInventario
|
|||||||
DataType = datInteger
|
DataType = datInteger
|
||||||
DictionaryEntry = 'Inventario_ID_ARTICULO'
|
DictionaryEntry = 'Inventario_ID_ARTICULO'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'IMPORTE_COMPRA_2ANOS'
|
||||||
|
DataType = datFloat
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'ALMACEN'
|
Name = 'ALMACEN'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
@ -207,6 +211,10 @@ inherited DataModuleInventario: TDataModuleInventario
|
|||||||
DisplayLabel = 'Stock disponible'
|
DisplayLabel = 'Stock disponible'
|
||||||
DictionaryEntry = 'Inventario_STOCK'
|
DictionaryEntry = 'Inventario_STOCK'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'COSTE_MEDIO_TOTAL'
|
||||||
|
DataType = datFloat
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'UNIDADES_ALMACEN'
|
Name = 'UNIDADES_ALMACEN'
|
||||||
DataType = datFloat
|
DataType = datFloat
|
||||||
|
|||||||
@ -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_Inventario = '{B4F5BFCB-5E60-44E2-9F51-D46E01753450}';
|
RID_Inventario = '{1B4F1D93-3B21-4F7F-B2E3-BEEE56C078D5}';
|
||||||
RID_DetalleReservas = '{1C1C05DA-433F-47B6-A266-2D336C83B210}';
|
RID_DetalleReservas = '{2752B8C5-D7AA-4D68-B8F8-7515748B36F6}';
|
||||||
|
|
||||||
{ Data table names }
|
{ Data table names }
|
||||||
nme_Inventario = 'Inventario';
|
nme_Inventario = 'Inventario';
|
||||||
@ -19,6 +19,7 @@ const
|
|||||||
{ Inventario fields }
|
{ Inventario fields }
|
||||||
fld_InventarioID_ALMACEN = 'ID_ALMACEN';
|
fld_InventarioID_ALMACEN = 'ID_ALMACEN';
|
||||||
fld_InventarioID_ARTICULO = 'ID_ARTICULO';
|
fld_InventarioID_ARTICULO = 'ID_ARTICULO';
|
||||||
|
fld_InventarioIMPORTE_COMPRA_2ANOS = 'IMPORTE_COMPRA_2ANOS';
|
||||||
fld_InventarioALMACEN = 'ALMACEN';
|
fld_InventarioALMACEN = 'ALMACEN';
|
||||||
fld_InventarioID_EMPRESA = 'ID_EMPRESA';
|
fld_InventarioID_EMPRESA = 'ID_EMPRESA';
|
||||||
fld_InventarioREFERENCIA = 'REFERENCIA';
|
fld_InventarioREFERENCIA = 'REFERENCIA';
|
||||||
@ -28,6 +29,7 @@ const
|
|||||||
fld_InventarioUNIDAD_MEDIDA = 'UNIDAD_MEDIDA';
|
fld_InventarioUNIDAD_MEDIDA = 'UNIDAD_MEDIDA';
|
||||||
fld_InventarioPRECIO_NETO = 'PRECIO_NETO';
|
fld_InventarioPRECIO_NETO = 'PRECIO_NETO';
|
||||||
fld_InventarioSTOCK = 'STOCK';
|
fld_InventarioSTOCK = 'STOCK';
|
||||||
|
fld_InventarioCOSTE_MEDIO_TOTAL = 'COSTE_MEDIO_TOTAL';
|
||||||
fld_InventarioUNIDADES_ALMACEN = 'UNIDADES_ALMACEN';
|
fld_InventarioUNIDADES_ALMACEN = 'UNIDADES_ALMACEN';
|
||||||
fld_InventarioCOSTE_UNIDADES = 'COSTE_UNIDADES';
|
fld_InventarioCOSTE_UNIDADES = 'COSTE_UNIDADES';
|
||||||
fld_InventarioRESERVA = 'RESERVA';
|
fld_InventarioRESERVA = 'RESERVA';
|
||||||
@ -41,24 +43,26 @@ const
|
|||||||
{ Inventario field indexes }
|
{ Inventario field indexes }
|
||||||
idx_InventarioID_ALMACEN = 0;
|
idx_InventarioID_ALMACEN = 0;
|
||||||
idx_InventarioID_ARTICULO = 1;
|
idx_InventarioID_ARTICULO = 1;
|
||||||
idx_InventarioALMACEN = 2;
|
idx_InventarioIMPORTE_COMPRA_2ANOS = 2;
|
||||||
idx_InventarioID_EMPRESA = 3;
|
idx_InventarioALMACEN = 3;
|
||||||
idx_InventarioREFERENCIA = 4;
|
idx_InventarioID_EMPRESA = 4;
|
||||||
idx_InventarioFAMILIA = 5;
|
idx_InventarioREFERENCIA = 5;
|
||||||
idx_InventarioDESCRIPCION = 6;
|
idx_InventarioFAMILIA = 6;
|
||||||
idx_InventarioSTOCK_MIN = 7;
|
idx_InventarioDESCRIPCION = 7;
|
||||||
idx_InventarioUNIDAD_MEDIDA = 8;
|
idx_InventarioSTOCK_MIN = 8;
|
||||||
idx_InventarioPRECIO_NETO = 9;
|
idx_InventarioUNIDAD_MEDIDA = 9;
|
||||||
idx_InventarioSTOCK = 10;
|
idx_InventarioPRECIO_NETO = 10;
|
||||||
idx_InventarioUNIDADES_ALMACEN = 11;
|
idx_InventarioSTOCK = 11;
|
||||||
idx_InventarioCOSTE_UNIDADES = 12;
|
idx_InventarioCOSTE_MEDIO_TOTAL = 12;
|
||||||
idx_InventarioRESERVA = 13;
|
idx_InventarioUNIDADES_ALMACEN = 13;
|
||||||
idx_InventarioPENDIENTE_RECEPCION = 14;
|
idx_InventarioCOSTE_UNIDADES = 14;
|
||||||
idx_InventarioID = 15;
|
idx_InventarioRESERVA = 15;
|
||||||
idx_InventarioCANTIDAD = 16;
|
idx_InventarioPENDIENTE_RECEPCION = 16;
|
||||||
idx_InventarioFECHA_MOVIMIENTO = 17;
|
idx_InventarioID = 17;
|
||||||
idx_InventarioCAUSA = 18;
|
idx_InventarioCANTIDAD = 18;
|
||||||
idx_InventarioTIPO = 19;
|
idx_InventarioFECHA_MOVIMIENTO = 19;
|
||||||
|
idx_InventarioCAUSA = 20;
|
||||||
|
idx_InventarioTIPO = 21;
|
||||||
|
|
||||||
{ DetalleReservas fields }
|
{ DetalleReservas fields }
|
||||||
fld_DetalleReservasID_ALB = 'ID_ALB';
|
fld_DetalleReservasID_ALB = 'ID_ALB';
|
||||||
@ -97,7 +101,7 @@ const
|
|||||||
type
|
type
|
||||||
{ IInventario }
|
{ IInventario }
|
||||||
IInventario = interface(IDAStronglyTypedDataTable)
|
IInventario = interface(IDAStronglyTypedDataTable)
|
||||||
['{BC476EE1-F111-443D-8677-EFF52FE1308B}']
|
['{AE23D1E9-7763-4A76-8CCA-FE0C27B55050}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetID_ALMACENValue: Integer;
|
function GetID_ALMACENValue: Integer;
|
||||||
procedure SetID_ALMACENValue(const aValue: Integer);
|
procedure SetID_ALMACENValue(const aValue: Integer);
|
||||||
@ -107,6 +111,10 @@ type
|
|||||||
procedure SetID_ARTICULOValue(const aValue: Integer);
|
procedure SetID_ARTICULOValue(const aValue: Integer);
|
||||||
function GetID_ARTICULOIsNull: Boolean;
|
function GetID_ARTICULOIsNull: Boolean;
|
||||||
procedure SetID_ARTICULOIsNull(const aValue: Boolean);
|
procedure SetID_ARTICULOIsNull(const aValue: Boolean);
|
||||||
|
function GetIMPORTE_COMPRA_2ANOSValue: Float;
|
||||||
|
procedure SetIMPORTE_COMPRA_2ANOSValue(const aValue: Float);
|
||||||
|
function GetIMPORTE_COMPRA_2ANOSIsNull: Boolean;
|
||||||
|
procedure SetIMPORTE_COMPRA_2ANOSIsNull(const aValue: Boolean);
|
||||||
function GetALMACENValue: String;
|
function GetALMACENValue: String;
|
||||||
procedure SetALMACENValue(const aValue: String);
|
procedure SetALMACENValue(const aValue: String);
|
||||||
function GetALMACENIsNull: Boolean;
|
function GetALMACENIsNull: Boolean;
|
||||||
@ -143,6 +151,10 @@ type
|
|||||||
procedure SetSTOCKValue(const aValue: Float);
|
procedure SetSTOCKValue(const aValue: Float);
|
||||||
function GetSTOCKIsNull: Boolean;
|
function GetSTOCKIsNull: Boolean;
|
||||||
procedure SetSTOCKIsNull(const aValue: Boolean);
|
procedure SetSTOCKIsNull(const aValue: Boolean);
|
||||||
|
function GetCOSTE_MEDIO_TOTALValue: Float;
|
||||||
|
procedure SetCOSTE_MEDIO_TOTALValue(const aValue: Float);
|
||||||
|
function GetCOSTE_MEDIO_TOTALIsNull: Boolean;
|
||||||
|
procedure SetCOSTE_MEDIO_TOTALIsNull(const aValue: Boolean);
|
||||||
function GetUNIDADES_ALMACENValue: Float;
|
function GetUNIDADES_ALMACENValue: Float;
|
||||||
procedure SetUNIDADES_ALMACENValue(const aValue: Float);
|
procedure SetUNIDADES_ALMACENValue(const aValue: Float);
|
||||||
function GetUNIDADES_ALMACENIsNull: Boolean;
|
function GetUNIDADES_ALMACENIsNull: Boolean;
|
||||||
@ -186,6 +198,8 @@ type
|
|||||||
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
|
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
|
||||||
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
||||||
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
||||||
|
property IMPORTE_COMPRA_2ANOS: Float read GetIMPORTE_COMPRA_2ANOSValue write SetIMPORTE_COMPRA_2ANOSValue;
|
||||||
|
property IMPORTE_COMPRA_2ANOSIsNull: Boolean read GetIMPORTE_COMPRA_2ANOSIsNull write SetIMPORTE_COMPRA_2ANOSIsNull;
|
||||||
property ALMACEN: String read GetALMACENValue write SetALMACENValue;
|
property ALMACEN: String read GetALMACENValue write SetALMACENValue;
|
||||||
property ALMACENIsNull: Boolean read GetALMACENIsNull write SetALMACENIsNull;
|
property ALMACENIsNull: Boolean read GetALMACENIsNull write SetALMACENIsNull;
|
||||||
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
||||||
@ -204,6 +218,8 @@ type
|
|||||||
property PRECIO_NETOIsNull: Boolean read GetPRECIO_NETOIsNull write SetPRECIO_NETOIsNull;
|
property PRECIO_NETOIsNull: Boolean read GetPRECIO_NETOIsNull write SetPRECIO_NETOIsNull;
|
||||||
property STOCK: Float read GetSTOCKValue write SetSTOCKValue;
|
property STOCK: Float read GetSTOCKValue write SetSTOCKValue;
|
||||||
property STOCKIsNull: Boolean read GetSTOCKIsNull write SetSTOCKIsNull;
|
property STOCKIsNull: Boolean read GetSTOCKIsNull write SetSTOCKIsNull;
|
||||||
|
property COSTE_MEDIO_TOTAL: Float read GetCOSTE_MEDIO_TOTALValue write SetCOSTE_MEDIO_TOTALValue;
|
||||||
|
property COSTE_MEDIO_TOTALIsNull: Boolean read GetCOSTE_MEDIO_TOTALIsNull write SetCOSTE_MEDIO_TOTALIsNull;
|
||||||
property UNIDADES_ALMACEN: Float read GetUNIDADES_ALMACENValue write SetUNIDADES_ALMACENValue;
|
property UNIDADES_ALMACEN: Float read GetUNIDADES_ALMACENValue write SetUNIDADES_ALMACENValue;
|
||||||
property UNIDADES_ALMACENIsNull: Boolean read GetUNIDADES_ALMACENIsNull write SetUNIDADES_ALMACENIsNull;
|
property UNIDADES_ALMACENIsNull: Boolean read GetUNIDADES_ALMACENIsNull write SetUNIDADES_ALMACENIsNull;
|
||||||
property COSTE_UNIDADES: Currency read GetCOSTE_UNIDADESValue write SetCOSTE_UNIDADESValue;
|
property COSTE_UNIDADES: Currency read GetCOSTE_UNIDADESValue write SetCOSTE_UNIDADESValue;
|
||||||
@ -237,6 +253,10 @@ type
|
|||||||
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
||||||
function GetID_ARTICULOIsNull: Boolean; virtual;
|
function GetID_ARTICULOIsNull: Boolean; virtual;
|
||||||
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetIMPORTE_COMPRA_2ANOSValue: Float; virtual;
|
||||||
|
procedure SetIMPORTE_COMPRA_2ANOSValue(const aValue: Float); virtual;
|
||||||
|
function GetIMPORTE_COMPRA_2ANOSIsNull: Boolean; virtual;
|
||||||
|
procedure SetIMPORTE_COMPRA_2ANOSIsNull(const aValue: Boolean); virtual;
|
||||||
function GetALMACENValue: String; virtual;
|
function GetALMACENValue: String; virtual;
|
||||||
procedure SetALMACENValue(const aValue: String); virtual;
|
procedure SetALMACENValue(const aValue: String); virtual;
|
||||||
function GetALMACENIsNull: Boolean; virtual;
|
function GetALMACENIsNull: Boolean; virtual;
|
||||||
@ -273,6 +293,10 @@ type
|
|||||||
procedure SetSTOCKValue(const aValue: Float); virtual;
|
procedure SetSTOCKValue(const aValue: Float); virtual;
|
||||||
function GetSTOCKIsNull: Boolean; virtual;
|
function GetSTOCKIsNull: Boolean; virtual;
|
||||||
procedure SetSTOCKIsNull(const aValue: Boolean); virtual;
|
procedure SetSTOCKIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetCOSTE_MEDIO_TOTALValue: Float; virtual;
|
||||||
|
procedure SetCOSTE_MEDIO_TOTALValue(const aValue: Float); virtual;
|
||||||
|
function GetCOSTE_MEDIO_TOTALIsNull: Boolean; virtual;
|
||||||
|
procedure SetCOSTE_MEDIO_TOTALIsNull(const aValue: Boolean); virtual;
|
||||||
function GetUNIDADES_ALMACENValue: Float; virtual;
|
function GetUNIDADES_ALMACENValue: Float; virtual;
|
||||||
procedure SetUNIDADES_ALMACENValue(const aValue: Float); virtual;
|
procedure SetUNIDADES_ALMACENValue(const aValue: Float); virtual;
|
||||||
function GetUNIDADES_ALMACENIsNull: Boolean; virtual;
|
function GetUNIDADES_ALMACENIsNull: Boolean; virtual;
|
||||||
@ -315,6 +339,8 @@ type
|
|||||||
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
|
property ID_ALMACENIsNull: Boolean read GetID_ALMACENIsNull write SetID_ALMACENIsNull;
|
||||||
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
property ID_ARTICULO: Integer read GetID_ARTICULOValue write SetID_ARTICULOValue;
|
||||||
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
property ID_ARTICULOIsNull: Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
||||||
|
property IMPORTE_COMPRA_2ANOS: Float read GetIMPORTE_COMPRA_2ANOSValue write SetIMPORTE_COMPRA_2ANOSValue;
|
||||||
|
property IMPORTE_COMPRA_2ANOSIsNull: Boolean read GetIMPORTE_COMPRA_2ANOSIsNull write SetIMPORTE_COMPRA_2ANOSIsNull;
|
||||||
property ALMACEN: String read GetALMACENValue write SetALMACENValue;
|
property ALMACEN: String read GetALMACENValue write SetALMACENValue;
|
||||||
property ALMACENIsNull: Boolean read GetALMACENIsNull write SetALMACENIsNull;
|
property ALMACENIsNull: Boolean read GetALMACENIsNull write SetALMACENIsNull;
|
||||||
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
||||||
@ -333,6 +359,8 @@ type
|
|||||||
property PRECIO_NETOIsNull: Boolean read GetPRECIO_NETOIsNull write SetPRECIO_NETOIsNull;
|
property PRECIO_NETOIsNull: Boolean read GetPRECIO_NETOIsNull write SetPRECIO_NETOIsNull;
|
||||||
property STOCK: Float read GetSTOCKValue write SetSTOCKValue;
|
property STOCK: Float read GetSTOCKValue write SetSTOCKValue;
|
||||||
property STOCKIsNull: Boolean read GetSTOCKIsNull write SetSTOCKIsNull;
|
property STOCKIsNull: Boolean read GetSTOCKIsNull write SetSTOCKIsNull;
|
||||||
|
property COSTE_MEDIO_TOTAL: Float read GetCOSTE_MEDIO_TOTALValue write SetCOSTE_MEDIO_TOTALValue;
|
||||||
|
property COSTE_MEDIO_TOTALIsNull: Boolean read GetCOSTE_MEDIO_TOTALIsNull write SetCOSTE_MEDIO_TOTALIsNull;
|
||||||
property UNIDADES_ALMACEN: Float read GetUNIDADES_ALMACENValue write SetUNIDADES_ALMACENValue;
|
property UNIDADES_ALMACEN: Float read GetUNIDADES_ALMACENValue write SetUNIDADES_ALMACENValue;
|
||||||
property UNIDADES_ALMACENIsNull: Boolean read GetUNIDADES_ALMACENIsNull write SetUNIDADES_ALMACENIsNull;
|
property UNIDADES_ALMACENIsNull: Boolean read GetUNIDADES_ALMACENIsNull write SetUNIDADES_ALMACENIsNull;
|
||||||
property COSTE_UNIDADES: Currency read GetCOSTE_UNIDADESValue write SetCOSTE_UNIDADESValue;
|
property COSTE_UNIDADES: Currency read GetCOSTE_UNIDADESValue write SetCOSTE_UNIDADESValue;
|
||||||
@ -360,7 +388,7 @@ type
|
|||||||
|
|
||||||
{ IDetalleReservas }
|
{ IDetalleReservas }
|
||||||
IDetalleReservas = interface(IDAStronglyTypedDataTable)
|
IDetalleReservas = interface(IDAStronglyTypedDataTable)
|
||||||
['{F164D65B-913A-43DF-9DC9-81E5E320EFF0}']
|
['{065A8DF8-D8C9-4A62-A9F4-68DF5D3ECCCE}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetID_ALBValue: Integer;
|
function GetID_ALBValue: Integer;
|
||||||
procedure SetID_ALBValue(const aValue: Integer);
|
procedure SetID_ALBValue(const aValue: Integer);
|
||||||
@ -618,6 +646,27 @@ begin
|
|||||||
DataTable.Fields[idx_InventarioID_ARTICULO].AsVariant := Null;
|
DataTable.Fields[idx_InventarioID_ARTICULO].AsVariant := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TInventarioDataTableRules.GetIMPORTE_COMPRA_2ANOSValue: Float;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_InventarioIMPORTE_COMPRA_2ANOS].AsFloat;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioDataTableRules.SetIMPORTE_COMPRA_2ANOSValue(const aValue: Float);
|
||||||
|
begin
|
||||||
|
DataTable.Fields[idx_InventarioIMPORTE_COMPRA_2ANOS].AsFloat := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioDataTableRules.GetIMPORTE_COMPRA_2ANOSIsNull: boolean;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_InventarioIMPORTE_COMPRA_2ANOS].IsNull;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioDataTableRules.SetIMPORTE_COMPRA_2ANOSIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
DataTable.Fields[idx_InventarioIMPORTE_COMPRA_2ANOS].AsVariant := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TInventarioDataTableRules.GetALMACENValue: String;
|
function TInventarioDataTableRules.GetALMACENValue: String;
|
||||||
begin
|
begin
|
||||||
result := DataTable.Fields[idx_InventarioALMACEN].AsString;
|
result := DataTable.Fields[idx_InventarioALMACEN].AsString;
|
||||||
@ -807,6 +856,27 @@ begin
|
|||||||
DataTable.Fields[idx_InventarioSTOCK].AsVariant := Null;
|
DataTable.Fields[idx_InventarioSTOCK].AsVariant := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TInventarioDataTableRules.GetCOSTE_MEDIO_TOTALValue: Float;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_InventarioCOSTE_MEDIO_TOTAL].AsFloat;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioDataTableRules.SetCOSTE_MEDIO_TOTALValue(const aValue: Float);
|
||||||
|
begin
|
||||||
|
DataTable.Fields[idx_InventarioCOSTE_MEDIO_TOTAL].AsFloat := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioDataTableRules.GetCOSTE_MEDIO_TOTALIsNull: boolean;
|
||||||
|
begin
|
||||||
|
result := DataTable.Fields[idx_InventarioCOSTE_MEDIO_TOTAL].IsNull;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioDataTableRules.SetCOSTE_MEDIO_TOTALIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
DataTable.Fields[idx_InventarioCOSTE_MEDIO_TOTAL].AsVariant := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TInventarioDataTableRules.GetUNIDADES_ALMACENValue: Float;
|
function TInventarioDataTableRules.GetUNIDADES_ALMACENValue: Float;
|
||||||
begin
|
begin
|
||||||
result := DataTable.Fields[idx_InventarioUNIDADES_ALMACEN].AsFloat;
|
result := DataTable.Fields[idx_InventarioUNIDADES_ALMACEN].AsFloat;
|
||||||
|
|||||||
@ -9,16 +9,17 @@ 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_InventarioDelta = '{DBC2AE97-14F3-44D8-B34F-8298297B839F}';
|
RID_InventarioDelta = '{09F50187-2734-4616-80B4-DFF2242C0445}';
|
||||||
RID_DetalleReservasDelta = '{7324C967-840D-4CDB-A68A-9D3066574877}';
|
RID_DetalleReservasDelta = '{E72DD036-121B-4BB6-BDB2-4E6EEF9B05FA}';
|
||||||
|
|
||||||
type
|
type
|
||||||
{ IInventarioDelta }
|
{ IInventarioDelta }
|
||||||
IInventarioDelta = interface(IInventario)
|
IInventarioDelta = interface(IInventario)
|
||||||
['{DBC2AE97-14F3-44D8-B34F-8298297B839F}']
|
['{09F50187-2734-4616-80B4-DFF2242C0445}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldID_ALMACENValue : Integer;
|
function GetOldID_ALMACENValue : Integer;
|
||||||
function GetOldID_ARTICULOValue : Integer;
|
function GetOldID_ARTICULOValue : Integer;
|
||||||
|
function GetOldIMPORTE_COMPRA_2ANOSValue : Float;
|
||||||
function GetOldALMACENValue : String;
|
function GetOldALMACENValue : String;
|
||||||
function GetOldID_EMPRESAValue : Integer;
|
function GetOldID_EMPRESAValue : Integer;
|
||||||
function GetOldREFERENCIAValue : String;
|
function GetOldREFERENCIAValue : String;
|
||||||
@ -28,6 +29,7 @@ type
|
|||||||
function GetOldUNIDAD_MEDIDAValue : String;
|
function GetOldUNIDAD_MEDIDAValue : String;
|
||||||
function GetOldPRECIO_NETOValue : Currency;
|
function GetOldPRECIO_NETOValue : Currency;
|
||||||
function GetOldSTOCKValue : Float;
|
function GetOldSTOCKValue : Float;
|
||||||
|
function GetOldCOSTE_MEDIO_TOTALValue : Float;
|
||||||
function GetOldUNIDADES_ALMACENValue : Float;
|
function GetOldUNIDADES_ALMACENValue : Float;
|
||||||
function GetOldCOSTE_UNIDADESValue : Currency;
|
function GetOldCOSTE_UNIDADESValue : Currency;
|
||||||
function GetOldRESERVAValue : Float;
|
function GetOldRESERVAValue : Float;
|
||||||
@ -41,6 +43,7 @@ type
|
|||||||
{ Properties }
|
{ Properties }
|
||||||
property OldID_ALMACEN : Integer read GetOldID_ALMACENValue;
|
property OldID_ALMACEN : Integer read GetOldID_ALMACENValue;
|
||||||
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
||||||
|
property OldIMPORTE_COMPRA_2ANOS : Float read GetOldIMPORTE_COMPRA_2ANOSValue;
|
||||||
property OldALMACEN : String read GetOldALMACENValue;
|
property OldALMACEN : String read GetOldALMACENValue;
|
||||||
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
||||||
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
||||||
@ -50,6 +53,7 @@ type
|
|||||||
property OldUNIDAD_MEDIDA : String read GetOldUNIDAD_MEDIDAValue;
|
property OldUNIDAD_MEDIDA : String read GetOldUNIDAD_MEDIDAValue;
|
||||||
property OldPRECIO_NETO : Currency read GetOldPRECIO_NETOValue;
|
property OldPRECIO_NETO : Currency read GetOldPRECIO_NETOValue;
|
||||||
property OldSTOCK : Float read GetOldSTOCKValue;
|
property OldSTOCK : Float read GetOldSTOCKValue;
|
||||||
|
property OldCOSTE_MEDIO_TOTAL : Float read GetOldCOSTE_MEDIO_TOTALValue;
|
||||||
property OldUNIDADES_ALMACEN : Float read GetOldUNIDADES_ALMACENValue;
|
property OldUNIDADES_ALMACEN : Float read GetOldUNIDADES_ALMACENValue;
|
||||||
property OldCOSTE_UNIDADES : Currency read GetOldCOSTE_UNIDADESValue;
|
property OldCOSTE_UNIDADES : Currency read GetOldCOSTE_UNIDADESValue;
|
||||||
property OldRESERVA : Float read GetOldRESERVAValue;
|
property OldRESERVA : Float read GetOldRESERVAValue;
|
||||||
@ -78,6 +82,12 @@ type
|
|||||||
function GetOldID_ARTICULOIsNull: Boolean; virtual;
|
function GetOldID_ARTICULOIsNull: Boolean; virtual;
|
||||||
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
procedure SetID_ARTICULOValue(const aValue: Integer); virtual;
|
||||||
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
procedure SetID_ARTICULOIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetIMPORTE_COMPRA_2ANOSValue: Float; virtual;
|
||||||
|
function GetIMPORTE_COMPRA_2ANOSIsNull: Boolean; virtual;
|
||||||
|
function GetOldIMPORTE_COMPRA_2ANOSValue: Float; virtual;
|
||||||
|
function GetOldIMPORTE_COMPRA_2ANOSIsNull: Boolean; virtual;
|
||||||
|
procedure SetIMPORTE_COMPRA_2ANOSValue(const aValue: Float); virtual;
|
||||||
|
procedure SetIMPORTE_COMPRA_2ANOSIsNull(const aValue: Boolean); virtual;
|
||||||
function GetALMACENValue: String; virtual;
|
function GetALMACENValue: String; virtual;
|
||||||
function GetALMACENIsNull: Boolean; virtual;
|
function GetALMACENIsNull: Boolean; virtual;
|
||||||
function GetOldALMACENValue: String; virtual;
|
function GetOldALMACENValue: String; virtual;
|
||||||
@ -132,6 +142,12 @@ type
|
|||||||
function GetOldSTOCKIsNull: Boolean; virtual;
|
function GetOldSTOCKIsNull: Boolean; virtual;
|
||||||
procedure SetSTOCKValue(const aValue: Float); virtual;
|
procedure SetSTOCKValue(const aValue: Float); virtual;
|
||||||
procedure SetSTOCKIsNull(const aValue: Boolean); virtual;
|
procedure SetSTOCKIsNull(const aValue: Boolean); virtual;
|
||||||
|
function GetCOSTE_MEDIO_TOTALValue: Float; virtual;
|
||||||
|
function GetCOSTE_MEDIO_TOTALIsNull: Boolean; virtual;
|
||||||
|
function GetOldCOSTE_MEDIO_TOTALValue: Float; virtual;
|
||||||
|
function GetOldCOSTE_MEDIO_TOTALIsNull: Boolean; virtual;
|
||||||
|
procedure SetCOSTE_MEDIO_TOTALValue(const aValue: Float); virtual;
|
||||||
|
procedure SetCOSTE_MEDIO_TOTALIsNull(const aValue: Boolean); virtual;
|
||||||
function GetUNIDADES_ALMACENValue: Float; virtual;
|
function GetUNIDADES_ALMACENValue: Float; virtual;
|
||||||
function GetUNIDADES_ALMACENIsNull: Boolean; virtual;
|
function GetUNIDADES_ALMACENIsNull: Boolean; virtual;
|
||||||
function GetOldUNIDADES_ALMACENValue: Float; virtual;
|
function GetOldUNIDADES_ALMACENValue: Float; virtual;
|
||||||
@ -196,6 +212,10 @@ type
|
|||||||
property ID_ARTICULOIsNull : Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
property ID_ARTICULOIsNull : Boolean read GetID_ARTICULOIsNull write SetID_ARTICULOIsNull;
|
||||||
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
property OldID_ARTICULO : Integer read GetOldID_ARTICULOValue;
|
||||||
property OldID_ARTICULOIsNull : Boolean read GetOldID_ARTICULOIsNull;
|
property OldID_ARTICULOIsNull : Boolean read GetOldID_ARTICULOIsNull;
|
||||||
|
property IMPORTE_COMPRA_2ANOS : Float read GetIMPORTE_COMPRA_2ANOSValue write SetIMPORTE_COMPRA_2ANOSValue;
|
||||||
|
property IMPORTE_COMPRA_2ANOSIsNull : Boolean read GetIMPORTE_COMPRA_2ANOSIsNull write SetIMPORTE_COMPRA_2ANOSIsNull;
|
||||||
|
property OldIMPORTE_COMPRA_2ANOS : Float read GetOldIMPORTE_COMPRA_2ANOSValue;
|
||||||
|
property OldIMPORTE_COMPRA_2ANOSIsNull : Boolean read GetOldIMPORTE_COMPRA_2ANOSIsNull;
|
||||||
property ALMACEN : String read GetALMACENValue write SetALMACENValue;
|
property ALMACEN : String read GetALMACENValue write SetALMACENValue;
|
||||||
property ALMACENIsNull : Boolean read GetALMACENIsNull write SetALMACENIsNull;
|
property ALMACENIsNull : Boolean read GetALMACENIsNull write SetALMACENIsNull;
|
||||||
property OldALMACEN : String read GetOldALMACENValue;
|
property OldALMACEN : String read GetOldALMACENValue;
|
||||||
@ -232,6 +252,10 @@ type
|
|||||||
property STOCKIsNull : Boolean read GetSTOCKIsNull write SetSTOCKIsNull;
|
property STOCKIsNull : Boolean read GetSTOCKIsNull write SetSTOCKIsNull;
|
||||||
property OldSTOCK : Float read GetOldSTOCKValue;
|
property OldSTOCK : Float read GetOldSTOCKValue;
|
||||||
property OldSTOCKIsNull : Boolean read GetOldSTOCKIsNull;
|
property OldSTOCKIsNull : Boolean read GetOldSTOCKIsNull;
|
||||||
|
property COSTE_MEDIO_TOTAL : Float read GetCOSTE_MEDIO_TOTALValue write SetCOSTE_MEDIO_TOTALValue;
|
||||||
|
property COSTE_MEDIO_TOTALIsNull : Boolean read GetCOSTE_MEDIO_TOTALIsNull write SetCOSTE_MEDIO_TOTALIsNull;
|
||||||
|
property OldCOSTE_MEDIO_TOTAL : Float read GetOldCOSTE_MEDIO_TOTALValue;
|
||||||
|
property OldCOSTE_MEDIO_TOTALIsNull : Boolean read GetOldCOSTE_MEDIO_TOTALIsNull;
|
||||||
property UNIDADES_ALMACEN : Float read GetUNIDADES_ALMACENValue write SetUNIDADES_ALMACENValue;
|
property UNIDADES_ALMACEN : Float read GetUNIDADES_ALMACENValue write SetUNIDADES_ALMACENValue;
|
||||||
property UNIDADES_ALMACENIsNull : Boolean read GetUNIDADES_ALMACENIsNull write SetUNIDADES_ALMACENIsNull;
|
property UNIDADES_ALMACENIsNull : Boolean read GetUNIDADES_ALMACENIsNull write SetUNIDADES_ALMACENIsNull;
|
||||||
property OldUNIDADES_ALMACEN : Float read GetOldUNIDADES_ALMACENValue;
|
property OldUNIDADES_ALMACEN : Float read GetOldUNIDADES_ALMACENValue;
|
||||||
@ -277,7 +301,7 @@ type
|
|||||||
|
|
||||||
{ IDetalleReservasDelta }
|
{ IDetalleReservasDelta }
|
||||||
IDetalleReservasDelta = interface(IDetalleReservas)
|
IDetalleReservasDelta = interface(IDetalleReservas)
|
||||||
['{7324C967-840D-4CDB-A68A-9D3066574877}']
|
['{E72DD036-121B-4BB6-BDB2-4E6EEF9B05FA}']
|
||||||
{ Property getters and setters }
|
{ Property getters and setters }
|
||||||
function GetOldID_ALBValue : Integer;
|
function GetOldID_ALBValue : Integer;
|
||||||
function GetOldID_EMPRESAValue : Integer;
|
function GetOldID_EMPRESAValue : Integer;
|
||||||
@ -555,6 +579,37 @@ begin
|
|||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioID_ARTICULO] := Null;
|
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioID_ARTICULO] := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetIMPORTE_COMPRA_2ANOSValue: Float;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioIMPORTE_COMPRA_2ANOS];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetIMPORTE_COMPRA_2ANOSIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioIMPORTE_COMPRA_2ANOS]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetOldIMPORTE_COMPRA_2ANOSValue: Float;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InventarioIMPORTE_COMPRA_2ANOS];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetOldIMPORTE_COMPRA_2ANOSIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_InventarioIMPORTE_COMPRA_2ANOS]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioBusinessProcessorRules.SetIMPORTE_COMPRA_2ANOSValue(const aValue: Float);
|
||||||
|
begin
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioIMPORTE_COMPRA_2ANOS] := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioBusinessProcessorRules.SetIMPORTE_COMPRA_2ANOSIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioIMPORTE_COMPRA_2ANOS] := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TInventarioBusinessProcessorRules.GetALMACENValue: String;
|
function TInventarioBusinessProcessorRules.GetALMACENValue: String;
|
||||||
begin
|
begin
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioALMACEN];
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioALMACEN];
|
||||||
@ -834,6 +889,37 @@ begin
|
|||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioSTOCK] := Null;
|
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioSTOCK] := Null;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetCOSTE_MEDIO_TOTALValue: Float;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioCOSTE_MEDIO_TOTAL];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetCOSTE_MEDIO_TOTALIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioCOSTE_MEDIO_TOTAL]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetOldCOSTE_MEDIO_TOTALValue: Float;
|
||||||
|
begin
|
||||||
|
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InventarioCOSTE_MEDIO_TOTAL];
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TInventarioBusinessProcessorRules.GetOldCOSTE_MEDIO_TOTALIsNull: Boolean;
|
||||||
|
begin
|
||||||
|
result := VarIsNull(BusinessProcessor.CurrentChange.OldValueByName[fld_InventarioCOSTE_MEDIO_TOTAL]);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioBusinessProcessorRules.SetCOSTE_MEDIO_TOTALValue(const aValue: Float);
|
||||||
|
begin
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioCOSTE_MEDIO_TOTAL] := aValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TInventarioBusinessProcessorRules.SetCOSTE_MEDIO_TOTALIsNull(const aValue: Boolean);
|
||||||
|
begin
|
||||||
|
if aValue then
|
||||||
|
BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioCOSTE_MEDIO_TOTAL] := Null;
|
||||||
|
end;
|
||||||
|
|
||||||
function TInventarioBusinessProcessorRules.GetUNIDADES_ALMACENValue: Float;
|
function TInventarioBusinessProcessorRules.GetUNIDADES_ALMACENValue: Float;
|
||||||
begin
|
begin
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioUNIDADES_ALMACEN];
|
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InventarioUNIDADES_ALMACEN];
|
||||||
|
|||||||
@ -19,17 +19,18 @@ object srvInventario: TsrvInventario
|
|||||||
Connection = 'IBX'
|
Connection = 'IBX'
|
||||||
TargetTable = 'V_INVENTARIO'
|
TargetTable = 'V_INVENTARIO'
|
||||||
SQL =
|
SQL =
|
||||||
'SELECT'#10' ID_ALMACEN, ID_ARTICULO, NOMBRE as ALMACEN, ID_EMPRES' +
|
'SELECT'#10' ID_ALMACEN, ID_ARTICULO, IMPORTE_COMPRA_2ANOS, NOMBRE' +
|
||||||
'A, REFERENCIA, FAMILIA,'#10' DESCRIPCION, STOCK_MIN, UNIDAD_MEDID' +
|
' as ALMACEN, ID_EMPRESA, REFERENCIA, FAMILIA,'#10' DESCRIPCION, S' +
|
||||||
'A, PRECIO_NETO, STOCK,'#10' UNIDADES_ALMACEN, COSTE_UNIDADES, RES' +
|
'TOCK_MIN, UNIDAD_MEDIDA, PRECIO_NETO, STOCK, (IMPORTE_COMPRA_2AN' +
|
||||||
'ERVA, PENDIENTE_RECEPCION,'#10' '#10' /*'#10' NO BORRAR YA QUE SIRV' +
|
'OS * STOCK) as COSTE_MEDIO_TOTAL,'#10' UNIDADES_ALMACEN, COSTE_UN' +
|
||||||
'E PARA LAS ENTRADAS Y SALIDAS DE ALMACEN(TABLA MOVIMIENTOS)'#10' ' +
|
'IDADES, RESERVA, PENDIENTE_RECEPCION,'#10' '#10' /*'#10' NO BORRAR ' +
|
||||||
'DEBERIA GENERAR UNA TABLA DE MOVIMIENTOS INDEPENDIENTE DEL INVEN' +
|
'YA QUE SIRVE PARA LAS ENTRADAS Y SALIDAS DE ALMACEN(TABLA MOVIMI' +
|
||||||
'TARIO PERO POR FALTA'#10' DE TIEMPO Y FIABILIDAD YA QUE AHORA FUN' +
|
'ENTOS)'#10' DEBERIA GENERAR UNA TABLA DE MOVIMIENTOS INDEPENDIENT' +
|
||||||
'CIONA TODO, CREAMOS ESTOS CAMPOS FICTICIOS'#10' */'#10#10' 0 as ID, ' +
|
'E DEL INVENTARIO PERO POR FALTA'#10' DE TIEMPO Y FIABILIDAD YA QU' +
|
||||||
'0 as CANTIDAD, current_date as FECHA_MOVIMIENTO, NULL as CAUSA, ' +
|
'E AHORA FUNCIONA TODO, CREAMOS ESTOS CAMPOS FICTICIOS'#10' */'#10#10' ' +
|
||||||
'NULL as TIPO'#10#10#10'FROM V_INVENTARIO'#10'where {where}'#10'ORDER BY ID_ARTIC' +
|
' 0 as ID, 0 as CANTIDAD, current_date as FECHA_MOVIMIENTO, NULL' +
|
||||||
'ULO'#10
|
' as CAUSA, NULL as TIPO'#10#10#10'FROM V_INVENTARIO'#10'where {where}'#10'ORDER ' +
|
||||||
|
'BY ID_ARTICULO'#10#10#10
|
||||||
StatementType = stSQL
|
StatementType = stSQL
|
||||||
ColumnMappings = <
|
ColumnMappings = <
|
||||||
item
|
item
|
||||||
@ -107,6 +108,15 @@ object srvInventario: TsrvInventario
|
|||||||
item
|
item
|
||||||
DatasetField = 'UNIDAD_MEDIDA'
|
DatasetField = 'UNIDAD_MEDIDA'
|
||||||
TableField = 'UNIDAD_MEDIDA'
|
TableField = 'UNIDAD_MEDIDA'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
DatasetField = 'IMPORTE_COMPRA_2ANOS'
|
||||||
|
TableField = 'IMPORTE_COMPRA_2ANOS'
|
||||||
|
end
|
||||||
|
item
|
||||||
|
DatasetField = 'COSTE_MEDIO_TOTAL'
|
||||||
|
TableField = '<unknown>'
|
||||||
|
SQLOrigin = 'COSTE_MEDIO_TOTAL'
|
||||||
end>
|
end>
|
||||||
end>
|
end>
|
||||||
Name = 'Inventario'
|
Name = 'Inventario'
|
||||||
@ -121,6 +131,10 @@ object srvInventario: TsrvInventario
|
|||||||
DataType = datInteger
|
DataType = datInteger
|
||||||
DictionaryEntry = 'Inventario_ID_ARTICULO'
|
DictionaryEntry = 'Inventario_ID_ARTICULO'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'IMPORTE_COMPRA_2ANOS'
|
||||||
|
DataType = datFloat
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'ALMACEN'
|
Name = 'ALMACEN'
|
||||||
DataType = datString
|
DataType = datString
|
||||||
@ -171,6 +185,10 @@ object srvInventario: TsrvInventario
|
|||||||
DataType = datFloat
|
DataType = datFloat
|
||||||
DictionaryEntry = 'Inventario_STOCK'
|
DictionaryEntry = 'Inventario_STOCK'
|
||||||
end
|
end
|
||||||
|
item
|
||||||
|
Name = 'COSTE_MEDIO_TOTAL'
|
||||||
|
DataType = datFloat
|
||||||
|
end
|
||||||
item
|
item
|
||||||
Name = 'UNIDADES_ALMACEN'
|
Name = 'UNIDADES_ALMACEN'
|
||||||
DataType = datFloat
|
DataType = datFloat
|
||||||
|
|||||||
@ -162,14 +162,6 @@ inherited fEditorInventario: TfEditorInventario
|
|||||||
Kind = skSum
|
Kind = skSum
|
||||||
Column = frViewInventario1.cxGridViewPENDIENTE_RECEPCION
|
Column = frViewInventario1.cxGridViewPENDIENTE_RECEPCION
|
||||||
end>
|
end>
|
||||||
inherited cxGridViewPRECIO_NETO: TcxGridDBColumn
|
|
||||||
Visible = False
|
|
||||||
VisibleForCustomization = False
|
|
||||||
end
|
|
||||||
inherited cxGridViewCOSTE_UNIDADES: TcxGridDBColumn
|
|
||||||
Visible = False
|
|
||||||
VisibleForCustomization = False
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited frViewFiltroBase1: TfrViewFiltroBase
|
inherited frViewFiltroBase1: TfrViewFiltroBase
|
||||||
|
|||||||
@ -106,17 +106,6 @@ inherited frViewInventario: TfrViewInventario
|
|||||||
MinWidth = 30
|
MinWidth = 30
|
||||||
Width = 50
|
Width = 50
|
||||||
end
|
end
|
||||||
object cxGridViewPRECIO_NETO: TcxGridDBColumn
|
|
||||||
DataBinding.FieldName = 'PRECIO_NETO'
|
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
|
||||||
HeaderAlignmentHorz = taRightJustify
|
|
||||||
end
|
|
||||||
object cxGridViewCOSTE_UNIDADES: TcxGridDBColumn
|
|
||||||
DataBinding.FieldName = 'COSTE_UNIDADES'
|
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
|
||||||
FooterAlignmentHorz = taRightJustify
|
|
||||||
HeaderAlignmentHorz = taRightJustify
|
|
||||||
end
|
|
||||||
object cxGridViewRESERVA: TcxGridDBColumn
|
object cxGridViewRESERVA: TcxGridDBColumn
|
||||||
DataBinding.FieldName = 'RESERVA'
|
DataBinding.FieldName = 'RESERVA'
|
||||||
PropertiesClassName = 'TcxSpinEditProperties'
|
PropertiesClassName = 'TcxSpinEditProperties'
|
||||||
@ -141,6 +130,19 @@ inherited frViewInventario: TfrViewInventario
|
|||||||
MinWidth = 30
|
MinWidth = 30
|
||||||
Width = 50
|
Width = 50
|
||||||
end
|
end
|
||||||
|
object cxGridViewPRECIO_NETO: TcxGridDBColumn
|
||||||
|
Caption = 'Coste medio unidad'
|
||||||
|
DataBinding.FieldName = 'IMPORTE_COMPRA_2ANOS'
|
||||||
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
|
HeaderAlignmentHorz = taRightJustify
|
||||||
|
end
|
||||||
|
object cxGridViewCOSTE_UNIDADES: TcxGridDBColumn
|
||||||
|
Caption = 'Coste medio total'
|
||||||
|
DataBinding.FieldName = 'COSTE_MEDIO_TOTAL'
|
||||||
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
|
FooterAlignmentHorz = taRightJustify
|
||||||
|
HeaderAlignmentHorz = taRightJustify
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridDBTableView1: TcxGridDBTableView [1]
|
object cxGridDBTableView1: TcxGridDBTableView [1]
|
||||||
NavigatorButtons.ConfirmDelete = False
|
NavigatorButtons.ConfirmDelete = False
|
||||||
@ -173,13 +175,23 @@ inherited frViewInventario: TfrViewInventario
|
|||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
inherited edtFechaFinFiltro: TcxDateEdit
|
inherited edtFechaFinFiltro: TcxDateEdit
|
||||||
|
Left = 344
|
||||||
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 = 344
|
||||||
ExplicitWidth = 121
|
ExplicitWidth = 121
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
|
inherited txtFiltroTodo2: TcxTextEdit
|
||||||
|
Left = 343
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitLeft = 343
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -210,67 +210,48 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
ExplicitWidth = 989
|
ExplicitWidth = 989
|
||||||
ExplicitHeight = 286
|
ExplicitHeight = 286
|
||||||
inherited edtFechaPresupuesto: TcxDBDateEdit
|
inherited edtFechaPresupuesto: TcxDBDateEdit
|
||||||
Top = 23
|
|
||||||
ExplicitTop = 23
|
|
||||||
ExplicitWidth = 187
|
ExplicitWidth = 187
|
||||||
Width = 187
|
Width = 187
|
||||||
end
|
end
|
||||||
inherited memObservaciones: TcxDBMemo
|
inherited memObservaciones: TcxDBMemo
|
||||||
Left = 478
|
Left = 478
|
||||||
Top = 229
|
|
||||||
ExplicitLeft = 478
|
ExplicitLeft = 478
|
||||||
ExplicitTop = 229
|
|
||||||
ExplicitWidth = 793
|
ExplicitWidth = 793
|
||||||
Width = 793
|
Width = 793
|
||||||
end
|
end
|
||||||
inherited eReferencia: TcxDBTextEdit
|
inherited eReferencia: TcxDBTextEdit
|
||||||
Top = -31
|
|
||||||
ExplicitTop = -31
|
|
||||||
ExplicitWidth = 122
|
ExplicitWidth = 122
|
||||||
Width = 122
|
Width = 122
|
||||||
end
|
end
|
||||||
inherited cbFormaPago: TcxDBLookupComboBox
|
inherited cbFormaPago: TcxDBLookupComboBox
|
||||||
Top = 161
|
|
||||||
ExplicitTop = 161
|
|
||||||
ExplicitWidth = 122
|
ExplicitWidth = 122
|
||||||
Width = 122
|
Width = 122
|
||||||
end
|
end
|
||||||
inherited bFormasPago: TButton
|
inherited bFormasPago: TButton
|
||||||
Left = 316
|
Left = 316
|
||||||
Top = 161
|
|
||||||
ExplicitLeft = 316
|
ExplicitLeft = 316
|
||||||
ExplicitTop = 161
|
|
||||||
end
|
end
|
||||||
inherited edtFechaDecision: TcxDBDateEdit
|
inherited edtFechaDecision: TcxDBDateEdit
|
||||||
Left = 327
|
Left = 327
|
||||||
Top = 50
|
|
||||||
ExplicitLeft = 327
|
ExplicitLeft = 327
|
||||||
ExplicitTop = 50
|
|
||||||
ExplicitWidth = 260
|
ExplicitWidth = 260
|
||||||
Width = 260
|
Width = 260
|
||||||
end
|
end
|
||||||
inherited edtFechaVigencia: TcxDBDateEdit
|
inherited edtFechaVigencia: TcxDBDateEdit
|
||||||
Top = 50
|
|
||||||
ExplicitTop = 50
|
|
||||||
ExplicitWidth = 260
|
ExplicitWidth = 260
|
||||||
Width = 260
|
Width = 260
|
||||||
end
|
end
|
||||||
inherited cbSituacion: TcxDBImageComboBox
|
inherited cbSituacion: TcxDBImageComboBox
|
||||||
Top = 77
|
|
||||||
ExplicitTop = 77
|
|
||||||
ExplicitWidth = 260
|
ExplicitWidth = 260
|
||||||
Width = 260
|
Width = 260
|
||||||
end
|
end
|
||||||
inherited frViewDatosYSeleccionClientePresupuesto1: TfrViewDatosYSeleccionClientePresupuesto
|
inherited frViewDatosYSeleccionClientePresupuesto1: TfrViewDatosYSeleccionClientePresupuesto
|
||||||
Left = 478
|
Left = 478
|
||||||
Top = -31
|
|
||||||
Width = 320
|
Width = 320
|
||||||
ExplicitLeft = 478
|
ExplicitLeft = 478
|
||||||
ExplicitTop = -31
|
|
||||||
ExplicitWidth = 320
|
ExplicitWidth = 320
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 320
|
Width = 320
|
||||||
ExplicitWidth = 320
|
|
||||||
inherited edtlNombre: TcxDBTextEdit
|
inherited edtlNombre: TcxDBTextEdit
|
||||||
ExplicitWidth = 202
|
ExplicitWidth = 202
|
||||||
Width = 202
|
Width = 202
|
||||||
@ -306,41 +287,41 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited memFormaPago: TcxDBMemo
|
inherited memFormaPago: TcxDBMemo
|
||||||
Top = 188
|
|
||||||
ExplicitTop = 188
|
|
||||||
ExplicitWidth = 475
|
ExplicitWidth = 475
|
||||||
ExplicitHeight = 44
|
ExplicitHeight = 44
|
||||||
Height = 44
|
Height = 44
|
||||||
Width = 475
|
Width = 475
|
||||||
end
|
end
|
||||||
inherited memPlazoEntrega: TcxDBMemo
|
inherited memPlazoEntrega: TcxDBMemo
|
||||||
Top = 244
|
Top = 344
|
||||||
ExplicitTop = 244
|
ExplicitTop = 344
|
||||||
ExplicitWidth = 396
|
ExplicitWidth = 396
|
||||||
ExplicitHeight = 100
|
ExplicitHeight = 100
|
||||||
Height = 100
|
Height = 100
|
||||||
Width = 396
|
Width = 396
|
||||||
end
|
end
|
||||||
inherited cbVendedor: TcxDBLookupComboBox
|
inherited cbVendedor: TcxDBLookupComboBox
|
||||||
Top = 104
|
|
||||||
ExplicitTop = 104
|
|
||||||
ExplicitWidth = 27
|
ExplicitWidth = 27
|
||||||
Width = 27
|
Width = 27
|
||||||
end
|
end
|
||||||
inherited cbTipoPresupuesto: TcxDBComboBox
|
inherited cbTipoPresupuesto: TcxDBComboBox
|
||||||
Left = 324
|
Left = 324
|
||||||
Top = 23
|
|
||||||
ExplicitLeft = 324
|
ExplicitLeft = 324
|
||||||
ExplicitTop = 23
|
|
||||||
ExplicitWidth = 186
|
ExplicitWidth = 186
|
||||||
Width = 186
|
Width = 186
|
||||||
end
|
end
|
||||||
inherited edtlReferenciaCliente: TcxDBTextEdit
|
inherited edtlReferenciaCliente: TcxDBTextEdit
|
||||||
Top = -4
|
|
||||||
ExplicitTop = -4
|
|
||||||
ExplicitWidth = 204
|
ExplicitWidth = 204
|
||||||
Width = 204
|
Width = 204
|
||||||
end
|
end
|
||||||
|
inherited frViewTienda1: TfrViewTienda
|
||||||
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
|
inherited cbTienda: TcxComboBox
|
||||||
|
ExplicitWidth = 390
|
||||||
|
Width = 390
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,10 +1,5 @@
|
|||||||
inherited frViewDetallesPresupuestoCliente: TfrViewDetallesPresupuestoCliente
|
inherited frViewDetallesPresupuestoCliente: TfrViewDetallesPresupuestoCliente
|
||||||
Width = 1149
|
|
||||||
inherited ToolBar1: TToolBar
|
|
||||||
Width = 1149
|
|
||||||
end
|
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 1149
|
|
||||||
inherited cxGridView: TcxGridDBTableView
|
inherited cxGridView: TcxGridDBTableView
|
||||||
inherited cxGridViewID: TcxGridDBColumn
|
inherited cxGridViewID: TcxGridDBColumn
|
||||||
VisibleForCustomization = False
|
VisibleForCustomization = False
|
||||||
@ -83,10 +78,8 @@ inherited frViewDetallesPresupuestoCliente: TfrViewDetallesPresupuestoCliente
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXDock1: TTBXDock
|
inherited TBXDock1: TTBXDock
|
||||||
Width = 1149
|
|
||||||
inherited TBXToolbar1: TTBXToolbar
|
inherited TBXToolbar1: TTBXToolbar
|
||||||
DockPos = 0
|
DockPos = 0
|
||||||
ExplicitWidth = 839
|
|
||||||
object TBXSubmenuItem1: TTBXSubmenuItem [0]
|
object TBXSubmenuItem1: TTBXSubmenuItem [0]
|
||||||
Caption = 'A'#241'adir cap'#237'tulo'
|
Caption = 'A'#241'adir cap'#237'tulo'
|
||||||
DisplayMode = nbdmImageAndText
|
DisplayMode = nbdmImageAndText
|
||||||
@ -139,6 +132,12 @@ inherited frViewDetallesPresupuestoCliente: TfrViewDetallesPresupuestoCliente
|
|||||||
object TBXItem26: TTBXItem
|
object TBXItem26: TTBXItem
|
||||||
Action = actCapituloClaSemSuspendido
|
Action = actCapituloClaSemSuspendido
|
||||||
end
|
end
|
||||||
|
object TBXItem27: TTBXItem
|
||||||
|
Action = actCapituloServSuministro
|
||||||
|
end
|
||||||
|
object TBXItem28: TTBXItem
|
||||||
|
Action = actCapituloServInstalacion
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object TBXSeparatorItem6: TTBXSeparatorItem [3]
|
object TBXSeparatorItem6: TTBXSeparatorItem [3]
|
||||||
end
|
end
|
||||||
@ -326,6 +325,16 @@ inherited frViewDetallesPresupuestoCliente: TfrViewDetallesPresupuestoCliente
|
|||||||
Caption = 'Cap'#237'tulo cl'#225'sico/semisuspendido/suspendido'
|
Caption = 'Cap'#237'tulo cl'#225'sico/semisuspendido/suspendido'
|
||||||
OnExecute = actCapituloClaSemSuspendidoExecute
|
OnExecute = actCapituloClaSemSuspendidoExecute
|
||||||
end
|
end
|
||||||
|
object actCapituloServInstalacion: TAction
|
||||||
|
Category = 'Operaciones'
|
||||||
|
Caption = 'Servicio de instalaci'#243'n'
|
||||||
|
OnExecute = actCapituloServInstalacionExecute
|
||||||
|
end
|
||||||
|
object actCapituloServSuministro: TAction
|
||||||
|
Category = 'Operaciones'
|
||||||
|
Caption = 'Servicio de suministro'
|
||||||
|
OnExecute = actCapituloServSuministroExecute
|
||||||
|
end
|
||||||
end
|
end
|
||||||
inherited cxStyleRepository: TcxStyleRepository
|
inherited cxStyleRepository: TcxStyleRepository
|
||||||
inherited cxStyle_IMPORTETOTAL: TcxStyle
|
inherited cxStyle_IMPORTETOTAL: TcxStyle
|
||||||
|
|||||||
@ -70,6 +70,10 @@ type
|
|||||||
TBXItem24: TTBXItem;
|
TBXItem24: TTBXItem;
|
||||||
TBXItem25: TTBXItem;
|
TBXItem25: TTBXItem;
|
||||||
TBXItem26: TTBXItem;
|
TBXItem26: TTBXItem;
|
||||||
|
actCapituloServInstalacion: TAction;
|
||||||
|
actCapituloServSuministro: TAction;
|
||||||
|
TBXItem27: TTBXItem;
|
||||||
|
TBXItem28: TTBXItem;
|
||||||
procedure actAsignarDescuentoExecute(Sender: TObject);
|
procedure actAsignarDescuentoExecute(Sender: TObject);
|
||||||
procedure actAsignarDescuentoUpdate(Sender: TObject);
|
procedure actAsignarDescuentoUpdate(Sender: TObject);
|
||||||
procedure CustomViewShow(Sender: TObject);
|
procedure CustomViewShow(Sender: TObject);
|
||||||
@ -92,6 +96,8 @@ type
|
|||||||
procedure actCapituloFreArmAbatibleExecute(Sender: TObject);
|
procedure actCapituloFreArmAbatibleExecute(Sender: TObject);
|
||||||
procedure actCapituloIntArmForradoExecute(Sender: TObject);
|
procedure actCapituloIntArmForradoExecute(Sender: TObject);
|
||||||
procedure actCapituloClaSemSuspendidoExecute(Sender: TObject);
|
procedure actCapituloClaSemSuspendidoExecute(Sender: TObject);
|
||||||
|
procedure actCapituloServInstalacionExecute(Sender: TObject);
|
||||||
|
procedure actCapituloServSuministroExecute(Sender: TObject);
|
||||||
|
|
||||||
private
|
private
|
||||||
procedure AnadirCapitulo(const Tipo: String;const Descripcion: String; const Descuento:Boolean = false; const ConstanteConfiguracion: String = '');
|
procedure AnadirCapitulo(const Tipo: String;const Descripcion: String; const Descuento:Boolean = false; const ConstanteConfiguracion: String = '');
|
||||||
@ -246,6 +252,19 @@ begin
|
|||||||
AnadirCapitulo(TIPO_CAPITULO_V, 'SEPARACIÓN DE AMBIENTES', true, 'CAP_SEP_AMBIENTES');
|
AnadirCapitulo(TIPO_CAPITULO_V, 'SEPARACIÓN DE AMBIENTES', true, 'CAP_SEP_AMBIENTES');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewDetallesPresupuestoCliente.actCapituloServInstalacionExecute(Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
AnadirCapitulo(TIPO_CAPITULO_V, 'SERVICIO DE INSTALACIÓN - PRECIO NETO', true, 'CAP_INSTALACION');
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfrViewDetallesPresupuestoCliente.actCapituloServSuministroExecute(
|
||||||
|
Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
AnadirCapitulo(TIPO_CAPITULO_V, 'SERVICIO DE SUMINISTRO - PRECIO NETO', true, 'CAP_SUMINISTRO');
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewDetallesPresupuestoCliente.actCapituloVariosExecute(Sender: TObject);
|
procedure TfrViewDetallesPresupuestoCliente.actCapituloVariosExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
AnadirCapitulo(TIPO_CAPITULO_V, 'VARIOS ', true);
|
AnadirCapitulo(TIPO_CAPITULO_V, 'VARIOS ', true);
|
||||||
|
|||||||
@ -80,7 +80,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.DarNuevaReferencia(REF_RECIBOS_CLIENTE, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.DarNuevaReferencia(REF_RECIBOS_CLIENTE, ID_EMPRESA, -1) //Referencia comun a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TBizRecibosClienteServer.IncrementarReferencia: Boolean;
|
function TBizRecibosClienteServer.IncrementarReferencia: Boolean;
|
||||||
@ -93,7 +93,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.IncrementarValorReferencia(REF_RECIBOS_CLIENTE, Self.REFERENCIA, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.IncrementarValorReferencia(REF_RECIBOS_CLIENTE, Self.REFERENCIA, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
|||||||
@ -79,7 +79,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.DarNuevaReferencia(REF_RECIBOS_PROVEEDOR, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.DarNuevaReferencia(REF_RECIBOS_PROVEEDOR, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TBizRecibosProveedorServer.IncrementarReferencia: Boolean;
|
function TBizRecibosProveedorServer.IncrementarReferencia: Boolean;
|
||||||
@ -92,7 +92,7 @@ begin
|
|||||||
|
|
||||||
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
GetClassFactory('srvReferencias').CreateInstance(AClientID, Intf);
|
||||||
AReferenciasService := Intf as IsrvReferencias;
|
AReferenciasService := Intf as IsrvReferencias;
|
||||||
Result := AReferenciasService.IncrementarValorReferencia(REF_RECIBOS_PROVEEDOR, Self.REFERENCIA, ID_EMPRESA, ID_TIENDA)
|
Result := AReferenciasService.IncrementarValorReferencia(REF_RECIBOS_PROVEEDOR, Self.REFERENCIA, ID_EMPRESA, -1) //Referencia común a todas las tiendas de la empresa
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
|||||||
@ -81,8 +81,16 @@ begin
|
|||||||
dboEqual);
|
dboEqual);
|
||||||
|
|
||||||
AWhere := NewBinaryExpression(AWhere, AWhereExpr2, dboAnd);
|
AWhere := NewBinaryExpression(AWhere, AWhereExpr2, dboAnd);
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
AWhereExpr2 := NewBinaryExpression(NewField('', 'ID_EMPRESA'),
|
||||||
|
NewNull(),
|
||||||
|
dboEqual);
|
||||||
|
AWhere := NewBinaryExpression(AWhere, AWhereExpr2, dboAnd);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
//Si se asigna IDTienda se añade condicion
|
//Si se asigna IDTienda se añade condicion
|
||||||
if (TiendaID <> -1) then
|
if (TiendaID <> -1) then
|
||||||
begin
|
begin
|
||||||
@ -92,6 +100,13 @@ begin
|
|||||||
|
|
||||||
AWhere := NewBinaryExpression(AWhere, AWhereExpr3, dboAnd);
|
AWhere := NewBinaryExpression(AWhere, AWhereExpr3, dboAnd);
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
AWhereExpr3 := NewBinaryExpression(NewField('', 'ID_TIENDA'),
|
||||||
|
NewNull(),
|
||||||
|
dboEqual);
|
||||||
|
AWhere := NewBinaryExpression(AWhere, AWhereExpr3, dboAnd);
|
||||||
|
end;
|
||||||
|
|
||||||
finally
|
finally
|
||||||
Free;
|
Free;
|
||||||
@ -147,7 +162,10 @@ begin
|
|||||||
AWhere := AWhere + ' AND (ID_EMPRESA = ' + IntToStr(EmpresaID) + ')';
|
AWhere := AWhere + ' AND (ID_EMPRESA = ' + IntToStr(EmpresaID) + ')';
|
||||||
|
|
||||||
if (TiendaID <> -1) then
|
if (TiendaID <> -1) then
|
||||||
AWhere := AWhere + ' AND (ID_TIENDA = ' + IntToStr(TiendaID) + ')';
|
AWhere := AWhere + ' AND (ID_TIENDA = ' + IntToStr(TiendaID) + ')'
|
||||||
|
else
|
||||||
|
AWhere := AWhere + ' AND (ID_TIENDA IS NULL)';
|
||||||
|
|
||||||
|
|
||||||
ASchema := schReferencias;
|
ASchema := schReferencias;
|
||||||
AConn := dmServer.ConnectionManager.NewConnection(dmServer.ConnectionManager.GetDefaultConnectionName);
|
AConn := dmServer.ConnectionManager.NewConnection(dmServer.ConnectionManager.GetDefaultConnectionName);
|
||||||
|
|||||||
@ -220,8 +220,8 @@ begin
|
|||||||
}
|
}
|
||||||
AuxAlbaran := AAlbaranesClienteController.Nuevo;
|
AuxAlbaran := AAlbaranesClienteController.Nuevo;
|
||||||
AuxAlbaran.ID_EMPRESA := AppFactuGES.EmpresaActiva.ID;
|
AuxAlbaran.ID_EMPRESA := AppFactuGES.EmpresaActiva.ID;
|
||||||
AuxAlbaran.ID_TIENDA := AppFactuGES.TiendaActiva.ID;
|
AuxAlbaran.ID_TIENDA := AContrato.ID_TIENDA;
|
||||||
AuxAlbaran.TIENDA := AppFactuGES.TiendaActiva.NOMBRE;
|
AuxAlbaran.TIENDA := AContrato.TIENDA;
|
||||||
|
|
||||||
CopiarContratoAAlbaran(AContrato, AuxAlbaran);
|
CopiarContratoAAlbaran(AContrato, AuxAlbaran);
|
||||||
CopiarDetallesAAlbaran(AContrato, AuxAlbaran, AContrato.Detalles);
|
CopiarDetallesAAlbaran(AContrato, AuxAlbaran, AContrato.Detalles);
|
||||||
|
|||||||
@ -197,8 +197,9 @@ begin
|
|||||||
try
|
try
|
||||||
AFactura := AFacturasClienteController.Nuevo;
|
AFactura := AFacturasClienteController.Nuevo;
|
||||||
AFactura.ID_EMPRESA := AppFactuGES.EmpresaActiva.ID;
|
AFactura.ID_EMPRESA := AppFactuGES.EmpresaActiva.ID;
|
||||||
AFactura.ID_TIENDA := AppFactuGES.TiendaActiva.ID;
|
|
||||||
AFactura.TIENDA := AppFactuGES.TiendaActiva.NOMBRE;
|
AFactura.ID_TIENDA := AContrato.ID_TIENDA;
|
||||||
|
AFactura.TIENDA := AContrato.TIENDA;
|
||||||
//Solicitado por Angélica, al generar una factura a partir del contrato, que se copie el IVA asignado en el contrato
|
//Solicitado por Angélica, al generar una factura a partir del contrato, que se copie el IVA asignado en el contrato
|
||||||
// AFactura.ID_TIPO_IVA := AppFactuGES.EmpresaActiva.ID_TIPO_IVA; //SIEMPRE SE ASIGNARÄ EL IVA DE LA EMPRESA ACTIVA
|
// AFactura.ID_TIPO_IVA := AppFactuGES.EmpresaActiva.ID_TIPO_IVA; //SIEMPRE SE ASIGNARÄ EL IVA DE LA EMPRESA ACTIVA
|
||||||
CopiarContratoAFactura(AContrato, AFactura);
|
CopiarContratoAFactura(AContrato, AFactura);
|
||||||
|
|||||||
Binary file not shown.
@ -1023,6 +1023,14 @@
|
|||||||
</Parameter>
|
</Parameter>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
</Operation>
|
</Operation>
|
||||||
|
<Operation Name="AnadirIncidenciaContrato" UID="{F158BD00-C508-4566-9CC6-F5EC55100033}">
|
||||||
|
<Parameters>
|
||||||
|
<Parameter Name="Result" DataType="Boolean" Flag="Result">
|
||||||
|
</Parameter>
|
||||||
|
<Parameter Name="id_contrato" DataType="Integer" Flag="In" >
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Operation>
|
||||||
</Operations>
|
</Operations>
|
||||||
</Interface>
|
</Interface>
|
||||||
</Interfaces>
|
</Interfaces>
|
||||||
|
|||||||
@ -887,6 +887,7 @@ type
|
|||||||
const VerTotales: Boolean): Binary;
|
const VerTotales: Boolean): Binary;
|
||||||
function GenerarInformeEtiquetas(const ID: Integer; const AAgencia: Variant; const ARefPedido: Variant; const ANumEtiquetas: Integer;
|
function GenerarInformeEtiquetas(const ID: Integer; const AAgencia: Variant; const ARefPedido: Variant; const ANumEtiquetas: Integer;
|
||||||
const AEtiquetaIni: Integer): Binary;
|
const AEtiquetaIni: Integer): Binary;
|
||||||
|
function AnadirIncidenciaContrato(const id_contrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ CosrvContratosCliente }
|
{ CosrvContratosCliente }
|
||||||
@ -905,6 +906,7 @@ type
|
|||||||
const VerTotales: Boolean): Binary;
|
const VerTotales: Boolean): Binary;
|
||||||
function GenerarInformeEtiquetas(const ID: Integer; const AAgencia: Variant; const ARefPedido: Variant; const ANumEtiquetas: Integer;
|
function GenerarInformeEtiquetas(const ID: Integer; const AAgencia: Variant; const ARefPedido: Variant; const ANumEtiquetas: Integer;
|
||||||
const AEtiquetaIni: Integer): Binary;
|
const AEtiquetaIni: Integer): Binary;
|
||||||
|
function AnadirIncidenciaContrato(const id_contrato: Integer): Boolean;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ IsrvSubfamilias }
|
{ IsrvSubfamilias }
|
||||||
@ -3001,6 +3003,22 @@ begin
|
|||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TsrvContratosCliente_Proxy.AnadirIncidenciaContrato(const id_contrato: Integer): Boolean;
|
||||||
|
begin
|
||||||
|
try
|
||||||
|
__Message.InitializeRequestMessage(__TransportChannel, 'FactuGES', __InterfaceName, 'AnadirIncidenciaContrato');
|
||||||
|
__Message.Write('id_contrato', TypeInfo(Integer), id_contrato, []);
|
||||||
|
__Message.Finalize;
|
||||||
|
|
||||||
|
__TransportChannel.Dispatch(__Message);
|
||||||
|
|
||||||
|
__Message.Read('Result', TypeInfo(Boolean), result, []);
|
||||||
|
finally
|
||||||
|
__Message.UnsetAttributes(__TransportChannel);
|
||||||
|
__Message.FreeStream;
|
||||||
|
end
|
||||||
|
end;
|
||||||
|
|
||||||
{ CosrvSubfamilias }
|
{ CosrvSubfamilias }
|
||||||
|
|
||||||
class function CosrvSubfamilias.Create(const aMessage: IROMessage; aTransportChannel: IROTransportChannel): IsrvSubfamilias;
|
class function CosrvSubfamilias.Create(const aMessage: IROMessage; aTransportChannel: IROTransportChannel): IsrvSubfamilias;
|
||||||
|
|||||||
@ -330,6 +330,7 @@ type
|
|||||||
procedure Invoke_GenerarInforme(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
procedure Invoke_GenerarInforme(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||||
procedure Invoke_GenerarInformeEnPDF(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
procedure Invoke_GenerarInformeEnPDF(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||||
procedure Invoke_GenerarInformeEtiquetas(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
procedure Invoke_GenerarInformeEtiquetas(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||||
|
procedure Invoke_AnadirIncidenciaContrato(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TsrvSubfamilias_Invoker = class(TDataAbstractService_Invoker)
|
TsrvSubfamilias_Invoker = class(TDataAbstractService_Invoker)
|
||||||
@ -2534,6 +2535,26 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TsrvContratosCliente_Invoker.Invoke_AnadirIncidenciaContrato(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
|
||||||
|
{ function AnadirIncidenciaContrato(const id_contrato: Integer): Boolean; }
|
||||||
|
var
|
||||||
|
id_contrato: Integer;
|
||||||
|
lResult: Boolean;
|
||||||
|
begin
|
||||||
|
try
|
||||||
|
__Message.Read('id_contrato', TypeInfo(Integer), id_contrato, []);
|
||||||
|
|
||||||
|
lResult := (__Instance as IsrvContratosCliente).AnadirIncidenciaContrato(id_contrato);
|
||||||
|
|
||||||
|
__Message.InitializeResponseMessage(__Transport, 'FactuGES', 'srvContratosCliente', 'AnadirIncidenciaContratoResponse');
|
||||||
|
__Message.Write('Result', TypeInfo(Boolean), lResult, []);
|
||||||
|
__Message.Finalize;
|
||||||
|
__Message.UnsetAttributes(__Transport);
|
||||||
|
|
||||||
|
finally
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
{ TsrvSubfamilias_Invoker }
|
{ TsrvSubfamilias_Invoker }
|
||||||
|
|
||||||
constructor TsrvSubfamilias_Invoker.Create;
|
constructor TsrvSubfamilias_Invoker.Create;
|
||||||
|
|||||||
Binary file not shown.
@ -129,8 +129,6 @@ uses
|
|||||||
schAlbaranesProveedorServer_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorServer_Intf.pas',
|
schAlbaranesProveedorServer_Intf in '..\Modulos\Albaranes de proveedor\Model\schAlbaranesProveedorServer_Intf.pas',
|
||||||
uRptPedidosProveedor_Server in '..\Modulos\Pedidos a proveedor\Reports\uRptPedidosProveedor_Server.pas' {RptPedidosProveedor: TDataModule},
|
uRptPedidosProveedor_Server in '..\Modulos\Pedidos a proveedor\Reports\uRptPedidosProveedor_Server.pas' {RptPedidosProveedor: TDataModule},
|
||||||
uRptAlbaranesProveedor_Server in '..\Modulos\Albaranes de proveedor\Reports\uRptAlbaranesProveedor_Server.pas' {RptAlbaranesProveedor: TDataModule},
|
uRptAlbaranesProveedor_Server in '..\Modulos\Albaranes de proveedor\Reports\uRptAlbaranesProveedor_Server.pas' {RptAlbaranesProveedor: TDataModule},
|
||||||
schInventarioClient_Intf in '..\Modulos\Inventario\Model\schInventarioClient_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',
|
||||||
schHistoricoMovimientosServer_Intf in '..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosServer_Intf.pas',
|
schHistoricoMovimientosServer_Intf in '..\Modulos\Historico de movimientos\Model\schHistoricoMovimientosServer_Intf.pas',
|
||||||
uTypesConstConfiguration in '..\Base\Configuracion\uTypesConstConfiguration.pas',
|
uTypesConstConfiguration in '..\Base\Configuracion\uTypesConstConfiguration.pas',
|
||||||
@ -154,9 +152,11 @@ uses
|
|||||||
schArticulosServer_Intf in '..\Modulos\Articulos\Model\schArticulosServer_Intf.pas',
|
schArticulosServer_Intf in '..\Modulos\Articulos\Model\schArticulosServer_Intf.pas',
|
||||||
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',
|
||||||
|
uRptInventario_Server in '..\Modulos\Inventario\Reports\uRptInventario_Server.pas' {RptInventario: TDataModule},
|
||||||
schContratosClienteClient_Intf in '..\Modulos\Contratos de cliente\Model\schContratosClienteClient_Intf.pas',
|
schContratosClienteClient_Intf in '..\Modulos\Contratos de cliente\Model\schContratosClienteClient_Intf.pas',
|
||||||
schContratosClienteServer_Intf in '..\Modulos\Contratos de cliente\Model\schContratosClienteServer_Intf.pas',
|
schContratosClienteServer_Intf in '..\Modulos\Contratos de cliente\Model\schContratosClienteServer_Intf.pas',
|
||||||
uRptInventario_Server in '..\Modulos\Inventario\Reports\uRptInventario_Server.pas' {RptInventario: TDataModule};
|
schInventarioClient_Intf in '..\Modulos\Inventario\Model\schInventarioClient_Intf.pas',
|
||||||
|
schInventarioServer_Intf in '..\Modulos\Inventario\Model\schInventarioServer_Intf.pas';
|
||||||
|
|
||||||
{$R *.res}
|
{$R *.res}
|
||||||
{$R ..\Servicios\RODLFile.res}
|
{$R ..\Servicios\RODLFile.res}
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
<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><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">4</VersionInfo><VersionInfo Name="MinorVer">1</VersionInfo><VersionInfo Name="Release">4</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">Rodax Software S.L.</VersionInfoKeys><VersionInfoKeys Name="FileDescription"></VersionInfoKeys><VersionInfoKeys Name="FileVersion">4.1.4.0</VersionInfoKeys><VersionInfoKeys Name="InternalName"></VersionInfoKeys><VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys><VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys><VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys><VersionInfoKeys Name="ProductName">FactuGES (Servidor)</VersionInfoKeys><VersionInfoKeys Name="ProductVersion">4.1.4.0</VersionInfoKeys><VersionInfoKeys Name="Comments"></VersionInfoKeys><VersionInfoKeys Name="CompileDate">martes, 19 de julio de 2022 22:37</VersionInfoKeys></VersionInfoKeys><Excluded_Packages>
|
<BorlandProject><Delphi.Personality><Parameters><Parameters Name="UseLauncher">False</Parameters><Parameters Name="LoadAllSymbols">True</Parameters><Parameters Name="LoadUnspecifiedSymbols">False</Parameters></Parameters><VersionInfo><VersionInfo Name="IncludeVerInfo">True</VersionInfo><VersionInfo Name="AutoIncBuild">False</VersionInfo><VersionInfo Name="MajorVer">4</VersionInfo><VersionInfo Name="MinorVer">1</VersionInfo><VersionInfo Name="Release">6</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">Rodax Software S.L.</VersionInfoKeys><VersionInfoKeys Name="FileDescription"></VersionInfoKeys><VersionInfoKeys Name="FileVersion">4.1.6.0</VersionInfoKeys><VersionInfoKeys Name="InternalName"></VersionInfoKeys><VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys><VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys><VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys><VersionInfoKeys Name="ProductName">FactuGES (Servidor)</VersionInfoKeys><VersionInfoKeys Name="ProductVersion">4.1.6.0</VersionInfoKeys><VersionInfoKeys Name="Comments"></VersionInfoKeys><VersionInfoKeys Name="CompileDate">martes, 18 de octubre de 2022 10:32</VersionInfoKeys></VersionInfoKeys><Excluded_Packages>
|
||||||
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl">File C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl not found</Excluded_Packages>
|
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl">File C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl not found</Excluded_Packages>
|
||||||
</Excluded_Packages><Source><Source Name="MainSource">FactuGES_Server.dpr</Source></Source></Delphi.Personality></BorlandProject></BorlandProject>
|
</Excluded_Packages><Source><Source Name="MainSource">FactuGES_Server.dpr</Source></Source></Delphi.Personality></BorlandProject></BorlandProject>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user