SCN_LN_RLS_SRCH

(SQL View)
Index Back

Sales Cntrct Line Release Srch


SELECT A.SETID ,A.CNTRCT_ID ,A.LINE_NBR ,B.SCON_STATUS ,B.SOLD_TO_CUST_ID ,A.PRODUCT_ID FROM PS_SCON_LINE A, PS_SCON_HDR B WHERE A.SETID=B.SETID AND A.CNTRCT_ID=B.CNTRCT_ID AND A.PRODUCT_ID <> ' ' AND A.UNIT_OF_MEASURE <> ' ' AND B.SOLD_TO_CUST_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 Sales Contract 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_SLD_VW

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

Prompt Table: PROD_ITEM