Professional Documents
Culture Documents
Abstract............................................................................................. 3
Overview of Regions and Zones..................................................... 3
Setting Up ..................................................................................... 6
Order Processing.......................................................................... 6
Technical Details.............................................................................. 7
WSH_REGIONS_INTERFACE....................................................... 8
WSH_REGIONS_TL_INTERFACE................................................. 8
Region Interface with examples.................................................... 10
A) First Use of Region interface ................................................ 11
Example: 1 .............................................................................. 11
Example: 2 .............................................................................. 18
B) Second use of Region Interface............................................ 28
Caution: .......................................................................................... 29
Summary......................................................................................... 29
ABSTRACT
Region Interface is a powerful interface, which can be used to import the
regions available to the Oracle Shipping Regions base tables. In this
document we will try to examine the overview of the Regions, the
technical information related to Region Interface and the Usage of Region
interface to import the Region related information to be made use by the
Oracle Advanced Planning and Scheduling Suite. The region Information
imported can be used to define the intransit times for movement of goods
to these regions.
If you have the Oracle Advanced Planning and Scheduling Suite installed,
use regions and zones to group by geographical areas and save the effort
of setting up point-to-point transit times.
You can:
• Group geographical areas into regions and set transit times from
your warehouses to the regions. For example: Create a region for
San Francisco Bay U.S.A. and specify that it consist of the cities San
Francisco, Oakland, and Berkeley.
• Set up a transit time of two days from your New York U.S.A.
warehouse to the San Francisco Bay U.S.A. region.
• Group regions into zones and set transit times from your
warehouses to the zones to encompass a larger geographic area.
The Oracle Advanced Planning and Scheduling Suite use this origin-
destination information to plan and schedule shipment departure dates,
arrival dates, and sourcing.
For example:
• You ship from Tokyo, Japan to customers in Manila, Philippines
and Taipei, Taiwan.
• You specify the regional transit time between your Tokyo facility
and zone A as two days.
• Oracle Applications plans shipments from Tokyo to Manila for two
days and shipments from Tokyo to Taipei for two days also.
If you ship to multiple locations that are near to each other and you want
to plan shipments by regions and zones:
• Determine the regions and sub-regions that support your the Oracle
Advanced Planning and Scheduling Suite shipment planning, create
them, and map address locations to them.
Order Processing
If you have specified an in-transit time and shipping method for the
specific ship-to location, the Oracle Advanced Planning and Scheduling
Suite uses that information instead of the regional information.
• WSH_REGIONS
• WSH_REGIONS_TL
Apart from the above tables there are 2 more tables, which can be used to
interface the Regions information to the Regions Base Tables. They are
• WSH_REGIONS_INTERFACE
• WSH_REGIONS_TL_INTERFACE
Data Flow for the Region Interface would be as shown in the above
diagram.
WSH_REGIONS_INTERFACE
WSH_REGIONS_TL_INTERFACE
Submission
Navigate to the Regions Interface form and, after verifying the correctness
of the data, click Load All Regions. If the process does not start, have your
system administrator add it to the All Shipping Interfaces request group.
Parameters
None
The Log file of the Regions Interface concurrent program will give the
following messages on successful completion.
In this Paper we will try to look at the usage of the “Region Interface”
concurrent program. The Region Interface is used to import the Regions in
to the Regions Base Tables i.e. WSH_REGIONS and WSH_REGIONS_TL.
1. Directly upload the data to the Regions Interface tables from any
available external source of Data
2. Run the concurrent program “Location to Region Mapping” Which
will try to list out all the Locations that cannot be mapped to
regions and populate the interface tables
Example: 1
Region 1 Country – US
Region 2 State - California with Region 1 as parent Record
Region 3 City – Irvine with Region 2 as parent Record.
Region 4 Zip Code - 92602-92604 with Region 3 as parent Record.
We already have the Region 2 defined in the system, which is the State of
California using the Region 1 (US as country which is also available) as the
parent Region.
Find out the Region id of Region – 2 i.e. California State in US. This information
will be available in WSH_REGIONS table
Query to be used
SELECT region_id
FROM wsh_regions
WHERE country_code = 'US'
AND State_code ='CA'
AND region_type = 1
This region id will be the parent_region_id for Region 3. (Assume its value
is 408)
Go to the Regions Interface Screen and query for the records. The Screen
would display the records as shown in the below screenshot.
Now you can import the records in to the Regions Table by running
“Region Interface” concurrent program or by clicking the “Load All
Regions” button in the screen shown.
Submit “Region Interface” concurrent program. This can be done using the
following Navigation. ShippingÆ InterfacesÆRunÆ”Region Interface”
Go back to the Regions and Zones screen and Query for all those regions
with country as ‘US’ and State as ‘CA’
We will query for the Country code as ‘IN’ in the Regions and Zones
Screen
Analysis:
As No record is available, we need to create the Region from the scratch
by creating the country, State and City.
Mumbai belongs to the State of Maharasthra in India
So Region-1 would be Country – India
Region –2 State Maharasthra
Region-3 City Mumbai
Region – 4 and 5 postal code ranges
This will import the records from the Interface table to the Region Base tables.
The imported records can be verified by checking the Regions and Zones Screen
with the query criteria that matches the records that are interfaced. The
screenshot of the imported regions is attached below.
You can also use the “Location to Region Mapping” concurrent program
and provide the number of locations to be mapped along with the ‘Insert’
option as ‘Y’
The log file will show a similar message after inserting the data in the
interface tables.
This will insert records in to the Regions Interface tables. Those records,
which are already available and are not required, should be deleted from
this screen after validations.
Any modifications if required should be done from this screen.
CAUTION:
The First time usage of "Regions Interface" will take much time
(irrespective of the number of records in the interface table). Users need
not have to worry about the time taken for the first run. From subsequent
runs of the interface the time taken will be optimum.
SUMMARY
Region Interface turns out to be a powerful tool for the usage of Transportation
and Advanced Planning and Scheduling Suite. With the Region Interface we will
be in a position to import Regions in to the system. The different customer
location can be mapped to these Regions, which can be used in determining the
transporting time to these regions. The "Location to Region Mapping" should
provide a provision to map specific customer address so that required Regions
can be imported and mapped selectively. This is a required feature for selective
creation of Regions.
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
www.oracle.com