Thursday, February 26, 2015

Procure to Pay Cycle with Technical Information.

1.REQUISITION:

Requisition: is one of the purchasing document will be prepared by the employee when ever he required the materials or Services or Training and so on.
we have two types of Requisitions :
1)Internal
                        2)Purchase

Internal requisition will be created if materials are receiving from another Inventory within same organization.(Here the source type is 'Inventory')

Purchase requisition will be created while purchasing the materials from the Suppliers.(Here the source type is 'Supplier')

We will enter the Requisition at three levels(1.Header,2.Line,3.Distributions)

1)Header:Open the Requisition form enter the 'Reqno' and select the type at Header level.
(Table:PO_REQUISITION_HEADERS_ALL: IMP Columns:REQUISITION_HEADER_ID:unique system generated Requisition id,PREPARER_ID:It is a unique identifier of the employee who

prepared  the requisition,SEGMENT1: It is the Requisition number,AUTHORIZATION_STATUS:Authorization status type,TYPE_LOOKUP_CODE:Requisition type,ORG_ID:Unique Operating unit unique identifier.

2)Line(Table:PO_REQUISITION_LINES_ALL: Imp Columns:REQUISITION_HEADER_ID:unique system generated Requisition identifier,
REQUISITION_LINE_ID:Link between PO_REQUISITION_LINES_ALL And PO_REQ_DISTRIBUTIONS_ALL
LINE_NUM:                                        Indicates the Line number
LINE_TYPE_ID:                                    Indicates the Line type
CATEGORY_ID:                                     Unique Item category identifier
ITEM_DESCRIPTION:                           Description of the Item
QUANTITY NUMBER:                                 Quantity ordered


3)Distributions:Table: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.
Important columns of this table:
DISTRIBUTION_ID:                               Unique Requisition distribution identifier
REQUISITION_LINE_ID:                        Unique Requisition line identifier
CODE_COMBINATION_ID:                    Unique General Ledger charge account identifier
DISTRIBUTION_NUM:                           Distribution number

Open the Requisition form enter the 'Reqno' and select the type at Header level.

Enter the Items information at line level like Item name,qty,unitprice,tax and so on
select Distributions button enter the Distributions details.
->Save
Select the Approve button to go for approving the Requisition Document.
Open the Requisition summary form.
Enter the Reqno select find button we can find the Requisition status wether it is
approved or not.

select Tools menu => View Action History to find the history details
Select Tools Menu  =>Control option to Cancel the requisition.

2.RFQ(REQUEST FOR QUOTATION)

Once the Requisition is Approved Buyer will prepare thre RFQ document which will be
delivered to the supplier. Supplier will respond for that with quotation.
we have Three types of RFQ documents

BID RFQ:This will be prepared for the secific fixed quantity and there won't be any
        PriceBraeaks(Discounts).

catalog RFQ: This will be create for te materials which we will purchase from the
        suppliers regularley , and large number of quantity. Here we can specify the
        Price Breaks.

Standard RFQ:  This will be prepared for the Items which we will purchase only once
        not very often,Here we can include the Discounts information at different
        auantity levels.
RFQ Information will be entered at 3 Level
  1)Headers
  2)Lines
  3)Price Breaks(CATALOG,STANDARD) or Shippments (Only for Bid RFQ).

3.QUOTATION:

Quotation is another purchasing document we will receive from the Supplier which
contains the supplier quote details , Price, Payment terms and so on.

Whatever the quotations we have received from the supplier we will enter in the system
through form.

We have three types of Quotations 1)Bid 2)Catalog 3)Standard

For Bid RFQ      we will  receive Bid      quotation from the Supplier
For Catalog RFQ  we will  receive Catalog  quotation from the Supplier
For Standard RFQ we will  receive Standard quotation from the Supplier.

After enter all the quotations in the system management will do quote analysis as per
that one best quotation will be elected as Purchase Order.

    Quotation Report
 
    Item Name   (Table Value set MTL_SYSTEM_ITEMS_B   Segment1)
 
QuoteNo Type  Cdate Supplier Site ContactPerson Buyer   Created(UserName).

4.PURCHASE ORDER:

PO is one of the Main document which will be prepared and approved by the buyer and
send it to the supplier. which contains the following information
terms and Conditions
Items deails
Qty,Price
Distiribution and Shipment Details and so on.

We have four types of Purchase Order       1)STANDARD
         2)PLANNED
         3)BLANKET
         4)CONTRACT

Purchase Orders=> Purchase Orders
Open the PO form enter the Inforamtion at header level select line level inforamtion
enter the items and quantity,price details
select shippments button enter the shippment details select the Distributions button
enter the Distribution Detauils.
Save
Select the Button called Approve (Uncheck Email Check Box) , Document will be submitted
for approval.
open the Purchase Order summary form  enter PO number Select Find button we can find
the status of the Purchase order.
Goto Tools menu
Action History => We can find who hs submitted for Approve /Reject /Cancel details
Copy Document  => To Create Another PO based on this PO
Control        => To Close the Purchase Order or to cancel the Purchase Order.

       AUTO CREATE:


It is one of the Purchasing feature to create the RFQ and  PO documents automatically
by using requisition lines.

1)Create Requisition and approve
2)Open the AutoCreate form
3)Select Clear button enter the RequisitionNO
4)Select find button which will shows all the requisition lines
  select the lines whatever we want to include into the RFQ
5)select Action = Create to create new RFQ
    AddTo  to add lines to exisiting to RFQ
6)Select DocumentType = RFQ
7)select Automatic button which will create RFQ document automatically .

5.RECEIPTS:

           Receipts are one of the documents it will be used to find out how much quantity Supplier has supplied. We will find out Purchase Order status if it is

successfully approved then we will create the Receipt. We will give the PO Number select Findbutton check the PO lines right mark and save. It will create the Receipt

number select Header button it will shows the receipt number and date.  

Base tables.
RCV_SHIPMENT_HEADERS
RCV_SHIPMENT_LINES
RCV_TRANSACTIONS    

Match Approval Level :- While creating the Purchase Order we will mention the Match Approval Level at Shipments we will have 3 types they are

2-way:- Purchase Order and Invoice Quantities must match within tolerance before the corresponding invoice can be paid.
3-way:- Purchase Order, Receipts and Invoice Quantities must match with in tolerance before the corresponding invoice can be paid.
4-way:- Purchase Order, Receipts, Inspection and Invoice Quantities must match with in tolerance before the corresponding invoice can be paid.


6.INVOICES:

Here we will select the Invoice type and we will give the Supplier number, name, site invoice date, invoice number, invoice currencies, and amount. Select

Distributions button to distribute the Invoice amount into different accounts.

1.     Invoice total should be equal to the distributions total then we will call it as Invoice validated successfully.

Invoice Holds:-    If invoice is not approved then that invoice will be keeping under hold status. By selecting holds button in invoice form we can see the holds

details.(Tables : ap_holds_all,ap_holds_release_name_v).

7.PAYMENTS:

Payments:-     Once the Invoice is approved then we can go for payments. The Payments are or 3 types. They were

1.     Manual
2.     Quick
3.     Refund

Manual:-    Here we will issue the checks manually to the supplier and we will capture that information in the payment scheme by using manual payment option.

Quick:-     Through the Quick Payment type we can generate checks through the system and we can have the transactions directly in the system.

Refund:-   When ever company is going to give advance back to the customer that time we will select payment type as Refund.
Navigation steps for Payments:-
                 payments  ==> payments
For view list of payments:
           Select * from ap_invoice_payments_all;
           Select * from ap_payment_schedules_all;
For check’s information:
           Select * from ap_checks_all;
For check format:
           Select * from ap_check_formats;
           Select * from ap_checkrun_conc_processes_all;

Distribution Set:-     It is one of the option is available in Invoices Screen. While creating the Invoice we will attach distribution set. System will automatically

create the transactions in distributions forms as per the distribution set.
 Navigation:


 set-up =>invoice=> distribution set

To view Distribution sets at header level:
           Select * from ap_distribution_sets_all;
To view Distribution sets at lines level:
           Select * from ap_distribution_set_lines_all;

Transferring Transactions from AP to GL:-
           We will execute the concurrent program from SRS Window. This program will transfer all the payment transactions into the G.L Module. It will take following

parameters.

Program Name:-   Payables Transfer to General Ledger
Parameters:-
           Set of Books Name
           Transfer Reporting Book(s)
           From Date
           To Date
           Journal Category
Validate Accounts
Transfer To GL Interface
Submit Journal Import :  yes  (It should be always YES)
To view from AP to GL:

           Select * from gl_interface;

To view journal import details:

           Select * from gl_je_headers  à       for Headers
           Select * from gl_je_lines      à       for Lines
           Select * from gl_je_batches  à       for Batches

To view posting:
         
           Select * from gl_balances;


Wednesday, February 25, 2015

Order to Cash Flow.

Order to cash (OTC or O2C) is a set of business processes that involve receiving and fulfilling customer requests for goods or services.

Flow
------

1#.Order Entry - at this stage it create record in Header table and lines table.

Header Table: OE_Orders_Headers_All;(stores header information of the sales order)

Imp columns: Header_id(unique system genarated id)

ORG_ID,ORDER_NUMBER,SHIP_FROM_ORG_ID,SHIP_TO_ORG_ID and FLOW_STATUS_CODE(is 'Entered' at the time of entry).

Lines Table: OE_ORDERS_LINES_ALL(This table stores the Line Information of the Sales Order)

Imp Columns: Line_id:(unique system genarated id)

Header_id: it is the link between oe_orders_headers_all and oe_orders_lines_all

Ordered_item,invetory_item_id,pricing_quantity,ordered_quantity,flow_status_code and unit_selling_price_per_qty.

FAQs

What are the various order management processes supported by oracle OM
           Standard orders: This method supports Make to Stock business model where the products are made and kept in stock. The products are then shipped to the customer based on his order.
·   Configure to orders: this method supports Assemble to Order business model. The product configuration is chosen at the time of sales order entry. WIP job is created based on the requirement of the sales order
·      Drop ship orders: In this method, your supplier will ship the goods to   your customer on your behalf
·        Internal sales orders: Internal sales orders are created across two    different organizations of the same business group. Internal requisition is raised first and is converted to an internal sales order where the items are shipped based on the quantity specified in the internal sales order.

2#Order Booking: it is the final stage in the order entry.by clicking the book order button,the order is booked.

Now the flow_status_code of the order in different tables are below

OE_ORDERS_HEADERS_ALL - Booked.

OE_ORDERS_LINES_ALL - 'Awaiting Shipping'

WSH_DELIVERY_DETAILS - 'R'(Means Ready to Release)

Important columns of WSH_DELIVERY_DETAILS table:

DELIVERY_DETAIL_ID: Unique system generated id with reference to SOURCE_HEADER_ID (it is the HEADER_ID from OE_ORDER_HEADERS_ALL)
SOURCE_HEADER_ID: It is the HEADER_ID generated from OE_ORDER_HEADERS_ALL
SOURCE_LINE_ID: It is the LINE_ID generated from OE_ORDER_LINES_ALL
RELEASED_STATUS, SOURCE_CODE, CUSTOMER_ID, INVENTORY_ITEM_ID, SHIP_FROM_LOCATION_ID, SHIP_TO_LOCATION_ID, MOVE_ORDER_LINE_ID, REQUESTED_QUANTITY, SHIPPED_QUANTITY,

SUBINVENTORY, SHIP_METHOD_CODE etc.


3#Launch Pick Release:Pick release is the process by which the items on the sales order are taken out from inventory.This process allocates on-hand inventory to your order and inform the warehouse personnel to move the item from inventory to the shipping staging area.Once your item is in the shipping staging area, it is ready to be shipped.

Now the flow_status_code of the order in different tables are below

OE_ORDER_LINES_ALL:  Here the FLOW_STATUS_CODE should be ‘PICKED’ or ‘AWAITING_SHIPPING’ depending on Auto Pick Confirm (set to No or Yes).

WSH_DELIVERY_DETAILS: Here RELEASED_STATUS should be ‘S’ (Submitted for Release) or ‘Y’ (Pick Confirmed). These values again depend on the parameters given at Auto

Pick Confirm (set to No or Yes)

WSH_DELIVERY_ASSIGNMENTS: DELIVERY_ID is populated here (from DELIVERY_DETAIL_ID with reference to WSH_DELIVERY_DETAILS table)

4#Ship Confirm the Order:It is a process of sending the Items from shipping staging area to the Customer site. By ship confirming you will notify EBS that the shipment is complete and thereby updating the on-hand Inventory.  Ships confirm process will kick off the following Concurrent Programs:

Interface Trip stop, Packing slip Report, Bill of Lading, Commercial Invoice

OE_ORDER_LINES_ALL:  Here the FLOW_STATUS_CODE should be ‘SHIPPED’
WSH_DELIVERY_DETAILS:  Here RELEASED_STATUS should be ‘C’ (Shipped)

5#Creating Invoices in Receivables:

Here the invoices are created based on the goods sold. We need to run the 'Workflow Background Process' where it picks up the shipping records and transfer to Receivables interface.

Workflow Background Process Insert new records in ra_interface_lines_all

Important columns of this table:
INTERFACE_LINE_ID: It is the LINE_ID with reference to OE_ORDER_LINES_ALL
INTERFACE_LINE_CONTEXT : Order Entry
INTERFACE_LINE_ATTRIBUTE1 : Order Number
INTERFACE_LINE_ATTRIBUTE3 :Delivery ID.

RA_CUSTOMER_TRX_ALL: Stores Invoice header information.

INTERFACE_HEADER_ATTRIBUTE1 column will have the Order Number.
INTERFACE_HEADER_ATTRIBUTE2 column will have Order Type
TRX_NUMBER column is the Invoice Number

RA_CUSTOMER_TRX_LINES_ALL: Stores Invoice lines information.

INTERFACE_LINE_ATTRIBUTE1 column will have the Order Number.
INTERFACE_LINE_ATTRIBUTE2 column will have Order Type
INTERFACE_LINE_ATTRIBUTE3 column will have Delivery
INTERFACE_LINE_ATTRIBUTE4 column will have Waybill
INTERFACE_LINE_ATTRIBUTE5 column will have count

Creating Invoices in Recevables

6# Create Receipt either manually or using Auto Lockbox

Underlying tables:
AR_CASH_RECEIPTS_ALL
CASH_RECEIPT_ID is the unique system generated ID
FLOW_STATUS_CODE in OE_ORDER_LINES_ALL should be ‘CLOSED’

7#Transfer to Genaral Ledger

8#Journal Import

9#Posting


FAQS:

1.  What are the various order management processes supported by oracle OM
        Standard orders: This method supports Make to Stock business model where the products are made and kept in stock. The products are then shipped to the customer based on his order.
·       Configure to orders: this method supports Assemble to Order business model. The product configuration is chosen at the time of sales order entry. WIP job is created based on the requirement of the sales order
·      Drop ship orders: In this method, your supplier will ship the goods to   your customer on your behalf
·    Internal sales orders: Internal sales orders are created across two    different organizations of the same business group. Internal requisition is raised first and is converted to an internal sales order where the items are shipped based on the quantity specified in the internal sales order.
2.  Describe the order flow in Order to Cash life cycle
  • Enter the sales order
  • Book the sales order
  • Pick release
  • Ship confirm
  • Auto Invoice generation
  • Creating receipt
  • Transfer to GL
