With Aptify, a user can save the current sub-type record and open a new Sub-Type record in one easy step by using the OK and New button found on Sub-Type forms within Aptify. However, there may be cases when having an OK and New button on a sub-type form may not be appropriate or desirable. Therefore, Aptify allows an administrator to configure the OK and New button option for sub-type records on a global or per-sub-type entity basis.
By default, the OK and New functionality is enabled for all sub-type records. This behavior is controlled by the DisplayOKandNewDefault attribute found on the Configuration > Attributes tab of the Entities entity.
- The possible values for this attribute are 0 (do not display the OK and New button on Sub-Type records) and 1 (always display the OK and New button on Sub-Type records, the default value.)
- If this attribute does not exist on the Entities entity (or has an invalid value), the value is assumed to be 1 and all Sub-Type records within the system will display the OK and New button option.
You can modify this attribute at the global level as necessary based on the system functionality desired. In addition, you can also add the DisplayOKandNew attribute to any sub-type record to limit where this functionality is available.
- The possible values for this attribute are 0 (do not display the OK and New button on the particular Sub-Type record) and 1 (always display the OK and New button on the particular Sub-Type record, the default value.)
- If the DisplayOKandNew attribute exists for a sub-type entity, then that value will be used. If an attribute does not exist for a sub-type entity (or has an invalid value), the global value will be used.
Note that the OK and New button option is disabled for the PersonFunctions and OrderLines sub-type entity by default.