11.5.10: PO Output For Communication Does Not Generate PDF Attachment With Email (Doc ID 331313.1)

Last updated on AUGUST 19, 2015

Applies to:

Oracle Purchasing - Version 11.5.10 to 11.5.10 [Release 11.5]
Information in this document applies to any platform.
Checked for relevance on 13-Jun-2011


Symptoms

Purchase order approval completes but there is no pdf attachment with the purchase order when it is approved and emailed. There is not a pdf attachment but there is an html attachment that reads "System failed to generate the PDF document. Please contact your system administrator."

When the PO Output for Communication program is run manually with Test=No or Yes, it completes normally and produces a viewable PDF file. When it is run manually with Test=Debug, it produces no output file and the log contains the following error:


m_pdf is not null
java.sql.SQLException: ORA-01002: fetch out of sequence
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1253)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2596)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
at oracle.apps.po.communicate.PoGenerateDocument.StorePDF(PoGenerateDocument.java:2271)
at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2026)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:426)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)


o The sequence of events
1. Enable PO Output for Communication program to run regardless of parameter settings
2. The po is emailed but the PDF attachment is missing
3. The concurrent request_id shown in the wfstatus shows error in the log file for that concurrent request.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms