Execute ap_checks_v showing "no rows returned"?
Posted: Sun Mar 28, 2010 6:00 am
hi all
this is my first post here
whenever i execute ap_checks_v it says "no rows returned"[:(]
i have a report developed by someone previously before me,the client requirement is to display check_number with PAYMENT_METHOD_LOOKUP_CODE=WIRE
(PAYMENT_METHOD_LOOKUP_CODE is column in ap_checks_v and ap_checks_all)
i took this query which when executed in TOAD gives no rows returned[:(]
<b>SELECT
ac.check_id ac_check_id, ac.amount amount,
ac.currency_code currency_code, fcv.NAME currency_name,
fcv.PRECISION currency_precision, ac.doc_sequence_value voucher_number, ac.check_date check_date, ac.vendor_name paid_to,
ac
.description description, ac.bank_name bank_name,
' ' || ac.bank_account_name || ' ' bank_account_name,
' ' || ac.check_number || ' ' check_number,
NVL
(ac.future_pay_due_date, ac.check_date) maturity_date
FROM ap_checks_v ac, fnd_currencies_vl fcv
WHERE ac.check_number = :p_check_number
AND ac.currency_code = fcv.currency_code </b> i replaced ap_checks_v with ap_checks_all but it says ac.bank_name invalid identifier
whereas when i do select * from ap_checks_all i am able ot view CHECK_NUMBER having values when PAYMENT_METHOD_LOOK_UP_CODE=WIRE
currently i suppose only CHECK_NUMBER with Payment_method_look_up_code=CHECK is being displayed
i require WIRE too
kinldy help me
thanking in advance
kincly help me
this is my first post here
whenever i execute ap_checks_v it says "no rows returned"[:(]
i have a report developed by someone previously before me,the client requirement is to display check_number with PAYMENT_METHOD_LOOKUP_CODE=WIRE
(PAYMENT_METHOD_LOOKUP_CODE is column in ap_checks_v and ap_checks_all)
i took this query which when executed in TOAD gives no rows returned[:(]
<b>SELECT
ac.check_id ac_check_id, ac.amount amount,
ac.currency_code currency_code, fcv.NAME currency_name,
fcv.PRECISION currency_precision, ac.doc_sequence_value voucher_number, ac.check_date check_date, ac.vendor_name paid_to,
ac
.description description, ac.bank_name bank_name,
' ' || ac.bank_account_name || ' ' bank_account_name,
' ' || ac.check_number || ' ' check_number,
NVL
(ac.future_pay_due_date, ac.check_date) maturity_date
FROM ap_checks_v ac, fnd_currencies_vl fcv
WHERE ac.check_number = :p_check_number
AND ac.currency_code = fcv.currency_code </b> i replaced ap_checks_v with ap_checks_all but it says ac.bank_name invalid identifier
whereas when i do select * from ap_checks_all i am able ot view CHECK_NUMBER having values when PAYMENT_METHOD_LOOK_UP_CODE=WIRE
currently i suppose only CHECK_NUMBER with Payment_method_look_up_code=CHECK is being displayed
i require WIRE too
kinldy help me
thanking in advance
kincly help me