NEWBIE: include codeunit

Boom-BoxBoom-Box Member Posts: 27
hi there!

as you can see by the post title, i really am a rookie!

I am now trying to instantiate the NoSeriesManagement codeunit inside a table trigger but i have absolutely no idea how to get it... just lost!

can you please help me?i lloked up in a few manuals/sites, but no can do...

TIA,

Have a nice code!

Comments

  • DenSterDenSter Member Posts: 8,305
    The best way to figure out how that works in standard NAV is to turn on the debugger and create a new Item for instance (or a customer, or a vendor....) and see how NAV creates a new number out of the numbering series. It's not very difficult once you know how it works. Good luck :mrgreen:
  • SavatageSavatage Member Posts: 7,142
    Then if that doesn't work 8)

    Can you get to the code of a table?
    Design the Item Table for example View-C/al Code

    Look at the OnInsert() Trigger you can see NoSeriesMgt..blah blah

    Might wanna peek at the assistEdit too :wink:
Sign In or Register to comment.