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;');
*This post is locked for comments
Never tested but I'm not so sure you can do that in a test.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156