CS_CNT_CAT_VW(SQL View) |
Index Back |
---|---|
Contract CategoriesContract Category Lines Used in Bind Mappings within SCMT .. so no need for related lang views |
SELECT A.SETID , A.CNTRCT_ID , A.VERSION_NBR , A.CAT_LINE_NBR , A.LINE_STATUS , A.CATEGORY_SETID , A.CATEGORY_ID , C.CATEGORY_CD , C.DESCR60 , A.AMT_LINE_MAX , A.ADJ_BEFORE , A.PRICE_SHIPTO_ADJ , A.CURRENCY_CD , %subrec(LAST_UPDATE_SBR, A) FROM PS_CNTRCT_CATEGORY A , PS_ITM_CAT_SET_VW C , PS_INSTALLATION_PO I WHERE A.LINE_STATUS NOT IN ('C','I') AND C.SETID = A.CATEGORY_SETID AND C.CATEGORY_TYPE = I.CATEGORY_TYPE AND C.CATEGORY_ID = A.CATEGORY_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
3 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
4 | CAT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Contract Category Line Number |
5 | LINE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Line Status
A=Active C=Cancelled I=Inactive O=Open P=Pending |
6 | CATEGORY_SETID | Character(5) | VARCHAR2(5) NOT NULL | Category SetID |
7 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
8 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |
9 | CATEGORY_DESCR | Character(60) | VARCHAR2(60) NOT NULL | Category Description |
10 | AMT_LINE_MAX | Number(27,3) | DECIMAL(26,3) NOT NULL | Max Line Amt Per Contract |
11 | ADJ_BEFORE | Character(1) | VARCHAR2(1) NOT NULL |
Adjust Supplier Pricing First
N=After Contract Adjustments Y=Before Contract Adjustments |
12 | PRICE_SHIPTO_ADJ | Character(1) | VARCHAR2(1) NOT NULL |
Use Supplier Price Shipto Adj
N=No Y=Yes |
13 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
14 | OPRID_MODIFIED_BY | Character(30) | VARCHAR2(30) NOT NULL | Last User to Modify Entered By 07/25/2011:Ensured that OPRID_MODIFIED_BY is set with format type of MixedCase. |
15 | LAST_DTTM_UPDATE | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |