CAL in 2018

rickyl76rickyl76 Member Posts: 25
I wondered if someone can just give me some clarification over CAL code in 2018. If we are to be customising the product, for example, changing a posting routine, is this still to be done in CAL in the development environment or should we be looking to do this in AL?

Answers

  • davmac1davmac1 Member Posts: 1,283
    You can use CAL, but you will be much better off if you use AL in VS Code, and do it as an extension. Makes upgrades and patching much faster and easier.
    You should not be modifying posting routines - use events.
    Use events as much as possible instead of changing standard code.
  • maze93maze93 Member Posts: 24
    Microsoft have added 30+ extra publishers in I.E. Sales-Post codeunit in NAV18 which makes it perfect for extensions with subscribers. If you need an extra publisher then copy all the code from nearest publisher into an extension and make your changes there.
Sign In or Register to comment.