Tuesday, August 21, 2007

Information Templates In PO
Oracle Internet Procurement 11i uses information templates to pass necessary order processing information to suppliers. You may set up information templatesto gather additional informationWhen an information template is assigned to a category or item, Internet Procurement 11i prompts users to provide the information specified in the template
To define an information template:
1. Navigate to the Define Information Template window. From the Oracle
Purchasing menu, select Setup>Information Templates
.

2. Enter an attribute name and description. The attribute name is the actual
field prompt that is displayed in Internet Procurement 11i.

3. Optionally, enter a default value to automatically appear in the field.

4. Indicate whether the field is mandatory for Internet Procurement 11i users.
If the field is mandatory, users will be prompted to enter a value in the field
before proceeding to complete the requisition.

5. Indicate whether to activate the attribute to actually display on Self
Service Purchasing pages. In certain circumstances, you may want to define an
attribute, but delay enabling it for display to Internet Procurement 11i users.

6. Choose Associate Template to associate the template with an item or an item
category. The Information Template Association window appears.

7. Select the type of association (item number or item category) you want to
associate with the template.
8. If you selected Item Number in the previous step, enter the number. If you
selected Item Category, enter the category.

General Ledger FAQ

What is Journal Import?

A)
Journal import is an interface used to bring journal entries from legacy systems and other modules into the General Ledger.(Specifically Journal Import gets entries from legacy data into the GL base tables.
The tables populated during journal Import are
GL_JE_BATCHES,
GL_JE_HEADERS,
GL_JE_LINES,
GL_IMPORT_REFERENCES

What is the use of GL_Interface?

A)
Gl_Interface is the primary interface table of General ledger. It acts as an interface between data originating from other modules such as AP,AR, Legacy data and the Gl Base tables.

What is Actual Flag?

A)
Actual flag represents the Journal type.
A-Actual
B-Budget
E- Encumbrance.
What is Encumbrance?

A)
It is a process of Reservation of funds for anticipated expenditure from a budget. Encumbrance integrates GL, Purchasing and Payables modules.

How many Key Flex Fields are there in General Ledger?

A)
One. Accounting Key Flex Field.
How many types of Budgets are there?

A)
Two Types.
Expenditure Budgets
Revenue Budgets.

What are Spot Rate, Corporate Rate, Transaction Calendar and Accounting Calendar?

Spot Rate:

An exchange rate which you enter to perform conversion based on the rate on a specific date. It applies to the immediate delivery of currency.
Corporate Rate:
An Exchange rate that we define to standardize rates for our company. This rate is the standard market rate determined by the senior financial management for use through out the organization.
User Rate:
Conversion rate that is defined by the user.

EMU Fixed Rate: An exchange rate that is provided automatically by the General Ledger while entering journals. It uses a foreign currency that has a fixed relationship with the euro.
Transaction Calendar: Defines the business days and holidays for any calendar.
Accounting Calendar: Defines different types of calendars namely Fiscal, Federal Fiscal, Month etc.

What is Security Rule?


Security Rules are defined to control the access of a flexfield segment value (Financial information) at a responsibility level.


What are Cross Validation & ADI?


CVS – Cross validate segments – Allows only valid code combinations.
ADI – Allow dynamic inserts. – Allows any code combination irrespective of validity.
ADI would prevail if both of CVS and ADI are checked.

What is Translation?


A)
Translation is a process used to convert functional currency to other reporting currencies at the account balances level.

What is Revaluation?


A)
It is process used to revalue assets and liabilities denominated in foreign currency into functional currency based on period end exchange rate we specify. Unrealized gains/losses are resulted because of exchange rate fluctuations which are recorded in unrealized gain/loss account in GL.

What is FSG (Financial Statement Generator)?


A)
Financial statement generator feature helps us to generate reports such as balance sheets and income statements with out programming. It also provides a high degree of control on the rows, columns, contents and calculations on the report. Different components such as row set, column set, content set, row order, display set have to be defined before a statement is generated, of which row set and column set are mandatory.

What is Consolidation?


A)
Consolidation is a period-end process of combining the financial results of separate business subsidiaries with the parent company to form a single combined statement of financial results.

At what level General Ledger data is secured?


A)
GL data is secured at Set of Book level. Subledger module data is secured at Responsibility level (i.e., at Operating Unit Level).

Account Receivables FAQ
1) What is Autolockbox?
A) Auto lockbox is a service that commercial banks offer corporate customers to enable them to out source their account receivable payment processing. Auto lockbox can also be used to transfer receivables from previous accounting systems into current receivables. It eliminates manual data entry by automatically processing receipts that are sent directly to banks. It involves three steps
Import (Formats data from bank file and populates the Interface Table),
Validation(Validates the data and then Populates data into Interim Tables),
Post Quick Cash(Applies Receipts and updates Balances in BaseTables).

