0 Replies Latest reply on Sep 11, 2018 4:18 AM by 2785858

    GLPREV: Reversal Concurrent Fails with Error PREV0004: Invalid header after reversing the header

    2785858

      Hi,

      We have a program which submits GLPREV once per Header id. and few programs completed in error and the headers reversed successfully.

      After completion of the program it again search for a Header which is already reversed and completing in error.

       

      Log shows the below.

       

      >> glprgi() 18-AUG-2018 10:51:40

      SHRD0136: 141177 records processed.

      PREV0017: Inserting distinct balancing and management segment values ...

      SHRD0137: 1 record processed

      PREV0012: Updating reversed header ...

      SHRD0137: 1 record processed

      SHRD0117: Inserted 0 record(s) into gl_auto_alloc_rev_batches

       

      >> glprsc() 18-AUG-2018 10:55:23

       

      << glprsc() 18-AUG-2018 10:55:23

      SHRD0019: GLPREV - process exiting after successful execution.

      +---------------------------------------------------------------------------+

      Start of log messages from FND_FILE

      +---------------------------------------------------------------------------+

      +---------------------------------------------------------------------------+

      End of log messages from FND_FILE

      +---------------------------------------------------------------------------+

       

       

      +---------------------------------------------------------------------------+

      No completion options were requested.

       

      Output file size:

      0

       

       

      Output is not being printed because:

      The print option has been disabled for this report.

       

       

      Deleting output file.

       

      +---------------------------------------------------------------------------+

      Concurrent request completed successfully

      Current system time is 18-AUG-2018 10:55:24

       

      +---------------------------------------------------------------------------+

      PREV0004: Invalid header (header ID = XXXXXX)

       

      A journal header can only be reversed if it is marked for reversal

      and has not yet been reversed

       

       

      <x glprgi() 18-AUG-2018 10:55:51

      SHRD0014: GLPREV - process exiting with failure.