Author Archive
Posted by shameemakhtar on October 19, 2009
Function to return concatenated account from id.
</pre>
CREATE OR REPLACE FUNCTION APPS.GET_CONCAT_ACC (ACC_ID VARCHAR2)
RETURN VARCHAR2 IS
<p style="padding-left:30px;">AC VARCHAR2(100);</p>
BEGIN
/*** Returns Concatenated Accounts ***/
<p style="padding-left:30px;">SELECT ACCOUNT_COMB
INTO AC
FROM ABH_GL_ACC_CONCAT_SEGMENTS
WHERE CODE_COMBINATION_ID = ACC_ID;
RETURN NVL(AC, 'ERROR');</p>
END;
/
<pre>
This function is based on the View for Chart of Accounts KFF.
Shameem Bauccha
19 October 2009
Posted in Finance, Financials, Oracle Apps, Scripts, Technical | Tagged: General Ledger, Scripts, Chart of Accounts, Account Combination, Function | Leave a Comment »
Posted by shameemakhtar on October 19, 2009
The script below allows you creates a view for your chart of accounts.
Modify to suit your requirements. Note that the value set name of each segment is passed as parameter.
CREATE OR REPLACE VIEW ABH_GL_ACC_CONCAT_SEGMENTS
AS
SELECT cc.code_combination_id,
cc.chart_of_accounts_id,
cc.detail_posting_allowed_flag post,
cc.detail_budgeting_allowed_flag budget,
cc.account_type,
cc.show_account_type,
cc.enabled_flag,
cc.summary_flag,
--segment: segments used in COA definition
cc.segment1,
cc.segment2,
cc.segment3,
cc.segment4,
cc.segment5,
cc.segment6,
concat(concat(concat(concat(concat(concat(concat(concat(concat(concat(segment1, '-'), segment2),'-'), segment3), '-'), segment4), '-'), segment5), '-'), segment6) account_comb,
get_flex_vs_desc('ABH Company', cc.segment1, '') Company,
get_flex_vs_desc('ABH Cost Center', cc.segment2, '') "Cost Center",
get_flex_vs_desc('ABH Account', cc.segment3, '') "Account",
get_flex_vs_desc('ABH Sub Account', cc.segment4, cc.segment3) "Sub Account",
get_flex_vs_desc('ABH Location', cc.segment5, '') "Location",
get_flex_vs_desc('ABH Entity-Services', cc.segment6, '') "Entity-Services"
FROM GL_CODE_COMBINATIONS_V cc
Refer to document ‘Fetching Key Flexfield Value Description‘ for get_flex_vs_desc.
Shameem Bauccha
19 October 2009
Posted in General Ledger, Oracle Apps, Scripts, System Administrator, Technical | Tagged: Chart of Accounts, KFF, Scripts, view | 2 Comments »
Posted by shameemakhtar on October 19, 2009
CREATE OR REPLACE FUNCTION APPS.GET_FLEX_VS_DESC (P_VALUE_SET_NAME VARCHAR2, P_FLEX_VALUE VARCHAR2, P_PARENT_FLEX_VALUE VARCHAR2)
RETURN VARCHAR2 IS
DESCRIP VARCHAR2(50);
BEGIN
IF P_PARENT_FLEX_VALUE IS NULL
THEN
/*** In case the value set is independent ***/
SELECT DISTINCT DESCRIPTION
INTO DESCRIP
FROM FND_FLEX_VALUES_VL
WHERE FLEX_VALUE_SET_ID =
(
SELECT FLEX_VALUE_SET_ID
FROM FND_FLEX_VALUE_SETS
WHERE FLEX_VALUE_SET_NAME = P_VALUE_SET_NAME
AND FLEX_VALUE = P_FLEX_VALUE
--AND PARENT_FLEX_VALUE_LOW = P_PARENT_FLEX_VALUE
);
ELSE
/*** If the value set is dependent on another value set ***/
SELECT DISTINCT DESCRIPTION
INTO DESCRIP
FROM FND_FLEX_VALUES_VL
WHERE FLEX_VALUE_SET_ID =
(
SELECT FLEX_VALUE_SET_ID
FROM FND_FLEX_VALUE_SETS
WHERE FLEX_VALUE_SET_NAME = P_VALUE_SET_NAME
AND FLEX_VALUE = P_FLEX_VALUE
AND PARENT_FLEX_VALUE_LOW = P_PARENT_FLEX_VALUE
);
END IF;
RETURN NVL(DESCRIP, 'ERROR');
END;
/
Shameem Bauccha
19 October 2009
Posted in Oracle Apps, Scripts, System Administration, System Administrator, Technical | Tagged: 11.5, Key Flexfield Value Set, R12, Scripts | Leave a Comment »
Posted by shameemakhtar on October 3, 2009
Platform: R12
Tax Manager –> Tax Configuration –> Taxes
A tax is defined under a tax regime. You need to define a tax regime before you define your tax.
Refer to document ‘Create Tax Regimes’.
Create Tax
Click on ‘Create’.
Main Information
Configure the Tax.
Select the previously defie tax regime code. For your tax to work, define it for party type ‘Operating Unit Owning Tax Content’ in the Configuration Owner.
You may choose to create the new tax from scratch or based on an existing tax (whereby some settings will be defaulted).
If you have localized taxes based on geography, then the need to define your tax zones before.Configure your tax at the appropriate geography type (country, state, city, region etc…). If you are not using tax zones, set your taxes at country level.
You may decide to configure Exchange rate at this level.
You can also set the Reporting Tax Authority and Collecting Tax Authority.
Controls and Defaults
Check the ‘Allow Entry of Manual Tax Lines’ if you intend to allow user to manually input tax lines on invoices. To be able to check that option, you must however check the ‘Allow Overide and Entry of Inclusive Tax Lines’ option also.
In our scenario we will not allow user to manually create tax lines nor will we allow them to override calculated tax lines.
Tax Account Controls
Tax Exeptions/Exemptions Control
Tax Recovery Controls
If you are defining recoverable taxes, then you need to check the ‘Allow Tax Recovery’ option. Along with rate for tax, you will also need to define tax recovery rate.
In our scenario, taxes are not recoverable. However we have defined them as recoverable and set the recovery rate as 0.
Defaults
Tax Reporting Codes
In some countries, you may have specific tax recording requirements. Configure this section if that is the case.
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: Create Tax, Oracle Apps, R12, setup E-Business Tax, Tax Configuration | Leave a Comment »
Posted by shameemakhtar on October 3, 2009
Platform: R12
Tax Manager –> Parties –> Party Tax Profiles
On the Tax Manager Homepage, click on the ‘Go to Task’ icon.

