Oracle EBS AP 供应商取值】的更多相关文章

SELECT --nvl(substr(po.vendor_name,1,instr(po.vendor_name,',',1)-1),po.vendor_name) vendor_name, po.vendor_name vendor_name, po.vendor_name_alt, --别名 po.segment1, --供应商编号 decode(po.employee_id, NULL, 'STANDARD', 'EMPLOYEE') vendor_type, --创建供应商若关联员工…
--创建供应商地址上的电话号码 created by jenrry 20170419 DECLARE l_return_status VARCHAR2(1); l_msg_count NUMBER; l_msg_data VARCHAR2(1000); l_vendor_contact_rec hz_contact_point_v2pub.contact_point_rec_type; l_vendor_edi_rec hz_contact_point_v2pub.edi_rec_type; l…
/* 供应商地点失效 creation: created by jenrry 20161108 1.00 */ DECLARE lv_return_status ) := NULL; ln_msg_count NUMBER; lv_errmsg ); lt_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type; p_vendor_rec ap_vendor_pub_pkg.r_vendor_rec_type; l_party_site_…
SELECT fb.book_type_code, fth.ASSET_NUMBER, fdh.units_assigned, fdh.assigned_to, pf.FULL_NAME, fl.segment3 location_name FROM FA_ADDITIONS_V fth, fa_distribution_history fdh, gl_code_combinations gcc, fa_books fb, per_people_f pf, FA_LOCATIONS fl WHE…
SELECT ct.org_id ,ct.attribute1 bu_id --核算主体编号 ,ct.attribute2 dept_id --部门编号 ,hca.account_number ,hp.party_name --收单方 ,ct.attribute3 --项目编号 ,pa.long_name --项目 ,to_char(ct.trx_date) trx_date ,to_char(gd.gl_date) gl_date ,ct.trx_number --编号 ,rc.name --…
SELECT ct.trx_number ,ctl.description ,fnd_flex_ext.get_segs('SQLGL' ,'GL#' ,gcc.chart_of_accounts_id ,gcc.code_combination_id) account_number ,gd.gl_date ,to_number(decode(gd.account_class ,'REC' ,decode()) , ,NULL ,nvl(gd.amount, )) ,decode()) , ,)…
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…
1>找出相应的发票; SELECT DISTINCT ai.invoice_id, ai.invoice_num invoice_num, pv.segment1 vendor_num, pv.vendor_name vendor_name, 'The fully Paid invoice should be closed!' status FROM ap.ap_invoices_all ai, po.po_vendors pv, ap.ap_payment_schedules_all aps…
SELECT pvs.vendor_site_id, pvs.party_site_id, hps.party_site_name, hps.object_version_number, hps.party_site_number, pvs.location_id, hl.object_version_number, hps.STATUS FROM ap_supplier_sites_all pvs, hz_party_sites hps, hz_locations hl WHERE pvs.v…
--取消核销 created by jenrry 20170425 DECLARE l_result BOOLEAN; l_msg_count NUMBER; l_result_n varchar2(2); l_error_message VARCHAR2(2000); l_num_c NUMBER; l_num_nc NUMBER; BEGIN -- Call the procedure fnd_global.APPS_INITIALIZE(1111, 50737, 20005); mo_gl…