Could you provide more detail on what you are trying to accomplish?
The code is common to all companies in a NAV database.
If you want a procedure to run against all companies one by one, you can accomplish that by a loop that reads the Company table (not company info) and then using changecompany. This is somewhat limited since you change company for each table and any logic that uses another table uses the original company - but with care, it can be done.
Answers
The code is common to all companies in a NAV database.
If you want a procedure to run against all companies one by one, you can accomplish that by a loop that reads the Company table (not company info) and then using changecompany. This is somewhat limited since you change company for each table and any logic that uses another table uses the original company - but with care, it can be done.
http://mibuso.com/blogs/davidmachanick/