Search First Party Legal Entity - Tax Profile
Ensure Party Types is ‘First Party Legal Entity’. Type in the Party Name and click on ‘Go’.

Party Tax Profiles
Click on ‘Update Tax Profile’.

Update Party Tax Profile
Configure the four sections as appropriate:
- Main:

Party Tax Profile - Main
- Classifications

Party Tax Profile - Classifications
- Tax Reporting Codes

Party Tax Profile - Tax Reporting Codes
- Configuration Options

Party Tax Profile - Configuration Option
You can see that the Tax Regime is already associated with the First Party Legal Entity.
Shameem Bauccha
1 July 2009
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: Complete First Party Legal Entity Party Tax Profile, Configuration Options, E-Business Tax, Oracle Apps, Party Tax Profile classifications, Party Tax Profiles, R12, setup EBusiness Tax, Tax Configuration, Tax Reporting Codes | 2 Comments »
Posted by shameemakhtar on October 3, 2009
Platform: R12
Create Tax Regimes
Tax Manager –> Tax Configuration –> Tax Regimes

TaxRegimes
Click on ‘Create’.

Tax Regime - Main Details
Expand the ‘Controls and Defaults’ Region and Configure.

Tax Regime Controls and Defaults
Note that unless you have set the Legal Authority as Reporting Tax Authority or Collecting Tax Authority while creating the Party Tax Profile for the Legal Authority, the Legal Authority will not be available in the drop down list.
See Document ’E-Business Tax Configuration – Tax Authority Party Tax Profile’
Expand the ‘Compounding Level Controls’ region and Configure.

Tax Regime Compounding Level Controls
When you are done, click on ‘Continue’.

Create Tax Regime - Configuration Option
Add your First Party Legal Entity. Choose your ‘Configuration for Taxes and Rules’. If you are not using Common Configuration, specify your ‘Configuration for Product Exceptions’. Specify an effective date. US localizations require Service Subscriptions. Click on ‘Service Subscriptions’ to add Service Provider.

Service Subscriptions
When you are done, click on ‘Finish’.

Tax Regime Creation Confirmation
You will get a confirmation that the tax regime was created successfully.
You can search and see that the Regime has been created.

Search Tax Regime
Shameem Bauccha
1 July 2009
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: Cnfiguration for Taxes andRules, eBTax, Inclusive Tax Lines, Oracle Apps, R12, Service Subscriptions, setup E-Business Tax, Tax Configuration, Tax Exceptions, Tax Recovery, Tax Regimes, Teax Exemptions | 1 Comment »
Posted by shameemakhtar on July 20, 2009
Platform: R12
Create Tax Authorities Party Tax Profile
Tax Manager –> Tax Configuration –> Tax Authorities Party Tax Profiles

Party Tax Profiles
Select the Party Type ‘Tax Authority’. Search for the Party Name (the Legal Authority you created). Click on ‘Go’.
Note that unless your attach the Legislative Category ‘Transaction Tax’ to the Legal Authority you will not get the Legal Authority here.
Click on the ‘Create Tax Profile’ icon.

Create Party Tax Profile
Check the appropriate boxes if you want to set the Legal Authority as a Collecting Authority or as a Reporting Authority.
Click on the ‘Tax Reporting Codes’ tab to add Tax Reporting Codes.

Create Party Tax Profile - Tax Reporting Codes
See Document ‘E-Business Tax Lookup Codes’ to define quickcodes for E-Business Tax.
When you are done, click on ‘Apply’.

Party Tax Profile Confirmation
You will receive a confirmation message that the Party Tax Profile was successfully created.
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: E-Business Tax, Oracle Apps, Party Tax Profile, R12, setup E-Business Tax, Tax Authority, Tax Configuration | 3 Comments »
Posted by shameemakhtar on July 20, 2009
Platform: R12
Tax Configuration

E-Business Tax Setup - Tax Configuration
Once you are done with the external dependencies, you can begin with Tax Configuration.
The checklist for tax configuration is as follows:
- Create Tax Authorities Party Tax Profiles
- Create Tax Regimes
- Create First Party Legal Entity Party Tax Profile
- Create Tax
- Create Tax Reporting Codes
- Create Tax Status
- Create Tax Jurisdictions
- Tax Recovery Rates
- Tax Rates
Only Tax Reporting Codes and Tax Recovery Rates are optional setups.
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: E-Business Tax, Oracle Apps, R12, setup E-Business Tax, Tax checklist, Tax Configuration | 1 Comment »
Posted by shameemakhtar on July 2, 2009
Platform: R12
ZX_INPUT_CLASSIFICATIONS Used to create tax classification codes for use in tax determination. Release 11i tax codes and tax groups migrate to E-Business Tax as tax classification codes. Payables and Purchasing tax codes migrate as tax classification codes under ZX_INPUT_CLASSIFICATIONS.
ZX_OUTPUT_CLASSICATIONS Release 11i Receivables and Projects tax codes migrate as tax classification codes under ZX_OUTPUT_CLASSICATIONS.
ZX_WEB_EXP_TAX_CLASSIFICATIONS Tax Classification Codes for Internet Expense Transactions
ZX_EXEMPTION_REASON_CODE Reasons for Tax Exemptions
ZX_JEBE_VAT_TRANS_TYPE Tax Transaction Types to be used when setting up tax rate. Tax Rate Transaction Types represent legal authority codes
ZX_REGISTRATIONS_REASON Tax Registration Reason Codes (for reporting only)
ZX_REGISTRATIONS_TYPE Allows the organization of Registration Types in Categories
ZX_REGISTRATION_STATUS Tax Registration Status Codes. Tax Registration Status Codes are used as determining factors in tax rules. Seeded Values are: Agent, Registered, Not Registered.
ZX_TAX_TYPE_CATEGORY Tax types to classify taxes. Seeded Values are: Sales, VAT, Excise, Custom Duty, Environmental.
Shameem Bauccha
1 July 2009
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: E-Business Tax, E-Business Tax Lookups, External Dependencies, Oracle Apps, R12, setup E-Business Tax | 1 Comment »
Posted by shameemakhtar on July 2, 2009
Platform: R12
Other Prerequisites
Below is the list of other major prerequisites before you can configure tax.
- Setup Accounts and Accounting Information
- Ledgers
- Legal Entity Balancing Segments
- Accounting Setup
- Complete Accounting Setup
Refer to ‘Accounting Setup Manager’ (Document to follow).
- Setup Oracle Inventory
- Define Inventory Value Sets
- Define Inventory Item Category Structure
- Define Category Set
- Define Inventory Categories
- Associate Inventory Items to Category sets
Refer to ‘Inventory Tutorial’ (Document to follow).
Shameem Bauccha
30 June 2009
Posted in E-Business Tax, Financials, Oracle Apps | Tagged: E-Business Tax, External Dependencies, Oracle Apps, Prerequisites for E-Business Tax setup, R12, setup E-Business Tax | 1 Comment »