AR_RCT_CUST_H_V

Details

  • Schema: FUSION

  • Object owner: AR

  • Object type: VIEW

Columns

Name

RCT_CUST_ACCOUNT_NUMBER

RCT_CUST_TYPE

RCT_CUST_ACCOUNT_ID

RCT_CUST_NPA_NUMBER

RCT_CUST_ALT_NAME

RCT_CUST_CAT_CODE

RCT_CUST_CITY

RCT_CUST_COUNTRY

RCT_CUST_COUNTY

RCT_CUST_FISCAL_CODE

RCT_CUST_GLOBAL_ATTR1

RCT_CUST_GLOBAL_ATTR10

RCT_CUST_GLOBAL_ATTR12

RCT_CUST_GLOBAL_ATTR9

RCT_CUST_GLOBAL_ATTR_CAT

RCT_CUST_GROUP_TYPE

RCT_CUST_GSA_FLAG

RCT_CUST_PARTY_ID

RCT_CUST_PARTY_NAME

RCT_CUST_PARTY_NUMBER

RCT_CUST_PARTY_TYPE

RCT_CUST_POSTAL_CODE

RCT_CUST_PROVINCE

RCT_CUST_STATE

RCT_CUST_TAX_REFERENCE

EVENT_ID

LEDGER_ID

Query

SQL_Statement

SELECT /*+INDEX(l ar_xla_lines_extract_n1)*/ ca3.account_number rct_cust_account_number ,

ca3.customer_type rct_cust_type ,ca3.cust_account_id rct_cust_account_id ,ca3.npa_number rct_cust_npa_number ,

ca3.account_name rct_cust_alt_name ,p3.category_code rct_cust_cat_code ,p3.city rct_cust_city ,p3.country rct_cust_country ,

p3.county rct_cust_county ,p3.jgzz_fiscal_code rct_cust_fiscal_code ,null rct_cust_global_attr1 ,

null rct_cust_global_attr10 ,null rct_cust_global_attr12 ,null rct_cust_global_attr9 ,

null rct_cust_global_attr_cat ,p3.group_type rct_cust_group_type ,p3.gsa_indicator_flag rct_cust_gsa_flag ,

ca3.party_id rct_cust_party_id ,p3.party_name rct_cust_party_name ,p3.party_number rct_cust_party_number ,p3.party_type rct_cust_party_type ,

p3.postal_code rct_cust_postal_code ,p3.province rct_cust_province ,p3.state rct_cust_state ,null rct_cust_tax_reference ,

l.event_id event_id ,l.ledger_id ledger_id

FROM hz_cust_accounts ca3 ,hz_parties p3 ,ar_xla_lines_extract l

WHERE ca3.cust_account_id = l.paying_customer_id AND l.level_flag = 'H' AND ca3.party_id = p3.party_id