INV Unit Of Measure Upload

Description

INV Unit Of Measure Upload creates and updates Oracle Inventory unit of measure classes and their units of measure from Excel, including their descriptive flexfield attributes. It is available on Oracle EBS R12.2 and later.

When to use it

  • Create new unit of measure classes together with their base units during an implementation.
  • Add units of measure to existing classes.
  • Update the descriptions or descriptive flexfield attributes of many classes or units at once.
  • Set inactive dates to retire units or classes in bulk.

Before you start

  • Your instance is on Oracle EBS R12.2 or later. On earlier releases the upload stops with a not-supported message.
  • Access to the upload in Blitz Report, in a responsibility that can maintain units of measure.
  • For a new class, you know its base unit: the unit all other units of the class convert to.

Step 1 – Set the parameters

Open INV Unit Of Measure Upload in Blitz Report and set the parameters:

ParameterMeaning
Upload ModeCreate (default) opens an empty sheet for new classes and units; Create, Update downloads the existing classes and units for editing and lets you add new ones.
Unit of Measure ClassRestricts the download to one unit of measure class.
Blitz Report run screen for INV Unit Of Measure Upload with the Default template, Upload Mode Create, Update and an empty Unit of Measure Class

Step 2 – Run to download the Excel file

Click Run. The Excel file downloads and opens with one row per unit of measure, showing its class, or an empty sheet in Create mode.

Step 3 – Enter or change the classes and units

UOM Class, Unit Of Measure and UOM Code identify a unit and cannot be changed on a downloaded row. Change the UOM Description or UOM Inactive Date of a unit, or the Class Description or Class Inactive Date of its class.

To add a unit to an existing class, add a row with the UOM Class, a new Unit Of Measure (up to 25 characters) and UOM Code (up to 3 characters), and copy the Class Description and Class Inactive Date from an existing row of that class, so the class itself stays unchanged. Leave Base UOM Flag empty.

To create a new class, enter its base unit as the first row of the class, with the new UOM Class (up to 10 characters), its Class Description and Base UOM Flag set to Y, then add one row per further unit of the class with Base UOM Flag empty.

The class columns are applied from the first row of each class in the file, so keep them the same on all rows of a class.

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.

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 class and unit using the Oracle Inventory unit of measure API.

Step 6 – Review the result report

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

What’s produced

  • Unit of measure classes and units of measure created or updated.
  • A result report listing every row with a status (success or error) and a message.

Common questions

Can I delete a unit or a class?
No. The upload only creates and updates. To retire a unit or class, set its UOM Inactive Date or Class Inactive Date.

Can I change the base unit of a class?
No. The base unit of an existing class cannot be changed. Keep Base UOM Flag Y on the base unit’s row and empty on all other rows.

How does the upload know whether to create or update?
It looks up the class by its UOM Class and the unit by its UOM Code. Existing ones are updated, new ones are created. In Create mode, rows for units that already exist are rejected.

Does it create the conversions between units?
No. Maintain unit of measure conversions with INV Unit Of Measure Conversion Upload.

Does it work on R12.1 or 11i?
No. It uses the Oracle unit of measure API introduced in R12.2.

Troubleshooting

MessageCauseWhat to do
This upload is only supported in release R12.2 or later. The Oracle API is not available in earlier releases.Shown on Run when the instance is below R12.2.Use the upload on an R12.2 or later instance.
This upload is not supported in releases prior to R12.2The same check at upload time.Use the upload on an R12.2 or later instance.
Please specify UOM Class, Unit of Measure, and the UOM CodeOne of the identifying columns is empty.Fill UOM Class, Unit Of Measure and UOM Code.
UOM Class exceeds maximum length (10), UOM Code exceeds maximum length (3), Unit of Measure exceeds maximum length (25), UOM Class description exceeds maximum length (50), UOM description exceeds maximum length (50)A value is longer than allowed.Shorten the value to the length shown.
When creating new UOM Class, the first row for the UOM Class must contain the Base UOM with the Base UOM Flag set to YThe first row of a new class is not its base unit.Move the base unit row first for the class and set Base UOM Flag to Y.
UOM Class could not be processed from a prior rowAn earlier row of the same class failed, so its units are not processed.Fix the error on the first row of the class and upload again.
The Base UOM for a UOM Class cannot be changedBase UOM Flag is Y on a unit that is not the base unit of the class, or empty on the base unit’s row.Set Base UOM Flag to Y only on the class’s base unit row.
Error retrieving Base UOM for ClassThe existing class has no base unit, or it is being changed by someone else.Check the class in the Unit of Measure Classes window and try again.
Existing UOMs cannot be updated in Create ModelUpload Mode is Create and the UOM Code already exists.Use a new UOM Code, or upload in Create, Update mode.
This UOM is locked for update by someone elseAnother user or process is changing the class or unit.Upload again once the other change is saved.

SQL 65 lines

Parameters 2

ParameterTypeList of values SQL
Upload ModeLOV
:p_upload_mode like '%' || xxen_upload.action_update
Unit of Measure ClassLOV
uom.uom_class = :p_uom_class