Using Custom Source in SLA
Using Custom Source in SLA
Given below is an example to define, set up and test Oracle Subledger Accounting Custom Source.
By default, the source for Unplanned Depreciation Expense Account in Assets module is the
Expense Account entered in the Asset Workbench while performing the Unplanned Depreciation
transaction.
FA Responsibility > Assets > Asset Workbench > Books > Unplanned Depreciation
In this example, we will replace the Natural Account segment value (692215) of the accounted
Expense Account with the Natural Account in Depreciation Expense Account (within the Asset
Category for the specific Asset ) (514111).
The below illustration will clarify the requirement
Search for the Asset No F0011HU00010345 in Asset Workbench
FA Responsibility > Assets > Asset Workbench
Note that the Natural account for the Depreciation Expense Account within the Asset Category is
514111
As there is no Standard Source to derive this value, we will define a Custom Source as illustrated
below.
Setup Steps
Step1 Create Function to derive the Natural Account (as mentioned above) from Depreciation
Expense Account from the Asset Category for the specific Asset by providing Asset id as the input
CREATE OR REPLACE function apps.DEPN_EXP_FRM_CATEGORY
(v_asset_id in number)
return varchar2
is v_natural_act varchar2(20);
begin
select distinct(fcb.deprn_expense_acct)
into v_natural_act
from
apps.fa_categories fc,
apps.fa_category_books fcb,
apps.fa_additions_b faa
where
1=1
FA Responsibility > Setup > Financials > Subledger Accounting > Accounting Methods Builder >
Sources > Custom Sources
Step3
Create Rule UNPL_DEPN_RULE and assign the Custom Source defined in previous step
FA Responsibility > Setup > Financials > Subledger Accounting > Accounting Methods Builder >
Journal Entry Setups > Account Derivation Rules
FA Responsibility > Setup > Financials > Subledger Accounting > Accounting Methods Builder >
Methods and Definitions > Journal Line Definitions
FA Responsibility > Setup > Financials > Subledger Accounting > Accounting Methods Builder >
Methods and Definitions > Journal Line Definitions> Find
FA Responsibility > Setup > Financials > Subledger Accounting > Accounting Methods Builder >
Methods and Definitions > Application Accounting Definitions
Note that the Natural Account segment value in Depreciation Expense account for this category
which is 514111 which is sourced from Asset Category and NOT from Expense Account entered
during Unplanned Depreciation Transaction