Siebel Developer's Reference > Business Component User Properties > Controlling Siebel CRM Data >

Making Sure the Current Employee Holds a Position


The Required Position MVField user property modifies the behavior of the WriteRecord method to require that the current employee must hold at least one position. The value for this user property must use the following format:

"[employee_flag]", "[position multivalue field]"

where:

  • employee flag identifies the employee flag field that references the EMP_FLG column of the S_CONTACT table.
  • position multivalue field identifies the multivalue field that contains the positions that the employee holds. You must make sure that the relationship that this multivalue field uses references the S_PARTY_PER table. You must not use the relationship that Siebel CRM uses with the positions that reference the employee or contact record that references the S_POSTN_CON table.

The code that Siebel CRM runs during a WriteRecord event determines whether it sets the value of the Employee Flag to Y:

  • If it is Y, and if a position is associated with the current employee record, then no error occurs.
  • If it is not Y, or if a position is not associated with the current employee record, then the WriteRecord event does not start and Siebel CRM creates an error.

If the EAI or Siebel Adapter context uses the business component, then Siebel CRM ignores this user property.

You can use this user property only with a business component that stores employee information.

You can configure Siebel CRM to modify the value for this user property, create a new instance of it, or deactivate it.

For more information, see How This Book Describes the User Property Format.

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