[Home] [Help]
508: -- create the default payment method
509: IF(p_ext_payee_tab(counter).Default_Pmt_method is not NULL) THEN
510: select count(1)
511: into l_pm_count
512: from iby_payment_methods_b
513: where payment_method_code=p_ext_payee_tab(counter).Default_Pmt_method;
514:
515: IF (l_pm_count>0) then
516: -- insert into the external payment method table
2412: ELSE
2413: -- default payment method is not null
2414: SELECT COUNT(1)
2415: INTO l_pm_count
2416: FROM iby_payment_methods_b
2417: WHERE payment_method_code = p_ext_payee_tab(counter).Default_Pmt_method;
2418:
2419: IF (l_pm_count>0) THEN
2420: -- payment method exists