PL/SQL (MOSC)

MOSC Banner

unexpected result when the procedure ran.

edited Jun 13, 2019 11:46PM in PL/SQL (MOSC) 5 commentsAnswered ✓

Hi,

I have a procedure that runs as needed. However, there were instances that have unexpected result. I am having trouble to identify what may have caused it. Maybe it is a logical error or something. Below is the procedure.

create or replace PROCEDURE                PROC_USR_CHECK_BACKORDER

(

  P_HEADER_ID IN APPS.OE_ORDER_HEADERS_ALL.HEADER_ID%TYPE 

)

as

  V_HEADER_ID NUMBER;

  V_ORDER_NUMBER NUMBER;

  V_BACK_ORDER VARCHAR2(240);

  l_count_line number;

  l_new_line number;

  lot_number_flag number;

  manu_flag number;

  expiry_flag number;

  remaining_qty number;

 

  cursor boga2 is

   SELECT pick.header_id header_id

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center