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.
...
GenJnlLine3.VALIDATE("Account No.",WHTPostingSetup."Prepaid WHT Account Code");
END;
END;
GenJnlLine3.VALIDATE("Currency Code",WHTEntryGL."Currency Code");
// Delete the following lines.
GenJnlLine3.VALIDATE(Amount,-WHTEntryGL.Amount);
GenJnlLine3."Amount (LCY)" := -WHTEntryGL."Amount (LCY)";
// End of the lines.
GenJnlLine3."Gen. Posting Type" := GenJnlLine."Gen. Posting Type";
GenJnlLine3."System-Created Entry" := TRUE; // Payment Method Code
GLSetup.GET;
IF (Oldest=TRUE) OR (GLSetup."Manual Sales WHT Calc.") THEN BEGIN
...
...
GenJnlLine3.VALIDATE("Account No.",WHTPostingSetup."Prepaid WHT Account Code");
END;
END;
GenJnlLine3.VALIDATE("Currency Code",WHTEntryGL."Currency Code");
// Add the following lines.
IF GLSetup."Round Amount for WHT Calc" THEN BEGIN
GenJnlLine3.VALIDATE(Amount,ROUND(-WHTEntryGL.Amount,1,'<'));
GenJnlLine3."Amount (LCY)" := ROUND(-WHTEntryGL."Amount (LCY)",1,'<');
END ELSE BEGIN
GenJnlLine3.VALIDATE(Amount,-WHTEntryGL.Amount);
GenJnlLine3."Amount (LCY)" := -WHTEntryGL."Amount (LCY)";
END;
// End of the lines.
GenJnlLine3."Gen. Posting Type" := GenJnlLine."Gen. Posting Type";
GenJnlLine3."System-Created Entry" := TRUE; // Payment Method Code
GLSetup.GET;
IF (Oldest=TRUE) OR (GLSetup."Manual Sales WHT Calc.") THEN BEGIN
...
Additionally, you must use the Australia/New Zealand database.