Strange Behavior in PROD vs QA & DEV
We recently upgraded to EBS 12.2.12. After go-live we found a strange behavior with some of the Purchase Order reports, where the SQL started failing in PROD only.
Following query is for PO HEADER ID that fails only in PROD. The same query works fine in CRP2 and all DEV environments which are upgraded to 12.2.12. Upon researching further we found that following condition is failing in PROD only:
Change made in PROD for temporary workaround:
AND to_char(pha.po_header_id) = fad.pk1_value
Original condition which works in CRP2 and DEV environments and still works there:
AND pha.po_header_id = fad.pk1_value