Hi
I am making an upgrade tool for in Navision 5 where you are supposed to run severel dataports automatically from the code. It works just fine, when I set the UseReqForm property for the dataport objects to "No" and then run the code. My problem is that there is menuitems running these dataports. Obviously it is a problem that there is no requestform for the users.
I want to somehow skip the requestform from the code (I know the dataport.run where a parameter says whether to show requestform or not). The thing is that I also want to set other properties, which I can't from that function.
Or if I could somehow make a nice solution where I keep the UseregForm properties on the dataport objects set to No and then somehow is still able to run the dataports from the menu, without having to make a new codeunit for every dataport, that uses the DATAPORT.RUN and skip the request window. Please tell me there is a better way ](*,)
0
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I wan't to first set the IMPORT(TRUE) and then specify the FILENAME before running the dataport without showing the request form