ADO and NAS with Nav 6.0

ajaybabuChajaybabuCh Member Posts: 208
edited 2009-03-04 in NAV Three Tier
Hi

I have a scenario presently using with Navision 5.0.
Scenario is, I am using ADO to connect to SQL database from navision.
My codeunit will read the data from SQL tables through ADO and creates the Purchase Orders and post them. I am using NAS to automate this process.

Can I use the same procedure explained above with Navision 6.0 role based client.
What is the best strategy to implement the above process other than ADO and NAS.

Thanks
Ajay
Ajay

Comments

  • kinekine Member Posts: 12,562
    Yes, the part regarding NAS is same in NAV 6.0 (NAV 2009) like in NAV 5.0... there is no replacement for NAS in NAV 2009 (for running some automatic tasks)...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ajaybabuChajaybabuCh Member Posts: 208
    thaks for the information.
    Is there any other alternative for this process other than ADO.
    What about CFront? can we call and run a codeunit from Cfront?
    Ajay
  • kinekine Member Posts: 12,562
    1) C/Front is for accessing NAV database. It cannot run any business logic
    2) What you described is, that you are accessing SQL table from NAV, C/Front is for the oposite direction, accessing NAV from outside
    3) You can use WebServices for that, that the application, which is now writing the data into the table on remote server, will instead call the WebService you will made in NAV and pass the data into it. Than you can process the data within NAV with C/AL code and if there is some error, the WebService will return this error to the calling application...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.