alue XXX for the flexfield segment XXXXXX does not exist in the value set XXXXX_XXXXXX
When attempting to query an PO by PO number,
The following error occurs.
ERROR
-----------------------
Value XXX for the flexfield segment XXXXXX does not exist in the value set XXXXX_XXXXXX. Earlier, it was an open text field. Now we are assign value set.
When querying the old record, it gives the error. please suggest how to avoid checking the old record in value set