EBS收单方/收货方实例教程
这篇文章主要介绍“EBS收单方/收货方实例教程”,在日常操作中,相信很多人在EBS收单方/收货方实例教程问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”EBS收单方/收货方实例教程”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

select rt.name, hcas.org_id
fromar.hz_cust_acct_sites_all hcas,
ar.hz_cust_site_uses_all hcsu,
ra_terms_vl rt
where 1 =
1
and hcas.status =
A
andhcsu.status =
A
and hcsu.cust_acct_site_id = hcas.cust_acct_site_id
and hcsu.site_use_code =
BILL_TO --ShIP_TO
and rt.term_id = hcsu.payment_term_id
and rt.name
is not null
and hcas.cust_account_id =
13434343 -- hca.cust_account_id--cusomter_idselect hl.address1 ||
, || hl.address2 地址,
hou.name 业务实体,
decode(hcsua2.site_use_code,
BILL_TO,
收单方,
DRAWEE,
付款人,
SHIP_TO,
收货方) 相关人
fromhz_cust_acct_sites_all cas,
apps.hz_cust_site_uses_all hcsua2,
hz_party_sites hps,
hz_locations hl,
hr_operating_units hou
where cas.party_site_id = hps.party_site_id
and hps.location_id = hl.location_id
andcas.org_id = hou.organization_id
and hcsua2.cust_acct_site_id = cas.cust_acct_site_id
and hcsua2.primary_flag =
Y
andcas.cust_account_id =
134343 --CUSTOMER_ID
到此,关于“EBS收单方/收货方实例教程”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。