222: begin
223: /* Check if the fnd application and transaction type combination is valid. */
224: select count(*)
225: into tempCount 226: from ame_calling_apps 227: where sysdate between start_date and nvl(end_date - (1/86400),sysdate)
228: and fnd_application_id = applicationIdIn
229: and transaction_type_id = transactionTypeIn;
230: if tempCount = 0 then