Allowing Empty Strings for Object Names

You can create objects with empty name fields in MQL.

The following system-wide setting is available so that System Administrators can enable or disable the creation of objects with empty name fields in MQL for all user sessions permanently:

set system emptyname  [on|off]

By default, the setting is off, which means that empty names are not allowed. MQL and any other program code will issue an error if any attempt is made to make a business object have an empty name. It will also cause a warning to be issued if a query specifies an empty string (" ") for the name. (The query will not error out and will not abort any transaction going on.) If the setting is on, the system allows empty names for objects in MQL only.