PO_SSPOA_HC_VW(SQL View) |
Index Back |
---|---|
PO Comments |
SELECT A.BUSINESS_UNIT , A.PO_ID , A.LINE_NBR , %subrec(COMMENT_SBR1, A) , A.COMMENT_TYPE , A.SHIPTO_ID , B.COMMENTS_2000 FROM PS_PO_COMMENTS A , PS_COMMENTS_TBL B WHERE A.COMMENT_ID = B.COMMENT_ID AND A.OPRID=B.OPRID AND A.RANDOM_CMMT_NBR=B.RANDOM_CMMT_NBR AND A.PUBLIC_FLG = 'Y' AND A.STATUS = 'A' AND COMMENT_TYPE = 'HDR' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
5 | COMMENT_ID | DateTime(26) | TIMESTAMP | DtTm Entered |
6 | RANDOM_CMMT_NBR | Number(4,0) | SMALLINT NOT NULL | Random Comments Number |
7 | PUBLIC_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Send to Vendor
Y/N Table Edit Default Value: N |
8 | SOURCE_FROM | Character(3) | VARCHAR2(3) NOT NULL |
Source From
CNT=Supplier Contracts DOC=Document INV=Inventory ORD=Order Management PO=Purchase Order RCV=Receiving REQ=Requisition RFQ=Request For Quote RTV=Return To Vendor (Supplier) SSE=Strategic Sourcing Event WO=Work Order |
9 | SOURCE_BU_SETID | Character(5) | VARCHAR2(5) NOT NULL | Source BU/SETID |
10 | SOURCE_ID | Character(25) | VARCHAR2(25) NOT NULL | Source Key ID |
11 | SOURCE_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Source Line Nbr |
12 | STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Status Indicator
A=Active I=Inactive Default Value: A |
13 | ALLOW_MODIFY | Character(1) | VARCHAR2(1) NOT NULL |
Allow Modify Comments
Y/N Table Edit Default Value: Y |
14 | FILENAME | Character(80) | VARCHAR2(80) NOT NULL | File Name |
15 | FILE_EXTENSION | Character(4) | VARCHAR2(4) NOT NULL | File Extension |
16 | RECV_VIEW_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Shown at Receipt
Y/N Table Edit Default Value: N |
17 | VCHR_VIEW_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Shown at Voucher
Y/N Table Edit Default Value: N |
18 | 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. |
19 | ATTACH_DESCR | Character(100) | VARCHAR2(100) NOT NULL | A description of the file being attached. This field is provided as a convenience to app developers and customers. The attachment utility does not interpret its value in any way, simply storing it as set by the application. |
20 | 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. |
21 | PUBLIC_FLG_ATTACH | Character(1) | VARCHAR2(1) NOT NULL | Email to Supplier |
22 | APPR_JUSTIFY_FLG | Character(1) | VARCHAR2(1) NOT NULL | Approval Justification |
23 | COMMENT_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Comment Type
BF=Bid Factor CBF=Analysis Collab Bid Factor HDR=Header LIN=Line SHP=Ship To Location Default Value: HDR |
24 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
25 | COMMENTS_2000 | Long Character | CLOB | Comment Text |