Hi, All
I have multiple company in One DataBase. I want to apply Customization Company wise. so how to Code this Funcitonality in NAV 2018
*This post is locked for comments
Hi,
I am not sure if I have understood your question, but if you want a development that does not apply to all companies, you must create a configuration module and each company must select the functionality you want to use.
Thanks for reply. You have understood Question Correctly. If I have four Companies where to create configuration Module with code and what would be the starting Point.
There are many ways to do it, for example, you can extend the configuration tables, sales (311) / purchases (312), etc ... and create a boolean which activates the functionality, such as the field "Copy Comments Order to Invoice"
You can also create your own configuration table and have your developments check if they have activated the functionality
Another way which I do not think is a good practice but sometimes it is useful is to use the global function COMPANYNAME and perform X depending on which company you are.
You can use CHANGECOMPANY function as well.
There is also property called DataPerCompany in the table.
If you set it as No, the data is for all companies, so you can have one configuration for all companies.
Thanks for Reply.
I am having one Database. In that database there are multiple companies like A,B,C. So How Can we use Customization Enabled for Only "A" Company. In that case how can we user DataPerCompany
actually my business requirement is that .suppose if one field that is 'Reson Code" is added in Item Card that Field only display for 'A' Company not for other company.
It depends on how you are going to build the customization.
You can add the Company field. When you open the Item Card, check if the current company equal to Company field and run the logic.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Saurav.Dhyani 2 Super User 2025 Season 2
RK-25090803-0 1