2)What is Transmission Format?
A) Transmission Format specifies how data in the lockbox bank file should be organized such that it can be successfully imported into receivables interface tables. Example, Default, Convert, Cross Currency, Zengen are some of the standard formats provided by oracle.
3)What is Auto Invoice?
A) Autoinvoice is a tool used to import and validate transaction data from other financial systems and create invoices, debit-memos, credit memos, and on account credits in Oracle receivables. Using Custom Feeder programs transaction data is imported into the autoinvoice interface tables.
Autoinvoice interface program then selects data from interface tables and creates transactions in receivables (Populates receivable base tables) . Transactions with invalid information are rejected by receivables and are stored in RA_INTERFACE_ERRORS_ALL interface table.

4) What are the Mandatory Interface Tables in Auto Invoice?
A)RA_INTERFACE_LINES_ALL, RA_INTERFACE_DISTRIBUTIONS_ALL
RA_INTERFACE_SALESCREDITS_ALL.

5) What are the Set up required for Custom Conversion, Autolockbox and Auto Invoice?
A) Autoinvoice program Needs AutoAccounting to be defined prior to its execution.
6) What is AutoAccounting?
A) By defining AutoAccounting we specify how the receivables should determine the general ledger accounts for transactions manually entered or imported using Autoinvoice. Receivables automatically creates default accounts(Accounting Flex field values) for revenue, tax, freight, financial charge, unbilled receivable, and unearned revenue accounts using the AutoAccounting information.
7) What are Autocash rules?
A) Autocash rules are used to determine how to apply the receipts to the customers outstanding debit items. Autocash Rule Sets are used to determine the sequence of Autocash rules that Post Quickcash uses to update the customers account balances.
8) What are Grouping Rules? (Used by Autoinvoice)
A) Grouping rules specify the attributes that must be identical for lines to appear on the same transaction. After the grouping rules are defined autoinvoice uses them to group revenues and credit transactions into invoices debit memos, and credit memos.
9) What are Line Ordering Rules? (Used by Autoinvoice)
A) Line ordering rules are used to order transaction lines when grouping the transactions into invoices, debit memos and credit memos by autoinvoice program. For instance if transactions are being imported from oracle order management , and an invoice line ordering rule for sales_order _line is created then the invoice lists the lines in the same order of lines in sales order.
10) In which table you can see the amount due of a customer?
A) AR_PAYMENT_SCHEDULES_ALL
11) How do you tie Credit Memo to the Invoice?
At table level, In RA_CUSTOMER_TRX_ALL, If you entered a credit memo, the PREVIOUS_CUSTOMER_TRX_ID column stores the customer transaction ID of the invoice that you credited. In the case of on-account credits, which are not related to any invoice when the credits are created, the PREVIOUS_CUSTOMER_TRX_ID column is null.
12)What are the available Key Flex Fields in Oracle Receivables?
A) Sales Tax Location Flex field, It’s used for sales tax calculations.
Territory Flex field is used for capturing address information.

13). What are Transaction types? Types of Transactions in AR?
A)
Transaction types are used to define accounting for different transactions such as Debit Memo, Credit Memo, On-Account Credits, Charge Backs, Commitments and invoices.
14) What are the different statuses for Receipts?
A) Unidentified – Lack of Customer Information
Unapplied – Lack of Transaction/Invoice specific information (Ex- Invoice Number)
Applied – When all the required information is provided.
On-Account, Non-Sufficient Funds, Stop Payment, and Reversed receipt.
Customer Conversion:
Interface Tables :
RA_CUSTOMERS_INTERFACE_ALL
RA_CUSTOMER_PROFILES_INT_ALL
RA_CONTACT_PHONES_INT_ALL
RA_CUSTOMER_BANKS_INT_ALL
RA_CUST_PAY_METHOD_INT_ALL
Base Tables :
RA_CUSTOMERS
RA_ADDRESSES
RA_SITE_USES_ALL
RA_CUSTOMER_PROFILES_ALL
RA_PHONES
Auto Invoice:
Interface Tables :
RA_INTERFACE_LINES_ALL,
RA_INTERFACE_DISTRIBUTIONS_ALL
RA_INTERFACE_SALESCREDITS_ALL,
RA_INTERFACE_ERRORS_ALL
Base Tables :
RA_CUSTOMER_TRX_ALL,
RA_CUSTOMER_TRX_LINES_ALL,
RA_CUST_TRX_LINE_GL_DIST_ALL,
RA_CUST_TRX_LINE_SALESREPS_ALL,
RA_CUST_TRX_TYPES_ALL
AutoLockBox:
Interface Tables :
AR_PAYMENTS_INTERFACE_ALL (POPULATED BY IMPORT PROCESS)
Interim tables :
AR_INTERIM_CASH_RECEIPTS_ALL (All Populated by Submit Validation)
AR_INTERIM_CASH_RCPT_LINES_ALL,
AR_INTERIM_POSTING

Base Tables :
AR_CASH_RECEIPTS_ALL,
AR_RECEIVABLE_APPLICATIONS_ALL,
AR_PAYMENT_SCHEDULES_ALL ( All Populated by post quick cash)

ORDER MANAGEMENT FAQ

Base Tables Vs Interface Tables

Base Tables : OE_ORDER_HEADERS_ALL: Order Header Information
OE_ORDER_LINES_ALL: Items Information
OE_PRICE_ADJUSTMENTS: Discounts Information
OE_SALES_CREDITS: Sales Representative Credits.


Shipping Tables :WSH_NEW_DELIVERIES
WSH_DELIVERY_DETAILS
WSH_DELIVERY_ASSIGNMENTS
WSH_DELIVERIES

Interface Tables : OE_HEADERS_IFACE_ALL,
OE_LINES_IFACE_ALL
OE_PRICE_ADJS_IFACE_ALL,

OE_ACTIONS_IFACE_ALL
OE_CREDITS_IFACE_ALL (Order holds like credit check holds etc)


What is Order Import and What are the Setup's involved in Order Import?

A) Order Import is an open interface that consists of open interface tables and a set of API’s. It imports New, updated, or changed sales orders from other applications such as Legacy systems. Order Import features include validations, Defaulting, Processing Constraints checks, Applying and releasing of order holds, scheduling of shipments, then ultimately inserting, updating or deleting orders from the OM base tables. Order management checks all the data during the import process to ensure its validity with OM. Valid Transactions are then converted into orders with lines, reservations ,price adjustments, and sales credits in the OM base tables.

B) Setups:

· Setup every aspect of order management that we want to use with imported orders, including customers, pricing, items, and bills.
· Define and enable the order import sources using the order import source window.

3) the Order Cycle?

i) Enter the Sales Order
ii)Book the Sales Order(SO will not be processed until booked(Inventory confirmation))
iii)Release sales order(Pickslip Report is generated and Deliveries are created)
(Deliveries – details about the delivery. Belongs to shipping module (wsh_deliveries, wsh_new_deliveries, wsh_delivery_assignments etc) they explain how many items are being shipped and such details.
iv)Transaction Move Order (creates reservations determines the source and transfers the inventory into the staging areas)
v)Launch Pick Release
vi)Ship Confirm (Shipping Documents(Pickslip report, Performa Invoice, Shipping Lables))

4)Order to Cash Flow?

I. Enter the Sales Order
II.Book the Sales Order(SO will not be processed until booked(Inventory confirmation))
III.Release sales order(Pickslip Report is generated and Deliveries are created)
(Deliveries – details about the delivery. Belongs to shipping module (wsh_deliveries, wsh_new_deliveries, wsh_delivery_assignments etc) they explain how many items are being shipped and such details.
IV.Transaction Move Order (Selects the serial number of the product which has to be moved/ shipped)
V. Launch Pick Release
VI.Ship Confirm (Shipping Documents(Pickslip report, Performa Invoice, Shipping Lables))
VII. AutoInvoice (Creation of Invoice in Accounts Receivable Module)
VIII. Autolockbox ( Appling Receipts to Invoices In AR)
IX.Transfer to General Ledger ( Populates GL interface tables)
X. Journal Import ( Populates GL base tables)
XI.Posting ( Account Balances Updated).


5)What are the Process Constraints?
A. Process Constraints prevent users from adding updating, deleting, splitting lines and canceling order or return information beyond certain points in the order cycle. Oracle has provided certain process constraints which prevent data integrity violations.
Process constraints are defined for entities and attributes. Entities include regions on the sales order window such as order, line, order price adjustments, line price adjustments, order sales credits and line sales credits. Attributes include individual fields (of a particular entity) such as warehouse, shit to location, or agreement.

6) What are different types of Holds?
1)GSA(General Services Administration) Violation Hold(Ensures that specific customers always get better pricing for example Govt. Customers)
2)Credit Checking Hold( Used for credit checking feature Ex: Credit Limit)
3)Configurator Validation Hold ( Cause: If we invalidate a configuration after booking)


7)What is Document Sequence?
A)
Document sequence is defined to automatically generate numbers for your orders or returns as you enter them. Single / multiple document sequences can be defined for different order types.
Document sequences can be defined as three types Automatic (Does not ensure that the numbers are contiguous), Gapless (Ensures that the numbering is contiguous), Manual Numbering. Order Management validates that the number specified is unique for order type.


8) What are Defaulting Rules?
A) A defaulting rule is a value that OM automatically places in an order field of the sales order window. Defaulting rules reduce the amount of information one must enter. A defaulting rule is a collection of defaulting sources for objects and their attributes.
It involves the following steps
· Defaulting Conditions - Conditions for Defaulting
· Sequence – Priority for search
· Source – Entity ,Attribute, Value
· Defaulting source/Value
10. When an order cannot be cancelled?
A) An order cannot be cancelled if,
· It has been closed
· It has already been cancelled
· A work order is open for an ATO line
· Any part of the line has been shipped or invoiced
· Any return line has been returned or credited.

11. When an order cannot be deleted?
A) you cannot delete an order line until there is a need for recording reason.
12. What is order type?
A) An order type is the classification of order. It controls the order work flow activity, order number sequence, credit check point and transaction type. Order Type is associated to a work flow process which drives the processing of the order.
13. What are primary and secondary price lists?
A) Every order is associated to a price list as each item on the order ought to have a price. A price list is contains basic list information and one or more pricing lines, pricing attributes, qualifiers, and secondary price lists. The price list that is primarily associated to an order is termed as Primary price list.
The pricing engine uses a Secondary Price list if it cannot determine the price of the item ordered in the Primary price list.
14. What is pick slip? Types?
A) It is an internal shipping document that pickers use to locate items to ship for an order.
· Standard Pick Slip – Each order will have its own pick slip with in each picking batch.
· Consolidated Pickslip – Pick slip will have all the orders released in the each picking batch.
15. What is packing slip?
A) It is an external shipping document that accompanies the shipment itemizing the contents of the shipment.
16. What are picking rules?
A) Picking rules define the sources and prioritization of sub inventories, lots, revisions and locators when the item is pick released by order management. They are user defined set of rules to define the priorities order management must use when picking items from finished goods inventory to ship to a customer.
17. Where do you find the order status column?
A) In the base tables, Order Status is maintained both at the header and line level. The field that maintains the Order status is FLOW_STATUS_CODE. This field is available in both the OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL.
18. When the order import program is run it validates and the errors occurred can be seen in?
A) Responsibility: Order Management Super User
Navigation: Order, Returns > Import Orders > Corrections

Thursday, August 09, 2007

Workflow Access Levels

0-9: Reserved for Oracle Workflow
10-19: Reserved for Oracle Application Object Library
20-99: Reserved for Oracle E-Business Suite
100-999: Reserved for customer organizations
1000: Public.

Wednesday, July 18, 2007

Purchasing Options

Navigation: Setup > Organizations > Purchasing Options
Screen: Purchasing Options


Requisition Import Group - By
This value determines how the system should group all those Requisitions lines generated by Oracle Inventory based upon the Planning Mechanism. Group requisition lines for each item on a separate requisition
Rate Type
The default rate type is used when the Purchasing Document is in Foreign Currency. The user rate type will ask the user to enter the conversion rate vis-à-vis the foreign currency.
Minimum Release Amount
Minimum Release Amount will determine the minimum amount for which a release can be entered against an Agreement.
Taxable
No.
Price Break Type
Price Break indicates if the Vendor is offering any quantity discount. The Price Break Type will determine the mechanism by which the system should sum up the total Quantity so that the correct Price defaults from the Price Break.
Price Type
This value is used only for referential purpose. Fixed Price Type will indicate that the Price reflected on the Purchase Order is a Fixed Price after negotiating the same with the vendor.
Quote Warning Delay
Quote Warning Delay will determine the number of Days in Advance the system should warn the user before the Quotation expiry date.
RFQ Required
RFQ Required indicates the Buyer that an RFQ was Required for this Requisition before the same was converted into a Purchase Order.
Receipt Close Tolerance
PO Closes for receiving when 95% of the good is received.
Invoice Close Tolerance
No over Invoice Quantity Allowed i.e. the Invoice Quantity and the PO quantity should always match.
Line Type
The default line type in all the Purchasing Documents.
Invoice Matching
Determines the type of Matching the system will subject the Invoice against the source Purchase document.
Accrual
Accrue Expense Items
Determines when the Expense Items/Services will be Accrued.
Accrue Inventory Items
Inventory Accrual will be done Perpetually i.e. The system will accrue the liability on receipt of Goods which are Stockable (Current Assets) in nature.
Expense AP Accrual Account
The default Expense AP Accrual Account.
Control
Price Tolerance
The Price Tolerance allowed when the Purchase Order Price differs from the Item List Price as entered in the Item Master.
Enforce Price Tolerance
Determines whether the Price Tolerance should be enforced or not.
Enforce Full Lot Quantity
Not Applicable
Display Disposition Messages
Not Applicable
Receipt Close Point
This option determines when the system should close the Purchase Order close for receiving.
Notify if Blanket PO Exists
The option determines whether the system should Notify you, In case you are buying an Item on Standard Purchase Order though a Blanket Agreement exists for that Item.
Cancel Requisitions
In case of a Purchasing Document being cancelled, how the system should treat the associated Requisition. Should it cancel the Requisition optionally or overtime?
Allow Item Description Update
This control Attribute will determine whether the Item description can be updated or not at the time of raising a Purchasing document.
Security Hierarchy
The Security Hierarchy determines the various positions, which will have access to the various documents.
Enforce Buyer Name
This option will restrict the other buyer from accessing the documents belonging to another Buyer.
Enforce Vendor Hold
If a Vendor has been put on hold in the Vendor Master, should the system stop you from entering any Purchasing documents against that vendor?
Numbering
RFQ Number – Entry
Numbering options determines the way the system should number the various purchasing documents.
RFQ Number – Type
-do-
RFQ Number – Next Number
-do-
Quotation Number – Entry
-do-
Quotation Number – Type
-do-
Quotation Number – Next Number
-do-
PO Number – Entry
-do-
PO Number – Type
-do-
PO Number – Next Number
-do-
Requisition Number – Entry
-do-
Requisition Number – Type
-do-
Requisition Number – Next Number
-do-

OM Flow and table level Information

Steps in Order Cycle:


1) Order Entry
2) Booking
3) Pick release :

