代码语言
.
CSharp
.
JS
Java
Asp.Net
C
MSSQL
PHP
Css
PLSQL
Python
Shell
EBS
ASP
Perl
ObjC
VB.Net
VBS
MYSQL
GO
Delphi
AS
DB2
Domino
Rails
ActionScript
Scala
代码分类
文件
系统
字符串
数据库
网络相关
图形/GUI
多媒体
算法
游戏
Jquery
Extjs
Android
HTML5
菜单
网页交互
WinForm
控件
企业应用
安全与加密
脚本/批处理
开放平台
其它
【
EBS
】
供应商 VENDOR
作者:
Hobart
/ 发布于
2016/3/17
/
747
-- 供应商主表数据: SELECT ass.vendor_id vendor_id, ass.party_id party_id, ass.segment1 vendor_code, ass.vendor_name vendor_name, ass.vendor_name vendor_short_name, ass.vendor_type_lookup_code vendor_type, flv.meaning vendor_type_meaning, hp.tax_reference tax_registered_name, ass.payment_method_lookup_code payment_method, att.name term_name, att.enabled_flag enabled_flag, att.end_date_active end_date_active, ass.creation_date creation_date, ass.created_by created_by, ass.last_update_date last_update_date, ass.last_updated_by last_updated_by, ass.last_update_login last_update_login FROM ap_suppliers ass, fnd_lookup_values flv, hz_parties hp, ap_terms_tl att WHERE ass.vendor_type_lookup_code = flv.lookup_code(+) AND flv.lookup_type(+) = 'VENDOR TYPE' AND flv.language(+) = userenv ( 'LANG' ) AND ass.party_id = hp.party_id AND att.language = userenv ( 'LANG' ) AND ass.terms_id = att.term_id(+) -- 供应商银行信息 SELECT ass.vendor_id vendor_id, ass.party_id party_id, bank.party_id bank_id, bank.party_name bank_name, branch.party_id branch_id, branch.party_name bank_branch_name, ieba.bank_account_num bank_account_num FROM ap_suppliers ass, hz_parties hp, iby_account_owners iao, iby_ext_bank_accounts ieba, hz_parties bank, hz_parties branch WHERE ass.party_id = hp.party_id AND hp.party_id = iao.account_owner_party_id(+) AND iao.ext_bank_account_id = ieba.ext_bank_account_id(+) AND ieba.bank_id = bank.party_id(+) AND ieba.branch_id = branch.party_id(+) ORDER BY ieba.creation_date; -- 供应商开户行地址信息 SELECT hps.party_id party_id, hps.party_site_id party_site_id, hl.location_id location_id, hl.country country, hl.province province, hl.city city, hl.address1 address1, hl.address2 address2, hl.address3 address3, hl.address4 address4 FROM hz_party_sites hps, hz_locations hl WHERE hps.location_id = hl.location_id ORDER BY hps.creation_date -- 供应商联系人信息 SELECT hr.subject_id subject_id, hr.object_id object_id, hr.party_id party_id, hp.person_last_name || ' ' || hp.person_middle_name || ' ' || hp.person_first_name contact_person, hcpp.phone_area_code phone_area_code, hcpp.phone_number phone_number, hcpp.phone_extension phone_extension, hcpf.phone_area_code fax_phone_area_code, hcpf.phone_number fax_phone_number, hcpe.email_address email_address FROM hz_relationships hr, hz_contact_points hcpp, hz_contact_points hcpf, hz_contact_points hcpe, hz_parties hp WHERE hr.object_id = hp.party_id AND hcpp.owner_table_id(+) = hr.party_id AND hcpf.owner_table_id(+) = hr.party_id AND hcpe.owner_table_id(+) = hr.party_id AND hr.object_type = 'PERSON' AND hr.relationship_code(+) = 'CONTACT' AND hcpp.owner_table_name(+) = 'HZ_PARTIES' AND hcpf.owner_table_name(+) = 'HZ_PARTIES' AND hcpe.owner_table_name(+) = 'HZ_PARTIES' AND hcpp.contact_point_type(+) = 'PHONE' AND hcpp.phone_line_type(+) = 'GEN' AND hcpf.contact_point_type(+) = 'PHONE' AND hcpf.phone_line_type(+) = 'FAX' AND hcpe.contact_point_type(+) = 'EMAIL' AND hcpe.phone_line_type IS NULL ORDER BY hr.creation_date; -- 供应商地址主信息 SELECT assa.vendor_site_id vendor_site_id, assa.vendor_id vendor_id, assa.vendor_site_code vendor_code, assa.vendor_site_code address_short_name, assa.address_line1 address_line1, assa.address_line2 address_line2, assa.address_line3 address_line3, assa.address_line4 address_line4, assa.org_id org_id, assa.country country, assa.province province, assa.city city, assa.county county, assa.zip zip, assa.pay_site_flag pay_site_flag, assa.purchasing_site_flag purchasing_site_flag, assa.inactive_date inactive_date, assa.creation_date creation_date, assa.created_by created_by, assa.last_update_date last_update_date, assa.last_updated_by last_updated_by, assa.last_update_login last_update_login FROM ap_suppliers ass, ap_supplier_sites_all assa WHERE assa.vendor_id = ass.vendor_id; -- 供应商地址联系人信息: phone 、 fax 和 Email SELECT hcpp.phone_area_code phone_area_code, hcpp.phone_number phone_number, hcpp.phone_extension phone_extension, hcpf.phone_area_code fax_phone_area_code, hcpf.phone_number fax_phone_number, hcpe.email_address email_address FROM ap_supplier_sites_all assa, hz_contact_points hcpp, hz_contact_points hcpf, hz_contact_points hcpe, hz_party_sites hps WHERE assa.party_site_id = hps.party_site_id AND hcpp.owner_table_id(+) = assa.party_site_id AND hcpf.owner_table_id(+) = assa.party_site_id AND hcpe.owner_table_id(+) = assa.party_site_id AND hcpp.owner_table_name(+) = 'HZ_PARTY_SITES' AND hcpf.owner_table_name(+) = 'HZ_PARTY_SITES' AND hcpe.owner_table_name(+) = 'HZ_PARTY_SITES' AND hcpp.contact_point_type(+) = 'PHONE' AND hcpp.phone_line_type(+) = 'GEN' AND hcpf.contact_point_type(+) = 'PHONE' AND hcpf.phone_line_type(+) = 'FAX' AND hcpe.contact_point_type(+) = 'EMAIL' AND hcpe.phone_line_type IS NULL ; -- 供应商地址收件人信息 SELECT assa.party_site_id FROM ap_supplier_sites_all assa -- 根据 party_site_id 得到供应商地址的收件人名称 SELECT hps.addressee FROM hz_party_sites hps; -- 供应商银行帐户分配层次关系 SELECT * FROM iby_pmt_instr_uses_all; -- 供应商银行帐户分配层次关系明细 ( 不包括供应商层的分配信息 ): SELECT * FROM iby_external_payees_all;
试试其它关键字
供应商
VENDOR
同语言下
.
供应商 VENDOR
.
用户、责任及 HR
.
EBS常用表及查询语句
.
从当前form转到请求提交页面
.
关闭窗口代码段
.
组织访问权限的控制语句
.
动态产生一个'LOV'框
.
Form中导入数据
.
FORM中获取光标所在的TAB页面
.
动态提交请求
可能有用的
.
C#实现的html内容截取
.
List 切割成几份 工具类
.
SQL查询 多列合并成一行用逗号隔开
.
一行一行读取txt的内容
.
C#动态修改文件夹名称(FSO实现,不移动文件)
.
c# 移动文件或文件夹
.
c#图片添加水印
.
Java PDF转换成图片并输出给前台展示
.
网站后台修改图片尺寸代码
.
处理大图片在缩略图时的展示
Hobart
贡献的其它代码
(
3
)
.
供应商 VENDOR
.
最短路径(单源dijkstra邻接阵形式)
.
Oracle&C# 导出多Sheet Excel ,使用Oracle Package
Copyright © 2004 - 2024 dezai.cn. All Rights Reserved
站长博客
粤ICP备13059550号-3