Академический Документы
Профессиональный Документы
Культура Документы
OracleApps88
The requirement arises from requirements for items, and company places order for items
needed. The vendor supplies the items. Once items are received payment will be made
i.e an invoice will be raised and payment will be made to the vendor. The payment can
be of cash, cheque etc. This is governed under cash management and finally the transaction details will be accounted in GL.
1.
2.
3.
4.
5.
6.
7.
8.
9.
This article discusses the steps involved in a Procure to Pay (P to P) cycle applied in
many business organizations.
Organization Structure to understand Procure to Pay cycle process flow
How to create a Purchase Requisition in Oracle Apps.
Steps to create a Request for Quotation (RFQ) in Oracle Apps
How to create Quotation and Perform Quote analysis in Oracle Apps
Steps to Create Purchase order (PO) in Oracle Apps
Creating Receipts in Oracle Apps
Verify Items in Inventory
Creating and Making Payments for an Invoice in Oracle Apps
Create Journal entries in General Ledger and post
OracleApps88
The following is a high level process flow diagram of Procure to Pay cycle. It details the
series of transactions from procurement to payment and final accounting.
Fig.2. Process Flow Diagram of P2P
OracleApps88
1.
2.
3.
4.
5.
6.
OracleApps88
c.
d.
e.
i.
ii.
iii.
Supplier Creation:
Attach the Responsibility called "Purchasing Vision Operations (USA)"
Go to the Supplier Form
Supply Base=>Suppliers
Enter the Supplier Name. Save. Supplier number will be created automatically.
Select the Sites button enter the supplier site address and other details
Go to the Contacts tab enter the Contact details
Name
Phno
Position and so on.....
Select * FROM AP_SUPPLIERS
where SEGMENT1='20067'
--VENDOR_ID= 4128
Select * FROM AP_SUPPLIER_SITES_ALL
where VENDOR_ID= 4128
--VENDOR_SITE_ID=5193
Select * FROM PO_VENDOR_CONTACTS
where VENDOR_SITE_ID IN=5193
3.
a.
b.
c.
Buyer Creation:
Attach the Responsibility called "US HRMS Manager"
Create Employee
People => Enter and Maintain=>Select New button
Enter EMP name
f.
g.
h.
i.
j.
k.
Select action option select "create Employment" select the option is "Buyer"
Enter Data of Birth
Save => Ok => Employee number will be generated.
Go to System Administrator open the User form create or query user
Select the Person field attach the EMP name (Which we have created)
Save.
Go to Purchasing Responsibility
Open the Buyers form
Enter the employee name and save the transactions.
Setup => Personal =>Buyers
Select * FROM PER_ALL_PEOPLE_F
where PERSON_ID='25'
--EMPLOYEE_NUMBER='1289'
--PERSON_ID=13496
OracleApps88
OracleApps88
OracleApps88
2. Functional Flow
Navigation: Purchasing responsibility >> Requisitions >> Requisitions
Requisition is divided into two parts: header and lines
The header holds the general information about the requisition that is related to
all the lines where as the lines have the specific information about the item to be purchased. Choose the requisition type (here it is purchase requisition). Preparer is the default person who is creating the requisition and cannot be changed. Item requester can
be different from preparer. You can give the description in the description field.
Navigate to lines tab and select the item that you wanted to purchase and enter
the quantity and need by date.
Fig.5. Purchase Requisition
Header
Lines
In the Source details tab, you can input detailed information. You can give a specific note to the buyer which might give particular information related to this purchase.
You can also add buyers name.RFQ required check box denotes that the purchase of the
item requires a request for quote
Document type, document and line are all completed by EBS automatically when a
requisition is created from a blank order, a contract or a quotation.
Fig.6. Source Details Tab
Global is checked when a blanket purchase agreement for the entire organization exists
for the item being purchased.
OracleApps88
Owning organization displays the organization who owns the agreement. This feature
is usually seen when an organization is using a centralized purchasing model.
Contract num along with rev references the associated contract agreement with the supplier for specific terms and conditions
You can further add extra description in the details tab. You can notify supplier that the
item is needed urgently by checking urgent checkbox. Note to receiver might give some
information to the receiver when he receives the item. Transaction nature describes the
nature of transaction. You can enter a reference number which provides a reference to a
document in another system such as a work order. You can select UN number and hazard from list of values.
Fig.7. Details Tab
Requisitions can be added in any currency set up in EBS by identifying the currency
code and exchange rate type on currency tab.
Fig.8. Currency Tab
OracleApps88
Close the form and save your work. You will now notice that Approve button is
highlighted. Click the Approve button to submit this requisition for approval.
Fig.10. Approving the Requisition
OracleApps88
OracleApps88
Here, our requisition is approved. You can also view the Action History of the
requisition by navigating to Tools>> Action History.
Here the sequence of the steps involved (who has submitted the requisition, and
who has approved/ rejected the requisition) is shown:
Fig.13. Action history of Purchase Requisition
OracleApps88
PO_REQUISITION_LINES_ALL
This table stores information about Requisition lines in a Purchase Requisition.
This table stores information related to the line number, item number, item category,
item description, item quantities, units, prices, need-by date, deliver-to location, requestor, notes, and suggested supplier information for the requisition line.
Important columns of this table:
REQUISITION_HEADER_ID:
identifier
REQUISITION_LINE_ID:
PO_REQ_DISTRIBUTIONS_ALL
LINE_NUM:
LINE_TYPE_ID:
CATEGORY_ID:
ITEM_DESCRIPTION:
QUANTITY NUMBER:
Select REQUISITION_LINE_ID
From PO_REQUISITION_LINES_ALL
Where REQUISITION_HEADER_ID=181283;
-- REQUISITION_LINE_ID = 208463
3.
PO_REQ_DISTRIBUTIONS_ALL
This table stores information about the accounting distributions of a requisition
line. Each requisition line must have at least one accounting distribution. Each row includes the Accounting Flexfield ID and Requisition line quantity.
OracleApps88
OracleApps88
5.1
OracleApps88
I will auto create RFQ from an existing Purchase Requisition (here it is 14373).
Navigate to Purchasing>> Auto Create
Press Clear button and enter your Requisition number and click find.
Fig.15.Find Requisition Lines
OracleApps88
It will navigate to a new window. Here the RFQ Type is Standard RFQ and click create
button.
Fig.17. New Document
In the next window, RFQ form is auto created from an existing Purchase requisition.
Fig.18. Auto Create RFQ
OracleApps88
Click Suppliers button and enter the details of the Suppliers to whom you want to send
this RFQ.
Fig.19. RFQ Suppliers
Click on Terms button and add payment terms and freight terms.
Fig.20.RFQ Terms
OracleApps88
In the above picture, the first line shows the actual quantity is 250 and the actual price is
25. In the second line, we have asked for a discount of 2% and the price has changed to
24.5. This way the above form is used for negotiation and price break up. Close the form.
Change the status to Active and save the RFQ.
Fig.22. RFQ
Now the RFQ is Auto Created from an existing Purchase Requisition and now we need
to send this form to the Suppliers we selected in the above RFQ form.
Run the Concurrent Request called Printed RFQ Report to print this RFQ to send it to
the suppliers
5.2
OracleApps88
OracleApps88
The above picture shows a completed RFQ form. Now we will create quotations
based on the response from the suppliers with relevant to this RFQ form.
You should get two new quotations against the two suppliers. (Here my quotation numbers are 504 and 505).
Now, the corresponding supplier will send the quotation to quote for the
RFQ using
two ways:
1. Purchasing -> RFQs and Quoatations -> Quotations and entering the quotation with
the supplier name as the one which we specified in the RFQ suppliers.(Fig.19.)
Fig.24. Quotations entered by Supplier
OracleApps88
Here we have selected the second supplier and entering the quotation sent by the supplier. Click OK button.
Fig.26. Quotation Number
Navigate to RFQs and Quotations>> Quotations and query for Quotation (504)
Fig.27.a.Quotation(1)
Notice that the quotation has been created from RFQ number 308. Change the status to
Active. Similarly repeat the steps for Quotation number 505 and save it.
Fig.27.b Quotation(2)
OracleApps88
Quote Analysis
Quote analysis is the process of reviewing the quotations given by the suppliers.
The best quotation will be selected by analyzing certain factors like price, quality, delivery time etc.
Navigate to RFQs and quotations>> Quote Analysis
Query by RFQ number and click Find button.
Fig.28. Find Quotations
OracleApps88
Here you can analyze all the quotations sent by the suppliers and select the best supplier
and click Approve Entire Quotation button.
Fig.30.Approve Quotation
Click OK.
Fig.31. Approval Status
OracleApps88
9.1
Functional Flow
Lets create a Standard Purchase Order.
Here, we will Auto Create a Purchase Order based on Approved Requisition.
Navigation: Purchasing>> Auto Create
Enter requisition number and click Find to navigate to Auto Create documents window
Fig.32. Find Requisition Lines
Select your Requisition Line by ticking the check box next to the Requisition Line
Action:
Create
OracleApps88
Standard PO
Default
Click Automatic button and click create button in the New Document form. By clicking
Automatic button, a standard PO is created based on the details provided in the Purchasing requisition.
You can select Supplier either in the New Document form or in the Purchase Order
form
Fig.34. New Document
Status represents the status of the document. Incomplete is the default status for all purchase orders until they are submitted for the first time for approval.
Click Shipments button.
Shipment number, Org, Ship-to, UOM, Quantity and Need-by-date are shown by default. These fields can be edited as needed. You can split the lines and can change the
ship-to Organization, quantity of items to be shipped and delivery date.[you can request
the supplier to supply some of the quantities to be supplied by the need-by date you
provided and rest of the quantities (to the same ship-to address or a different address) to
a different need-by-date]
Fig.36. Shipments
OracleApps88
Receipt Close Tolerance (%) determines when this line will close for receiving
Invoice Close Tolerance (%) determines when this line will close for invoicing
A Purchase Order has three main close points: Closed for Receiving, Closed for Invoicing (these two relate to a specific line) and Purchase Order itself has a closed status.
The entire order will not close automatically if all the lines are not closed for both receiving and invoicing.
A tolerance of 0% indicates that it will close when the total amount received or invoiced
equals the amount on the order, whereas a close tolerance of 100% indicates that no receipts or invoices are required for this order, which will close the lines for receiving as
soon as the order is approved.
Reviewing these default close tolerances on a regular basis is a good idea to ensure orders are properly controlled and closed with minimal intervention by the purchasing
agent.
Select an option at Match approval Level.This determines the close point for an order.
2-way determines Purchase Order and Invoice quantities must match with in the tolerance before the corresponding invoice can be paid.
Quantity Billed = Quantity Ordered
Invoice Price = Purchase Order Price
OracleApps88
3-way determines Purchase order, receipt, and invoice quantities must match within tolerance before the corresponding invoice can be paid.
Quantity Billed = Quantity Ordered
Invoice Price = Purchase Order Price
Quantity Billed = quantity Received
4-way determines Purchase order, receipt, accepted, and invoice quantities must match
within tolerance before the corresponding invoice can be paid.
Quantity Billed = Quantity Ordered
Invoice Price = Purchase Order Price
Quantity Billed = quantity Received
Quantity Billed= Quantity Accepted
Select an Invoice Match Option
The Invoice Match Option determines whether the invoice will be matched to the Receipt or the PO when using 3-Way matching
Select PO when using 2-way and select PO or Receipt for 3-Way.
Enter the Receiving control information by clicking Receiving Controls button
Fig.38. Receiving Controls
OracleApps88
Click on More tab. The Requisition number from which this Purchase Order has been
created is shown by default.
Fig.40. Distributions
Click Terms to enter terms, conditions, and control information for purchase orders.
Fig.41. Terms
OracleApps88
OracleApps88
2. PO_LINES_ALL
This table stores the line information of a Purchasing Document.
Important columns of this table:
PO_LINE_ID:
Unique identifier of the Document Line
PO_HEADER_ID:
Unique identifier of the Document Header (with reference to
PO_HEADERS_ALL, PO_LINE_ID)
LINE_TYPE_ID:
Unique identifier of Line_Type (with reference to
PO_HEADERS_ALL, PO_LINE_ID and PO_HEADER_ID)
LINE_NUMBER:
Line Number
ITEM_ID:
Unique Item Identifier
ORG_ID:
Unique Identifier of the Operating Unit
CLOSED_CODE:
Status of the Document
Sample Queries:
Select PO_LINE_ID
from PO_LINES_ALL
where PO_HEADER_ID= 110415;
-- PO_LINE_ID= 173312
3. PO_LINE_LOCATIONS_ALL
This table contains the information related to purchase order shipment schedules and
blanket agreement price breaks. You need one row for each schedule or price break you
attach to a document line.
1.
2.
3.
4.
5.
6.
There following are the seven documents that use shipment schedules:
RFQs
Quotations
Standard purchase orders
Planned purchase orders
Planned purchase order releases
Blanket purchase orders
OracleApps88
1.
2.
3.
4.
4. PO_DISTRIBUTIONS_ALL
This table contains the information related to accounting distribution of a purchase order
shipment line. You need one row for each distribution line you attach to a purchase order shipment. There are four types of documents using distributions in Oracle Purchasing:
Standard Purchase Orders
Planned Purchase Orders
Planned Purchase Order Releases
Blanket Purchase Order Releases
OracleApps88
5.
Each row includes the destination type, requestor ID, quantity ordered and deliver-to
location for the distribution.
Important columns of this table:
PO_DISTRIBUTION_ID:
This is the primary key for this table. It is a unique
Document Distribution identifier.
PO_HEADER_ID, PO_LINE_ID
LINE_LOCATION_ID:
Unique Identifier of the Document Shipment Schedule
(with reference to PO_LINE_LOCATIONS_ALL, LINE_LOCATION_ID)
CODE_COMBINATION_ID:
Unique Identifier of General Ledger Charge Account
(with reference to GL_CODE_COMBINATIONS.CODE_COMBINATION_ID)
REQ_DISTRIBUTION_ID:
Unique Identifier of a Requisition distribution (with
Reference to PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID)
Sample Queries:
SELECT * FROM PO_DISTRIBUTIONS_ALL
WHERE LINE_LOCATION_ID=264440
--PO_DISTRIBUTION_ID=270905
**Here when we need to find the purchase order for a particular Requisition, Follow this
order of querying
**you will know the requisition number through the segment1 of the
po_requisition_headers_all**
select requisition_header_id,last_update_date,segment1,created_by
from po_requisition_headers_all
where SEGMENT1='14373'
--requisition_number --segment1=14352
--requisition_header_id=181283
select * from po_requisition_lines_all
where requisition_header_id=181283
--requisition_line_id = 208463
select * from po_req_distributions_all
where requisition_line_id=208463
--distribution_id = 206987
select * from po_distributions_all
where req_distribution_id = 206987
--po_header_id=110414
select * from po_headers_all
where po_header_id=110415
--segment1=6055 --PO Number
5. AP_SUPPLIERS
This table stores the general information about the suppliers.
OracleApps88
OracleApps88
Click on Header and save the receipt to get the receipt number
Fig.45. Receipt Header
OracleApps88
Navigate back to Purchase Order, query for your Purchase Order and select Shipments
button and click on Status tab to verify that the quantity ordered items match the quantity received and status should be Closed for Receiving
Fig.46. Shipments
OracleApps88
Click Availability
Fig.49. Availability
OracleApps88
OracleApps88
11.1
Base tables for Inventory items in Oracle Apps
1) MTL_SYSTEM_ITEMS_B
2) MTL_ONHAND_QUANTITIES
Note:
INVENTORY_ITEM_ID is the link between MTL_SYSTEM_ITEMS_B and
MTL_ONHAND_QUANTITIES
Queries
Select * from MTL_SYSTEM_ITEMS_B
where SEGMENT1='U1029'
and ORGANIZATION_ID=204
--INVENTORY_ITEM_ID=87618
Select * from MTL_ONHAND_QUANTITIES
where INVENTORY_ITEM_ID=87618
12
OracleApps88
You will get the Tax amount in the Lines information along with their distributions for
reviewing.
Fig.51. Tax Lines
OracleApps88
The total amount to be paid will be generated along with the Taxation in the Generals
Tab. Now you need to change the header amount to equivalent with this total to get
your invoice validated.
Fig.52. Total Amount
OracleApps88
Now the Invoice has been Validated, its time to make payment to the Supplier.
Click Actions, Pay in Full and OK.
Fig.55. Invoice Actions
Enter the Payment date, Bank Account, Payment Method, Payment Process Profile,
payment Document and Document Number and save your work.
Fig.56. Payments
OracleApps88
Click Invoice Workbench and click Actions button and select Create Accounting and
select Final Post and click OK.
Fig. 58. Create Accounting
The status of Accounted should be Yes. This step should transfer the details into the
General Ledger
Fig.59. Accounting Status
OracleApps88
Go to View>> Request>> Find to see the Concurrent Programs that are generated.
Fig.61. Requests
12.2
1)
2)
3)
OracleApps88
WHERE INVOICE_ID=212192
--INVOICE_PAYMENT_ID=157479
--CHECK_ID=77758
--ACCTS_PAY_CODE_COMBINATION_ID=12854
SELECT * FROM AP_PAYMENT_SCHEDULES_ALL
WHERE INVOICE_ID=212008
--BATCH_ID=161884
Accounting Entries
SELECT *FROM AP_ACCOUNTING_EVENTS_ALL
SELECT * FROM AP_AE_HEADERS_ALL
SELECT * FROM AP_AE_LINES_ALL
Check Information
SELECT * FROM AP_CHECKS_ALL
WHERE CHECK_ID=77758
--CHECKRUN_NAME=QUICK PAYMENT: ID=77758
Check Format
SELECT * FROM AP_CHECK_FORMATS;
SELECT * FROM AP_CHECKRUN_CONC_PROCESSES_ALL
13 Flow of Accounting Entries from AP to GL:
Oracle Table links to find out the payment Entries in GL for the invoice that has been
validated and Posted
--TO VIEW THE INVOICE DETAILS
SELECT * FROM AP_INVOICES_ALL
WHERE INVOICE_NUM='11113'
--INVOICE_ID=212192
SELECT * FROM AP_INVOICE_DISTRIBUTIONS_ALL
WHERE
INVOICE_ID=212192
--INVOICE_DISTRIBUTION_ID between 3432322 and 3432325
SOURCE_DISTRIBUTION_ID_NUM_1 in XLA_DISTRIBUTION_LINKS
--TO VIEW THE SUB LEDGER ACCOUNTING DETAILS FOR THE INVOICE
SELECT * FROM XLA_DISTRIBUTION_LINKS
WHERE SOURCE_DISTRIBUTION_ID_NUM_1 IN (3432322,3432323,3432324, 3432325)
--AE_HEADER_ID=4947840
SELECT * FROM XLA_AE_LINES
WHERE AE_HEADER_ID=4947840
--GL_SL_LINK_ID BETWEEN 6865867 AND 6865868
OracleApps88