AR_SP_MSGLOG_VW

(SQL View)
Index Back

Pension SP Message log view


SELECT L.EMPLID ,L.BENEFIT_PLAN ,L.SP_ID ,L.MSG_NBR ,L.MESSAGE_SEQ ,H.SP_TOTAL_AMT ,H.SP_PAID_AMT ,L.INSTALL_NBR ,L.BUSINESS_UNIT ,L.CUST_ID ,L.GROUP_ID ,M.ITEM ,M.ITEM_LINE ,L.GROUP_SEQ_NUM ,L.DUE_DT ,L.ENTRY_TYPE ,L.ENTRY_REASON ,L.SP_AMT ,L.CURRENCY_CD ,L.ACCOUNTING_DT ,L.SP_SYSTEM_SOURCE ,L.SP_MSG_CD ,L.SP_MSG_RESP ,L.MESSAGE_SET_NBR ,L.MESSAGE_NBR ,L.ERR_MSG_NBR ,L.MESSAGE_PARM1 ,L.MESSAGE_PARM2 ,L.MESSAGE_PARM3 ,L.MESSAGE_PARM4 ,L.EACCT_TRAN_TYPE ,L.SP_MSG_CREATED ,L.SP_MSG_STATUS ,L.IBTRANSACTIONID ,L.IBTRANSACTIONID ,L.PROCESS_INSTANCE ,L.DTTIME_LAST_MAINT FROM %Table(AR_SP_MSG_LOG) L , %Table(AR_SP_MSG) M , %Table(AR_SP_HDR) H WHERE L.EMPLID = M.EMPLID AND L.BENEFIT_PLAN = M.BENEFIT_PLAN AND L.SP_ID = M.SP_ID AND L.MSG_NBR = M.MSG_NBR AND H.EMPLID = L.EMPLID AND H.BENEFIT_PLAN = L.BENEFIT_PLAN AND H.SP_ID = L.SP_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 BENEFIT_PLAN Character(6) VARCHAR2(6) NOT NULL Service Purchase Benefit Plan
3 SP_ID Number(11,0) DECIMAL(11) NOT NULL Service Purchase ID
4 MSG_NBR Number(5,0) INTEGER NOT NULL Message Number. This field refers to the Message Number in the Message Catalog.
5 MESSAGE_SEQ Number(9,0) DECIMAL(9) NOT NULL Message Sequence
6 SP_TOTAL_AMT Signed Number(15,2) DECIMAL(13,2) NOT NULL SP Total Amount
7 SP_PAID_AMT Signed Number(15,2) DECIMAL(13,2) NOT NULL SP Paid Amount
8 INSTALL_NBR Number(3,0) SMALLINT NOT NULL Installment Number
9 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUARED_NONVW

10 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.

Prompt Table: CUST_SRCH_VW
Set Control Field: BUSINESS_UNIT

11 GROUP_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a collection of pending items that are to be posted to accounts receivable. The identifier is manually entered or automatically generated by the system.
12 ITEM Character(30) VARCHAR2(30) NOT NULL Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number.
13 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
14 GROUP_SEQ_NUM Number(6,0) INTEGER NOT NULL Specifies the system-assigned sequence number of a pending item within a group. A group is a postable entity that may be entered online or created by the system. In either case the group sequence number is automatically generated.
15 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
16 ENTRY_TYPE Character(5) VARCHAR2(5) NOT NULL Specifies the type of transaction associated with a pending item. The entry type remains with the item after it is posted and affects many areas of Receivables processing. Some examples of entry types are Invoices Credit Memo Prepayment and Deduction.
17 ENTRY_REASON Character(5) VARCHAR2(5) NOT NULL "Specifies an entry reason that further qualifies the entry type associated with a pending item. For example an entry reason for a credit memo might be ""Pricing Error"" or ""Shipping Error""."
18 SP_AMT Signed Number(15,2) DECIMAL(13,2) NOT NULL Service Purchase Amount
19 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
20 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
21 SP_SYSTEM_SOURCE Character(2) VARCHAR2(2) NOT NULL Service Purchase Source System
AR=Receivables
PA=Pension
22 SP_MSG_CD Character(3) VARCHAR2(3) NOT NULL Service Purchase Message Code
CNL=Cancel Item
CRT=Create Open Item
GBA=Goal Balance Attained
PAY=Pay an Item
REV=Reversal of Payment
RFD=Refund Item
23 SP_MSG_RESP Character(2) VARCHAR2(2) NOT NULL Service Purchase Message Code Status
01=Request
02=Success-Pending
03=Success-Item
04=Error
05=Resend
06=Applied
24 MESSAGE_SET_NBR Number(5,0) INTEGER NOT NULL Message Set Number. This field refers to the Message Set Number in the Message Catalog.
25 MESSAGE_NBR Number(5,0) INTEGER NOT NULL Message Number. This field refers to the Message Number in the Message Catalog.
26 ERR_MSG_NBR Number(5,0) INTEGER NOT NULL Service Purchase Error Number
27 MESSAGE_PARM1 Character(30) VARCHAR2(30) NOT NULL Message Parameter 1
28 MESSAGE_PARM2 Character(30) VARCHAR2(30) NOT NULL Message Parameter 2
29 MESSAGE_PARM3 Character(30) VARCHAR2(30) NOT NULL Message Parameter 3
30 MESSAGE_PARM4 Character(30) VARCHAR2(30) NOT NULL Message Parameter 4
31 EACCT_TRAN_TYPE Character(1) VARCHAR2(1) NOT NULL Service Purchase Tax Type
O=Post-Tax
R=Pre-Tax
32 SP_MSG_CREATED Character(1) VARCHAR2(1) NOT NULL Message Created

Y/N Table Edit

Default Value: Y

33 SP_MSG_STATUS Character(3) VARCHAR2(3) NOT NULL SP Message Status
ERR=Received with Error
NEW=New Message
RCV=Received
SND=Sent
34 IBTRANSACTIONID Character(36) VARCHAR2(36) NOT NULL Transaction ID
35 IBPUBTRANSACTID Character(36) VARCHAR2(36) NOT NULL Orig Transaction ID
36 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
37 DTTIME_LAST_MAINT DateTime(26) TIMESTAMP Date Time Last Maintained