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.
...
VAR
ServiceHeader@1170002 : Record 5900;
CorrectionLineBefore@1170001 : Record 12336;
BEGIN
IF CorrectionLine."Before/ After correction" = CorrectionLine."Before/ After correction"::After THEN BEGIN
CASE CorrectionLine."Source ID" OF
...
...
VAR
ServiceHeader@1170002 : Record 5900;
CorrectionLineBefore@1170001 : Record 12336;
// Add the following line.
SalesInvoiceHeader@1170003 : Record 112;
// End of the added line.
BEGIN
IF CorrectionLine."Before/ After correction" = CorrectionLine."Before/ After correction"::After THEN BEGIN
CASE CorrectionLine."Source ID" OF
...
...
THEN
ERROR(Text92001,CorrectionType."Correction Type",CorrectionType.TABLECAPTION,CorrectionType.Code);
CorrectionType."Correction Type"::"VAT Rate":
// Delete the following lines.
IF ((CorrectionLine."Line Amount" <> CorrectionLineBefore."Line Amount") AND
(CorrectionLine."Amount Including VAT" <> CorrectionLineBefore."Amount Including VAT")) OR
(CorrectionLine."Quantity (Base)" <> CorrectionLineBefore."Quantity (Base)") OR
(CorrectionLine."Line Discount %" <> CorrectionLineBefore."Line Discount %") OR
(CorrectionLine."VAT Base Amount" <> CorrectionLineBefore."VAT Base Amount")
THEN
ERROR(Text92001,CorrectionType."Correction Type",CorrectionType.TABLECAPTION,CorrectionType.Code);
CorrectionType."Correction Type"::"Quantity and Value":
IF (CorrectionLine."VAT %" <> CorrectionLineBefore."VAT %") OR
(CorrectionLine."VAT Prod. Posting Group" <> CorrectionLineBefore."VAT Prod. Posting Group")
// End of the deleted lines.
...
...
THEN
ERROR(Text92001,CorrectionType."Correction Type",CorrectionType.TABLECAPTION,CorrectionType.Code);
CorrectionType."Correction Type"::"VAT Rate":
// Add the following lines.
BEGIN
IF (CorrectionLine."Quantity (Base)" <> CorrectionLineBefore."Quantity (Base)") OR
(CorrectionLine."Line Discount %" <> CorrectionLineBefore."Line Discount %") OR
(CorrectionLine."VAT Base Amount" <> CorrectionLineBefore."VAT Base Amount")
THEN
ERROR(Text92001,CorrectionType."Correction Type",CorrectionType.TABLECAPTION,CorrectionType.Code);
SalesInvoiceHeader.GET(CorrectionLine."Source Document No.");
IF NOT SalesInvoiceHeader."Prices Including VAT" AND
((CorrectionLine."Line Amount" <> CorrectionLineBefore."Line Amount") AND
(CorrectionLine."Amount Including VAT" <> CorrectionLineBefore."Amount Including VAT"))
THEN
ERROR(Text92001,CorrectionType."Correction Type",CorrectionType.TABLECAPTION,CorrectionType.Code);
END;
CorrectionType."Correction Type"::"Quantity and Value":
IF (CorrectionLine."VAT %" <> CorrectionLineBefore."VAT %") OR
(CorrectionLine."VAT Prod. Posting Group" <> CorrectionLineBefore."VAT Prod. Posting Group")
// End of the added lines.
...