Skip to the content.

PER Location Upload – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Upload to create, update, and delete HR Locations.

Supports all country-specific address styles with address field validation.

Includes site flags (Ship-To, Bill-To, Receiving, Office, Internal) with autocorrection for Ship-To and Receiving flags based on the Ship-To Location relationship.

Includes the Descriptive Flexfield attributes with validation.

Business group security restricts downloaded locations to the user’s current business group plus global locations. New locations can optionally be made local by assigning the location to the user’s current business group. If not assigned to a business group, the location is a global location.

Legal Address locations are protected from inactivation and deletion. The upload cannot set or change the Legal Address Flag. This is for information only.

By default, new locations are created with themselves as the ship to location (self-referencing)

The upload will automatically set the ship to site flag based on the ship to location. When the ship to site is self-referencing, the ship to flag and receiving flag are always set to Yes. If the ship to location references a different location, the ship to site flag will be set to No.

If the ship to site flag is set to Yes, the receiving site flag is also set to Yes. Otherwise, the receiving site flag will be set as specified in the upload excel.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Upload Mode, Default Address Style, Location Name, Location Name Like, Location Status, Country, Global, Legal Address, Bill To Site, Ship To Site, Receiving Site, Internal Site, Office Site

Oracle EBS Tables Used

fnd_timezones_vl, hr_locations_all, hr_locations_all_tl, mtl_parameters, per_all_people_f, per_business_groups

Report Categories

Enginatics, Upload

FND Attached Documents

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import PER_Location_Upload.xml
SQL Source PER Location Upload.sql
Full Report on Enginatics www.enginatics.com/reports/per-location-upload/

Case Study & Technical Analysis: PER Location Upload

Executive Summary

The PER Location Upload report creates, updates and deletes HR Locations in Oracle E-Business Suite Human Resources from a spreadsheet. HR locations hold the physical addresses of offices, sites and buildings, and they are used across HR, Payroll, Projects and Inventory. HR administrators and implementation teams use the upload to load a new location set, to correct addresses in bulk and to set the site flags that govern shipping, receiving, billing and office use. It supports the address formats of each country and validates address fields against the style that applies.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. HR_LOCATIONS_ALL is joined to HR_LOCATIONS_ALL_TL on the location ID, restricted to the session language.
  2. The ship-to location is found by a second, outer joined reference to HR_LOCATIONS_ALL through the ship-to location ID, so the ship-to code can be shown.
  3. The inventory organization, designated receiver and business group are outer joined, so locations without them still appear.
  4. The business group filter keeps locations whose business group matches the current business group, or that are global, using the HR general business group function.
  5. The timezone name is read through a scalar subquery on the timezone code.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Can I delete a legal address location with this upload? A: No. Legal address locations are protected from inactivation and deletion, and the upload cannot set or change the legal address flag. Q: Why does a new location show a receiving site flag of Yes? A: By default a new location is its own ship-to location. When the ship-to site is self-referencing, the ship-to flag and receiving flag are both set to Yes. Q: Which locations appear in the download? A: Locations in the current business group and global locations, so locations in other business groups are not shown.


© Enginatics GmbH