Execute Navision codeunits from VB.NET

jonkar
Member Posts: 13
Is it possible to create a VB Application, then execute navision codeunits?
I thought I read somewhere of a Thirdparty app. that allowed this.
Thanks,
J.
I thought I read somewhere of a Thirdparty app. that allowed this.
Thanks,
J.
0
Comments
-
Your VB.NET application could use C/Front to write information in a table, whose presence triggers the execution of a codeunit, e.g. using the Navision Application Server?!Kind regards,
Jan Hoek
Product Developer
Mprise Products B.V.0 -
I would rather be able to just execute the Codeunit without relying on a trigger.0
-
Sorry to rain on your parade, but data inserted using c/front never executes the tabel triggers. There is effecitvely no way to automatically execute a codeunit from outside.Thad Ryker
I traded my sanity for a railgun0 -
I think what Jan is saying is you can use C/FRONT to write a record to a Navision table, and on top of that have a NAS check for records in that table, and fire off codeunits as a result of certain values.0
-
That would work. It's a bit disconnected for my tastes, but it is one your few and only stable solutions for that.Thad Ryker
I traded my sanity for a railgun0 -
Personally I wouldn't even bother with C/FRONT and send messages into a message queue, and handle the whole thing through Navision development. To me that's the best way to integrate with Navision if you need to use the business logic.0
-
Good point. Yours is a more practical solution - I stand corrected!Kind regards,
Jan Hoek
Product Developer
Mprise Products B.V.0 -
It's a pity though that we have to decide in our customer's best interest. As a developer I would love it if I got to play around with C/FRONT and Visual Studio
.
0 -
With tricks it is possible. You must "only" simulate a navision client. This is very easy whe n a navision client is installed on the computer. Then you open the client and send your commands per "send key" or others.
But, why you will use an VB-Application?
An otehr question: In wich case i must use "a" an when "an" :?:
Regards
sorry english speeking persons for my englishm, i've drunken 2 bottles germand red wine and some german beer :oops: But tis drinks are tasty \:D/Do you make it right, it works too!0 -
I really don't think hacking your way into an enterprise solutin by way of a keystroke macro recorder will be a solid enough solution, especially since you will have to also record passwords and such. Not very secure in my opinion.
<edit>Don't worry, your English puts my German to shame</edit>
0
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