To Synchronize Code Changes with the Customization Project

When you create a Code item in a customization project, MYOB Advanced Customization Platform performs the following actions:
  • Saves the item content in the database as a Code item
  • Adds the item ID to the customization project

When you publish the project, the platform creates the <CodeItemName>.cs file in the App_RuntimeCode website folder of the current instance of MYOB Advanced.

If you use the Code Editor to modify a Code item and click Save on the page toolbar, the platform saves the changes only in the database. To update files in the App_RuntimeCode folder, you have to publish the project again.

If you have modified the item code in Microsoft Visual Studio, you have to synchronize the changes with the item in the database. To do that, do the following:

For more information about the synchronization mechanism provided by the MYOB Advanced Customization Platform, see Detecting the Project Items Modified in the File System.