fix: refs #8149 taxableBase invoiceIn #3294

Merged
carlosap merged 1 commits from Hotfix-invoiceIn_add into master 2024-12-11 12:34:20 +00:00
1 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ BEGIN
DECLARE vIsInformativeExportation BOOL DEFAULT FALSE;
DECLARE vCursor CURSOR FOR
SELECT it.taxableBase,
SELECT SUM(it.taxableBase),
CAST(SUM((( it.taxableBase / 100) * t.PorcentajeIva)) AS DECIMAL (10,2)),
t.PorcentajeIva,
it.transactionTypeSageFk,