New and Improved Patch for FRM-40654 Errors in Purchase Orders and Requisitions
Development has modified the code in purchase orders and requisition forms to prevent error FRM-40654 when there are trailing spaces in the tables for most of the fields. After applying the patch, the form will still display the error but a requery will allow you to save the transaction.
For the scenarios not covered in the fix, the FND log will now display the specific field that causes the error. This an example of the FND log for one document where the note_to_vendor has trailing spaces:
Form note_to_vendor oldvalue Database note_to_vendor newvalue
Failed first if statement when comparing fields