"FRM-40654: Record has been updated" error when column is queried in a form

To check and resolve above problem Oracle Application has a script named afshrchk.sql avilable in $FND_TOP/sql directory.

This script checks requested table.columns for invalid trailing spaces and control characters. This script can also be used to
remove trailing blanks and control characters. It is recommended to run this script first without stripping prompt to make sure
all detected values really should be fixed.

Display Message/Exception on the Form from Database Trigger

Use the Raise_message function of ax_message to display a message/exception on a form from Database Trigger.

apps.ax_message_pkg.raise_message
        (
        'AX',  --Use Value 'AX' for this parameter
         'AX_56000_COMM_TRIG_EXCEPT', -Message Name Use value 'AX_56000_COMM_TRIG_EXCEPT' for this parameter
        'TRIGGER_NAME', - Token Name 1
        'CYCLE_COUNT_ENTRIES_TR1', -Token Value 1
        'ERROR',       Token Name 2
         v_error_message Token Value(Error Description)
        );

Have a Oracle Question
Do you have an Oracle Question?

Oracle Books
Oracle Certification, Database Administration, SQL, Application, Programming Reference Books

Oracle Application
Oracle Application Hints and Tips

Oracle Home
Oracle Database, SQL, Application, Programming Tips

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site www.erpgreat.com is not affiliated with or endorsed by any company listed at this site.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.