Share

Pre-Default and Post-Default properties

A Post by Neel Mani Gautam
What will happen if I provide value in both Pre-Default and Post-Default properties?

I will try to explain the answer with the help of an example of “Status” field.
We will assume the following values have been given for Pre-Default and Post-Default properties of Status Field
Pre-Default Value:  “In Process”
Post-Default Value:  “Complete”
Following are the scenarios which can take place:
1. User creates a New Record and saves the record without changing value of status field:
In Process
Pre-Default value (In Process) will be assigned to Status field.
2. User creates a New Record and changes the value of Status field to “Planning”:
Complete, Pre-Default value is going to take effect as soon as user creates a new record but Post-Default value will not take effect.
3. User creates a New Record and changes the value of Status field to blank:

Complete, Post Default Value (“Complete”) will take effect.
4. User copies an existing record where value of status field is “Planning”:

Neither Post-Default nor Pre-Default will take effect.
5. User copies an existing record where value of status field is blank:

In-Process ,Pre-Default (“In-Process”) Value will take effect.
6. User copies an existing record and makes the value of the field as blank:

Complete, Post-Default Value (“Complete”) will take effect.
7. User changes the value of existing record to blank and saves the record.:

Neither Post-Default nor Pre-Default will take effect as these values only takes when the record is initially created and saved.

5 comments on “Pre-Default and Post-Default properties”

  1. Pingback: Siebel Interview Question « Siebel Expert Services

  2. Anonymous Reply

    Hello Mr.Mani thanks for your answer the examples which you have given had covered almost all scenarios.

  3. Gopal Raturi Reply

    Excellent Descirption.
    to sum up all scenarios we can say
    A “PreDefault” is the default value which gets automatically populated in a field when a record is created or copied and then record is saved.
    if the values of these field changed and saved then updated value will be reflected in Database (not predefault).

    If a new record is created or copied and PreDefault value is cleared or Predefault value is not provided for a field then the PostDefault Value gets stored in DB for that field.

  4. Amit Reply

    1.       User copies an existing record where value of status field is “Complete”
    Pre default value (open) will be populated

  5. Amit Reply

    1.       User copies an existing record where value of status field is “Planning”
    Pre default value (open) will be populated

Leave A Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!