For this we have to go to
Shipping Responsibilty Release sales order
Here In this form , In the ORDER tab, we have to enter ORDER Number
And delete the Scheduled shipped Dates To & Requested Dates To.
In SHIPPING tab, set AUTO CREATE DELIVERY to YES. In INVENTORY tab enter WAREHOUSE, set AUTO ALLOCATE to YES and AUTO PICK CONFIRM to YES. IF we set AUTO PICK CONFIRM to NO, then We have to go for the following steps


1. go to Inventory Resp
Move order à Transact Move Order then it will ask for
warehouse information. Give the same name as before [M2]
In this form, In the HEADER tab, enter the BATCH
NUMBER of the order that is picked .Then Click FIND
Button. Click on VIEW/UPDATE Allocation, then
Click TRANSACT button. Then Transact button will be
deactivated then just close it and go to next step.

4) Shipping :
For this we need to go to Shipping Transaction Give the order Number, and click find
Then we can see the order status.
Then we have to click DELIVERY Tab Button, in the Action LOV
We have to choose, SHIP CONFIRM.
Then four concurrent program will run in the background.
Such As::
1.) INTERFACE TRIP Stop
2.) Commercial Invoice
3.) Packing Slip Report
4.) Bill of Lading


After this concurrent program will complete successfully, we have to run
One more WORKFLOW BACKGROUND PROGRAM.
· If we don’t want to ship all the items, that are PICKED, then we have to click LINE/LPN tab , then click DETAIL button .
Now, in that form , in the SHIPPING field, we have to enter how Much quantity of items, we want to ship . The rest remain quantity, that are Ordered will become backorder quantity .


5) Interfacing with AR :

After WORKFLOW BACKGROUND PROGRAM
Concurrent program will complete successfully, we have to run
AUTO INVOICE MASTER PROGRAM from
RECEIVABLE RESPONSIBILTY. After this program
will complete successfully , we can the invoice details in
RECEIVALE à TRANSACTIONS à TRANSACTIONS. Here in
This Form, we have to give our order number in reference field
And query for the invoice details .Then we can see the invoice details.




Table Level Information:
==========================
Order Entry
• At the header level a record gets inserted into the header table
OE_ORDER_HEADERS_ALL.
• At the line level, record(s) get inserted into the Line table
OE_ORDER_LINES_ALL.

Order Booking
• This will update FLOW_STATUS_CODE value in the table
OE_ORDER_HEADERS_ALL to “BOOKED”
• The FLOW_STATUS_CODE in OE_ORDER_LINES_ALL will change to
AWAITING_SHIPPING.
• Record(s) will be created into the table WSH_DELIVERY_DETAILS with
RELEASED_STATUS=’R’ (Ready to Release)
OE_INTERFACED_FLAG=’N’ (Not interfaced to OM)
INV_INTERFACED_FLAG=’N’ (Not interfaced to Inv)
• Record(s) will be created into WSH_DELIVERY_ASSIGNMENTS but with
DELIVERY_ID null.

Pick Release
------------------
IF “Autocreate Delivery” option = “Yes” THEN
• ) Create a record into the table WSH_NEW_DELIVERIES
• ) Update WSH_DELIVERY_ASSIGNMENTS with DELIVERY_ID, thus
• ) Update WSH_DELIVERY_DETAILS with RELEASED_STATUS=’Y

Auto Invoicing
----------------------
Before running “Autoinvoice Program”, record(s) will exist into the table
RA_INTERFACE_LINES_ALL with

INTERFACE_LINE_CONTEXT = ’ORDER ENTRY’
INTERFACE_LINE_ATTRIBUTE1 = &Order_number
INTERFACE_LINE_ATTRIBUTE3 = &Delivery_id
SALES_ORDER = &Order_number

After running the “Auto invoice Program” for the order:
Records will be deleted from the table RA_INTERFACE_LINES_ALL and new details will be created into the following RA transaction tables.
>RA_CUSTOMER_TRX_ALL with
INTERFACE_HEADER_ATTRIBUTE1=&Order_number
RA_CUSTOMER_TRX_LINES_ALL with
INTERFACE_LINE_ATTRIBUTE1 = &Order_number
SALES_ORDER = &Order_number

Tuesday, July 17, 2007

Know Current APPS Current Versions.

1)select product_version,patch_level from fnd_product_installations
Get current version ana Patch level information.
2)select * FROM V$VERSION
Database Version infomation.
3)select * from v$instance
Instance details
4)select WF_EVENT_XML.XMLVersion() XML_VERSION from sys.dual;
Current XML Parser Version info.
5)select TEXT from WF_RESOURCES where TYPE = 'WFTKN' and NAME = 'WF_VERSION'
Workflow version Number.
6)select home_url from icx_parameters
Oracle applications front end URL
7)SELECT VALUE FROM V$PARAMETER WHERE NAME=’USER_DUMP_DEST’
Get the Trace file location.
8) XML Publisher Vesion info.
$OA_JAVA/oracle/apps/xdo/common/MetaInfo.class.

Sunday, July 15, 2007

Another way to find the Jdev Path and DBC file Location.

