SSF_BI_MSG_VW(SQL View) |
Index Back |
---|---|
Bill MessagesShows the messages for a specific Invoice record - joins PS_BI_BILL_HEADER A , PS_BI_BILL_MESSAGE B , PS_BI_BILL_MSG_TBL C |
SELECT A.BUSINESS_UNIT , A.EMPLID , A.INVOICE_ID , B.MESSAGE_NBR , C.DESCR254A FROM PS_BI_BILL_HEADER A , PS_BI_BILL_MESSAGE B , PS_BI_BILL_MSG_TBL C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INVOICE_ID = B.INVOICE_ID AND B.BUSINESS_UNIT = C.SETID AND B.MESSAGE_NBR = C.MESSAGE_NBR AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_BI_BILL_MSG_TBL C1 WHERE C1.SETID = C.SETID AND C1.MESSAGE_NBR = C.MESSAGE_NBR) AND C.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT Prompt Table: SP_BU_SF_NONVW |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSONAL_DATA |
3 | INVOICE_ID | Character(22) | VARCHAR2(22) NOT NULL |
Invoice Number
Prompt Table: BI_BILL_HEADER |
4 | MESSAGE_NBR | Number(5,0) | INTEGER NOT NULL | Message Number. This field refers to the Message Number in the Message Catalog. |
5 | DESCR254A | Character(254) | VARCHAR2(254) NOT NULL | Long Description |