Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 29197

Testing scenarios with tables having type External Sql.

$
0
0

Hi team!

Is it possible to make tests with External Sql tables in NAV 2018?

I made one test and had an error message "Cannot use tables of type External Sql in test isolation.".

I tried different values of TestPermissions and TransactionModel on codeunit and test function. I use the following sintaxt to conntect to External Sql:

REGISTERTABLECONNECTION(
        TABLECONNECTIONTYPE::ExternalSQL,
        "Database Name",
        'Server='+"Server Name"+';'+
        'Database='+"Database Name"+';' +
        'Integrated Security=SSPI;');




Viewing all articles
Browse latest Browse all 29197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>