Log on to Sysadmin-> profiles->
Personalize Self-Service Defn Yes
2)Bounce the Apache and click on about This page.
3)Click on Java System Properties
System Property
DBCLocation :
-> /u02/app/apntstv2/ntstv2appl/fnd/11.5.0/secure/ntstv2_nacdell03/

Then Click on Technology Components
Product/Component
1)OA Framework -> 11.5.10 2CU
2)Oracle Applications Extension -> 9.0.3.8.12 (build 1271)
3)Business Components->9.0.3.13.51
4)MDS->9.0.5.4.81_481


Wednesday, July 11, 2007

Forward Declaration

PL/SQL allows for a special subprogram declaration called a forward declaration. It consists of the subprogram
specification in the package body terminated by a semicolon. You can use forward declarations to do the
following:
• Define subprograms in logical or alphabetical order.
• Define mutually recursive subprograms.(both calling each other).
• Group subprograms in a package
Example of forward Declaration:
CREATE OR REPLACE PACKAGE BODY forward_pack
IS
PROCEDURE calc_rating(. . .); -- forward declaration
PROCEDURE award_bonus(. . .)
IS -- subprograms defined
BEGIN -- in alphabetical order
calc_rating(. . .);
. . .
END;
PROCEDURE calc_rating(. . .)
IS
BEGIN
. . .
END;
END forward_pack;

BIND Vs LEXICAL

BIND VARIABLE :
-- are used to replace a single value in sql, pl/sql
-- bind variable may be used to replace expressions in select, where, group, order
by, having, connect by, start with cause of queries.
-- bind reference may not be referenced in FROM clause (or) in place of
reserved words or clauses.
LEXICAL REFERENCE:
-- you can use lexical reference to replace the clauses appearing AFTER select,
from, group by, having, connect by, start with.
-- you can’t make lexical reference in a pl/sql
statmetns.


Flex mode and Confine mode

Confine mode
On: child objects cannot be moved outside their enclosing parent objects.
Off: child objects can be moved outside their enclosing parent objects.

Flex mode:
On: parent borders "stretch" when child objects are moved against them.
Off: parent borders remain fixed when child objects are moved against
them.



Diff Between Implicit and Explicit Cursors
1) Implicit: declared for all DML and pl/sql statements.
By default it selects one row only.


2)
Explicit: Declared and named by the programmer.Use explicit cursor to individually process each row returned by a Multiple statements, is called ACTIVE SET. Allows the programmer to manually control explicit cursor in the
Pl/sql block


Execution Sequences of sql clauses.
a)Select…..
b)Group by…
c)Having…
d)Orderby..

performance problem in a Report

Tune the Report Main Query
Create indexes on columns used in where condition (eliminate full table scan)
set trace on in before report and set trace off in after report

Before Report:
srw.do_sql('alter session set sql_trace=true');

After Report:
srw.do_sql('alter session set sql_trace=false');

Trace file will be generated at location:

select value from v$parameter
where name = 'user_dump_dest';


Get the trace file location path

see execution plans in a trace file, you need to format the
generated trace file with tkprof statement.


Store Code statics in local drive.

Monday, July 09, 2007

APPS Key Concepts
a) None of GL module table contain "ORG_ID" Column.
b) FND ->Oracle application foundations
c)ICX: Discoverer Launcher
Get the discover Launcher URL

Tuesday, July 03, 2007

Account Receivables

Account Receivables
1)Payment Tables in AR
The following tables stores cash and misc information
a)AR_CASH_RECEIPTS_ALL(CASH_RECEIPT_ID)
Stores 1 record for each receipt Entry
b)AR_CASH_RECEIPTS_HISTORY_ALL(CASH_RECEIPT_HISTORY_ID)
Stores all activities that is life cycle of receipt
c)AR_RECEIVABLES_APPLICATIONS_ALL(RECEIVABLES_APPLICATION_ID)
Stores Accounting information
D)AR_PAYMENT_SCHEDULES_ALL
F)AR_DISTRIBUTIONS_ALL(SOURCE_ID)
Stroes Account Distribution information
Setup Tables
a)AR_RECEIPTS_CLASSES(RECEIPT_CLASS_ID)
Contains Receipt class information.
b)AR_RECEIPTS_METHODS(RECEIPT_METHOD_ID)
Stores Receipt information ,Automatic and manually created receipts
c)AR_RECEIPTS_METHOD_ACCOUNTS

Monday, July 02, 2007

HRMS Date Track

Date Tracking

Date Tracking is a special feature in HRMS.important dynamic information in IS HRMS is date-tracked, including information about people, assignments, payrolls, compensation, and benefits.

When you log on to IS HRMS, your effective date is always today’s date.
To view information from another date or to make future-dated changes you must change your effective date.


The two DateTrack command icons on your window toolbar are:
• Alter Effective Date
• View DateTrack History


When you update date-tracked information, you are prompted to choose between Update and Correction options. If you select Update, IS HRMS changes the record as of your effective date but preserves the previous information.

If you select Correction, IS HRMS overrides the previous information with your new changes. You cannot create a record and then update it on the same day. If you try to do this, IS HRMS warns you that the old record will be overridden, and then changes Update to Correction. This occurs because DateTrack maintains records for a minimum of a day at a time.

View DateTrack History
To see all the changes made to a datetracked record over time, use DateTrack History. Click on [Full History] if you want to open a DateTrack History folder showing the value of each field between the from and to dates.

Account Paybles Tables

Account Paybles Tables

1)Invoice Details.
a)Ap_invoices_all(INVOICE_ID)
You can see the approved Invoices.
b)Ap_invoice_Distributions_all(INVOICE_ID)
To get Distributed Invoices information.
2)Invoice Transactions
a)ap_ae_headers_all(AE_HEADER_ID)
b)ap_ae_lines_all
Stores Distributed Accounting information.
3)Payment Schedule Information
a)ap_payment_schedules_all(INVOICE_ID)
Stores Amount remaing information and schedule payments for an invoice.
b)ap_invoice_payments_all(INVOICE_ID,CHECK_ID)
After compleing invoice payment information stores here.
4) Check Information.
a)ap_checks_all(CHECK_ID)
if you done the payment via check this information stores here.
b)AP_CHECK_FORMATS(Check_format_id)
When you create the invoice ie assciated with accouting infomation that information stores in this table.
c)AP_MC_INVOICES(invoice_id,set_of_book_id)
Contains Multiple invoice Currency information as well as Exchange Information.
d)AP_HOLDS_ALL
Holds invoice information you places
f)AP_CHRG_ALLOCATIONS_ALL
Used for AP links with the appropriate invoice distributins.
5)Approval information
a)AP_INV_APRVL_HIST_ALL(Approval history id,invoice_id)
Invoice approval information
b)AP_HISTORY_INVOICES_ALL(Invoice_id,VENDOR_iD)
All invoice history information stores here
c)AP_INVOICE_TRANSMISSIONS(JE_BATCH_ID)
When you post the invoice to GL This table will effected.
6)Terms
a)AP_TERMS_TL(TERMS_ID)
Contains Term information.
b)AP_INTERFACE_REJECTIONS
which could not be processed by Payables Open Interface Import
c)AP_BANK_ACCOUNTS_ALL
information about bank accounts

Tuesday, June 26, 2007

Purchase Order

Purchase Order Tables

1.PO_REQUISITION_HEADESR_ALL
2.PO_REQUISITION_LINES_ALL

When you raise the Requisition these tables effected (PO_REQUISITION_HEADER_ID) is the join between the tables
4.PO_REQ_DISTRIBUTION_ALL
It distribute the Requisition Account information.
5.PO_HEADERS_ALL (PO_HEADER_ID)
6.PO_LINES_ALL
When PO Created PO# stores in tables(PO_HEADER_ID) is the join for tables
7.PO_DISTRIBUTIONS_ALL
It will distribute the PO# Account information
8.PO_ACTION_HISTORY
Here you can get Approvals notification Status
9.PO_VENDORS_ALL
(VENDOR_ID)
10.PO_VENDOR_SITES_ALL
(VENDOR_SITE_ID)
11.PO_VENDOR_CONTACTS_ALL (VENDOR_CONTACT_ID)
Contacts Vendor ,Vendor site and conatct information (Vendor_id,Vendor_contact_id,VEDNOR_SITE_ID)
12.RCV_SHIPMENT_HEADERS_ALL(SHIPMENT_HEADER_ID)
common information about the source of your receipts or expected receipts
13.RCV_SHPMENT_LINES_ALL
when you issue the recept The recepent number , Shipment location stores in the table.
14.RCV_TRANSACTIONS(TRANSACTION_ID)
15.MTL_MATERIAL_TRANSACTIONS
(TRANSACTION_ID)
Stores material transaction information (Transaction_id)
16.PO_Release_all
TO see the which purchase order is released.
17.PO_AGENTS
contains information about buyers and purchasing managers.
18.PO_NOTIFICATION_CONTROLS
contains information about the notification control rules for blanket, planned, and contract purchase orders.
19.PO_APPROVAL_LIST_HEADERS
list of approvers for the purchasing document used for requisition approvals only
20.PO_APPROVAL_LIST_LINES
approval list lines for the requisition approval list.
21.PO_POSITION_CONTROLS_ALL
assignment of control groups to jobs and/or positions
22.PO_DOCUMENT_TYPES_ALL_B
default, control, and option information you provide to customize
23.PO_CONTROL_GROUPS_ALL
control groups you use in your business

24.PO_RFQ_VENDORS
Information about the set of suppliers assigned to a request for quotation (RFQ)
25.PO_VENDOR_LIST_HEADERS(VENDOR_LIST_HEADER_ID)
stores information about supplier quotation lists you create.
26.FINANCIALS_SYSTEM_PARAMS_ALL
This Tables stores common and default information between AP and PO

Thursday, May 31, 2007

How to Use Hint

Select /*+ HINT */ Ename from emp where empid=7856
Where HINT is replaced by the hint text.When the syntax of the hint text is incorrect, the hint text is ignored and will not be used


