Recibos de cliente: arreglo de fallo en la migración a DA5 (ImporteTotalModificado). Duplicaba las filas.
git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@228 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
bd56a0e670
commit
84b9f0c6f3
@ -147,7 +147,7 @@ uses
|
||||
Forms, uNumUtils, cxControls, DB, uEditorRegistryUtils, Dialogs,
|
||||
uDAInterfaces, uDataTableUtils, uDataModuleUsuarios, uFactuGES_App,
|
||||
uDateUtils, uROTypes, DateUtils, Controls, Windows, Variants,
|
||||
uRecibosClienteReportController, uBizContactos,
|
||||
uRecibosClienteReportController, uBizContactos, uDADelta,
|
||||
schRecibosClienteClient_Intf, uIEditorRecibosCliente, uIEditorReciboCliente,
|
||||
uIEditorElegirRecibosCliente, uDataModuleRecibosCliente, uIEditorFechaPago;
|
||||
|
||||
@ -685,11 +685,10 @@ begin
|
||||
end;
|
||||
|
||||
function TRecibosClienteController.ImporteTotalModificado(ARecibosCliente : IBizRecibosCliente; var ImporteRestante: Currency) : Boolean;
|
||||
//var
|
||||
// HayCambio: TDADeltaChange;
|
||||
var
|
||||
HayCambio: TDADeltaChange;
|
||||
begin
|
||||
Result := False;
|
||||
{
|
||||
ImporteRestante := 0;
|
||||
HayCambio := ARecibosCliente.DataTable.Delta.FindChange(ARecibosCliente.RecNo);
|
||||
if (Assigned(HayCambio)) and
|
||||
@ -699,7 +698,6 @@ begin
|
||||
if ImporteRestante <> 0 then
|
||||
Result := True;
|
||||
end;
|
||||
}
|
||||
end;
|
||||
|
||||
function TRecibosClienteController.Guardar(ARecibosCliente: IBizRecibosCliente): Boolean;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user