AUC_COLLAB_CMT2(SQL View) |
Index Back |
---|---|
Line Attachment and CommentsCollaboration change view for sourcing event line attachment and comment changes. |
SELECT A.BUSINESS_UNIT , A.AUC_ID , A.AUC_ROUND , A.AUC_VERSION , A.RECNAME , A.FIELDNAME , A.LINE_NBR , A.AUC_ATTACH_NUM , A.OPRID , A.COMMENT_ID , A.RANDOM_CMMT_NBR , A.CHNG_DTTM , A.AUC_COLLAB_SEQNUM , A.AUC_COLLAB_OPRID , A.AUC_COLLAB_NBR , A.AUC_CHNG_TYPE , A.AUC_FIELDLABEL , A.AUC_FIELDTYPE , A.AUC_PREV_VALUE , A.AUC_NEW_VALUE , A.AUC_NEW_COMMENTS , A.AUC_COLLAB_CHNG , A.AUC_COLLAB_GRP_NBR FROM PS_AUC_COLLAB_LOG A , PS_AUC_LINE B , PS_AUC_HDR C WHERE A.RECNAME IN ('AUC_ATTCH_LN_VW','AUC_COMMENTS_VW') AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.AUC_ID = C.AUC_ID AND A.AUC_ROUND = C.AUC_ROUND AND A.AUC_VERSION = C.AUC_VERSION AND (C.AUC_COLLAB_STATUS = 'A' OR (A.AUC_COLLAB_SEQNUM < C.AUC_COLLAB_SEQNUM AND C.AUC_COLLAB_STATUS = 'C')) AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.AUC_ID = A.AUC_ID AND B.AUC_ROUND = A.AUC_ROUND AND B.AUC_VERSION = A.AUC_VERSION AND B.LINE_NBR = A.LINE_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | AUC_ID | Character(10) | VARCHAR2(10) NOT NULL | Event ID |
3 | AUC_ROUND | Number(5,0) | INTEGER NOT NULL | Event Round |
4 | AUC_VERSION | Number(5,0) | INTEGER NOT NULL | Event Version |
5 | RECNAME | Character(15) | VARCHAR2(15) NOT NULL | Record (Table) Name (see PSRECDEFN). |
6 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
7 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
8 | AUC_ATTACH_NUM | Number(5,0) | INTEGER NOT NULL | Attachment Number |
9 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
10 | COMMENT_ID | DateTime(26) | TIMESTAMP | DtTm Entered |
11 | RANDOM_CMMT_NBR | Number(4,0) | SMALLINT NOT NULL | Random Comments Number |
12 | CHNG_DTTM | DateTime(26) | TIMESTAMP | Change Request Date/Time |
13 | AUC_COLLAB_SEQNUM | Number(3,0) | SMALLINT NOT NULL | Collaboration Sequence number |
14 | AUC_COLLAB_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Collaborator OPRID |
15 | AUC_COLLAB_NBR | Number(4,0) | SMALLINT NOT NULL | Random Collab Log Nbr |
16 | AUC_CHNG_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Type of Change
A=Add B=Bid Factor Defaults D=Delete N=None U=Update |
17 | AUC_FIELDLABEL | Character(50) | VARCHAR2(50) NOT NULL | Field Label |
18 | AUC_FIELDTYPE | Character(1) | VARCHAR2(1) NOT NULL |
Field Type
A=AlphaNumeric Character D=Date L=Long Character N=Numeric T=DateTime |
19 | AUC_PREV_VALUE | Character(254) | VARCHAR2(254) NOT NULL | Previous Value |
20 | AUC_NEW_VALUE | Character(254) | VARCHAR2(254) NOT NULL | New Value |
21 | AUC_NEW_COMMENTS | Long Character(32700) | CLOB | New Comments |
22 | AUC_COLLAB_CHNG | Character(1) | VARCHAR2(1) NOT NULL |
Collaboration Update Status
A=Add Rejected D=Delete Rejected N=None R=Update Rejected U=Update Accepted |
23 | AUC_COLLAB_GRP_NBR | Number(3,0) | SMALLINT NOT NULL | Collaboration Group Number |