...
REPEAT
GenJnlLine."Shortcut Dimension 1 Code" := "Global Dimension 1 Code";
GenJnlLine."Shortcut Dimension 2 Code" := "Global Dimension 2 Code";
GenJnlLine.Correction := Correction;
FADimAlreadyChecked := TempFAGLPostBuf."FA Posting Group" <> '';
IF "Original General Journal Line" THEN
InitGLEntry("Account No.",Amount,TempGLEntry."Additional-Currency Amount",TRUE,TRUE)
ELSE BEGIN
CheckNonAddCurrCodeOccurred('');
InitGLEntry("Account No.",Amount,0,FALSE,TRUE);
...
...
REPEAT
GenJnlLine."Shortcut Dimension 1 Code" := "Global Dimension 1 Code";
GenJnlLine."Shortcut Dimension 2 Code" := "Global Dimension 2 Code";
GenJnlLine.Correction := Correction;
FADimAlreadyChecked := TempFAGLPostBuf."FA Posting Group" <> '';
// Add the following line.
CheckDimValueForDisposal(GenJnlLine,"Account No.");
IF "Original General Journal Line" THEN
InitGLEntry("Account No.",Amount,TempGLEntry."Additional-Currency Amount",TRUE,TRUE)
ELSE BEGIN
CheckNonAddCurrCodeOccurred('');
InitGLEntry("Account No.",Amount,0,FALSE,TRUE);
...