Hi guys,
I have a freaky situation going on here at one of my clients. Basically all the Journal Line Dimension are sporadically disappearing. The Dimensions on the Journal lines are still there, but there are no more Journal Line Dimension corresponding to it.
I activated the change log for the Journal Line Dimension and it wielded no results, the Journal Line Dimensions were still disappearing without logging anything about it.
That to me means that the being deleted without using the OnDelete() Trigger, the global one that is.
I have searched the system, using the Navision Toolkit for any lines that delete from this table without calling the trigger and there are a few, but all of them refer to a temp variable.
Can any of you think of another way to try and figure out what is going on?
Elmar F. Vidisson
Certified Navision Attain Developer
0
Comments
we can guess all day :roll:
http://www.BiloBeauty.com
http://www.autismspeaks.org
Raj
There has to be a code that cleares these out somewhere in the system, I just don't know how to look for it.
Certified Navision Attain Developer
Certified Navision Attain Developer
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Even if the variable contains the word "temp" on its name, have you checked that the Temporary property is set to Yes in all of them?
Salut!
Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
Salut!
Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
I know this post is pretty old, but unfortunately I am facing a similar issues in NAV 2009 R2. The dimension in the Journal Line Dimension table are vanishing. And the same does not replicate in the Test DB. I believe this is happening in a multi-user enviornment.
At the time of input of the entry in the General Journal, the user also generates the Test Report to verify if all the dimension are selected correctly, and the test report does not show any warnings, but when the user tries to post the journal, the dimension just disappears from Journal Line Dimension table, but they are available in the Shortcut dimension in the General Journal Table. And this is happening very unpredicatably.
Please provide some insight or any help,
Thanks in advance.
Example: Back in version 2.5 the US Payroll functionality had a function to accrue payroll costs incurred in the month but not paid until the next. In this process there were multiple GenJournalLine variables and there was one, lets say GenJournalLine4, which was only referenced once with this line: There was nothing else so needless to say when the accrual process was run all the Gen. Journal Line records were deleted which included recurring journals of which my client had several hundred. Now this was in the standard product but in your case if it does not occur in standard then finding it should be easy - look at all the customizations and look for a variable that is deleting Journal Line Dimensions and is either
1) Variable that is meant to be temporary but is not
2) Not properly filtered before deleting.
KCP Consultores
We have checked all the posibilities of the customization and have not found any code or variable which are not set to temp and deleting the dimension.
We have found that when the users are assigned the "Super" Roles, the dimension do not vanish or disappear, but even if we assign "Super (Data)" role to the same user, the dimension vanishes or disappears.
There is something related to the roles, however we have still not been able to figure out the reason for the same. We have also tried to create a new roles with all objects access to the users except for System 0, still the dimension disappears. But as soon as System 0 is added to the role, the dimension do not disappear.
Any insight might help!!!
Thanks