EBS收单方/收货方实例教程

开发技术 作者:iii 2024-04-07 09:25:01
这篇文章主要介绍“EBS收单方/收货方实例教程”,在日常操作中,相信很多人在EBS收单方/收货方实例教程问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操...

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

select rt.name, hcas.org_id
from ar.hz_cust_acct_sites_all hcas,
ar.hz_cust_site_uses_all hcsu,
ra_terms_vl rt
where 1 = 1
and hcas.status = 'A'
and hcsu.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_id
select hl.address1 || ', ' || hl.address2 地址,
hou.name 业务实体,
decode(hcsua2.site_use_code,
'BILL_TO',
'收单方',
'DRAWEE',
'付款人',
'SHIP_TO',
'收货方') 相关人
from hz_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
and cas.org_id = hou.organization_id
and hcsua2.cust_acct_site_id = cas.cust_acct_site_id
and hcsua2.primary_flag = 'Y'
and cas.cust_account_id = 134343 --CUSTOMER_ID

到此,关于“EBS收单方/收货方实例教程”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注捷杰建站网站,小编会继续努力为大家带来更多实用的文章!

原创声明
本站部分文章基于互联网的整理,我们会把真正“有用/优质”的文章整理提供给各位开发者。本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
本文链接:http://www.jiecseo.com/news/show_7088.html
ebs