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.
...
// Delete the following lines.
SETRANGE("Journal Template Name","Journal Template Name");
SETRANGE("Journal Batch Name","Journal Batch Name");
// End of the deleted lines.
IF CODEUNIT.RUN(CodeunitID,DirectDebitCollectionEntry) THEN BEGIN
IF DirectDebitCollectionEntry."Entry No." <> CodeunitID THEN BEGIN
// Delete the following lines.
FINDSET;
REPORT.RUN(REPORT::"Create Gen. Jnl. Lines",TRUE,TRUE,Rec);
MODIFYALL(Status,Status::Posted);
// End of the deleted lines.
END;
EXIT;
END;
RESET;
LastError := GETLASTERRORTEXT;
DeleteDirectDebitCollection(DirectDebitCollectionNo);
COMMIT;
ERROR(LastError);
...
...
// Add the following lines.
DomiciliationJournalLine.SETRANGE("Journal Template Name","Journal Template Name");
DomiciliationJournalLine.SETRANGE("Journal Batch Name","Journal Batch Name");
// End of the added lines.
IF CODEUNIT.RUN(CodeunitID,DirectDebitCollectionEntry) THEN BEGIN
IF DirectDebitCollectionEntry."Entry No." <> CodeunitID THEN BEGIN
// Add the following lines.
DomiciliationJournalLine.FINDSET;
REPORT.RUN(REPORT::"Create Gen. Jnl. Lines",TRUE,TRUE,DomiciliationJournalLine);
DomiciliationJournalLine.MODIFYALL(Status,Status::Posted);
// End of the added lines.
END;
EXIT;
END;
RESET;
LastError := GETLASTERRORTEXT;
DeleteDirectDebitCollection(DirectDebitCollectionNo);
COMMIT;
ERROR(LastError);
...
installed.