Hello...in a multi-company NAV implementation (2009 classic client). We have various custom fields and layouts on the contact cards, which are different for 2 different companies. Therefore, in CRM, I would like a different Contact Card based on what company they are logged into. I don't know a good way to do this.
Does anyone have a good solution?
Thanks,
Michael
0
Comments
How exactly would you implement this, with the minimium of work and adhering to NAV standards?
Check out form 5113 in a standard 2009 SP1 database for ideas. The size is set at run time, and depending on the state of the wizard it shows different controls. Instead of the state of the wizard process, you would let it depend on which company you're in.
RIS Plus, LLC
I made a small test with a clean form
cu codeunit formmangement
OnOpenForm
cu.fnForm;
CurrForm.CLOSE;
cu.fnform
RANDOMIZE(TIME-010000T);
i := RANDOM(4) + 19;
FORM.RUN(i);
EXIT(TRUE);
Works like a charm. When I open my form, my codeunit is called and opens a random form and my original form is closed.
Or even easier. Press design for your first form, select file -> save as.