NAS suddenly stopped using events

danlindstrom
Member Posts: 130
Hi folks
I have a strange problem in Dynamics NAV 2018 CU27 (11.0.41203.0)
until june 11 it worked as supposed but after that...
We have (from a ISV) configured a separate instance that are running a special codeunit (cod123456), startupMethod = NAShandler and a startupparameter.
for the selected parameter a second SingleInstance-codeunit with a timer is called that reads a incoming buffer.
Depending on the record in the buffer, table A is created and/or modified...
So far no problem!
codeunit C has some EventSubscribers listening for A.OnAfterModifyAEvent and A.OnAfterInsertAEvent to store some data in another buffertable B
BUT since June 11 this is not the case anymore
(Table A has data FROM a handheld integration, Table B is for sending data TO a planning system)
If a user modifies table A manually in a client, it works.
Any suggestions?
Transfer the solution to a JobQueue or Webservice is not an option.
I have a strange problem in Dynamics NAV 2018 CU27 (11.0.41203.0)
until june 11 it worked as supposed but after that...
We have (from a ISV) configured a separate instance that are running a special codeunit (cod123456), startupMethod = NAShandler and a startupparameter.
for the selected parameter a second SingleInstance-codeunit with a timer is called that reads a incoming buffer.
Depending on the record in the buffer, table A is created and/or modified...
So far no problem!
codeunit C has some EventSubscribers listening for A.OnAfterModifyAEvent and A.OnAfterInsertAEvent to store some data in another buffertable B
BUT since June 11 this is not the case anymore
(Table A has data FROM a handheld integration, Table B is for sending data TO a planning system)
If a user modifies table A manually in a client, it works.
Any suggestions?
Transfer the solution to a JobQueue or Webservice is not an option.
Regards
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 2009
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 2009
0
Answers
-
Anything on Event Viewer?Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Nothing (exept the usual) in the EventLogRegards
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 20090 -
From previous version af NAV (2016) I have had a problem with event not being triggered after tables are compiled (Later fixed by MS in a CU). The solution on NAV 2016 was to compile all codeunit that had a subscript function.
I do not know if the problem could be the same (I do not hope so), but try to compile all Codeunits on the separate instance?For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
Tried thatRegards
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 20090 -
The missing events was something totaly different.
It was a 'hidden' modify deep into the code that made the subscriber think it was an un-modified record (Rec = xRec)
CodeunitA modified some fields in TableA (TableA<>xTableA), TableA modified some values in TableB but now the functionallty with xRec is no longer working (TableB=xTableB) and the subscriber is listening to changes of som fields in TableBRegards
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 20090
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