PO Requisition Template Upload

Description

PO Requisition Template Upload creates and updates Oracle Purchasing requisition templates from Excel, the template header together with its lines, as in the Purchasing Requisition Templates window. Download existing templates to change their description, lines, prices and suggested sources, add new lines or delete lines, or create new templates from scratch.

When to use it

  • Create many new requisition templates at once instead of keying them in the Requisition Templates window.
  • Add, change or delete lines on existing templates in bulk.
  • Mass-maintain prices, buyers and suggested sources (supplier, site and contact, or source organization and subinventory) on template lines.
  • Rename templates or change their description and inactive date.
  • Copy a template’s lines into a new template by pasting them as new rows with a new Template Name.

Before you start

  • Access to the upload in Blitz Report, in a responsibility with access to the operating unit.
  • Items are purchasing or internal order enabled in the inventory organization of the operating unit.
  • For supplier-sourced lines the supplier site exists in the operating unit; for inventory-sourced lines you know the source organization.

Step 1 – Set the parameters

Open PO Requisition Template Upload in Blitz Report and set the parameters:

ParameterMeaning
Upload ModeCreate (default) opens an empty sheet for new templates; Create, Update downloads existing templates for editing and lets you add new ones.
Operating UnitThe operating unit of the templates to download. Defaults to your current operating unit.
Template TypeDownloads only Purchase Requisition or Internal Requisition templates.
Template NameThe template(s) to download.
Template Name ContainsDownloads all templates whose name contains this text, ignoring case.
Blitz Report run screen for PO Requisition Template Upload with Upload Mode Create, Update, Operating Unit Vision Operations, Template Type Purchase Requisition and Template Name Gloves

Step 2 – Run to download the Excel file

Click Run. The Excel file downloads and opens with one row per template line, or an empty sheet in Create mode.

Excel file with the three existing lines of requisition template Gloves

Step 3 – Enter or change the templates

Each row is one template line, with the header values Operating Unit, Template Name, Template Description, Type, Inactive Date and Reserve PO Number repeated on every line. The header is saved from each row, so keep these values the same on all rows of a template; to change the description, change it on every row. Operating Unit and Type cannot be changed on downloaded rows.

For a line enter the Line Number (unique within the template), Line Type, Item or, for a line without an item, a Category, the Line Description, UOM, Unit Price and Source Type. For an item line the category is taken from the item’s purchasing category, and the line description from the item unless the item allows description updates. Supplier lines can suggest a Supplier, Supplier Site, Supplier Contact and Supplier Item; Inventory lines need a Source Organization and can name a Source Subinventory. Set Delete This Line to Yes to delete a downloaded line.

Excel file with the template description changed on the three existing lines, marked Update, and a new line 4 for item MDP0005 added, marked Create

Step 4 – Validate and Save

Click Validate and Save. This checks for missing required values and saves the file. Correct any rows it flags before uploading.

All four edited rows show status Valid after Validate and Save

Step 5 – Upload the file

In Blitz Report click Upload and select the saved file. This submits the upload request, which creates or updates each template and line, and deletes the lines marked for deletion.

File Upload page with the saved Excel file selected for upload

Step 6 – Review the result report

When the request completes, a result report opens listing every uploaded row with its status and message.

Result report showing the three updated lines and the created line 4 of template Gloves with status Success

What’s produced

  • Requisition templates and template lines created or updated, and lines deleted where Delete This Line is Yes.
  • A result report listing every row with a status (success or error) and a message.

Common questions

Can I change the operating unit or type of an existing template?
No. Operating Unit and Type are read-only on downloaded rows. Create a new template in the other operating unit instead.

Can I rename a template?
Yes. Download it in Create, Update mode and change the Template Name on all its rows. The new name must not exist in the operating unit and can have at most 25 characters.

How do I delete a line?
Download the template, set Delete This Line to Yes on that line and upload. Only downloaded lines can be deleted; to drop a line you have just added, remove the row from the sheet.

Why did the category of my item line change?
For lines with an item, the category is always taken from the item’s purchasing category, as in the Requisition Templates window. Enter a category yourself only for lines without an item.

Why is Buyer required?
Reserve PO Number is Yes or Optional on the template, which requires a Buyer on every line.

Troubleshooting

MessageCauseWhat to do
You cannot update existing Templates in Create ModeA template with this name already exists in the operating unit and Upload Mode is Create.Use a new template name, or download the template in Create, Update mode.
A template with this name already existsA renamed template uses a name that is taken.Choose a name not used in the operating unit.
Template Name exceeds maximum length (25)The template name is longer than 25 characters.Shorten the name.
Duplicate Line NumberThe template already has a line with this number.Use a line number not yet used in the template.
Item is invalidThe item does not exist in the inventory organization of the operating unit, or has no purchasing category.Pick the item from the list.
Item is not purchasing or internal order enabledThe item cannot be requisitioned.Enable the item for purchasing or internal orders, or use a line without an item.
Unit Price is required for this line typeNo Unit Price on a quantity or amount based line.Enter the unit price.
Unit Price does not match the Unit Price for this Line Type ( … )An amount based line type has a fixed unit price.Enter the line type’s unit price, usually 1.
Supplier/Supplier Site is invalidThe supplier site does not exist for the supplier in this operating unit.Pick the Supplier Site from the list.
Source Organization is required for Inventory Sourced Template LinesSource Type is Inventory without a Source Organization.Enter the source organization.
Buyer is required for Category lines when Reserve PO Number is enabledReserve PO Number is Yes or Optional and the line has no Buyer.Enter a Buyer, or set Reserve PO Number to No.
Cannot delete a line which has not yet been createdDelete This Line is Yes on a new line.Set Delete This Line only on downloaded lines.
Cannot update a template which has not been downloaded firstA row marked Update was not downloaded from the template.Download the template in Create, Update mode and edit the downloaded rows.

SQL 104 lines

Parameters 5

ParameterTypeList of values SQL
Upload ModeLOV
:p_upload_mode  like '%' || xxen_upload.action_update
Operating UnitLOV
haouv.name=:p_operating_unit
Template TypeLOV
prha.type_lookup_code=:p_template_type
Template NameLOV
prha.express_name = :p_template_name
Template Name ContainsChar
lower(prha.express_name) like '%' || lower(:p_template_name_like) || '%'