Question: This sounds good, but what if you have 500 Order Entry Clerks and 100 Order

Entry Sales Managers? Do we have to assign profile option values to each 6 00 users? Answer : Well, in this case, each Clerk will be assigned Responsibility named sa y XX Order Entry Clerk Responsibility Each Sales Manager will be assigned Responsibility named say XX Order Entry Sales Manager Responsibility In this case, you can assign a profile option value to both these responsibiliti es. XX Order Entry Clerk Responsibility will have a value 5% assigned against it. Howe ver, XX Order Entry Sales Manager Responsibility will have a profile option value of 15% assigned. In the when-validate-item of the discount field, following code will then be wri tten IF :oe_line_block.discount_value > fnd_profile.value('OEPASSI_MAX_DISCOUNT') THEN message( 'You can t give discount more than ' || fnd_profile.value('OEPASSI_MAX_DISCOUNT') || '%' ) ; raise form_trigger_failure ;-- I mean raise error after showing message END IF ;

Sign up to vote on this title
UsefulNot useful