ALL_ROWS
The ALL_ROWS hint explicitly chooses the cost-based approach to optimize a statement block with a goal of best throughput (that is, minimum total resource consumption).
FIRST_ROWS
The FIRST_ROWS hint explicitly chooses the cost-based approach to optimize a statement block with a goal of best response time (minimum resource usage to return first row). In newer Oracle version you should give a parameter with this hint: FIRST_ROWS(n) means that the optimizer will determine an executionplan to give a fast response for returning the first n rows.
CHOOSE
The CHOOSE hint causes the optimizer to choose between the rule-based approach and the cost-based approach for a SQL statement based on the presence of statistics for the tables accessed by the statement
RULE
The RULE hint explicitly chooses rule-based optimization for a statement block. This hint also causes the optimizer to ignore any other hints specified for the statement block. The RULE hint does not work any more in Oracle 10g.

Hints for Access Paths


FULL
The FULL hint explicitly chooses a full table scan for the specified table. The syntax of the FULL hint is FULL(table) where table specifies the alias of the table (or table name if alias does not exist) on which the full table scan is to be performed.
ROWID
The ROWID hint explicitly chooses a table scan by ROWID for the specified table. The syntax of the ROWID hint is ROWID(table) where table specifies the name or alias of the table on which the table access by ROWID is to be performed. (This hint depricated in Oracle 10g)
CLUSTER
The CLUSTER hint explicitly chooses a cluster scan to access the specified table. The syntax of the CLUSTER hint is CLUSTER(table) where table specifies the name or alias of the table to be accessed by a cluster scan.
HASH
The HASH hint explicitly chooses a hash scan to access the specified table. The syntax of the HASH hint is HASH(table) where table specifies the name or alias of the table to be accessed by a hash scan.
HASH_AJ
The HASH_AJ hint transforms a NOT IN subquery into a hash anti-join to access the specified table. The syntax of the HASH_AJ hint is HASH_AJ(table) where table specifies the name or alias of the table to be accessed.(depricated in Oracle 10g)
INDEX
The INDEX hint explicitly chooses an index scan for the specified table. The syntax of the INDEX hint is INDEX(table index) where:table specifies the name or alias of the table associated with the index to be scanned and index specifies an index on which an index scan is to be performed. This hint may optionally specify one or more indexes:
NO_INDEX
The NO_INDEX hint explicitly disallows a set of indexes for the specified table. The syntax of the NO_INDEX hint is NO_INDEX(table index)
INDEX_ASC
The INDEX_ASC hint explicitly chooses an index scan for the specified table. If the statement uses an index range scan, Oracle scans the index entries in ascending order of their indexed values.
INDEX_COMBINE
If no indexes are given as arguments for the INDEX_COMBINE hint, the optimizer will use on the table whatever boolean combination of bitmap indexes has the best cost estimate. If certain indexes are given as arguments, the optimizer will try to use some boolean combination of those particular bitmap indexes. The syntax of INDEX_COMBINE is INDEX_COMBINE(table index).
INDEX_JOIN
Explicitly instructs the optimizer to use an index join as an access path. For the hint to have a positive effect, a sufficiently small number of indexes must exist that contain all the columns required to resolve the query.
INDEX_DESC
The INDEX_DESC hint explicitly chooses an index scan for the specified table. If the statement uses an index range scan, Oracle scans the index entries in descending order of their indexed values.
INDEX_FFS
This hint causes a fast full index scan to be performed rather than a full table.
NO_INDEX_FFS
Do not use fast full index scan (from Oracle 10g)
INDEX_SS
Exclude range scan from query plan (from Oracle 10g)
INDEX_SS_ASC
Exclude range scan from query plan (from Oracle 10g)
INDEX_SS_DESC
Exclude range scan from query plan (from Oracle 10g)
NO_INDEX_SS
The NO_INDEX_SS hint causes the optimizer to exclude a skip scan of the specified indexes on the specified table. (from Oracle 10g)

Wednesday, May 30, 2007

Display Module Wise Reports

Display Module Wise Reports

SELECT fa.application_short_name, fcpv.user_concurrent_program_name,
description,
DECODE (fcpv.execution_method_code,
'B', 'Request Set Stage Function',
'Q', 'SQL*Plus',
'H', 'Host',
'L', 'SQL*Loader',
'A', 'Spawned',
'I', 'PL/SQL Stored Procedure',
'P', 'Oracle Reports',
'S', 'Immediate',
fcpv.execution_method_code
) exe_method,
output_file_type, program_type, printer_name, minimum_width,
minimum_length, concurrent_program_name, concurrent_program_id
FROM fnd_concurrent_programs_vl fcpv, fnd_application fa
WHERE fcpv.application_id = fa.application_id
ORDER BY 1


SELECT fa.application_short_name,DECODE (fcpv.execution_method_code,'B', 'Request Set Stage Function','Q', 'SQL*Plus','H', 'Host','L', 'SQL*Loader','A', 'Spawned','I', 'PL/SQL Stored Procedure','P', 'Oracle Reports','S', 'Immediate',fcpv.execution_method_code) exe_method,COUNT (concurrent_program_id) COUNTFROM fnd_concurrent_programs_vl fcpv, fnd_application faWHERE fcpv.application_id = fa.application_idGROUP BY fa.application_short_name, fcpv.execution_method_codeORDER BY 1