We have been getting this error message (see title) 3 times since we went live on NAV 2016 beginning of July this year.
The first time this happened the company information was gone and we had to create the record in TAB79 manually again. And during that day it happened again a couple of times.
Because of this issue we implemented an alternative SQL trigger on the Company Information table for the DELETE to disallow deletion of data in this table and also log a DELETE attempt.
Since then it happened twice again, being yesterday and 10 days ago. Due to our alternate SQL trigger the data was not deleted, but to be able to continue the service had to be restarted.
As no one in our operation is allowed to delete data in the Company Information table AND none of those allowed had been performing a manual delete AND there is no C/AL DELETE statement, the quest is: what on earth can be the cause of this delete action?
Anyone that experienced something similar?
As we have a hard time to reproduce this, I am calling on you. All tips are welcome. Thanx in advance.
Note: we have 4 service tiers running and this, so far, has only happened on one of the. The error occurs during the same execution of the same processes were a shipment document is printed and an address label is printed.
Luc van Vugt, fluxxus.nl
Never stop learningVan Vugt's dynamiXsDutch Dynamics Community0
Comments
Since you say there's no C/AL DELETE, it is likely deleted using a RecordRef.
I have been using Prism for ages already (and Idyn's OMA) and of course applied them on this issue. No references to TAB79 with a DELETE(ALL).
I am indeed going to follow the RecordRef thought and study the release notes for the update rollups (which was also on my mind).
Keep you updated.
And ... any other brain dumps on the topic are still welcome.
[UPDATE 1]
Nothing mentioned in the release notes
[UPDATE 2]
DELETE(ALL) using RecordRef only found here and these clearly address other tables:
COD5303 CollectionElementRecRef.DELETE(TRUE);
COD5303 CollectionElementRecRef.DELETE(TRUE);
TAB130 RecRef.DELETE(TRUE);
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
but what about TRUNCATE TABLE or DROP TABLE? For these the trigger does not fire.
https://sqlwithmanoj.com/2009/02/22/difference-between-truncate-delete-and-drop-commands/
Also to you, kylehardin, thanx ... useful option which might give us more insight. Going to try this most probably.
BTW: the SQL delete trigger is already blocked as I also pointed out above ...
Keep you updated.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Probably due to the fact that we had our security fuly setup as off that moment. As we could not realy reproduce it before that and it didn't occur after that, we haven't spent any closer investigation.
For us: cased closed.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community