Siebel Developer's Reference > User Properties > Business Component User Properties >

Required Position MVField


This user property modifies the behavior of the WriteRecord method to check and require that the current employee must hold at least one position.

During a WriteRecord event, the code checks to see if the Employee Flag value is set to Y. If the value is Y, and if the current employee record has a position associated with it, no error occurs. If, however, the flag is set to Y, and if there is no position associated with the current employee record, then the WriteRecord event errors out. Additionally, if the value is set to N, the WriteRecord event does not trigger.

Value

The value for the Required Position MVField user property uses the following syntax:

"[Employee Flag]", "[Position MVField]"

Quotes are required.

  • [Employee Flag]   Specifies the Employee Flag field that sits on S_CONTACT.EMP_FLG.
  • [Position MVField]   Specifies the multivalue field for the positions that the employee holds.

Usage

Make sure the relationship of the multivalue field goes through the S_PARTY_PER table. Do not confuse this relationship with the positions that can see the Employee or Contact record; that relationship goes through the S_POSTN_CON table.

This user property is ignored when the business component is used within the EAI or Siebel Adapter context.

You can inactivate and modify the values for this user property. You can also create new instances of this user property as needed.

Parent Object Type

Business Component

Functional Area

This user property applies only to employee-related business components.

Siebel Developer's Reference Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.