Está en la página 1de 10

Using Custom Source in Oracle Subledger Accounting

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 Asset Category for this asset which is 06_FAB/PROC.0601_FAB/PROCESS EQMT


FA Responsibility > Assets > Asset Workbench > Open

View Accounting Setup for Depreciation Expense Account in Asset Category


FA Responsibility > Setup > Asset System > Asset Categories

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

and faa.asset_id = v_asset_id


and faa.asset_category_id = fc.category_id
and fc.category_id = fcb.category_id;
return v_natural_act;
end;
commit;
Step2
Create Custom Source ACT_UNP_DEPN by entering the Function Name within the field PL/SQL
Function Name, Segment as Natural Account Segment for Return Data Options and input
parameter as Asset Identifier

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

Step4 Assign above Custom Rule to Journal Line Types

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

Step5 Validate the Application Accounting Definition

FA Responsibility > Setup > Financials > Subledger Accounting > Accounting Methods Builder >
Methods and Definitions > Application Accounting Definitions

Steps to Test the above Setups


Step1 Create Unplanned Depreciation Transaction
FA Responsibility > Assets > Asset Workbench

FA Responsibility > Assets > Asset Workbench > Find

Step2 Create Unplanned Depreciation Transaction


FA Responsibility > Assets > Asset Workbench > Find > Books > Unplanned Depreciation

Step 3 Create Accounting in Draft Mode


FA Responsibility > Create Accounting

Step4 View Accounting


View > Requests > Find

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

También podría gustarte