Oracle EBS AR 客户取数SQL】的更多相关文章

SELECT acct.cust_account_id, acct.party_id, acct.account_number, party.party_name, lkp1.meaning party_type, profile.cust_account_profile_id, acct.account_name, party.party_number, party.category_code, lkp.meaning category, party.jgzz_fiscal_code, par…
-- 收款核销,贷项通知单核销也是通过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…
------------------------------------ 1. Set Environment ------------------------------------ -- 1a. Setup the Org_id ------------------------------------ exec dbms_application_info.set_client_info('204'); ------------------------------------ -- 1b. S…
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…
参考链接: Oracle EBS R12 客户表结构 Oracle EBS中的“客户”."客户地点".‘订单’之间的关系 Oracle EBS中的“客户”."客户地点".‘订单’之间的关系 EBS中客户表的关系 (顺便吐槽一下百度的不要脸,博客搬家之后竟然不能公开了)…
DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type; l_profile_amt_id NUMBER; l_profile_id NUMBER; l_return_status1 ); l_msg_count1 NUMBER; l_msg_data1 ); l_re…
declare -- Local variables here i integer; g_module ) := 'TCA_V2_API'; lrec_org hz_party_v2pub.organization_rec_type; lrec_party hz_party_v2pub.party_rec_type; l_return_status ); l_msg_count number; l_msg_data ); l_party_id number; l_party_number hz_…
declare x_return_status ); x_msg_count NUMBER; x_msg_data ); x_profile_id NUMBER; l_location_id NUMBER; l_object_version_number NUMBER; l_party_rec hz_cust_account_v2pub.cust_account_rec_type; cursor cur_DT is SELECT loc.location_id, loc.object_versi…
SELECT cm.trx_number ,fnd_flex_ext.get_segs('SQLGL', 'GL#', gcc.chart_of_accounts_id, ad.code_combination_id) account_number ,ra.gl_date ,ct.trx_number applied_trx_number ,ad.acctd_amount_dr ,ad.acctd_amount_cr FROM ar_distributions_all ad ,ar_receiv…
AR_RECEIVABLE_APPLICATIONS APP, AR_CASH_RECEIPTS CR, AR_PAYMENT_SCHEDULES PS_INV, HZ_CUST_ACCOUNTS CUST, HZ_PARTIES PARTY, RA_CUSTOMER_TRX CT, RA_CUST_TRX_TYPES CTT, RA_CUSTOMER_TRX_LINES CTL, RA_BATCH_SOURCES BS, HZ_CUST_SITE_USES SU, AR_CONS_INV CI…