what process calls CU 5054 - WordManagement?
jversusj
Member Posts: 489
this is probably a stupid question, but what do i have to do in NAV to call CU 5054 natively? i want to watch it work through debugger.
i tried creating interactions, segments, etc. and all it keeps doing is calling attachment management, not word management. I cannot do anything to get it to run this codeunit. :oops: there are no users here currently using any of this functionality, so I turn to you! what am i doing wrong?
The Word Automation instructions discussed in the Applications Designer Guide suggest a method of automation different from that in CU 5054, and a lot of threads here say i should be looking at this CU to figure out how to do what i want to do, which is populate fields in a .dot Word file. i have another thread up about that, so i'll leave the details out of this posting.
i tried creating interactions, segments, etc. and all it keeps doing is calling attachment management, not word management. I cannot do anything to get it to run this codeunit. :oops: there are no users here currently using any of this functionality, so I turn to you! what am i doing wrong?
The Word Automation instructions discussed in the Applications Designer Guide suggest a method of automation different from that in CU 5054, and a lot of threads here say i should be looking at this CU to figure out how to do what i want to do, which is populate fields in a .dot Word file. i have another thread up about that, so i'll leave the details out of this posting.
kind of fell into this...
0
Comments
-
one way to know which objects call a codeunit or other object is to export all objects as text and import it on DevToolkit. There you can search for it.
An other way is to search self, like with wordpad, for the ID 5054.
And the easiest way is: export this object (in this case cu 5054) as fob from your TESTDATABASE, then delete it in your TESTDATABASE, mark all objects in your TESTDATABASE, compile all Objects. And now you see all objects where a error is. OK, there are also other objects like form "ADCS Encryption" because a DLL or some else is missing on your computer. But you cas also see the object(s) that use your codeunit.
To answer your question: For example table Attachment (5062) or table "Interaction Tmpl. Language" (5103) use this codeunit.
RegardsDo you make it right, it works too!0 -
thanks, but I do not have access to the Dev Tool Kit, unless it is on CustomerSource and i cannot find it?
I was hoping for more of a functional answer than a techical answer - such as, you need to go to a Contact and press the contact button and then you'll see some menu item you didn't notice before and when you click on that, it will attempt to use the wordmgmt CU.
as I mentioned, I was trying to click through different options i have never used before, with code coverage turned on and nothing seemed to call the CU.
thanks, i guess i will look at the Attachement mgmt CU and try to reverse engineer what i need to do to get this CU to trigger the CU i want to observe.
any other advice is appreciated!kind of fell into this...0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions