温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

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

发布时间:2021-11-10 16:14:05 来源:亿速云 阅读:226 作者:iii 栏目:关系型数据库

这篇文章主要介绍“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收单方/收货方实例教程”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

ebs
AI