SCN_LN_SRCH

(SQL View)
Index Back

Sales Cntrct Line Srch


SELECT A.SETID ,A.CNTRCT_ID ,A.LINE_NBR ,B.SCON_STATUS ,B.SOLD_TO_CUST_ID ,B.CUSTOMER_GROUP ,A.PRODUCT_ID ,A.PRODUCT_GROUP FROM PS_SCON_LINE A, PS_SCON_HDR B WHERE A.SETID=B.SETID AND A.CNTRCT_ID=B.CNTRCT_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

2 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID

Prompt Table: SCON_HDR

3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]

Default Value: 1

4 SCON_STATUS Character(1) VARCHAR2(1) NOT NULL Buying Agreement Status
A=Active
C=Closed
H=Hold
X=Cancelled
5 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer

Prompt Table: CUST_SLD1_VW

6 CUSTOMER_GROUP Character(10) VARCHAR2(10) NOT NULL Customer Group

Prompt Table: CUSTGP_SCON_VW

7 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

Prompt Table: PROD_ITEM

8 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL Product Group

Prompt Table: PRODGP_CTLSC_VW