Adding a field default definition

You can use the Field Default Definition (alco_field_defaults ) table to specify the default data in fields when users create documents or line items. Based on the constraints established in this table, the fields are populated with the last data that the user specified in a field or the predefined default data.

Note:  An improper implementation of this functionality can impact performance. Except for modifying the Active status field, it is recommended that only an Infor Expense Management Professional Services consultant implements this functionality.
  1. Select Manage > Corporate Data.
  2. Select Field Default Definition in the Data Type field.
  3. Specify this information in the Field Defaults tab:
    Default Name
    A name for the field default definition.
    Target Bob
    The target business object.
    Target Element
    The element of the target.
    Source Type
    The type of source that creates a method by which the field default definitions are applied to the new documents and line items.
    Initialization Context
    The fully qualified name of the control class.
    Note: If a control class is not provided, the application loads all the control classes thereby impairing performance. You can contact the Infor Expense Management Professional Services consultant for a list of available control classes.
    Constraint Expression
    The element values that must meet the default to be applied. These must be expressed in the form of a statement that tests equality. There can be as many constraints as desired, and they must be concatenated with &&special character.
    Source Value
    The string representation to be inserted into the target element.
    Overwrite
    Indicate an element must be overwritten. The default value is Do Not Overwrite.
    Priority
    The order in which multiple overwrite conditions are applied to the same field.
    Active Status
    The status of the field default definition. The status can be Active or Inactive.
    Constrain Insertion
    Indicate if the default value must be used or the value must be specified when the option exists on the list. This option is applicable only to the Parent to Child and Peer to Peer type of source.
    Apply Init Def to Non-New BOb
    Indicate if the initial definition must be applied to an existing business object as is added to the Data Context. The default value is set to False.
  4. Click the Membership tab, if required, and add the data groups. See, Adding or removing data groups from a corporate date type.
  5. Specify an external key, if required. See, Creating an external key.
  6. Click Add to save the data.