REQ_HDR_PR

(SQL View)
Index Back

Requisition Header

Requisition Header

SELECT A.BUSINESS_UNIT ,A.REQ_ID ,A.REQ_STATUS ,A.HOLD_STATUS ,A.REQ_DT ,A.ORIGIN ,A.REQUESTOR_ID ,A.OPRID_ENTERED_BY ,A.OPRID_MODIFIED_BY ,A.OPRID_APPROVED_BY ,A.ENTERED_DT ,A.APPROVAL_DT ,A.PO_POST_STATUS ,A.APPL_JRNL_ID_ENC ,A.POST_DOC ,A.DST_CNTRL_ID ,A.ACCOUNTING_DT ,A.PROCESS_INSTANCE ,A.IN_PROCESS_FLG ,A.ACTIVITY_DATE ,A.NEXT_MOD_SEQ_NBR ,A.CURRENCY_CD ,A.RT_TYPE ,A.RATE_DIV ,A.RATE_MULT ,A.CURRENCY_CD_BASE ,A.BUDGET_HDR_STS_PR ,A.KK_AMOUNT_TYPE ,A.KK_TRAN_OVER_FLAG ,A.KK_TRAN_OVER_OPRID ,A.KK_TRAN_OVER_DTTM ,A.LAST_DTTM_UPDATE , %subrec(PUR_USR_HDR_SBR ,A) ,A.BUDGET_CHECK ,A.CHNG_ORD_BATCH ,A.CHANGE_STATUS ,A.CHNG_ORD_SEQ ,A.INCREMENT_FLG ,A.BUDGET_HDR_STATUS FROM PS_REQ_HDR A

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_PM_NONVW

2 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID

Default Value: NEXT

3 REQ_STATUS Character(4) VARCHAR2(4) NOT NULL Req status
A=Approved
C=Complete
D=Denied
I=Initial
LA=Line Approved
O=Open
P=Pending Approval
V=Preview
X=Canceled

Default Value: REQUESTOR_TBL.REQ_STATUS

4 HOLD_STATUS Character(1) VARCHAR2(1) NOT NULL Hold From Further Processing

Y/N Table Edit

Default Value: N

5 REQ_DT Date(10) DATE NOT NULL Requisition Date

Default Value: %date

6 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin

Prompt Table: ORIGIN_PO

7 REQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id

Default Value: OPR_DEF_TBL_PM.REQUESTOR_ID

Prompt Table: %EDITTABLE16

8 OPRID_ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered By 07/25/2011 MRAD 12383033 :Ensured that OPRID_ENTERED_BY is set with format type of MixedCase. 03/22/2013 GL 16482301: Switched OPRID_ENTERED_BY back to MixedCase again. Please don't change it to UpperCase!!! FYI - The alternatives to use a User ID as uppercase: 1) Create your own User ID, add comments in the Field Properties, and fill out the Owner ID 2) Use %Upper meta-SQL in SQL statements 3) Use Upper function in peoplecodes
9 OPRID_MODIFIED_BY Character(30) VARCHAR2(30) NOT NULL Last User to Modify Entered By 07/25/2011:Ensured that OPRID_MODIFIED_BY is set with format type of MixedCase.
10 OPRID_APPROVED_BY Character(30) VARCHAR2(30) NOT NULL Approved By
11 ENTERED_DT Date(10) DATE Entered on

Default Value: %date

12 APPROVAL_DT Date(10) DATE Date of Approval
13 PO_POST_STATUS Character(1) VARCHAR2(1) NOT NULL Post Status
D=Distributed
N=None

Default Value: N

14 APPL_JRNL_ID_ENC Character(10) VARCHAR2(10) NOT NULL Encumbrance

Default Value: BUS_UNIT_INTFC.APPL_JRNL_ID_PREM

15 POST_DOC Character(1) VARCHAR2(1) NOT NULL Post Document

Y/N Table Edit

Default Value: Y

16 DST_CNTRL_ID Character(10) VARCHAR2(10) NOT NULL Accounting Template

Default Value: BUS_UNIT_OPT_PM.DST_CNTRL_ID

17 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
18 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
19 IN_PROCESS_FLG Character(1) VARCHAR2(1) NOT NULL In process flag

Y/N Table Edit

Default Value: N

20 ACTIVITY_DATE Date(10) DATE Last Activity

Default Value: %date

21 NEXT_MOD_SEQ_NBR Number(3,0) SMALLINT NOT NULL Next Modification Number
22 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Prompt Table: CURRENCY_CD_TBL

23 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.

Default Value: BUS_UNIT_TBL_PM.RT_TYPE

24 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor

Default Value: 1

25 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
26 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency

Default Value: BUS_UNIT_TBL_PM.CURRENCY_CD

27 BUDGET_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL Budget Checking Header Status
E=Error in Budget Check
I=Document In Processing
N=Not Budget Checked
P=Provisionally Valid
V=Valid

Default Value: V

28 KK_AMOUNT_TYPE Character(1) VARCHAR2(1) NOT NULL Commitment Control Amount Type
0=Budget
1=Actuals and Recognized
2=Encumbrance
3=Pre-Encumbrance
4=Collected Revenue
5=Planned
7=Actuals, Recognize and Collect
9=Dynamic
29 KK_TRAN_OVER_FLAG Character(1) VARCHAR2(1) NOT NULL Commitment Control source transaction override flag
N=No
Y=Yes
30 KK_TRAN_OVER_OPRID Character(30) VARCHAR2(30) NOT NULL Commitment Control source transaction override operator
31 KK_TRAN_OVER_DTTM DateTime(26) TIMESTAMP Commitment Control source transaction override datetime
32 LAST_DTTM_UPDATE DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
33 USER_HDR_CHAR1 Character(1) VARCHAR2(1) NOT NULL Custom Character 1
34 CUSTOM_C100_A1 Character(100) VARCHAR2(100) NOT NULL Custom Field 1
35 CUSTOM_C100_A2 Character(100) VARCHAR2(100) NOT NULL Custom Field 2
36 CUSTOM_C100_A3 Character(100) VARCHAR2(100) NOT NULL Custom Field 3
37 CUSTOM_C100_A4 Character(100) VARCHAR2(100) NOT NULL Custom Field 4
38 CUSTOM_DATE_A Date(10) DATE Custom Date
39 CUSTOM_C1_A Character(1) VARCHAR2(1) NOT NULL Custom Character 2
40 BUDGET_CHECK Character(1) VARCHAR2(1) NOT NULL Budget Checked
N=No
Y=Yes

Y/N Table Edit

Default Value: N

41 CHNG_ORD_BATCH Number(3,0) SMALLINT NOT NULL Change Order Number
42 CHANGE_STATUS Character(1) VARCHAR2(1) NOT NULL Change Order Status
C=Changed
U=Unchanged

Default Value: U

43 CHNG_ORD_SEQ Number(3,0) SMALLINT NOT NULL Change Order Sequence Number
44 INCREMENT_FLG Character(1) VARCHAR2(1) NOT NULL Perform Incremental Load

Default Value: N

45 BUDGET_STATUS Character(1) VARCHAR2(1) NOT NULL Budget Status
0=Open
1=Closed
2=Hold
3=Default