SIFT calculation bug for SQL Server Option 3.60

merana
Member Posts: 41
I have a situation with wrong Amount calculated on GL Entry for "G/L Account No.,Posting Date" key. If I sum all amounts in GL entry for specified account, the result is not the same as calculated Amount field on that same account. I found a difference between tables $17$0 and G_L Entry for a specific date and account (for all bucket levels from day to year). It seems that SQL Server did not execute SIFT trigger on G_L Entry in a right way. If I recreate that key, things get correct.
Is anyone familiar with this problem?
Is anyone familiar with this problem?
0
Answers
-
Have you or your customer ever tried to modify the trigger code on SQL Server?0
-
No, I had never problems with SIFTS, but of course, you can rebuild the sifts by modifying the key and save the object (for example remove all SumIndexFields in the key, save, add the fields back, save)0
-
The trigger wasn't changed definitely, even none (neither we or our customers) should know about its existence if we talk about Navision functionality only.
There is no problem to fix it but to identify such a situation:
It seems only 1 entry out of about 250000 GL entries missed to be registered by SIFT trigger; I didn't checked other accounts or even other tables and sumindexfields because it is a lot of processing and manual work to get all tables data on all keys for all SIFT levels using SQL queries and compare it with precalculated SIFT tables).
By the way,I discovered this bug accidentally while checking something else.
Thanks for the replies!0 -
Hello,
We found the cause of the problem. We used DTS (SQL server Export/Import wizard) to import data in the table and DTS doesn't fire a trigger on insert by default.
(We had to import a few GL entries because they were deleted by accident and it seemed much easier to do it using DTS than dataports or entering it manually).0 -
Thanks for updating us, I was worried there may actually be a bug in SIFT on SQL Server. Were you able to rebuild your SIFT tables though?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