I think with NAV 2013 you'd want to use the .NET_Interop. You can do this in classic NAV version using ADO. Since .NET_Interop provides similar function, I would think you could accomplish what you need.
Thanks for reply.
Database is on NAV 2013 R2 & User Interface is RTC currently.
----
Actually we're trying to integrate the NAV database with a 3rd Party Software (SQL Database). The 3rd Party Software is basically used for POS operation. It's also maintaining Card Master information related to NAV Customer Master. The Cards are being read from Card Reader System. The Card Reader machines are integrated with NAV. NAV can read the Card.
Which we want that we'll read the card and then send a request to 3rd Party DB to get the Customer ID (In NAV Customer ID is Customer Code) from it.
We've written a function in 3rd Party SQL DB & the function has a return value. we want to execute this thing in NAV.
How to call this SQL function in NAV Environment to get return value ?
We're using 'Microsoft ActiveX Data Objects 2.8 Library for db communication.
I'm able to execute the sql query from the NAV 2013 R2 RTC environment and get the required dataset but still missing something to do to retrieve return value from a sql function.
Please help me otherwise I have to ](*,) for few more times.
Comments
Database is on NAV 2013 R2 & User Interface is RTC currently.
----
Actually we're trying to integrate the NAV database with a 3rd Party Software (SQL Database). The 3rd Party Software is basically used for POS operation. It's also maintaining Card Master information related to NAV Customer Master. The Cards are being read from Card Reader System. The Card Reader machines are integrated with NAV. NAV can read the Card.
Which we want that we'll read the card and then send a request to 3rd Party DB to get the Customer ID (In NAV Customer ID is Customer Code) from it.
We've written a function in 3rd Party SQL DB & the function has a return value. we want to execute this thing in NAV.
How to call this SQL function in NAV Environment to get return value ?
We're using 'Microsoft ActiveX Data Objects 2.8 Library for db communication.
Please help.
Please help me otherwise I have to ](*,) for few more times.
Following cal code is written.
If you have other ways please share.
I'm looking for optimize solution.