How to import the Codeunit FOB from .net or any other applic

abhishekpareek
Member Posts: 150
Hi,
It would be great if anybody can give the light to find out that how to load an codunit from other application into Navision 4.0 or 5.0.
It would be greta if anybody can tell whether it is possible or not.If it is possible then how?
Regards,
Abhishek
It would be great if anybody can give the light to find out that how to load an codunit from other application into Navision 4.0 or 5.0.
It would be greta if anybody can tell whether it is possible or not.If it is possible then how?
Regards,
Abhishek
0
Comments
-
just go to www.gotcal.com, there is a .net application, which is capable to read and store objects.0
-
with 5.01 the C/Front.dll supports a function to import objectsDo you make it right, it works too!0
-
[Removed the 'Good Posting!' attribute. This is not meant to let people read your message.]0
-
Hi Everyone,
Thanks for the great help.The application is awesome.
In my scenario it is reuire to run that application without GUI.It should read the codeunit object from particular location and then write it to the Navision database without user intervention.
It would be great if anybody could give light on this.
Regards,
Abhishek0 -
You need to run a codeunit in NAV by event?
And this event is "fired" from a 3-rd App?
If Yes, search the forum for NAS Socket MessageQueue and so on ...Do you make it right, it works too!0 -
I have to write one application in .net that will take care of picking up a codeunit from a location in system and then importing it to Navision without opening it.
regards,
Abhishek0 -
Than learn how to use the C/Front. If there will be something unclear, you can ask new question.
Right now answer for you is: use C/Front for importing and exporting .fob to/from selected DB.0 -
YourDotNet Appl. pick up a Codeunit (fobfile) from, let's say C:\Myfolder\MyCUFile.fob. correct?
Now, you need to import this CU into a database with your .net appl. Correct?
If both yes and you are under 5.01 take a look into cfront.dll.
a other way is the option with the ROT Table (but here no guaranty).Do you make it right, it works too!0 -
1) THis is not exporting/importing FOBs...
2) It is dangerous to do this in this way...0 -
This works only, if you import the BLOB from the same way like exporting (NAV code, direcly SQL) and the setup of the machines and databases should be the same. but it's possible, that in some cases the BLOB is corruptedDo you make it right, it works too!0
-
I have to import fob to Navision without opening navision and to any version of navision.
Cfront is a good idea but to use that navision should be of version 5.0 or greater.
However I am creating a dot net application to achive this without user intervention.
While creating this application,I need some assistance from all of you.
Thanks for great and valuable responses to all of you.
Regards,
Abhishek0 -
Hi ,
Thanks to every one who give me help!
I had developed a dot net application that is inserting FOBS directly without opeining Navision Object Designer.
Now Navision Auto Update is implemented.
Regards,
Abhishek0 -
Can you share some thoughts you have used to make this autoupdate,if it is possible to share? E.g. only which method you have used (ROT, direct Blob access, SendKeys, etc.)0
-
I had used the functionality from System.Runtime.InteropServices to implement the autoupdate for Navision.
I had used the GUID for CSide object designer to fetch the desiner dynamically without opening the Obect Designer in Navision.
Example::
DefaultMonikerName = "!C/SIDE";
ObjectDesignerGuid = "50000004-0000-1000-0001-0000836BD2D2";
Regards,
Abhishek0 -
it looks like this http://gotcal.com/2008/3/24/gotcalcside ... ource.aspxDo you make it right, it works too!0
-
yes.I had modified it to use as dll in any project.
Regards,
abhishek0 -
Hi Everybody,
I had posted my dvelopment regarding Navision auto update for FOBS in one website with source code.
I had provided both dll and a small application developed in C# windows application to demonstrate the use of dll.
However in the sample application I had allowed the forms,codeunits and tables objects to get imported but anybody can used this dll to import the table also.One can also used this dll in a webservice to automate the task for a complete autoupdate for Navision.This Dll can be used for versioning purpose also.
As I had provided the source code for DLL also so one can also modify the code for DLL to extend its functionality.
One can also used this DLL for Export,Import and compiling of Navision Objects without opening Navision Object designer.
Everything is developed in C#.
Please find the link for this posting:
http://www.codeproject.com/KB/cs/AutoupateNAV.aspx
Hope this would be useful.Please provide the ratings to this posting.Whenever there will be some new development on this DLL I will post it as an update.
Thanks for the time.
Regards,
Abhishek Pareek0 -
Thanks for sharingDo you make it right, it works too!0
-
Hi Everybody,
The article name Nav Autoupdate is shifted to Libraray with the following link :
http://www.codeproject.com/KB/library/AutoupateNAV.aspx
Thanks,
Abhishek Pareek0 -
Hi Everybody,
The article name Nav Autoupdate is shifted to Libraray with the following link :
http://www.codeproject.com/KB/library/AutoupateNAV.aspx
Thanks,
Abhishek Pareek0 -
Hi Everybody,
The article name Nav Autoupdate is shifted to Libraray with the following link :
http://www.codeproject.com/KB/library/AutoupateNAV.aspx
Thanks,
Abhishek Pareek0 -
Hi Everybody,
The article name Nav Autoupdate is shifted to Libraray with the following link :
http://www.codeproject.com/KB/library/AutoupateNAV.aspx
Thanks,
Abhishek Pareek0 -
@abhishekpareek
[Please don't crosspost and post the same message over and over again.]
Why not make your code available on mibuso.com? Then you have a separate thread in the Downloads-forum, so people can track updates more easily.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