Creating a Custom Generic Object

Objectives

After completing this lesson, you will be able to:
  • Create a custom MDF object
  • Create custom associations

Create a Custom Generic MDF Object

Business Case:

The Walldorf location is made up of multiple buildings on the campus. The employee record must include the building in which they work. The buildings are identified by location and a three-digit number. Additional information will be stored about each building.

Steps

  1. Create a cascading picklist to store the security model and level of the buildings.

    Security Model

    Picklist PropertyValue
    CodesecurityModel
    NameSecurity Model
    Effective Start DateJan 1, 1900
    Picklist Values
    External CodeDEU
    LabelGerman Model
    External CodeGBR
    LabelUK Model

    Security Level

    Picklist PropertyValue
    CodesecurityLevel
    NameSecurity Level
    Effective Start DateJan 1, 1900
    Parent PicklistsecurityModel
    German Model Picklist Values
    External CodeDEU-1
    LabelDEU-1
    Parent Picklist ValueGerman Model
    External CodeDEU-2
    LabelDEU-2
    Parent Picklist ValueGerman Model
    External CodeDEU-3
    LabelDEU-3
    Parent Picklist ValueGerman Model
    UK Model Picklist Values
    External CodeUK-1
    LabelUK-1
    Parent Picklist ValueUK Model
    External CodeUK-2
    LabelUK-2
    Parent Picklist ValueUK Model
  2. Create an unsecured object with the following information. Items not mentioned can be left to the default setting.

    Field/PropertyValue
    Codecust_Building
    Effective DatingBasic
    LabelBuilding
    NameData TypeMax LengthValid Value SourceVisibilityLabel
    externalCodeString128 EditableBuilding ID
    externalNameString128 EditableBuilding Name
    cust_BUGeneric Object BusinessUnitEditableBusiness Unit
    cust_capacityNumber  EditableCapacity
    cust_securityModelPicklist securityModelEditableSecurity Model
    cust_securityClearancePicklist securityLevelEditableSecurity Clearance

Create Custom Associations

Business Case:

Now that the building object is created, you need to simplify the data entry / management. Each building will be assigned to one or more legal entities, as it is possible for a building to be used by multiple legal entities. You also need to create a field in Job Information to reference the building records and filter by Legal Entity.

Steps

  1. Create the association on the building object:

    Association PropertyValue
    Namecust_toLegalEntity
    MultiplicityOne to Many
    Destination ObjectLegal Entity
    TypeValid When
    LabelLegal Entity
  2. Create custom fields in the jobInfo hris-element.

    HRIS Field/PropertyValue
    Identifiercustom-string2
    LabelBuilding
    EnabledYes
    Type of Reference ObjectFoundation Object
    Reference Objectcust_Building
    VisibilityEdit
    Field Criteria
    Destination Field Valuecompany
    Source Field Namecust_toLegalEntity.internalld
    Identifiercustom-string3
    LabelSecurity Clearance
    EnabledYes
    VisibilityEdit

Log in to track your progress & complete quizzes