CA_DT_UNPD_LVW(SQL View) |
Index Back |
---|---|
Ca DTL Hold Unpaid Lang viewContract Lines - Hold Unpaid Cost Flags language view |
SELECT HDR.BUSINESS_UNIT , HDR.CONTRACT_NUM , DTL.CONTRACT_LINE_NUM , DTL.LANGUAGE_CD , DTL.DESCR , CUST.NAME1 , BI.NAME1 FROM PS_CA_DETAIL_LANG DTL , PS_CA_CONTR_HDR HDR , PS_CUSTOMER_LANG CUST , PS_SET_CNTRL_REC REC , PS_CA_BILLCUST_LVW BI WHERE HDR.SOLD_TO_CUST_ID = CUST.CUST_ID AND HDR.BUSINESS_UNIT = REC.SETCNTRLVALUE AND REC.RECNAME = 'CUSTOMER' AND REC.SETID = CUST.SETID AND BI.CONTRACT_NUM = HDR.CONTRACT_NUM AND CUST.LANGUAGE_CD = BI.LANGUAGE_CD AND HDR.CONTRACT_NUM = DTL.CONTRACT_NUM AND DTL.LANGUAGE_CD = CUST.LANGUAGE_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
3 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | NAME1_CUST | Character(40) | VARCHAR2(40) NOT NULL | Customer Name1 |