Arreglo al generar abono a partir de una factura (hacia mal las cantidades)

git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES/trunk@175 c93665c3-c93d-084d-9b98-7d5f4a9c3376
This commit is contained in:
roberto 2007-12-03 18:38:18 +00:00
parent 807d058e16
commit 7993e45e44

View File

@ -284,7 +284,7 @@ begin
if (FieldByName(CAMPO_CANTIDAD).AsInteger <> 0) then
begin
Edit;
FieldByName(CAMPO_CANTIDAD).AsInteger := -1;
FieldByName(CAMPO_CANTIDAD).AsInteger := (-1) * FieldByName(CAMPO_CANTIDAD).AsInteger;
end;
Next;
end;