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.
trigger in the Gen. Journal Line table (81) as follows:
...
JnlLineDim.LOCKTABLE;
GenJnlAlloc.LOCKTABLE;
LOCKTABLE;
GenJnlTemplate.GET("Journal Template Name");
GenJnlBatch.GET("Journal Template Name","Journal Batch Name");
"Check Printed" := FALSE;
ValidateShortcutDimCode(1,"Shortcut Dimension 1 Code");
ValidateShortcutDimCode(2,"Shortcut Dimension 2 Code");
DimMgt.InsertJnlLineDim(
DATABASE::"Gen. Journal Line",
"Journal Template Name","Journal Batch Name","Line No.",0,
"Shortcut Dimension 1 Code","Shortcut Dimension 2 Code");
...
...
JnlLineDim.LOCKTABLE;
GenJnlAlloc.LOCKTABLE;
LOCKTABLE;
GenJnlTemplate.GET("Journal Template Name");
GenJnlBatch.GET("Journal Template Name","Journal Batch Name");
// Add the following line.
"Posting No. Series" := GenJnlBatch."Posting No. Series";
"Check Printed" := FALSE;
ValidateShortcutDimCode(1,"Shortcut Dimension 1 Code");
ValidateShortcutDimCode(2,"Shortcut Dimension 2 Code");
DimMgt.InsertJnlLineDim(
DATABASE::"Gen. Journal Line",
"Journal Template Name","Journal Batch Name","Line No.",0,
"Shortcut Dimension 1 Code","Shortcut Dimension 2 Code");
...