Hi everyone,
Imagine a database having two companies A and B of different busines application in NAV. I just wrote some code in an object for company A and if i execute the same object for company B the code written for company A should not execute for company B. Is there any possibility in NAV..??
Regards
Pradeep
0
Comments
My Blog - nav.education
Because that won't blow up horribly if you rename your company. ](*,) And what happens if you add a new company? Going to go change every object again?
You should never hard code things like that.
My Blog - nav.education
RIS Plus, LLC
my abstraction is so weak and i can not visualize clearly your suggestion.
is it like adding a checkbox in Company table:
then starting every block of code lines with something like:
if it's true, i'm not sure this will work.
but, i may wrong in understanding your points. Can you please describe further?
The consensus was that hard coding company names was NOT the right way.
RIS Plus, LLC