Select DISTINCT
Pv.Segment1 供应商编号,
Pv.Vendor_Name 供应商全称,
PV.VENDOR_NAME_ALT 供应商别名,
PV.ATTRIBUTE1 统一社会信用码,
PV.ATTRIBUTE8 法人代表,
'未知' 成立日期,
'未知' 注册资金_万,
Hl.Address1 注册地址,
'未知' 经营范围,
'未知' 供应商状态,
'未知' 企业类型,
'未知' 员工数量,
'未知' 工厂占地面积_平方米,
'未知' 厂房性质,
'未知' 采购工程师,
(Select t.Description
From Fnd_Lookup_Values_Vl t
Where t.Lookup_Type = 'VENDOR TYPE'
And Nvl(t.Enabled_Flag, 'Y') = 'Y'
And Sysdate Between Nvl(t.Start_Date_Active, Sysdate) And
Nvl(t.End_Date_Active, Sysdate)
And t.Lookup_Code = Pv.Vendor_Type_Lookup_Code) 供应商分类,
'未知' 优选供应商,
Bank_Party.CURRENCY_NAME 交易币种,
Po_Vendor.Last_Name 联系人_全名,
Po_Vendor.Phone_Number 联系人手机号码,
Po_Vendor.Fax_Number 传真,
Po_Vendor.Email_Address 联系人邮箱,
Bank_Party.Bank_Account_Name 账户名称,
Bank_Party.Bank_Account_Num 银行账号,
Bank_Party.Start_Date 账号起始日期,
Bank_Party.End_Date 账号终止日期,
Bank_Party.ORDER_OF_PREFERENCE 优先级,
Bank_Party.BANK_NAME 银行,
Bank_Party.BANK_BRANCH_NAME 分行,
Bank_Party.BRANCH_NUMBER 银行号,
(Select t.Territory_Short_Name
From Fnd_Territories_Vl t
Where t.Territory_Code = Hl.Country) 国家,
'未知' 地址简称,
Hl.Address1 详细地址,
Asa.Vendor_Site_Code 地点名称,
(SELECT ZRV.
01-17