Hi,
my client is getting an error when running the Adjust Cost Item Entries in a particular company and particular Item, the error is 'Dimension Value for *** is missing' any ideas where i can check for the missing dimension value? when running the debugger, navision is crashing and it will restart, all i can tell you is where the debbuger is stopping. That is in Code unit 21
IF NOT DimMgt.CheckJnlLineDimValuePosting(JnlLineDim,TableID,No) THEN
IF "Line No." <> 0 THEN
ERROR(
Text010,
TABLECAPTION,"Journal Template Name","Journal Batch Name","Line No.",
DimMgt.GetDimValuePostingErr)
ELSE
ERROR(DimMgt.GetDimValuePostingErr); <- the debbuger stops here!
thanks for your help!
Comments
I had a similar issue at the time of running debugger. Then I restored the backup in the older version.
Now it is working fine for me. Please try the same. lets see whether it is working for you or not.
Thanks.
Regards,
Raveendran.BS
thanks
Deep
India
Thanks for your reply, but unfortunately I filled the empty fields in the Item Ledger and Value Entry tables but i'm still getting the same error..
can you please provide further help?
thanks!
What I would try?
1. Try to run database test, with option 'Test field relationship between tables' and Output set to a file. Maybe there you will see whith dimension is missing. (File -> Database -> Test...)
2. Try to write a statement in SQL, which would comparing the Ledger Entry Dimension with Dimension Value table.
I guess there is an item journal line done with a dimension value.
Later on, the dimension value was deleted.
Now, the Adjust Cost Item Entries batch is trying to adjust the cost for that Item Ledger Entry. The dimensions originally used are used again for the adjustment, but the value does not exist anymore.
Check on table 349 if the dimension value that is getting the error exists or not.