50: l_check_existence NUMBER;
51: l_is_revision_control BOOLEAN := false;
52: l_is_lot_control BOOLEAN := false;
53: l_is_serial_control BOOLEAN := false;
54: l_org_id mtl_onhand_quantities.organization_id%type;
55: l_sub_code mtl_onhand_quantities.subinventory_code%type;
56: l_locator_id mtl_onhand_quantities.locator_id%type;
57: EXCP_USER_DEFINED EXCEPTION;
58: l_serial_control_code NUMBER := 0;
51: l_is_revision_control BOOLEAN := false;
52: l_is_lot_control BOOLEAN := false;
53: l_is_serial_control BOOLEAN := false;
54: l_org_id mtl_onhand_quantities.organization_id%type;
55: l_sub_code mtl_onhand_quantities.subinventory_code%type;
56: l_locator_id mtl_onhand_quantities.locator_id%type;
57: EXCP_USER_DEFINED EXCEPTION;
58: l_serial_control_code NUMBER := 0;
59: l_revision_control_code NUMBER := 0;
52: l_is_lot_control BOOLEAN := false;
53: l_is_serial_control BOOLEAN := false;
54: l_org_id mtl_onhand_quantities.organization_id%type;
55: l_sub_code mtl_onhand_quantities.subinventory_code%type;
56: l_locator_id mtl_onhand_quantities.locator_id%type;
57: EXCP_USER_DEFINED EXCEPTION;
58: l_serial_control_code NUMBER := 0;
59: l_revision_control_code NUMBER := 0;
60: l_lot_control_code NUMBER := 0;