To implement this hotfix, you must have a developer license.
You do not have to have rights to the data stores unless you have to perform data repair.
...
END;
//CH1381.end
UNTIL SalesLine.NEXT = 0;
IF QtyToInvCorrected THEN BEGIN
// Delete the following lines.
TempVATAmountLine.DELETEALL;
TmpSalesLine2.CalcVATAmountLines(1,SalesHeader,TmpSalesLine2,TempVATAmountLine);
// End of the deleted lines.
END;
END;
// CH1380.end
END;
...
...
END;
//CH1381.end
UNTIL SalesLine.NEXT = 0;
IF QtyToInvCorrected THEN BEGIN
// Add the following lines.
CombinedSalesLineTemp.DELETEALL;
MergeSaleslines(SalesHeader,TmpSalesLine2,TempPrepaymentSalesLine,CombinedSalesLineTemp);
TempVATAmountLine.DELETEALL;
TmpSalesLine2.CalcVATAmountLines(1,SalesHeader,CombinedSalesLineTemp,TempVATAmountLine);
// End of the added lines.
END;
END;
// CH1380.end
END;
...