527: --
528: when no_data_found then
529: --
530: /* When a Credit or Debit Retro Element does not exist look 531: for a Standard Retro Element 532: */
533: select pesu.retro_element_type_id
534: into l_retro_ele_type_id
535: from pay_element_span_usages pesu,