Sage 300 ERP Macros are widely used to achieve custom requirements as VBA is a standard macros language and gives great power to customize Sage 300 ERP.
Macros are used to create our own screens that interact with the business logic and perform your various custom tasks. The VBA forms library/system is a very powerful but easy to use system for creating UIs.
New Stuff: Edit a Macro without installing Sage 300 SDK
User has an access to the entire business logic for the custom routine. There are certain cases where the development organization doesn’t want to provide the access to the code for third party and only should be accessible by the organization. Sage 300 ERP provides an inbuilt feature to achieve the protection to Sage 300 Macro files from viewing the content.
Following are the steps to protect Sage 300 Macro from viewing the content:
1. Right click the Sage 300 ERP Macro and click Edit (SDK must be installed). If Sage 300 SDK is not installed then follow the blog for “Edit a Macro without installing Sage 300 SDK”.
2. Right Click on the Project Name in the Project Explorer. If Project Explorer is not visible then go to View Menu → Click on “Project Explorer”.
3. Click on Project Properties.
4. Click on the Protection Tab on the Project properties dialogue box.
5. Select the checkbox “Lock Project for viewing” to make the macro protected.
6. Enter the password and confirm password (same as password) that needs to use to access the contents of the macro.
7. Click on OK and now the macro is protected with the specified password.So, the protection of the Sage 300 ERP macro allows you to secure the business logic used by an organization.
Also Read: