In this post we will be discussing Oracle EBS PO account generator workflow customization. This workflow is being used for generating default accrual, charge, budget and variance accounts for Purchase Order (PO) and CLM awards.
Step by Step Process for Oracle EBS PO Account Generator Workflow Customization.
- Download standard workflow file poxwfpag.wft from PO_TOP
- Rename file with “XX” prefix xxpoxwfpag.wft so that it will not overwrite seeded file and can be identified easily. Ideally you should be copying this file in custom application top after modifications.
- Open xxpoxwfpag.wft in Oracle workflow builder.
- Copy seeded POXFPG process as XXPOXFPG ( Refer screen shot).


- Click Apply
- Click OK
- Create custom workflow processes
- XX Projects PO Account Generation – Accrual
- XX Projects PO Account Generation – Budget
- XX Projects PO Account Generation – Charge
- XX Projects PO Account Generation – Variance




- All four processes

- Modify seeded process to include custom processes, by deleting arrows between start and end activity. Insert custom process and join arrows, use default for connecting custom process and end activity.
- Build Expense Project Accrual Account

- Similarly Build Expense Project Budget Account, Build Expense Project Charge Account and Build Expense Project Variance Account.
- Create custom package XX_ACCT_GENERATOR_PKG and call it in custom process to implement custom logic.
- Save all.
- Upload custom workflow to database. It can be done by connecting Oracle data base from Workflow builder or using upload command from UNIX prompt.
- Enable following profile to view status diagram ( Refer screen shot below)
- Account Generator:Run in Debug Mode
- PO: Set Debug Workflow ON


- Change Workflow assignment for Key Flexfield Structure (KFF)
- Navigation (System Administrator > Application > Flexfield > Key > Accounts)
- Refer screen shot below.

- Change Process name to custom name

- This will complete Oracle EBS PO Account Generator Workflow Customization.
- Create a Purchase Order
- Create purchase order and do not navigate out of the charge account field. From the menu, select: Help > Diagnostics > Examine. Manually type in the following values for Block and Field (they will not appear in the List of Values), then click in the Value field:
- Block: parameter
- Field: charge_acc_wf_itemkey
- Value: <The value you get here is the item_key>
- Clear the distribution record
- Close the Distribution window
- Close the Shipment window
- Save the PO
- Purchase Order MUST be saved in order to store the data from the PO Account Generator workflow process to table WF_ITEMS. Without this data being saved you will not be able to see workflow diagram or the wfstat.sql script will not return any useful information.
- Go to Sysadmin responsibility and review workflow using workflow menu.
- You should be able to see Diagram of Oracle EBS PO Account Generator Workflow.
- Know more about PO Module.
- Know more about workflow.
Pingback: What is Oracle eBusiness Suite - infodaksh.com