...
InitRecord;
DimManagement.InsertJnlLineDim(DATABASE::"Proposal Line",
"Our Bank No.",'',"Line No.",0,
"Shortcut Dimension 1 Code","Shortcut Dimension 2 Code");
...
...
InitRecord;
DimManagement.InsertJnlLineDim(DATABASE::"Proposal Line",
"Our Bank No.",'',"Line No.",0,
"Shortcut Dimension 1 Code","Shortcut Dimension 2 Code");
// Add the following lines.
TableID[1] := DimManagement.TypeToTableID1(FDBR."Account Type"::"Bank Account");
No[1] := "Our Bank No.";
"Shortcut Dimension 1 Code" := '';
"Shortcut Dimension 2 Code" := '';
DimManagement.GetDefaultDim(
TableID,No,'',"Shortcut Dimension 1 Code","Shortcut Dimension 2 Code");
DimManagement.InsertJnlLineDim(DATABASE::"Proposal Line",
"Our Bank No.",'',0,0,
"Shortcut Dimension 1 Code","Shortcut Dimension 2 Code");
// End of the lines.
...