Pages

Monday, October 24, 2011

Populating the SUPERVISOR field from reorder routine

Question

Trying to populate the PR.SUPERVISOR field from the Inventory reorder routine.
Can the requestedby person's supervisor to be populated from reorder?

Answer

The following steps will cause the value from the Requestedby person's Supervisor field to populate the PR.SUPERVISOR field when running a reorder.
1) Create a new crossover domain in the domains application called PERSONTOPR with the following:
Properties:
Object : PERSON
Validation clause: personid = :requestedby
Crossover fields:
- Source : SUPERVISOR
- Destination : SUPERVISOR
- Accept Null is checked

2) Associate to Requestedby field
Go to the Database Configuration application and pull up the PR object.
Filter for the REQUESTEDBY attribute in the domain field for REQUESTEDBY add the crossover domain created in step 1 (PERSONTOPR)
Save and Apply Configuration Changes from the Select Action menu

IBM Support 

No comments:

Post a Comment