Company-Initialize (Codeunit 2)

WaldoWaldo Member Posts: 3,412
edited 2006-11-06 in NAV Tips & Tricks
May be worth mentioning in the Tips&Tricks section.

When doing custom development, never forget to update Codeunit 2 (Company-Initialize).

What do you do with it: everything that has to be done when users create a new company (duh...):
- Initialize Setup Tables
- Insert default records/values (usually in setup tables)
- Insert extra Sourcecode
- Insert Report Selection
- Insert Standard Text
- ...

I think this is often forgotten.

Eric Wauters
MVP - Microsoft Dynamics NAV
My blog

Comments

  • krikikriki Member, Moderator Posts: 9,112
    Waldo wrote:
    I think this is often forgotten.
    True! :oops: :oops: :oops: :oops:
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • WaldoWaldo Member Posts: 3,412
    When having a Navision installation with many companies and dynamic company creation principle, you're often reminded of this ... I think you know, don't you, Alain :wink:

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • krikikriki Member, Moderator Posts: 9,112
    Waldo wrote:
    When having a Navision installation with many companies and dynamic company creation principle, you're often reminded of this ... I think you know, don't you, Alain :wink:
    Actually, not that often :D
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.