MYOB Advanced makes it easy for multiple vendors to develop customisations without fear of entity name collisions by providing them with naming conventions to be used for all third party tables, screens, reports etc. The naming conventions make use of reserved namespace prefixes, allocated to each software development house, which prevent name collisions in the code written by two separate parties and differentiates custom object and field names from those in use by other organisations. This applies to the development work undertaken by both Developer Partners and Resellers.
Each Developer Partner/Reseller should have a namespace prefix registered with MYOB. This namespace is essentially a 2 letter combination that uniquely identifies solutions belonging to a development house and avoids name collisions with other Developer Partner solutions.
Custom tables being added need to have three prefixes in the custom table name to ensure uniqueness.
“MA” + Developer Partner/reseller namespace prefix + Module code + Tablename
Custom fields being added to existing tables need to be prefixed with “MA” and the reseller/Developer Partner’s namespace.
Usr(added automatically by framework) + “MA” + Developer Partner/reseller namespace + Fieldname
For example :
Note: For more information on guidelines for new database fields such as column and datatypes, Primary and foreign keys, audit fields and more please refer to the in-product help under the topic Help > MYOB Advanced Framework > Design Guidelines > Database Design Guidelines.
A screen name in MYOB Advanced is made up of four segments. The naming convention for new screens follows the same principle as for new tables and columns. All third party development would need to use “MA”, Developer Partner/Reseller unique namespace prefix and the module code the new webpage belongs to as the first three segments and in the order mentioned. The last segment represents the screen ID.
For example: MA.RB.AP.01
For development being done by clients directly, it is recommend they use XX for the Reseller Unique ID segment.
A report name in MYOB Advanced is made up of four segments, similar to a screen name, and the recommended naming convention is also similar to it. When naming reports in MYOB Advanced use the following convention:
For example: MA.RB.60.01