PV_CMSHP_CA_VW(SQL View) |
Index Back |
---|---|
ship to commentsship to comments |
SELECT B.BUSINESS_UNIT , B.REQ_ID , B.LINE_NBR , B.SHIPTO_ID , B.COMMENT_ID , B.RANDOM_CMMT_NBR , A.SCM_ATTACH_ID , A.ATT_VERSION , A.ATTACHUSERFILE , A.ATTACHSYSFILENAME , C.COMMENTS_2000 FROM PS_COMMENTS_TBL C ,PS_REQ_COMMENTS B FULL OUTER JOIN PS_PV_REQ_ATTCH A ON A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.REQ_ID = B.REQ_ID AND A.RANDOM_CMMT_NBR = B.RANDOM_CMMT_NBR WHERE C.COMMENT_ID = B.COMMENT_ID AND C.RANDOM_CMMT_NBR = B.RANDOM_CMMT_NBR AND B.COMMENT_TYPE = 'SHP' AND B.APPR_JUSTIFY_FLG <> 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
5 | COMMENT_ID | DateTime(26) | TIMESTAMP | DtTm Entered |
6 | RANDOM_CMMT_NBR | Number(4,0) | SMALLINT NOT NULL | Random Comments Number |
7 | SCM_ATTACH_ID | Character(64) | VARCHAR2(64) NOT NULL | The unique ID of each file whose attachment was handled by the attachment utility. Unique across all attachments, all applications. |
8 | ATT_VERSION | Number(3,0) | SMALLINT NOT NULL | The version of the attached file. Currently always 1, this field will find more use once the attachment utitlity starts supporting versioning of files. |
9 | ATTACHUSERFILE | Character(64) | VARCHAR2(64) NOT NULL | Attached File |
10 | ATTACHSYSFILENAME | Character(128) | VARCHAR2(128) NOT NULL | Unique Sys Filename |
11 | COMMENTS_2000 | Long Character | CLOB | Comment Text |