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