[E-Bussiness Suite] Query Data Vendor (Supplier)
in
E-Bussiness Suite,
Query
- on 5:29:00 PM
- No comments
Deskripsi
Display all data master vendor (supplier)
Howto
1. Running Show Hidden View , here this link
2. Running Query below :
select distinct pvs.ORG_ID
,pv.vendor_name
,pv.VENDOR_NAME_ALT
,pvs.ADDRESS_LINE1
,pvs.ADDRESS_LINE2
,pvs.VENDOR_SITE_CODE
,pvs.CITY
,pvs.ZIP
,pvs.PROVINCE
,pvs.PAYMENT_METHOD_LOOKUP_CODE
,pvs.TERMS_DATE_BASIS
,pvs.VAT_CODE
,pvs.VAT_REGISTRATION_NUM
,pvs.DISTRIBUTION_SET_ID
,(gcc.SEGMENT1 || '.' || gcc.SEGMENT2 || '.' || gcc.SEGMENT3 || '.' || gcc.segment4) as ACCTS_PAY_CODE_COMBINATION
,(gcc2.SEGMENT1 || '.' || gcc2.SEGMENT2 || '.' || gcc2.SEGMENT3 || '.' || gcc2.segment4) as PREPAY_CODE_COMBINATION
,pvs.ACCTS_PAY_CODE_COMBINATION_ID
,pvs.PREPAY_CODE_COMBINATION_ID
,pvs.TERMS_ID
,pvs.ALLOW_AWT_FLAG
,pvs.PURCHASING_SITE_FLAG
,pvc.first_name
,pvc.last_name
,pvc.prefix
,pvc.title
,pvc.area_code
,pvc.phone
,pvc.contact_name_alt
,pvc.email_address
,pvc.alt_area_code
,pvc.fax
from po_vendors PV,
po_vendor_sites PVS,
po_vendor_contacts PVC,
gl_code_combinations GCC,
gl_code_combinations GCC2
where pv.VENDOR_ID(+) = pvs.VENDOR_ID
and pv.VENDOR_ID = pvc.vendor_contact_id(+)
and pvs.ACCTS_PAY_CODE_COMBINATION_ID = gcc.CODE_COMBINATION_ID(+)
and pvs.PREPAY_CODE_COMBINATION_ID = gcc2.CODE_COMBINATION_ID(+)
--and pvs.org_id = 0
order by vendor_name asc;
Post a Comment
Harap gunakan bahasa yang baik dan sopan, terima kasih