In R12 supplier payment method information no more exists in the ap_supplier_sites_all table.
Query to find the supplier payment method
SELECT ieppm.payment_method_code
FROM ap_supplier_sites_all assa,
ap_suppliers sup,
iby_external_payees_all iepa,
iby_ext_party_pmt_mthds ieppm
WHERE sup.vendor_id = assa.vendor_id
AND assa.pay_site_flag = 'Y'
AND assa.vendor_site_id = iepa.supplier_site_id
AND iepa.ext_payee_id = ieppm.ext_pmt_party_id
AND ((ieppm.inactive_date IS NULL) OR (ieppm.inactive_date > SYSDATE)
)
AND assa.vendor_site_id = :p_vendor_site_id
AND ieppm.primary_flag = 'Y'
ORDER BY sup.vendor_name, assa.vendor_site_code
More useful, Thanks a lot
ReplyDeleteVery useful. Thanks
ReplyDeleteThank you, it saved me 1 hour.
ReplyDeleteNice Manas Da. Helped me today
ReplyDeleteVery useful info...
ReplyDeleteThank you Sir
ReplyDeleteContrary to all the plaudits above this isn't great. The sql fails to select the max object version from iby_ext_party_pmt_mthds.
ReplyDeleteIt's also of copy of the same sql posted by many others perpetuating the issue above.
This comment has been removed by the author.
ReplyDeleteVery helpful, thank you..
ReplyDeleteThanks!! It helped me today! Very useful..Saved my time!
ReplyDeleteI am newbie of this PHP technology, this post helps me to know the introductory of PHP, Thanks for posting such a nice post.
ReplyDeleteRegards, god work
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai