Revaluation Journals

bangi
Member Posts: 11
I have a database with three companies including a master blank database a test system and live one. When I post a revaluation journal in the test company and if the dimension code 1 is left left blank it will not let me post the journal give me a error on code unit 11 at this point.
IF NOT DimMgt.CheckJnlLineDimValuePosting(JnlLineDim,TableID,No) THEN
IF "Line No." <> 0 THEN
ERROR(
Text012,
TABLECAPTION,"Journal Template Name","Journal Batch Name","Line No.",
DimMgt.GetDimValuePostingErr)
ELSE
ERROR(DimMgt.GetDimValuePostingErr);
END;
Yet in the live company it goes past the validation in code unit 11 and posts the revaluation journal without giving me this error and my question is why does it allow this.
I have checked table 349 dimension values and there are no blank or extra records there.
This is very urgent as we go live in six weeks and I desperatly need some
help.
IF NOT DimMgt.CheckJnlLineDimValuePosting(JnlLineDim,TableID,No) THEN
IF "Line No." <> 0 THEN
ERROR(
Text012,
TABLECAPTION,"Journal Template Name","Journal Batch Name","Line No.",
DimMgt.GetDimValuePostingErr)
ELSE
ERROR(DimMgt.GetDimValuePostingErr);
END;
Yet in the live company it goes past the validation in code unit 11 and posts the revaluation journal without giving me this error and my question is why does it allow this.
I have checked table 349 dimension values and there are no blank or extra records there.
This is very urgent as we go live in six weeks and I desperatly need some
help.
0
Answers
-
Hi
There is a couple of things you can check:
On Table 348:
Check if the Dimension exist
Check if the Dimension is blocked
On Table 349:
Check if the Dimension Value exist
Check if the Dimension Value is blocked
Check if the Dimension Value Type is either "Standard" or "Begin-Total"
On Table 352:
Check for the specific entry if fails on, what is the value of the "Value Posting" field, i.e. "Code Mandatory", "Same Code", etc.
Remember, the settings on the test database is not necesarily the same as on the Live database...0 -
Thanks to suggestions by warrex. Please accept a iou for a beer if u r ever in London \:D/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions