RCPT_ACC_GL_VW

(SQL View)
Index Back

Distinct GL BU view

Add this view to be used on the receipt accrual run control page that selects distinct GL BUs from RECV_LINE_DISTRIB table

SELECT DISTINCT A.BUSINESS_UNIT , A.BUSINESS_UNIT_GL FROM PS_RECV_LN_DISTRIB A , PS_BUS_UNIT_TBL_PM B WHERE (BUSINESS_UNIT_IN = ' ' OR B.ACCRUE_FEDERAL = 'Y') AND RECV_DS_STATUS IN ('0', 'M', 'R') AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND (B.RECEIPT_ACCR_FLAG = 'Y' OR B.NONPO_ACCR_FLAG = 'Y')

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