How to display custom message when the account generator fails to form the required code combination
Hi,
I wanted to display custom message when the account generator fails to form the required code combination
I have used the below approach to get my custom message displayed.
The variables lv_division_segment_txt ,
lv_account_segment_txt ,
lv_natacc_segment_txt,
lv_location_segment_txt,
lv_dept_segment_txt,
lv_area_segment_txt,
lv_futureuse_segment_txt
are set above the procedure call.
FND_MESSAGE.set_name('FND', 'ERROR_MESSAGE');
FND_MESSAGE.set_token('MESSAGE',
'The account'|| lv_division_segment_txt ||'-'||lv_account_segment_txt ||'-'||lv_natacc_segment_txt||'-'||lv_location_segment_txt||'-'||lv_dept_segment_txt||'-'|| lv_area_segment_txt||'-'||lv_futureuse_segment_txt||' that you are trying to submit is not valid for your use.'|| ' Please check the account number you have submitted for errors using the account options available to you using the drop down box options.'||' If you feel this account should be available to you, please contact your business/finance office owner for approval and set-up within Oracle');