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:
parent
807d058e16
commit
7993e45e44
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user