select a dimension value code for the dimension code department for g/l account xxx

Hi Guys

I have a strange issue when users post Transfer order the Error "select a dimension value code for the dimension code Cost Center for g/l account 60104".Which is (Direct cost applied for Raw Material Account).Pops up but both dimension codes required for the g/l account are filled correctly and i even checked the Dimension set id it is inserted to the transfer header and line table correctly, and tried to debug it and i landed at the following code in Codeunit 11 Gen. Jnl.-Check Line
IF NOT DimMgt.CheckDimValuePosting(TableID,No,"Dimension Set ID") THEN


IF "Line No." <> 0 THEN
ERROR(
Text012,
TABLECAPTION,"Journal Template Name","Journal Batch Name","Line No.",
DimMgt.GetDimValuePostingErr)
ELSE
ERROR(DimMgt.GetDimValuePostingErr);//Debugger traced it here

Dynamics NAV Version 2015

Thanks in advance!

Related
Recommended