Professional Documents
Culture Documents
Always Be Learning
This file was generated by an automated blog to book conversion
system. Its use is governed by the licensing terms of the original
content hosted at
https://alwaysbelearning.wordpress.com/.
Powered by
Pothi.com
http://pothi.com
Contents
SQL – AP_BATCHES to Attachments 1
R12-SQL:AP_Inv_Prepay-XLA-GL 3
1
SQL – Form Personalization – All Info
2
R12-SQL:AP_Inv_Prepay-XLA-GL
3
PA Expenditure_Item_ID –> PA Draft Invoice to –> AR
Invoice Line
4
PA Draft Invoice link to AR Invoice
5
R12 – GL_Import_References – what do the reference_#
link to?
6
Objects applied by patch
Give the patch number and get all the objects updated/applied by
the patch. Use this to know what objects were updated and need to
be tested. SELECT A.BUG_NUMBER “Patch Number”, B.
PATCh_RUN_BUG_ID “Run Id”, D.APP_SHORT_NAME appl_top,
D.SUBDIR, D.FILENAME, max(F.VERSION) latest,
E.ACTION_CODE action from APPS.AD_BUGS A,
APPS.AD_PATCH_RUN_BUGS B,
APPS.AD_PATCH_RUN_BUG_ACTIONS C, APPS.AD_FILES D,
APPS.AD_PATCH_COMMON_ACTIONS E,
APPS.AD_FILE_VERSIONS F […]
7
Patch Number – Bug applied
Give the patch number and get the bugs that were applied by the
patch: ** If the DBA did a “merge patch” put in the merge patch
name instead of the patch number *** select Distinct
ap.patch_name, ap.patch_type, b.bug_number “Patch/Bug Fix
Applied”, b.creation_date “Patch/Bug Fix Dt”, prb.applied_flag,
prb.reason_not_applied, prb.success_flag, prb.failure_comments,
prb.application_short_name, apr.start_date, apr.end_date,
pd.orig_patch_name, pd.driver_file_name, […]
8
Concurrent program – Request Group – Responsibility
9
New Links between PA and AP and/or PO after R12
upgrade
10
R12 – SQL: Profile Information
11
R12 – SQL: Application Version Info
12
R12 – SQL: Database Version info
13
R12 – SQL: Patch Level Info
/******** This SQL will list the module application patch level.
*********/ SELECT fa.application_name “APPLICATION” ,
SUBSTR(APPLICATION_SHORT_NAME,1,10) “SHORT_NAME” ,
RPAD (DECODE(fpi.STATUS , ‘I’, ‘Installed’ , ‘S’, ‘Shared Install’ ,
‘N’, ‘Not Installed’),14,’ ‘) “INSTALL STATUS” ,
SUBSTR(PATCH_LEVEL,1,12) “PATCH LEVEL” , fa.description
“APPLICATION DESCRIPTION” FROM
APPS.FND_PRODUCT_INSTALLATIONS fpi ,
APPS.FND_APPLICATION_vl fa WHERE fa.APPLICATION_ID =
fpi.APPLICATION_ID –AND UPPER(fa.application_name) LIKE […]
14
R12 – SQL: Object updated by Patch
15
R12 – SQL: Merge Patch and one-off Patch information
16
R12 – SQL: FV_TreasConf – XLA – GL
17
R12 – SQL: AP_Pay – XLA – GL
18
R12 – SQL: AP_Inv – XLA – GL
19
R12 – SQL: AR_Dist-XLA-GL
20
R12 – SQL: PO_RCV-XLA-GL
21
R12 – SQL: PO-XLA-GL
22
XLA Distribution Links – Link back to Transaction Tables
23