1confidential – internal distribution peoplesoft finance 2013.2 app upgrade (psfinau9.2) ap...
TRANSCRIPT
![Page 1: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/1.jpg)
1Confidential – Internal Distribution
PeopleSoft Finance 2013.2 App Upgrade(PSFINAU9.2)
AP Archiving - Fit/Gap Session11/5/2013
![Page 2: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/2.jpg)
2Confidential – Internal Distribution
AgendaOverview of Archiving
PeopleSoft Data Archive Manager - Demo
Gather Requirements
Addition Considerations
![Page 3: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/3.jpg)
3Confidential – Internal Distribution
Overview of Archiving
Transactions are moved to history tables in the production db. History tables mirror transactions tables
• VOUCHER = AP_ARC_VOUCH_H• DISTRIB_LINE = AP_ARC_DIST_L_H
Data Selection - move data into the history tables. • Query the selected data for information and copy data from the online
tables into the history tables. Data restore - there is a process to the data back from the history tables. This
rollback process is the optional second step. When you no longer need to reference the data from the history tables, you
can delete them completely from the system.• DAM will delete from history table• Need to build another process if you want to keep archive data in flat file
or another db.
![Page 4: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/4.jpg)
4Confidential – Internal Distribution
PS_VOUCHER AP_ARC_VOUCH_H
Data Selection
PS_VOUCHER AP_ARC_VOUCH_H
Deletion
![Page 5: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/5.jpg)
5Confidential – Internal Distribution
Within PS there are documents – Voucher, Payment, Journal Entry, Asset etc
A single document is comprised of many tables – for example Voucher data is stored in approximately 22 tables.
VOUCHER
VCHR_ACCTG_LINE
DISTRIB_LINE
VOUCHER_LINE
PYMNT_VCHR_XREF
VCHR_SALETX_CHG
Archive Object
![Page 6: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/6.jpg)
6Confidential – Internal Distribution
![Page 7: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/7.jpg)
7Confidential – Internal Distribution
• Define what needs to be archived.
• One or more records that you want to archive
• Defines corresponding history record
• Records defined in an archive object must be related by keys.
• History record is accessible by PS Query
Archive Object
![Page 8: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/8.jpg)
8Confidential – Internal Distribution
Archive Template
Define how data could be archived. Definitions for :
archive objects archive queries,application engine
![Page 9: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/9.jpg)
9Confidential – Internal Distribution
SELECT A.BUSINESS_UNIT , A.VOUCHER_ID FROM PS_VOUCHER A , PS_INSTALLATION K WHERE ((A.POST_STATUS_AP = 'P' AND NOT EXISTS ( SELECT 'X' FROM PS_PYMNT_VCHR_XREF F , PS_PYMNT_VCHR_WTHD G WHERE F.BUSINESS_UNIT = A.BUSINESS_UNIT AND ((F.VOUCHER_ID = A.VOUCHER_ID) OR (F.VOUCHER_ID = A.VOUCHER_ID_RELATED)) AND F.BUSINESS_UNIT = G.BUSINESS_UNIT AND F.VOUCHER_ID = G.VOUCHER_ID AND F.PYMNT_CNT = G.PYMNT_CNT AND ((F.POST_STATUS_WTHD = 'U' AND F.PYMNT_SELCT_STATUS <> 'C') OR (F.POST_STATUS_WTHD <> 'X' AND F.PYMNT_SELCT_STATUS = 'X'))) AND NOT EXISTS ( SELECT 'X' FROM PS_PYMNT_VCHR_XREF F2 WHERE F2.BUSINESS_UNIT = A.BUSINESS_UNIT AND ((F2.VOUCHER_ID = A.VOUCHER_ID) OR (F2.VOUCHER_ID = A.VOUCHER_ID_RELATED)) AND F2.PYMNT_SELCT_STATUS NOT IN ('C','P','X','S'))) OR (A.ENTRY_STATUS = 'X')) AND NOT EXISTS ( SELECT 'X' FROM PS_PYMNT_VCHR_XREF F3 , PS_PAYMENT_TBL E WHERE F3.BUSINESS_UNIT = A.BUSINESS_UNIT AND ((F3.VOUCHER_ID = A.VOUCHER_ID) OR (F3.VOUCHER_ID = A.VOUCHER_ID_RELATED)) AND F3.BANK_SETID = E.BANK_SETID AND F3.BANK_CD = E.BANK_CD AND F3.BANK_ACCT_KEY = E.BANK_ACCT_KEY AND F3.PYMNT_ID = E.PYMNT_ID) AND ((K.PO = 'N') OR (K.PO = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_VOUCHER_LINE I , PS_PO_HDR J WHERE I.BUSINESS_UNIT = A.BUSINESS_UNIT AND I.VOUCHER_ID = A.VOUCHER_ID AND I.PO_ID <> ' ' AND A.ENTRY_STATUS <> 'X' AND I.BUSINESS_UNIT_PO = J.BUSINESS_UNIT AND I.PO_ID = J.PO_ID AND J.PO_STATUS NOT IN ('C','PX','X'))))
SELECT A.BUSINESS_UNIT, A.VOUCHER_ID, TO_CHAR(A.INVOICE_DT,'YYYY-MM-DD'), A.IN_PROCESS_FLG, A.MATCH_STATUS_VCHR, A.ENTRY_STATUS FROM PS_VOUCHER A, PS_AP_ARCH_VCH_VW M WHERE ( A.BUSINESS_UNIT = M.BUSINESS_UNIT AND A.VOUCHER_ID = M.VOUCHER_ID AND A.BUSINESS_UNIT = :1 AND A.INVOICE_DT < TO_DATE(:2,'YYYY-MM-DD') AND A.IN_PROCESS_FLG = 'N' AND ( A.ENTRY_STATUS = 'X' OR ( A.MATCH_STATUS_VCHR IN ('M','O','N','C') AND ( A.VOUCHER_ID_RELATED = ' ' OR EXISTS (SELECT 'X' FROM PS_VOUCHER B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.VOUCHER_ID = A.VOUCHER_ID_RELATED AND B.IN_PROCESS_FLG = 'N' AND B.INVOICE_DT <= TO_DATE(:2,'YYYY-MM-DD') AND (( B.ENTRY_STATUS = 'D') OR ( B.MATCH_STATUS_VCHR IN ('C','M','N','O') AND B.POST_STATUS_AP = 'P')))) AND NOT EXISTS (SELECT 'X' FROM PS_VOUCHER L WHERE L.BUSINESS_UNIT = A.BUSINESS_UNIT AND L.VOUCHER_ID = A.VOUCHER_ID_RELATED AND ( L.IN_PROCESS_FLG = 'Y' OR L.INVOICE_DT > TO_DATE(:2,'YYYY-MM-DD') OR L.MATCH_STATUS_VCHR NOT IN ('C','M','N','O') OR L.POST_STATUS_AP <> 'P')) AND NOT EXISTS (SELECT 'X' FROM PS_VCHR_ACCTG_LINE C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND (( A.VOUCHER_ID = C.VOUCHER_ID) OR ( A.VOUCHER_ID_RELATED = C.VOUCHER_ID)) AND (( C.JOURNAL_DATE > TO_DATE(:2,'YYYY-MM-DD')) OR ( C.GL_DISTRIB_STATUS NOT IN ('D','I')) OR ( C.VAT_ENTITY <> ''' ''' AND C.VAT_DISTRIB_STATUS = '''U''') OR ( C.ASSET_FLG = '''Y''' AND C.AM_DISTRIB_STATUS IN ('M','N')) OR ( C.PROJECT_ID <> ''' ''' AND C.PC_DISTRIB_STATUS NOT IN ('D','I')))))) )
View-AP_ARCH_VCH_VW:QRY-AP_ARCHIVE_VOUCHER_BU
![Page 10: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/10.jpg)
10Confidential – Internal Distribution
Archive Data to History
![Page 11: 1Confidential – Internal Distribution PeopleSoft Finance 2013.2 App Upgrade (PSFINAU9.2) AP Archiving - Fit/Gap Session 11/5/2013](https://reader036.vdocuments.net/reader036/viewer/2022082611/56649e435503460f94b3724c/html5/thumbnails/11.jpg)
11Confidential – Internal Distribution
Requirement: Example:
What documents can be archived from a business user standpoint?
Vouchers, Payments, Vendors etc
What “status” do the documents need to be in for archive selection ?
Posted, Unposted, Matched, Apporved etc
What is the time frame of the data that can be archived for the initial load?
All vouchers from BU HQR from beginning of time to 8/31/12. This would leave 2 years of vouchers on line in the transaction tables at 92 go live.
What are the accessibility reporting requirements on archived data?
Does the data need to be accessed with query or formal report ?
What is the frequency and time frame for future archives?
For example - every quarter archive off the oldest 3 months of voucher data. Or Every 6 months archive off the oldest 6 months of vouchers.?
How long does history need to be retained in history tables ?
No delivered utility to manage archive history tables.
Understand current state – Histogram of voucher counts by BU by FY