Beruflich Dokumente
Kultur Dokumente
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Conventions . . . . . . . . .. . .. ... ....................... iii
HP technical support . . .. . .. ... ....................... iv
HP-authorized reseller . .. . .. ... ....................... iv
Helpful web sites . . . . . .. . .. ... ....................... iv
3 Technical analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Recommendations for improved performance . . . . . . . . . . . .. . . 13
Excluding transactions from the Oracle purge program . . .. . . 13
Enhancing performance in Application11i . . . . . . . . . . . .. . . 14
Application Pack custom action . . . . . . . . . . . . . . . . . . . . . .. . . 14
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
ii
Preface
• Conventions, page iii
• HP technical support, page iv
• HP-authorized reseller, page iv
• Helpful web sites, page iv
Conventions
Conventions used in this document include the following:
Convention Element
Angle brackets (< >) Used to indicate variables in the code that need
to be replaced with the appropriate values
depending on environment.
Receivables Call New Archive and Purge Application Pack Manual iii
HP technical support
Telephone numbers for worldwide technical support are listed on the HP
support web site: http://www.hp.com/support/.
Collect the following information before calling:
• Technical support registration number (if applicable)
• Product model names and numbers
• Applicable error messages
• Operating system type and revision level
• Detailed, specific questions
For continuous quality improvement, calls may be recorded or monitored.
HP strongly recommends that customers sign up online using the
Subscriber's choice web site: http://www.hp.com/go/e-updates.
• Subscribing to this service provides e-mail updates on the latest
product enhancements, newest versions of drivers, and firmware
documentation updates, as well as instant access to numerous other
product resources.
• After signing up, you can quickly locate products by selecting Business
support and then Storage under Product Category.
HP-authorized reseller
For the name of your nearest HP-authorized reseller:
• In the United States, call 1-800-282-6672.
• Elsewhere, visit the HP web site: http://www.hp.com. Click Contact
HP to find locations and telephone numbers.
iv
1 Introduction to the Application Pack
• About the New AR Application Pack, page 1
• Preparing the environment, page 2
The HP Live Archive Receivables Call New Archive and Purge Application
Pack archives data from the Oracle Receivables Application module. In
this manual, the Receivables Call New Archive and Purge Application
Pack is referred to as the New AR Application Pack.
NOTE: The Oracle Receivables Call New Archive and Purge program
does not archive deposits, guarantees, miscellaneous receipts, or invoices
that are not posted to general ledger.
Periods to Retain 6
To prevent data loss, HP recommends that you use the default values for
the installation parameters.
These parameter values disable all Oracle Receivable purge programs
except for the Call New Archive and Purge program, and set the periods
to retain data.
Disabling the other concurrent programs protects data by ensuring that
only data captured by the Application Pack can be deleted from the OLTP
database.
Eligibility requirements
Records of different types have different eligibility requirements.
The following sections describe what makes a record eligible to be
archived.
Transactions eligibility
The archive process removes eligible transactions and all activities
relating to those transactions such as adjustments, credits, reversals, and
calls.
For example, in the following diagram all of the transactions are
considered to be members of a single chain of related transactions. The
purge program rejects the entire chain if any member does not meet the
eligibility criteria.
Invoice A has been paid by Receipt 1, which also partially paid Invoice
B. Receipt 2 is used to pay the remainder of Invoice B. In addition,
Invoice B is applied to a commitment with Invoice C. Invoice C is paid by
Receipt 3 and a Credit Memo.
Running Intrastat
For European Union (EU) countries, Oracle requires running Intrastat
reports to satisfy the EU requirement to report movement statistics before
archiving data. With HP Live Archive, you can run Intrastat reports any
time before or after running the Application Pack. Pre-purge reports
should be run from the OLTP database. Depending on your archiving
strategy, post-purge reports should be run from either the archive
database or the archive responsibility.
For information about archiving strategy, see the configuration and
operations manual.
This step is optional.
Cutoff Date Enter the cutoff date in the format DD-MON-YY. For
example, to archive all data prior to June 2006,
enter 01-JUN-06. See ”Eligibility requirements” on
page 5 for a description of the data eligible for
archive.
Customer Name From the list of values, select the name of the
customer to archive. Leave blank to archive all
customers.
Using SQL*Plus
To monitor the progress of each request, access the AR_ARCHIVE_
PURGE_LOG table using SQL*Plus.
Use the following commands to write the contents of the log table to a file
titled log.lst in the directory where you logged on to SQL*Plus as the
APPS user:
spool log
COLUMN MESSAGE format A50
select MESSAGE, TIME
from AR_ARCHIVE_PURGE_LOG;
spool off
Review the log.lst file to check the progress. If one of the concurrent
requests fails, access the log table to see the last message. This is the final
error message inserted before the program failed. Use this error to
determine the next course of action.
Troubleshooting
Use the topics in this section to troubleshoot the Application Pack.
14 Technical analysis
To check the utl_file_dir setup:
1. Verify the current settings using the following statement:
SELECT value
FROM v$parameter
WHERE name = 'utl_file_dir';
2. Make sure the specified directories exist and the database has access
to them.
3. If there is only a * shown, add a fully specified directory to the list.
Change the init.ora file to specify a directory path for the utl_file_dir
parameter.
The environment variables APPL_TMP, APPLTMP and APPLPTMP are
part of both the online and the concurrent job variables and must be
specified in the init.ora utl_file_dir parameter. The utl_file_dir can have
multiple directory entries that should be separated by commas.
Reason Description
The total of these reasons should equal the total number of invoices
considered by the drive_by_invoice query.
ORA-7445 error in 9i
If you receive an ORA-7445 error on Oracle 9.2.0.2, upgrade to Oracle
9.2.0.4.
16 Technical analysis
2. Fix the problem.
Input parameters are invalid. Resubmit the job with the correct
parameters.
A table lock prevents the purge Wait until the job that has the lock on
program from deleting rows. the table is finished running.
Managed tables
The New AR Application Pack archives data from the following tables:
AR_ACTION_NOTIFICATIONS x x x
AR_ADJUSTMENTS_ALL x x x
AR_BATCHES_ALL x x x
AR_CALL_ACTIONS x x x
AR_CASH_BASIS_DISTS_ALL x x x
AR_CASH_RECEIPTS_ALL x x x
AR_CASH_RECEIPT_HISTORY_ALL x x x
AR_CORRESPONDENCES_ALL x x x
AR_CORR_PAY_SCHED_ALL x x x
AR_CUSTOMER_CALL_TOPICS x
AR_CUSTOMER_CALL_TOPICS_ALL x x x
AR_DISTRIBUTIONS_ALL x x x
AR_MISC_CASH_DISTRIBUTIONS_ALL x x x
AR_NOTES x x x
AR_PAYMENT_SCHEDULES_ALL x x x
AR_RATE_ADJUSTMENTS_ALL x x x
AR_TRANSMISSIONS_ALL x
AR_RECEIVABLE_APPLICATIONS_ALL x x x
AX_DOCUMENT_STATUSES x x x
AX_EVENTS x x x
RA_BATCHES_ALL x x x
RA_CUSTOMER_TRX_ALL x x x
RA_CUSTOMER_TRX_LINES_ALL x x x
RA_CUST_TRX_LINE_GL_DIST_ALL x x x
RA_CUST_TRX_LINE_SALESREPS_ALL x x x
A G
adjustments 6 GL Posted date 6
APPL_TMP 15 Guarantees 2
APPS user 4
ar_archive_detail 17 H
ar_archive_header 17 help, obtaining iv
AR_ARCHIVE_PURGE_LOG 12 HP
ar_counts.sh 15 authorized reseller iv
AR_INTERIM_CASH_RECEIPT_LINES 9 storage web site iv
AR_INTERIM_CASH_RECEIPTS 9 Subscriber’s choice web site iv
AR_PAYMENTS_INTERFACE 9 HP Live Archive products, installation 3
ARARCALL 4
authorized reseller, HP iv I
AutoInvoice 8 ineligible 1
init.ora 15
B install test 3
batch 8 installing HP Live Archive products 3
Intrastat reports 10
C Invoice 2, 7
calls 6
cash basis accounting 1 L
Cash Receipt 7 Lockbox 9
chain 2 Lockbox Interim 9
chain of transactions 5 log 1, 2
Chargeback 7
Clean Archive tables 14 M
client extension 8 Metalink 2
commitments 6 Miscellaneous Receipts 2
configuration parameters 12 monitor status 12
Console 12 Multiple Reporting Currency (MRC) 20
conventions iii
Credit Memo 7 N
credits 6 New AR Application Pack 1
No Data Found 15
D
data loss 3 O
data retention policy 2 OBTPA_PURGE 4
Debit Memo 7 open issues 2
Deposits 2 ORA-1403 15
disable Oracle purge programs 3
drive_by_invoice query 15
Q
QuickCash 9
R
RA_INTERFACE_DISTRIBUTIONS 8
RA_INTERFACE_LINES 8
RA_INTERFACE_SALESCREDITS 8
receipt 7
receipts 6
relocation tables 2, 4
Repository 12
requirements 5
responsibilities 11
reversals 6
reversed unapplied receipt 6
rollback segments 2
S
sales credits 6
selection 1
Submit Lockbox Validation Processing 9
Subscriber’s choice, HP iv
T
tax reports 9
tax type 10
test install 3
transaction chain 8
triggers 4
U
US Sales Tax 10
utl_file_dir 15
V
validation 1
VAT 10
W
web sites
HP storage iv
HP Subscriber’s choice iv
30