--application/shared_components/logic/application_computations/webmip_prev_page_id
wwv_flow_api.create_flow_computation (
  p_id => 16617826731287108 + wwv_flow_api.g_id_offset,
  p_flow_id => wwv_flow.g_flow_id,
  p_computation_sequence => 2,
  p_computation_item => 'WEBMIP_PREV_PAGE_ID',
  p_computation_point    => 'AFTER_HEADER',
  p_computation_type => 'FUNCTION_BODY',
  p_computation_processed=> 'REPLACE_EXISTING',
  p_computation => 'IF :APP_PAGE_ID = 1 THEN'||chr(10)||
'  RETURN :WEBMIP_THIS_PAGE_ID;'||chr(10)||
'ELSIF :WEBMIP_THIS_PAGE_ID <> :APP_PAGE_ID THEN'||chr(10)||
'  RETURN :WEBMIP_THIS_PAGE_ID;'||chr(10)||
'ELSE'||chr(10)||
'  RETURN :WEBMIP_PREV_PAGE_ID;'||chr(10)||
'END IF;'||chr(10)||
'',
  p_compute_when=> '',
  p_compute_when_type=> '',
  p_computation_error_message=>'',
  p_computation_comment=> '',
  p_required_patch=> null + wwv_flow_api.g_id_offset);
 
