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.
To resolve this problem, change the code in the Data Item Number 4 in the Purchases - AutoCredit Memo report (10713) as follows:
...
MoreLines := NEXT(-1) <> 0;
IF NOT MoreLines THEN
CurrReport.BREAK;
SETRANGE("Line No.",0,"Line No.");
CurrReport.CREATETOTALS(Amount,"Amount Including VAT","Inv. Discount Amount","Pmt. Disc. Rcd. Amount");
END;
OnAfterGetRecord=BEGIN
IF "VAT Calculation Type" = "VAT Calculation Type"::"Reverse Charge VAT" THEN BEGIN
IF VATPostingSetup.GET("Purch. Cr. Memo Line"."VAT Bus. Posting Group","Purch. Cr. Memo Line"."VAT Prod. Posting Group") THEN
...
...
MoreLines := NEXT(-1) <> 0;
IF NOT MoreLines THEN
CurrReport.BREAK;
SETRANGE("Line No.",0,"Line No.");
CurrReport.CREATETOTALS(Amount,"Amount Including VAT","Inv. Discount Amount","Pmt. Disc. Rcd. Amount");
// Add the following lines.
TotalVATAmount:=0;
TotalAmount :=0;
// End of the added lines.
END;
OnAfterGetRecord=BEGIN
IF "VAT Calculation Type" = "VAT Calculation Type"::"Reverse Charge VAT" THEN BEGIN
IF VATPostingSetup.GET("Purch. Cr. Memo Line"."VAT Bus. Posting Group","Purch. Cr. Memo Line"."VAT Prod. Posting Group") THEN
...