 |
|  |
Frequently Asked Questions (FAQ's)
|
Summary:
What is the
difference between Field Edit and Field Change events?
Full Article:
Field Change PeopleCode is
for recalculating field values based on changes made to other fields. For
instance, suppose you have 2 fields, rate and quantity and there is another
field which shows total cost. Whenever a value is changed in either of the two
fields, rate and quantity, the total cost will also change. So on the field
change event of those two fields, you can write code to calculate the total
cost.
Field edit event is used for validating field values. If the field doesn't pass
the validation, an error message is shown and the page is redisplayed with that
field marked in red. For instance, if you do not want a certain quantity to
exceed 1,000 and it does, the system should display an error. You can write
PeopleCode that will check the quantity, if it is greater than 1000 an error
message will be displayed.*Questions excerpted from
ITToolBox.com*
Disclaimer: Contents are not reviewed for correctness and are not endorsed or
recommended by PeopleSoft-Planet.com. |
|
|
|
|
|
|
 |

|
|