DECLARE L_CR_ID NUMBER; L_ATTRIBUTE_REC AR_RECEIPT_API_PUB.ATTRIBUTE_REC_TYPE; L_GLOBAL_ATT_REC AR_RECEIPT_API_PUB.global_attribute_rec_type; L_RETURN_STATUS ); L_MSG_COUNT NUMBER; L_MSG_DATA ); I NUMBER; L_MESSAGE_LIST ); L_MSG_INDEX_OUT NUMBER; BEG…
------------------------------------ 1. Set Environment ------------------------------------ -- 1a. Setup the Org_id ------------------------------------ exec dbms_application_info.set_client_info('204'); ------------------------------------ -- 1b. S…
1.确认是不是没有收款方法 methods那个表的问题2.查看收款方法那个LOV的问题3.界面录入 是否会有问题  碰到的问题是 收款日期比较早时 找不到对应的收款方法 银行账户需要重新设置…
-- 收款核销,贷项通知单核销也是通过ar_receivable_applications_all表 SELECT cr.receipt_number ,ad.amount_dr ,ad.amount_cr ,ad.source_table ,ad.source_type ,xla_oa_functions_pkg.get_ccid_description(gcc.chart_of_accounts_id ,ad.code_combination_id) ,ad.creation_date FR…
select ra.trx_number from ar_cash_receipts_all cr, ar_receivable_applications_all ar,ra_customer_trx_all ra where cr.cash_receipt_id = ar.CASH_RECEIPT_ID ' and ar.amount_applied = -3817.5 and ar.status = 'APP' and ar.applied_customer_trx_id = ra.cust…
DECLARE L_CR_ID NUMBER; L_ATTRIBUTE_REC AR_RECEIPT_API_PUB.ATTRIBUTE_REC_TYPE; L_GLOBAL_ATT_REC AR_RECEIPT_API_PUB.global_attribute_rec_type; L_RETURN_STATUS VARCHAR2(100); L_MSG_COUNT NUMBER; L_MSG_DATA VARCHAR2(2000); I NUMBER; L_MESSAGE_LIST VARCH…
SELECT ct.trx_number ,adj.adjustment_number ,ad.amount_dr ,ad.amount_cr ,ad.source_table ,ad.source_type ,xla_oa_functions_pkg.get_ccid_description(gcc.chart_of_accounts_id ,ad.code_combination_id) FROM ar_distributions_all ad ,ar_adjustments_all adj…
select hr.name, a.autoapply_flag, a.AUTOMATCH_SET_ID, a.LEGAL_ENTITY_ID, a.RECEIPT_NUMBER, a.type, a.receipt_date, b.gl_date, c.name, a.remit_bank_account, ce.bank_account_name, a.attribute3 from AR_CASH_RECEIPTS_V a, hr_operating_units hr, AR_CASH_R…
declare    -- Local variables here   i integer;   x_line_original NUMBER;   x_line_remaining NUMBER;   x_tax_original NUMBER;   x_tax_remaining NUMBER;   x_freight_orginal NUMBER;   x_freight_remaining NUMBER;   x_charges_original NUMBER;   x_charges…
1, Book order Oe_Order_Pub.Process_Order ( 1 , Fnd_Api.G_FALSE , Fnd_Api.G_FALSE , Fnd_Api.G_FALSE , x_return_status , x_msg_count , x_msg_data –IN PARAMETERS , p_header_rec => l_header_rec , p_line_tbl => l_line_tbl , p_action_request_tbl => l_a…