3.  Describe the processes involved after entering sales order?
  • The items specified on the order are validated in Oracle Inventory
  • The price of the items are calculated using the pricing engine
  • The availability of the items are checked and may be reserved
  • The items are then pick released and shipped to the customer.
4.  What are the different types of sales orders available?
  • Standard
  • Mixed
  • Return
5.  When is an item eligible for customer order?
When the attributes ‘Customer Ordered’ and ‘Customer order enabled’are checked in the order management tab of Master Items.
6.  Describe the Header status during the sales order process?
Entering the sales order                               Entered
Booking the sales order                                Booked
Pick release the order                                   Booked
Ship confirm the order                                 Booked
Running interface trip stop                          Booked

7.  Describe the line status during the sales order process?
Entering the sales order                               Entered
Booking the sales order                                Awaiting shipping (when  sufficient quantity is available)
Supply eligible (when sufficient quantity is not available)
Pick release the order                                    Picked
Ship confirm the order                                  Shipped
Running interface trip stop                          Closed
8.  Differentiate available quantity and on-hand quantity?
Available quantity + Reserved quantity = On-hand quantity
9.  Differentiate Supply Eligible Status and Supply Partial Status?
Supply Eligible
When there is no sufficient quantity available.
Example: When user tries to book a sales order for Item ‘TestItem’ for a quantity of 10 but the item contains zero quantity. Then the Sales Order Line Status change to ‘Supply Eligible’.
Supply Partial
when the quantity is partially available.
Example: When user tries to book a sales order for Item ‘TestItem’ for a quantity of 10 but the item contains only 4 quantities. Then the Sales Order Line Status changes to ‘Supply Partial’.
10.  Describe scheduling in sales order?
It is a process of communicating the balance between customer demand and a company’s ability to fulfill an order from current inventory and supply sources
11.  What are the various ways of scheduling the sales order?
  • Setting Profile option – OM:AutoSchedule to yes
  • From Tools Menu->Check Autoschedule Checkbox in Sales Order Screen.
  • Right Click on Sales Order Line ->Scheduling->Schedule.
  • Schedule Order Concurrent Program.
12.  Differentiate ship set and arrival set?
In the ship set process, the user would like to ship group of order lines from same warehouse to same location. If Order Lines are grouped under ship set, then until all lines in the ship set satisfy the demand, you cannot ship the goods to customer.
In the Arrival Set process, the customer requests specific order lines to arrive together
13.  What are the Process Constraints?
Processing Constraints allow Order Management users the ability to control changes to sales orders, at all stages of its order or line workflows to avoid data inconsistencies and audit problems.
14.  At what stage an order cannot be cancelled?
An order cannot be cancelled when it is Pick confirmed.
15.  What are picking rules?
A user-defined set of criteria to define the priorities Order Management uses when picking items out of finished goods inventory to ship to a customer. Picking rules are defined in Oracle Inventory.
16.  What are Defaulting Rules?
While creating the order, you can define defaulting rules so that the default values of the fields pop up automatically instead of typing all information.
17.  What are validation templates?
A validation template names a condition and defines the semantics of how to validate that condition. Validation templates can be used in the processing constraints framework to specify the constraining conditions for a given constraint.
18.  What is pick slip?
Pick slip is a shipping document that the pickers use to locate items in the warehouse/ inventory to ship for an order.
19.  What is packing slip?
It is a shipping document that is sent along with the shipment which details the contents that are sent in that shipment.
20.  What is shipping exceptions report?
Shipping exceptions report prints the exceptions messages during ship confirmation.
21  Explain Bill of Lading?
It is a legal document between the shipper of a particular item and the carrier detailing the type, quantity and destination of the good being carried
The bill of lading also serves as a receipt of shipment when the good is delivered to the predetermined destination. This document must accompany the shipped goods, no matter the form of transportation, and must be signed by an authorized representative from the carrier, shipper and receiver.
22.  What is Interface trip stop?
ITS is triggered at the time of shipping if the option ‘defer interface’ is not checked. When this report is run, it performs two main things:
Update the order management (OE_ORDER_LINES_ALL)
Trigger the inventory interface (TO UPDATE Inventory tables)
23.  When is drop ship order created?
  • Customer requires an item that is not stocked normally
  • Customer requires large quantities of the item that is not available with you
  • It is more economical when the supplier sends the item directly to the customer
24.  What is ASN?
It is an advanced Shipment Notice which is transmitted via Electronic Data Interchange (EDI) from a supplier to let the receiving organization know that the shipment is arriving.
The ASN contains the shipment date, time, identification number, packing slip data, freight information etc
25.  What is Autoinvoice?
It is a concurrent program which is used to perform the invoice processing. Once the order or lines are eligible for invoicing, the invoice interface workflow activity interfaces the data to reeivables
26.  Explain the difference between a credit memo and an invoice?
Credit memo is raised to partially or fully reverse an original invoice amount
An invoice is generated in receivables which show the amount owed by the customers for the purchase of goods or services. It may also contain tax and freight charges
27.  What is FOB?
The term FOB means Freight (or free) on Board is commonly used when shipping goods to indicate who pays loading and transportation costs, and/or the point at which the responsibility of the goods transfers from shipper to buyer.
“FOB shipping point” or “FOB origin” indicates the buyer pays shipping cost and takes responsibility for the goods when the goods leave the seller’s premises. “FOB destination” designates the seller will pay shipping costs and remain responsible for the goods until the buyer takes possession.
28.  What are the different RMA Order Types?
RMA with Credit is used when the customer returns the physical product and also receives credit as a result of the return.
RMA no Credit is used when the customer will return the product but will not be receiving a credit as a result of the return.
RMA Credit only is used when the customer will receive a credit, but the physical return of the product is not required.
29.  What are the necessary setups to perform Internal Sales Order?
  • Internal Order and Internal Ordered Enabled set to ‘Yes’.
  • Shipping Network(Intransit or Direct) must be defined.
  • Internal Customer must be defined
30.  What are Modifiers and Qualifiers?
Modifiers are discount, surcharge or special charge that may be applied to the base price and may alter the value of the item. It can be applied either at order level or at the line level.
A qualifier helps you define who is eligible for a price list or modifier. A qualifier can be a customer name, a customer class, an order type, or an order amount that can span orders.
31.  What are the possible reasons for Interface trip stop to complete with Error?
Few reasons may be
1) Order is on Hold
2) Tax is not applied properly
3) On-Hand qty is not available in the Inventory
4) Inventory Period is not open
5) Make sure Schedule Ship Date or Requested Date is within the range of order Date.

Sunday, February 22, 2015

10.XML Bursting to Send XML Report via Email

Oracle Bursting Mechanism enables us to deliver a single XML Publisher report/letter to multiple destinations simultaneously.One can create a single report/letter , then send it in any format (e.g., PDF or HTML) to multiple destinations(email ids).
There are two kind of bursting mechanism available within BI publisher
1) Control File Base:- Integrated with EBS
2) Delivery SQL based:- Part of Enterprise release.All delivery, template, output format, locale and other details define through delivery SQL Query. Enterprise Edition assume that this information is stored in data base. The process create the XML file out if this query and the delivery xml file works as control file.
 
Here we will discuss about the "Control File Base" mechanism.
 
Basic Requirement
 Our basic requirement is to send grade change(promotion) letter to the supervisor of the employee.This needs to be achieved using XML Publisher Bursting Mechanism.
 
Pre-Requisite
Following are the pre-requisites for report to build and also for applicability of solution
  • We are creating the template using MS word Form Field method.
Solution Approach
To achieve this we will first understand the different aspects and terminology used in XML Publisher
 
 
Data Definition
The data definition is registration the source of the data that will be merged with template layout to create published report/letter.
Navigation:- XML Publisher Administrator àData DefinitionsàClick on Create Data Definition
 
 

Bursting Control File
Bursting control file is a XML file that contains following information
Control file is xml file (.xml) and contains information such as
  • Level in XML data that you wish to burst on.
  • Email address From, To, subject etc
  • Message we want to send
  • Busted file type (PDF/Excel/HTML etc…), file name, Filter Conditions etc...
  • Location of Template which will be used to generate output busted file.
 
Now to understand the bursting control file we will take an example of our sample XML data file(that will be created via pl/sql procedure)
 
 
 
There are restriction while creating bursting control file
a) The server ip address and port can not be dynamic. It must be hard coded in the file.
b) To define the location follow the following steps
<xapi:template type="rtf" location="/ora_shared/R12/DBXX/apps/apps_st/comn/temp/Test.rtf" /> ##
Navigation:- XML Publisher Administrator àAdministration
Go to Propertiesà Temporary Directory and copy the location that location will be location of our rtf template
 
##=> Sometime the above mentioned process may give you bursting error while running concurrent program, then use the alternative method mentioned below.
 
 
Alternatively the following can be used
location="xdo:///?getSource=true"
:-
selectlt.application_short_name || '.' || lt.template_code || '.' || lt.default_language || '.' || lt.default_territory asburst_template_xdo_location
fromapps.xdo_templates_b ltwhere lt.template_code ='--here value
 
Now Search for the newly created Data Definition and click on the hyperlink the search results.Now attach the Bursting control file with the data definition.
Navigation:- XML Publisher Administrator àData DefinitionsàSearch for newly Created Data Definition
 
 
 
Template
Rich Text Format (RTF) is a specification used by common word processing applications, such as Microsoft Word.XML Publisher’s RTF Template Parser converts documents saved as the RTF file type to XSL-FO.Therefore we can create report designs using your standard word processing application’s design features and XML Publisher will recognize and maintain the design.
 
Now create a RTF using basic Form Field Method(Using Microsoft Word’s form field feature).
 
 
 
 
once the rtf is created, save it local. Now create a data template(follow the navigation mentioned above).
 
 
 
 
 
Note:-Now take the temp location path(noted while discussing Bursting Control file) and put your rtf file also in that location.
 
 
Concurrent Program
Define the concurrent program. The concurrent program used in XML publisher report has following restrictions.
1) The concurrent Short name must match with the short name of the data definition
2) The Output format of the concurrent program will be "XML"
 
 
 
Concurrent Executable Package
We need to create a database package that will generate the XML data file which will be used to feed the data in temaplate and generate letter.
Here our code will retrive the all the employee under a particular supervisor and send it to him with the grade information letter.
 
  
  Now write the cursor that will retrieve all the employee having valid grade for a particular supervisor(person_id came as input)
 
 
Now our cursors are ready, we have to create xml and need to write in the ourput of the concurrent program.
Please refer your designed xml based on which the bursting was designed and repeat/close any element as shown the pic below.
 
 
Once the xml is prepared , then we need to call the seeded bursting program,so that the generated letter can reach to supervisor
 
 
 
 
Now compile the package and run the concurrent program.
 
Note:- 1) As we mentioned earlier the bursting will happen from /ListOfEmpDtls/EmpDtls.
             create your xml accordingly.
 
    2) To write it log of the concurrent program use the following fnd utility
     LOG file writing:-
          FND_FILE.PUT_LINE(FND_FILE.LOG, 'ABCD in Log File');
     OUTPUT file writing:-
        FND_FILE.PUT_LINE(FND_FILE.OUTPUT, 'ABCD in Out File');
 
   3) Bursting program may goes into error, in that case will suggest you to raise a SR with Oracle.
   4) Sample rtf file,code,bursting control file is attached for reference