2.5.4 Derivation Rule
Check against the option 'Derivation Allowed' if you want to the values of a UDF to be populated based on certain conditions. According to the requirements of the bank, the implementer of Oracle Banking Trade Finance will write a PL/SQL code to populate the values of the user defined field. The values of the UDF will be displayed in the 'User Defined Field/ Field Name to Value Definition' screens of Contract Input or Function Id screen.
Click 'Derivation' button to write the PL/SQL code.
After writing the PL/SQL code, click 'X' button to execute the code. The derivation code will be validated by the system. If any checks fail, you must alter the statement so that the validation can be made successfully. Click 'E' button to view the errors.
- Define a field of type 'Number',
- Specify 'Usage Allowed' as 'Product',
- Check against 'Derivation Allowed', and
- Write a code to display the Euro equivalent of the contract amount.
After writing the PL/SQL code, click 'X' button to execute the code. The derivation code will be validated by the system. If any checks fail, you must alter the statement so that the validation can be made successfully. Click 'E' button to view the errors.
Parent topic: Text Field