Professional Documents
Culture Documents
White Paper
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 1
Contents
Table of Contents
INTRODUCTION ....................................................................................................................................................... 3
Objective .........................................................................................................................................................3
Scope ..............................................................................................................................................................3
Terms ..............................................................................................................................................................3
BUSINESS CASE ....................................................................................................................................................... 4
Methodology ..................................................................................................................................................4
Business Example............................................................................................................................................4
DESIGN..................................................................................................................................................................7
F. Technical Design .........................................................................................................................................7
F.1 Header Data ........................................................................................................................................................ 8
F.2 Line Data ............................................................................................................................................................. 9
SET UP STEPS ....................................................................................................................................................... 11
G. Step By Step Guide to Setup .....................................................................................................................11
G.1 Application Developer ..................................................................................................................................... 11
G.2 System Administrator ...................................................................................................................................... 12
G.3 General Ledger (GL) ....................................................................................................................................... 13
G.4 Subledger Accounting (SLA).......................................................................................................................... 13
G.4.1 Define Subledger Accounting Application................................................................................................. 14
G.4.2 Define Event Model ...................................................................................................................................... 14
G.4.3 Define Accounting Event Class Options ................................................................................................... 19
G.4.4 Define Business Flow Class ....................................................................................................................... 24
G.4.5 Define Journal Line Type (JLT) .................................................................................................................. 25
G.4.6 Define Mapping Set ..................................................................................................................................... 31
G.4.7 Define an Account Derivation Rule (ADR) ................................................................................................ 34
G.4.8 Define Journal Line Definition (JLD) .......................................................................................................... 39
G.4.9 Define Application Accounting Definition (AAD) ...................................................................................... 44
G.4.10 Attach the AAD to the Subledger Accounting Method (SLAM)............................................................ 46
TRANSACTIONS .....................................................................................................................................................48
H. Populate the Custom tables with Transaction Information ....................................................................48
H.1 Populate the Header Table with Sample Data for the Invoices................................................................. 48
H.2 Create Accounting for Invoices ...................................................................................................................... 52
H.3 Populate the Sample Data for the Payment................................................................................................. 55
H.4 Create Accounting for Payment ..................................................................................................................... 58
H.5 Verify the Journals in Oracle General Ledger.............................................................................................. 60
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 2
Introduction
Objective
In R12, you can configure Financials Accounting Hub (FAH) to account for
transactions in a third party application. This white paper is an attempt to elaborate
on the steps required to accomplish this.
Scope
There are different aspects in accounting. For example, Normal accounting means
simply generating debits and credits for a transaction; then there is Business Flow,
Multi Period Accounting, Reversal Accounting, Cross Currency Accounting and so
forth. In this white paper we will cover the following:
Terms
FAH Financials Accounting Hub
JLT Journal Line Type
JLD Journal Line Definition
AAD Application Accounting Definition
Oracle GL Oracle General Ledger in the E-Business Suite
COA Chart of Accounts
SLAM Subledger Accounting Method
Upstream The flow from Invoices to Payments
Downstream The flow from Payments to Invoices
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 3
Business Case
Methodology
In this paper, we will take a couple of sample transactional data; then define the
expected accounting entries, per business requirements. We’ll configure FAH
according to the accounting requirements, then perform accounting in FAH and
compare the accounting by FAH to the expected accounting entries.
Business Example
A customer has a legacy system that performs the Payables function. The legacy
system records Invoices and Payments for Supplier Invoices. There is a need to
integrate the legacy payables system to the E-Business Suite General Ledger (GL).
Note: CAD is any Currency and does not necessarily reflect any particular country
currency.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 4
Account Structure Mapping
In this example, the Account Structure of Oracle General Ledger Chart of Accounts
(COA) has five segments:
Segment 1 Company
Segment 2 Department
Segment 3 Account
Segment 4 Sub Account
Segment 5 Product
The derivation of value for Segment1 and Segment3 will depend on the transactional
data in the custom application. For all other segments, we will use the following
default values:
Segment 2 000
Segment 4 0000
Segment 5 000
For the other two segments, the mapping from the Legacy application to Oracle GL is
as follows:
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 5
Invoice #1
01-000-1410-0000-000 Dr 1000 CAD-Charge Line
01-000-1570-0000-000 Dr 3000 CAD-Charge Line
01-000-2210-0000-000 Cr 4000 CAD-Liability Line
Invoice #2
01-000-1570-0000-000 Dr 1500 CAD-Charge Line
01-000-4150-0000-000 Dr 4500 CAD-Charge Line
01-000-2210-0000-000 Cr 6000 CAD-Liability Line
Payment #3
01-000-2210-0000-000 Dr 10000 CAD-Liability Line
01-000-1110-0000-000 Cr 10000 CAD-Cash Line
Note: Payment is a Business Flow as it relieves the Liability created by the Invoices.
Therefore, the Liability account for the Payment should be the same as that for the
Invoices.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 6
Design
F. Technical Design
The Header table includes the following columns. This only represents some of the
data collected. See the table layout below to obtain the entire list of columns in the
Header table.
• Transaction Data
• Accounting Date
These are some of the columns in the Line table. For a complete list of the columns,
see the table layout below.
• Item amount
• Item currency
To perform accounting in FAH, we must also gather other data including the above
information.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 7
F.1 Header Data
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 8
F.2 Line Data
LN_ID_2 Legacy line type—e.g., INV, ASSET, and MISC. INV, ASSET,
This helps in deriving the natural account for the MISC
distribution
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 9
The values for the Business Flow related fields are used to identify a linked or applied
transaction.
These are the Business Flow fields:
• BF_APPLIED_TO_APPLICATION_ID
• BF_APPLIED_TO_DIST_TYPE
• BF_APPLIED_TO_ENTITY_CODE
• BF_APPLIED_TO_HD_ID
• BF_APPLIED_TO_DIST_ID_1
The Liability account for the Payment accounting is derived from the same generated
for the Invoice accounting. To identify the Invoice accounting line, we need to
populate the values (in the payment related transactional data) for the business flow
so that the accounting program can uniquely identify the Liability accounting line.
The five fields mentioned above store values in such a way that the accounting
program can uniquely identify the Liability line for the related Invoice accounting.
To understand more about Business Flows, refer to the FAH Implementation Guide.
FAH also needs a view that includes data from the Header and Line tables—e.g.,
View name: XX_TRX_V would store data from XX_TRX_HD and XX_TRX_LN by
linking the common field HD_ID.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 10
Set Up Steps
You must register the Application when the transactions originate from a
Non Oracle GL application.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 11
G.2 System Administrator
• Set the ‘GL Ledger Name’ profile option for the responsibility.
• Ledger Name: SAN_LED
• Ledger ID: 1124
This completes the Setups under the System Administrator responsibility
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 12
G.3 General Ledger (GL)
These Journal Categories will be attached to the respective transaction entities later.
This completes the Setup in Oracle GL
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 13
G.4.1 Define Subledger Accounting Application
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Subledger Applications
We have attached the Journal Source to the custom application—this was defined
under the “Define Journal Source” section. Next, we must define the event model.
Refer to the FAH Implementation Guide for information on the Event Model structure.
This reading is a pre-requisite before proceeding to the next step.
There are two transaction types in the custom application. Each transaction type
must be mapped to an entity.
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Events > Event Model
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 14
To uniquely identify an Invoice or Payment transaction, the system must have a
unique identifier. That unique identifier is defined as the ‘Identifier’ for the entity.
To define the Identifier, click on the “Identifiers” button
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 15
In reference to the table XX_TRX_HD discussed earlier, HD_ID is a field, which
stores the unique identifier for a transaction. Hence HD_ID (transactional identifier) is
defined as an identifier and it is mapped to SOURCE_ID_INT_1.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 16
Define Event Classes
Next, we will define the Event Class for each entity.
To Define an Event Class, click on the “Event Classes” button on the Entities form.
We will define one event class as STD_INV for the Invoice entity. Future Invoices
may have different activities like creation, cancellation etc. These activities are
mapped to the Event Types, as shown below.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 17
We discussed earlier that Payment accounting is a Business Flow and would
therefore depend on the Invoice accounting. This relationship is mapped through
Predecessors. Event class ‘STD_INV’ is defined as a Predecessor of Payment—
event class ‘PAYMENT’.
The business flow from an Invoice to Payment is also referred to as upstream. While
the business flow from Payment to Invoice is referred to as downstream.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 18
G.4.3 Define Accounting Event Class Options
In this step, we will map all custom component fields (table/view) to the seeded
system fields (attributes). This helps the accounting program to derive the values for
the seeded accounting attributes based on the custom component (table/view).
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Events > Accounting Event Class Options
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 19
The XX_TRX_HD table stores the transactions Header data and the XX_TRX_LN
table stores the transaction Line data. In the above configuration, we are associating
these custom tables to the application. With this, the system would know where to
look for the transaction data.
Once the technical objects are referenced in the form, you can click on the
“Create and Assign Sources” button. This makes all the fields for the technical
objects available to the respective Application, Entity, and Event Class.
We attached the Journal Category to the respective entity. Refer to the “Define
Journal Category” section of this document for more information.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 20
Define Accounting Attributes Assignments
GL Date GL_DATE
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 21
Once the mapping is complete, click the “Validate Assignments” button to validate the
accounting attribute assignments. Ensure it is successfully validated.
Now you must define the Accounting Event Class Options for the XX_PAY event
class. Define the basic accounting attribute assignment for the Payment the same
way you did for the Invoice.
In the case of Payments, we must use Business Flows, so we must add the following
accounting attributes related to the Business Flow class to identify the upstream
transaction—i.e., Invoice.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 22
This completes the Accounting Event Class Options Definition
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 23
G.4.4 Define Business Flow Class
Navigation: Lookup
Query XLA_BUSINESS_FLOW_CLASS
Add the value XX_AP for the business flow class for the custom application that we
have created.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 24
G.4.5 Define Journal Line Type (JLT)
Charge Dr
Liability Cr
Payment Accounting:
References the Liability line from the
Liability Dr
Invoice accounting
Cash Cr
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Journal Entry Setups > Journal Line Type
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 25
Note: The value for Side is “Debit”, which means that normally this JLT is debited
For an explanation of the Control of the other fields, refer to the SLA Implementation
Guide.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 26
The condition determines if the JLT should be selected during Accounting. The
condition in the above screen states:
IF TXN_TYPE (Transaction Type) is INV (Invoice) AND
TXN_SUBTYPE_1 (sub-classification of transaction) is STD (Standard)
THEN the JLT is selected by the Accounting program.
In other words, for all data where the value for TXN_TYPE and TXN_SUBTYPE_1 is
populated with INV and STD respectively (in the XX_TRX_HD table), select this JLT
during Accounting.
Note: The value for the field called Side is “Credit” because for Invoice accounting the
Liability account is credited.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 27
This means the JLT will be referred by the downstream transaction—i.e., Payment,
which will have a JLT with the following values:
Business Flow Method: Prior Entry
Class: XX_AP
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 28
Define JLT for Payments
In the above step, we are defining the JLT for the Cash account.
Note: The value for the field called “Side” is “Credit”. For Payment accounting, the
Cash account is credited when Invoices are paid.
For all data where the value for TXN_TYPE and TXN_SUBTYPE_1 is populated with
PAY and Q respectively in the XX_TRX_HD table, this JLT will be picked up by the
Accounting program.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 29
The next step is to define JLT for the Liability account for Payments.
Note: The value for the field called “Side” is “Debit” because the Liability account is
debited when Invoices are paid.
The condition remains the same as that for the Cash line.
Values:
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 30
The business flow method is set to Prior Entry; therefore, the account must be
derived for this JLT from the upstream transaction. This is done as follows:
a) The program identifies the upstream transaction by referring to the value for
the Business Flow Accounting Attribute in the Payment transaction.
b) It will then identify all accounted lines of the upstream transaction that
matches to this Business Flow Class.
c) It will then copy the account from the identified accounting line of the
upstream transaction to account for the JLT (means copy to account of JLT
XX_LIAB for Payment as defined above).
In our example, if the legacy company code is 1001 then the respective company
code in Oracle GL would be 01. A similar requirement is there for natural account as
well. To map this requirement of deriving account segments based on an input value,
the mapping set feature is used.
Navigation > SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Journal Entry Setup > Mapping Set
Before defining the mapping set let’s revisit and summarize the requirement:
a) If the value for the legacy company code (which is stored in H_ID_1 for the
header data and LD_ID_1 for the line data) is 1001, then the company code
in Oracle GL should be 01
b) If the value for the legacy company code (which is stored in H_ID_1 for the
header data and LD_ID_1 for the line data) is 1002, then the company code
in Oracle GL should be 02
c) If the value for the Other party type (which is stored in H_ID_2) is SUP-DOM,
then the natural account should be 2210
d) If the value for the Other party type (which is stored in H_ID_2) is BANK-INT,
then the natural account should be 1110
e) If the value for the goods/services type (which is stored in LN_ID_2) is
ASSET, then the natural account should be 1570
f) If the value for the goods/services type (which is stored in LN_ID_2) is INV,
then the natural account should be 1410
There are two requirements, first to derive the balancing segment (company) and
second to derive the natural account segment (account).
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 31
Mapping Set to Derive Value for Company Segment
As per above
a) If the Input Value (for our company value in the Legacy system) is 1001, then
FAH will use 01 as the value for the Company Segment
b) If the Input Value (for our company value in the Legacy system) is 1002, then
FAH will use 02 as the value for Company Segment
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 32
Mapping Set to Derive the Value of the Account Segment
As per above
a) If the Input Value (for the account type value in the Legacy application) is
ASSET, then FAH will use 1570 as the value for the Account Segment
b) If the Input Value (for the account type value in the legacy application) is
CASH, then FAH will use 1110 as the value for the Account Segment
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 33
G.4.7 Define an Account Derivation Rule (ADR)
Navigation > SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Journal Entry Setup > Account Derivation Rules
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 34
ADR for Balancing segment for Line
According to the above configuration, FAH will use the value stored in LN_ID_1 to
derive the balancing segment by referring to the mapping defined in
XX_BAL_SEG_MAP_1
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 35
ADR to Derive Balancing Segment for Header
In this section, we will define a similar ADR for the Header Balancing Segment. By
Header, we mean the Liability or Cash account, which would be generated for an
Invoice or Payment. To do so, FAH will refer to the values provided in the Header
table.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 36
ADR for Account segment for Header
In this section, we are setting up an account derivation rule so that the system can
derive a different Liability and/or Cash Account.
a) For an Invoice: Derive a different natural account for the Liability account for
different groups of Suppliers (e.g., Domestic Suppliers vs. Foreign
Suppliers). The legacy identifier for a group of suppliers will be populated in
H_ID_2
b) For a Payment: Derive a different natural account for the Cash account for
different groups of Banks (e.g., local banks vs. international banks). The
legacy identifier for a group of banks will be populated in H_ID_2
Based on the value of H_ID_2, FAH will derive the value of the Account Segment as
per the mapping set called XX_ACC_SEG_MAP.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 37
ADR for Account Segment for Line
In this section, we are setting up an account derivation rule so that the system can
derive the Expense Account.
• Expense Account: Derive a different natural account for the Expense account
for different goods/services received. In other words, depending on the
goods/services (such as asset, inventory or misc expenses), FAH will derive
a different natural account
Based on the value of LN_ID_2, FAH will derive the value for the Account Segment
as per mapping set labeled XX_ACC_SEG_MAP.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 38
G.4.8 Define Journal Line Definition (JLD)
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Method and Definitions > Journal Line Definition
In this section, we will set up an account derivation rule for the journal line type
(XX_CHARGE) so that the system will do the following:
a) Derive all segments as per XX_ALL_SEGMENTS account derivation rule. In
other words, the system will derive the constant account as
01-000-1110-0000-000, then
b) Overlay the value of the Company and Account as per the
XX_LN_BAL_SEGMENT and XX_LN_ACC_SEGMENT account derivation
rules.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 39
Here’s an example to explain how ADR will Derive the Account for the JLT
In the legacy system, we have an invoice line for Company 1002, for an Asset. In the
table XX_TRX_LN, the following values are populated:
• LN_ID_1 : 1002
• LN_ID_ 2 : ASSET
During the accounting of the Invoice lines, FAH will generate the account for
XX_CHARGE, as follows:
a) First derive all segments per the ADR called XX_ALL_SEGMENTS ADR—
i.e., derive the constant account as 01-000-1110-0000-000
b) Based on the value of LN_ID_1 (which is 1002), refer to the respective ADR
and derive the value 02 for the Company.
c) Based on the value of LN_ID_2 (which is ASSET), refer to the respective
ADR and derive the value 1570 for Account.
d) By overlaying the values arrived at “b” and “c” with the value arrived at “a”,
FAH will finally derive the account as 02-000-1570-0000-000
Similarly, we must add an ADR for the journal line type XX_LIAB.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 40
Follow the example in this section to create the Journal Line Definition for Invoices.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 41
Follow the example in this section to define the Journal Line Definition for Payments.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 42
Note: For XX_LIAB, the account derivation rule is not allowed as it is a Business flow
journal line type, so FAH will derive the account for this JLT by referring to the
respective accounting line for the upstream transaction.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 43
G.4.9 Define Application Accounting Definition (AAD)
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Method and Definitions > Application Accounting
Definition
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 44
This completes the Application Accounting Definition (AAD) step.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 45
G.4.10 Attach the AAD to the Subledger Accounting Method (SLAM)
Navigation: SLA New Custom Application > Subledger Accounting Setups >
Accounting Methods Builder > Method and Definitions > Subledger Accounting
Method
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 46
This completes the configuration of Subledger Accounting (SLA).
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 47
Transactions
H.1 Populate the Header Table with Sample Data for the Invoices
Populate the table XX_TX_HD with header information for the Invoice.
Like Invoice or
TXN_TYPE Legacy INV INV
Payment
Like Standard
Invoice,
TXN_SUBTYPE_1 Legacy STD STD
Prepayment
invoice etc.
Unique identifier
LEDGER_ID of primary Ledger 1124 1124
in Oracle
Legacy Company
H_ID_1 Legacy 1001 1001
Code
Transaction Third
H_ID_2 Legacy SUP-DOM SUP-DOM
Party Identifier
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 48
Populate the table XX_TRX_LN with Line information for the invoices.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 49
As you can see from the SQL script, the data is populated as mentioned above:
There are two records in the Header table with the HD_ID values of 1002 and 1003.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 50
As explained in the Define Event Model section, the value of HD_ID is mapped to
SOURCE_ID_INT_1 so you must ensure that the table
XLA_TRNSACTION_ENTITIES is populated accordingly.
Ensure that the XLA_EVENT table is populated with the proper ENTITY_ID created
in the XLA_TRANSACTION_ENTITIES table.
Note: The Event IDs created for the transactions are 3327749 and 3327750. You
must populate this information in the Custom table for the respective transactions.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 51
This completes the synchronization of the data between the Accounting and Custom
tables. To get more information on how to synchronize the data programmatically,
refer to the Seeding Calls to Subledger Event Capture Routines section of the FAH
Implementation Guide.
Run Create Accounting from the responsibility SLA New Custom Application. It
should have access to the Custom Application where you can account for the
transactions in XX_CUSTOM_APPLICATION.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 52
Review the Create Accounting output file.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 53
As you can see in this example, the Invoices were accounted as expected. The
conversion rate is taken from the Daily Rate defined in Oracle GL.
Next Step: Populate the data for the Payments in the Custom table
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 54
H.3 Populate the Sample Data for the Payment
Standard Invoice,
TXN_SUBTYPE_1 Prepayment Legacy Q
invoice etc.
Transaction Third
H_ID_2 Legacy BANK-INT
Party Identifier
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 55
Populate the line data for the Payment. Line data for Payments are a bit different
from Invoices. In the case of Payments, we want to derive the accounting based on
the Business Flow. The line data should be as follows:
BF_APPLIED_TO
Business Flow Applied To
_APPLICATION_ 20087 20087 20087 20087
Application ID
ID
BF_APPLIED_TO Business Flow Applied To
ITEM ITEM ITEM ITEM
_DIST_TYPE Distribution Type
BF_APPLIED_TO Business Flow Applied To
XX_INV XX_INV XX_INV XX_INV
_ENTITY_CODE Entity Code
The business flow data is now populated. In the legacy system, you may see simple
information that shows that a payment applies to two invoices. The legacy payment is
converted to account for the payment using FAH (see the above table).
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 56
Populate the accounting tables (XLA_TRANSACTION_ENTITIES and XLA_EVENT)
to link the data in the custom table. Before running Create Accounting, ensure that
the HD_ID for the payment is populated in the column SOURCE_ID_INT_1 of the
XLA_TRANSACTION_ENTITIES table.
Data now exists in the XLA_EVENTS table with the correct event type.
This completes the synchronization of the data between the accounting tables and
the custom table.
Data is now ready to be accounted.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 57
H.4 Create Accounting for Payment
Run Create Accounting from the responsibility “SLA New Custom Application”. It
should give you access to the custom application, where you can account for the
Invoices in the custom table.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 58
Review the Create Accounting output:
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 59
H.5 Verify the Journals in Oracle General Ledger
The value of the category is XX_INVOICE, which was configured in the Define
Accounting Event Class Options section.
FAH: Accounting for Transactions from a Custom Application Using R12 FAH – Doc ID 1465987.1 60