Pickmaps in Siebel can be classified as
- Copy Pickmap
- Constratint Pickmap
Copy Pickmap : This is used to copy the picklist field to the BC field. We can have multiple pickmaps for any picklist. The sequence in which the fields are copied depends on the Sequence property of the Pick Map
Constraint Pickmap : This is used to constraint the picklist values. Constraining the value can be done on the Picklist search spec as well, but that applies to the entire picklist. Using Constraint, one can restrict the picklist data either based on some other field or based on some condition. This gives the flexibility to use the picklist across different BCs restricting the data based on the requirement.
Properties of Pick Map
- Field :
- The BC Field which stores the value from the picklist.
- Picklist Field :
- The field from the picklist BC that has to be copied onto the Parent/Originating BC
- Sequence :
- This defines the order of the copy, the order or the sequence in which the copy should happen
- Constraint :
- This defines if the pick map is a copy pick map or constraint pick map
- True
- Constraint pick map
- False
- Copy pick map
- No Clear :
- True
- The field is not allowed to be set to null
- If the field has a value and the user is trying to blank it out, then this is not allowed
- On save the blank/null value is not saved and the value is reverted.
- False
- The field is allowed to be set to null.
- If the field has a value and the user is trying to blank it out, then it is allowed.
- On save, the blank/null value is saved.
- Pick Map UpdOnlyIfNull :
- This is the child object of Pick Map
- This is used to restrict the pick based on the blank/null or non-null value of another field
- If the field specified in this property is null, then the pick is allowed, else the pick is restricted.
- It is provides a defensive coding mechanism, meaning to say that, it allows to check for the blank values
- Example :
- Consider a field A, which has a static picklist associated with it
- The property of Pick Map UpdOnlyIfNull is field B.
- Now when the field B is null,
- The value selected in field A will be stamped to the DB.
- When the field B is not null
- The value selected in the field A will not be stamped to the DB.
No comments:
Post a Comment
Type in your comments, queries here