Wednesday, July 8, 2009

Oracle documentation methodology

Oracle Corporation formalized an Application Implementation Method (AIM) in
1994 to support its rapidly growing consulting organization and the first
shipments of release 10 to the Applications. Prior to AIM, Oracle
consultants used something called Application Implementation Plan (AIP) for
release 9 implementation projects. Because AIP was nothing more than a huge
list of project tasks, AIM was a big improvement.

AIM provides the Oracle consultant with an integrated set of templates,
procedures, PowerPoint presentations, spreadsheets, and project plans for
implementing the applications. AIM was such a success, Oracle created a
subset of the templates called it AIM Advantage and made it available as a
product to customers and other consulting firms.



AIM Templates

Credit Card vs Purchase Card

iPayment does not require any additional setup for processing purchase cards. Purchase Card processing is similar to any other credit card processing except iPayment automatically recognizes that it is a purchase card (versus a credit card) based on a set of seeded card number ranges. iPayment was provided with a range of purchase card card numbers currently in use by the back-end payments. This range information is seeded into the iPayment IBY_PCARD_BIN_RANGE table and any card that falls within this range will

be processed as a Purchase Card. The only setup that is needed from an iPayment standpoint is to setup both the Payment System and Payee to accept Purchase Card as a payment instrument. As of FIN_PF.G, Level II and III information must come from Oracle Receivables and it is seeded to be passed for both processors and gateways type models. No need to update.

Transaction Status overview - Online and Batch

1 Communication error
2 Duplicate request
3 Duplicate batch id
4 Mandatory fields required or missing
5 Payment system specific error
6 Batch partially succeeded
7 Batch failed
8 Request action not supported
14 Request cancelled
15 Failed to schedule
16 Payment system failed
17 Unable to pay (insufficient funds)
19 Invalid Credit Card number
20 Declined
21 Failed (requires voice auth)
101 Trxn was sent in a batch that resulted incommunication error
114 Trxn was cancelled in an open batch (void)
120 iPayment max number of batches exceededfor the day
-99 Invalid request

Logging for Oracle iPayment (Credit card processing – debugging)

iPayment Debugging – Related to authorizations and other real time transactions

1. Set the following JVM parameters for the apache running the servlet by updating the jserv.properties.

wrapper.bin.parameters=-DAFLOG_ENABLED=TRUE
wrapper.bin.parameters=-DAFLOG_MODULE=iby%
wrapper.bin.parameters=-DAFLOG_LEVEL=STATEMENT
wrapper.bin.parameters=-DAFLOG_FILENAME=/iby.log

2. Login to the application using System Administrator responsibility and set the following System Profiles to the following values at the Site level:

Profile Name

Value

FND: Log Enabled

Yes

FND: Log Module

iby%

FND: Log Level

Statement

FND: Log Filename for Middle-Tier

/iby.log


Note --
Make sure you give the absolute path to your logging directories instead of .

3. Rename iby.log if exist already.

4. Run following sql statement:
SQL> select max(log_sequence) from fnd_log_messages

5. Bounce apache server

6. Reproduce the problem.

7. iby.log - Run following sql statement and upload result in excel format:
SQL> select module, message_text, log_sequence, timestamp
from fnd_log_messages
where module like 'iby%' and log_sequence > &result-of-step4

Note --
If the BEP servlet is installed in a different tier than iPayment engine (ibyecapp), there will be a separate iby.log generated. So please upload both iby.log files.


B. iPayment Debugging for capture and other offline / background transactions

This is only to be done when problem involves the iPayment Scheduler Concurrent Request.
iPayment Scheduler is a java concurrent program. Since scheduler is run on concurrent manager tier, above iPayment debug logs will not be sufficient to diagnose scheduler issues. The java debug log generated for this concurrent program is also required so please do the following steps instead.

1. Set the following JVM parameters for the apache running the servlet by updating the jserv.properties.

wrapper.bin.parameters=-DAFLOG_ENABLED=TRUE
wrapper.bin.parameters=-DAFLOG_MODULE=iby%
wrapper.bin.parameters=-DAFLOG_LEVEL=STATEMENT
wrapper.bin.parameters=-DAFLOG_FILENAME=/iby.log

2. Login to the application using System Administrator responsibility and set the following System Profiles to the following values at the Site level:

Profile Name

Value

FND: Log Enabled

Yes

FND: Log Module

iby%

FND: Log Level

Statement

FND: Log Filename for Middle-Tier

/iby.log


Note --
Make sure you give the absolute path to your logging directories instead of .

3. Rename iby.log if exist already.

4. Run following sql statement:
SQL> select max(log_sequence) from fnd_log_messages

5. Enable concurrent request debugging.
a. Log into application using System Administrator responsibility
b. Navigate to Concurrent > Program > Define
c. Query the IBYSCHEDULER concurrent program
d. In Options field, enter the following string and save

-DAFLOG_ENABLED=TRUE -DAFLOG_MODULE=iby% -DAFLOG_LEVEL=STATEMENT -DAFLOG_FILENAME=/iby_af.log

Note --
This is to be entered as one line and a space between each parameter setting (as seen above).
DAFLOG_FILENAME needs to point to a valid directory on Concurrent Manager tier.

6. Bounce apache server if step 1 had to be done.

7. Bounce Concurrent Managers for change in step #5 to take effect.

8. Run iPayment Scheduler concurrent request.

9.Files:

a. Scheduler concurrent request log
b. iby.log
c. iby_af.log
d. Run following sql statement and upload result in excel format:
SQL> select module, message_text, log_sequence, timestamp
from fnd_log_messages
where module like 'iby%' and log_sequence > &result-of-step4

Note --
If the BEP servlet is installed in a different tier than iPayment engine (ibyecapp), there will be a separate iby.log generated. So please upload both iby.log files.