Professional Documents
Culture Documents
Version 6.0
December 2009
Copyright
& Docu-
ment ID
This document applies to webMethods Oracle Applications Adapter Version 6.0 and to all subsequent releases.
Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.
Copyright © 2004–2009 Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or
their licensors.
The name Software AG, webMethods, and all Software AG product names are either trademarks or registered trademarks of Software AG
and/or Software AG USA, Inc. and/or their licensors. Other company and product names mentioned herein may be trademarks of their
respective owners.
Use of this software is subject to adherence to Software AG’s licensing conditions and terms. These terms are part of the product
documentation, located at http://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
This software may include portions of third-party products. For third-party copyright notices and license terms, please refer to "License
Texts, Copyright Notices and Disclaimers of Third Party Products." This document is part of the product documentation, located at
http://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Documentation Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Online Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 3
Table of Contents
4 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Table of Contents
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 5
Table of Contents
6 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Table of Contents
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 7
Table of Contents
8 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Table of Contents
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 9
Table of Contents
10 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Table of Contents
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 11
Table of Contents
12 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
About This Guide
This guide describes the predefined transaction services for Oracle Applications 12.0.6
that are available for use with the webMethods Oracle Applications Adapter. This guide
provides a general overview of these services, and instructions for using the services.
This information is for application developers who implement integrations between
webMethods and Oracle Applications.
To use this guide effectively, you should:
Be familiar with the operation of the desired Oracle Applications and the definition
and use of the Oracle Applications Adapter.
Understand the basic concepts described in Administering webMethods Integration
Server and Developing Integration Solutions: webMethods Developer User’s Guide.
Document Conventions
Convention Description
Bold Identifies elements on a user interface.
Narrow font Identifies storage locations for services on webMethods Integration
Server, using the convention folder.subfolder:service.
UPPERCASE Identifies keyboard keys. Keys you must press simultaneously are
joined with a plus sign (+).
Italic Identifies variables for which you must supply values specific to your
own situation or environment. Identifies new terms the first time they
occur in the text.
Monospace Identifies text you must type or messages displayed by the system.
font
{} Indicates a set of choices from which you must choose one. Type only
the information inside the curly braces. Do not type the { } symbols.
| Separates two mutually exclusive choices in a syntax line. Type one of
these choices. Do not type the | symbol.
[] Indicates one or more options. Type only the information inside the
square brackets. Do not type the [ ] symbols.
... Indicates that you can type multiple options of the same type. Type
only the information. Do not type the ellipsis (...).
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 13
About This Guide
Documentation Installation
You can download the product documentation using the webMethods Installer.
Depending on the release of the webMethods product suite, the location of the
downloaded documentation will be as shown in the table below.
Online Information
You can find additional information about Software AG products at the locations listed
below.
Note: The Empower Product Support Web site and the Software AG Documentation
Web site replace Software AG ServLine24 and webMethods Advantage.
14 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
About This Guide
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 15
About This Guide
16 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Receive Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Query Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Send Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 17
1 Predefined Transaction Services
Overview
Predefined transaction services are complete, ready-to-use flow services that you can use
with the webMethods Oracle Applications Adapter to simplify the process of integrating
with Oracle Applications systems. You can use the services after installing the services
and defining your Oracle Applications system connection information.
There are three types of predefined transaction services used to communicate between
the webMethods Integration Server (IS) and Oracle Applications: Receive services, Query
services, and Send services.
The Receive predefined transaction services enable Oracle Applications to receive data
from the IS. These services provide the following:
Required inputs and outputs for the services
Mapping and transformation between business documents and Oracle Applications
Supporting services that perform the data insertion, import (concurrent) process
execution, and error handling
The Query and Send predefined transaction services enable you to query or send data
from Oracle Applications to the IS. These services provide the following:
Required inputs and outputs for the services
Combination of database triggers and polling services that provide notification
capabilities from Oracle Applications to IS
Supporting services to lock and unlock the webMethods process table, and to
perform data selection from Oracle Applications to the IS and the processing
acknowledgement from the IS back to Oracle Applications
The following diagram shows in more detail how the Oracle Applications Adapter works
with predefined transaction services.
18 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Predefined Transaction
Service Packages Production Tables
WmOAFIN1206 webMethods
- Receive Services Custom
- Send Services Components
- Query Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 19
1 Predefined Transaction Services
20 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Service Types
There are three types of predefined transaction services that enable you to build
integrations between Oracle Applications systems and the webMethods Integration
Server. The following table briefly describes the types of services and directs you to the
sections of this chapter that describe each type of service in more detail.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 21
1 Predefined Transaction Services
Packaging Structure
This section describes the transaction service packages as they appear in webMethods
Developer. This diagram illustrates the package structure for the predefined transaction
services:
22 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Note: When you first install webMethods Oracle Applications Adapter 12.0.6
Predefined Transaction Services, the WmOACommon1206 package is disabled
and the predefined transaction services packages are not displayed even though
they are installed. To view the predefined transaction services packages, use the
Package Management screens of the Integration Server Administrator to enable
the WmOACommon1206 package and restart the Integration Server. This allows
you to view all available predefined services packages (they will be disabled).
Enable the predefined transaction services packages you want to use.
Oracle Applications module folders. Each package contains one or more folders that
correspond to Oracle Applications modules. For example, the WmOAFIN1206
package contains folders for the following modules: Cash Management, Fixed Assets,
General Ledger, Payables, and Receivables.
Transaction service type folders. The Oracle Applications module folders contain the
three types of predefined transaction services (if applicable) within the package, as
follows:
Business document folder. The transaction service type folders contain folders that
correspond to business documents for the Oracle Applications module. There is a
sub-folder for each business document in the Oracle Applications module that is
supported by the Oracle Applications Adapter. For example, in the General Ledger
module of the WmOAFIN1206 package, the queryOA folder contains two business
document folders: GLBalance and journal.
The business document folders contain the predefined transaction services and other
supporting services and documents.
Predefined transaction service. The services located within the business document
folders are the main predefined transaction services. These are the services you use to
create integrations with Oracle Applications systems.
The services follow the naming convention typeDoc, where type is type of service
(receive, query, or send) and Doc is the name of the business document.
Supporting services and documents. Each business document folder contains supporting
services and documents that are used internally by the main predefined transaction
services. The specific documents and supporting services vary depending on the type
of service, as described in the sections below.
The information provided in these sections is a high-level description of the types of
supporting services and documents that are used by the different types of predefined
transaction services. For more specific details about a specific service, see the section
for that service in the appropriate chapter of this guide.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 23
1 Predefined Transaction Services
24 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
For information about the functionality of the receive services, see “Overview of
Receive Service Transaction Processing” on page 32.
queryOA folders are structured as follows:
For information about the functionality of the query services, see “Query
Services” on page 35.
sendOA folders are structured as follows:
For information about the functionality of the send services, see “Overview of
Send Service Transaction Processing” on page 38.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 25
1 Predefined Transaction Services
Transaction Definitions
Transaction definitions define the processing that the predefined transaction services
perform. Some of the supporting services within the predefined transaction services have
been configured from transaction definitions.
If you are using the predefined transaction services as they were supplied, you do not
need to do anything with the transaction definitions. However, if you want to customize
any of the transaction definitions that are used within the supporting services, or if you
want to create new transaction definitions, you can do so using the Adapters menu in the
Integration Server Administrator. See “Updating Transaction Definitions” on page 26 for
more information.
See the webMethods Oracle Applications Adapter User’s Guide for more information about
transaction definitions, including instructions for updating them and using them to
configure services.
Important! The predefined transaction services were tested to guarantee they function
properly as delivered. If you modify any supporting transaction definitions, you will
also need to modify other components within the predefined transaction service to
match the changes to the transaction definitions. After you modify the service, you
will need to thoroughly test it. We cannot guarantee that any services you modify will
work properly.
The transaction definitions are provided as .txp files, and are installed into the
WmOAXXXnnnn\exchange directories, where WmOAXXXnnnn is the name of the
package containing the predefined transaction services.
To see a list of the transaction definition files that were used to configure supporting
services within a predefined transaction service, see the Supporting Transaction
Definitions section for the specific service in this guide.
26 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
After you import the transaction definition files, you can use the Adapters menu in the
Integration Server Administrator to modify them. The procedures for importing and
editing transaction definitions are not described in this guide. See the chapter on
transaction definitions in the webMethods Oracle Applications Adapter User’s Guide for
instructions.
Database Scripts
Database scripts are provided for each of its predefined transaction services. You use
these database scripts to manage the triggers, views, and stored procedures that are used
by the predefined transaction services.
The database scripts are located in the WmOAXXXnnnn\dbscripts directories, where
WmOAXXXnnnn is the name of the package containing the predefined transaction
services.
Each type of predefined transaction service has a set of database scripts, as described in
the following sections.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 27
1 Predefined Transaction Services
Each service might also have supporting database scripts. You do not have to run these
scripts directly; they are initiated from the database scripts listed above.
Each service might also have supporting database scripts. You do not have to run these
scripts directly; they are initiated from the database scripts listed above.
28 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Typically each schema should have a corresponding data tablespace and index
tablespace. You can use any name for the tablespace where you intend to store the tables
(for example, WM_TRACKCHANGES) and indexes (if there are any).
Before running the database scripts, create a custom user and a corresponding data
tablespace and index tablespace. We suggest a user name of WEBM, a data tablespace
name of WEBMD, and an index tablespace name of WEBMI. However, you can also use
an existing data tablespace and index tablespace.
When you execute database scripts to install objects in the database, you are prompted to
supply an APPS username/password, a custom user username/password, custom
tablespaces (for data and index), and a connection string.
Note that the custom user schema and APPS schema must be different.
The required grants and synonyms are already incorporated in the database scripts.
b Run the database script for each of the predefined transaction services you are
using. For the name of a predefined transaction service’s installation script, see the
section titled “Database Scripts” in the description of each specific service in the
remaining chapters of this guide. For general information on database scripts, see
“Database Scripts” on page 27.
4 Exit SQL*Plus.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 29
1 Predefined Transaction Services
To remove the predefined transaction service components from the Oracle Applications database
b Run the uninstall database script for each of the predefined transaction services
you are using. For the name of a predefined transaction service’s uninstall script,
see the section called Database Scripts for the specific service in the remaining
chapters in this guide.
4 When the uninstallation is complete, you will see a message indicating the
completion of the uninstallation.
5 Exit SQL*Plus.
Business Documents
Each predefined transaction service is based on an Oracle Applications business object.
Each service provides a business document structure that is based on the service’s
associated business object. The sections in this guide that describe the individual
predefined transaction services include descriptions of the services’ business document
structures, and mappings to webMethods documents (if applicable).
For receive services, the business document structure includes a mapping from a
webMethods document to the structure of the service’s business object as it is defined in
the Oracle Applications open interface tables. If you want to change the mapping for a
receive service, you can modify the structure of the webMethods document by updating
the receive service’s supporting bizDocMapping service; however, you cannot modify the
structure of the side of the mapping that represents the Oracle Applications open
interface tables. If you do modify the open interface table document structure, the service
will no longer correctly map to Oracle Applications.
For send and query services, the business document structure represents the form of the
document as it is retrieved from Oracle Applications. If you want to modify the business
document structure for a send or query service, you must change the transaction
30 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
definition for the service’s supporting getDocTxn or queryDocTxn service, refresh that service
for the modified transaction definition, and then update the send or query service to
reflect the change in the business document’s structure.
Important! Query and send services are fully tested using the services’ default business
document structure. If you modify the business document structure for a service, you
will need to re-test these services.
Receive Services
Receive services insert data from the IS into Oracle Applications systems by mapping
business documents into Oracle Applications open interface tables, and then invoking
Oracle Applications concurrent processing to import the data from the open interface
tables to production tables.
You can configure receive services to submit the data to the Oracle Applications
production tables automatically, or you can configure them so that they must be
submitted manually. If you configure the receive service to submit data automatically, it
queries the Oracle Applications system to determine whether there were any errors that
occurred during the import process.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 31
1 Predefined Transaction Services
Receive Service
bizDocMapping service
2
Header
IS Doc
Table1
Oracle Applications
Table2
3 Open Interface Tables
32 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Step Description
1 Specify Default Settings: Receive services use a set of high-level settings to define
how the services will execute. The default settings should be adequate for most
cases. However, you can modify the default settings if necessary, as follows:
In the specifyDefaultSettings MAP step, the autoMode parameter defines
whether the receive service automatically submits the business document
data to the Oracle Applications production tables using Oracle Applications
concurrent processing, or whether you must submit the data manually.
A value of TRUE indicates that the data will be submitted automatically. If
you choose this setting, the importDoc service calls the execDocConcProg service
to execute concurrent programs and return any errors, if applicable. This
setting is the default.
A value of FALSE indicates that you must submit the data manually using
Oracle Applications concurrent processing. You can either execute the
concurrent program from the Oracle Applications Standard Request
Submission (SRS) window, or you can schedule it using a scheduling
program.
In the specifyConcProgParams MAP step you can define settings for the
Oracle Applications concurrent processing execution, if applicable. By
default, the concurrent processing parameters are configured for the Oracle
Applications demo database. Refer to your Oracle Applications
documentation for information about concurrent processing options for
specific business objects. To see the parameters that are defined for a specific
service, review the flow service.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 33
1 Predefined Transaction Services
Step Description
3 setDocTxn Service: The setDocTxn service inserts the mapped data into the Oracle
Applications open interface tables.
The setDocTxnInputRec document contains the flat table structure that reflects
the Oracle Applications open interface table structure. The setDocTxnInputRec
document is the output from the bizDocMapping service and the input to setDocTxn.
4 importDoc Service: If the service is set to automatically execute concurrent
processing (see step 1 above), the importDoc service calls the execDocConcProg
service to insert the data from the Oracle Applications open interface table into
the Oracle Applications production tables. Additionally, the importDoc service
calls the getDocImport_ERR service to report any data that could not be imported
into an Oracle Applications production table because it contained invalid
business data.
34 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Important! The predefined transaction services were tested to guarantee they function
properly as delivered, with the specified Oracle Applications release. If you modify a
predefined transaction service in a way other than as specified in this guide (for
example, you need to configure the flow as described), we cannot support the service.
You will need to thoroughly test any service that you have modified extensively as we
cannot guarantee that it will work properly.
Query Services
Query services retrieve information from Oracle Applications systems by querying the
Oracle Applications production tables. Query services execute SQL trees against the
corresponding Oracle Applications production tables to find and retrieve business
documents that match the search criteria. For more information about SQL trees, see the
webMethods Oracle Applications Adapter User’s Guide.
Query services return all business documents that match the query criteria you specify in
the query. If you do not specify a selection criteria for a particular parameter, the query
ignores that parameter when performing the query. For example, if you specify a query to
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 35
1 Predefined Transaction Services
retrieve POs based on a particular PO creator, within a specific date range, the query
service returns all purchase orders that meet that criteria. Any parameters that are not
specified in the search criteria are ignored as part of the query.
There is no maximum number of business documents that the query service returns. To
limit the business documents that the service might return, we recommend that you
provide more stringent query criteria.
Query Service
1
specifyDefaultSettings service
2 Production Tables
queryDocTxn service
Step Description
36 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Send Services
Send services notify the webMethods Integration Server of changes in Oracle
Applications systems when specific events occur in the Oracle Applications system, such
as when data is inserted, updated, or deleted. Send services then deliver the data in the
form of business documents.
Send services use a two-part process:
On the Oracle Applications system, custom triggers capture events that occur in the
Oracle Applications production tables, and record those events in a custom table
called WM_TRACKCHANGES. The custom table maintains the events as records
until a send service polls the tables to retrieve the data. Each send service uses one or
more custom triggers.
See “Custom Tables Used with Send Services” on page 44 for more information about
the custom tables and how they are populated.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 37
1 Predefined Transaction Services
On the Integration Server side, send services poll the custom tables and the Oracle
Applications production tables to retrieves business documents related to the events
recorded in the custom tables, and then the send services send the documents to the
designated recipients of the service.
Send services handle transactions differently depending on whether the event on the
business document is an INSERT, UPDATE, or DELETE event, as follows:
INSERT and UPDATE events: Whenever a business object is inserted or updated in Oracle
Applications, the service creates a snapshot of the business document in the Oracle
Applications production tables at the instance the tables are polled, and sends it to the
Integration Server.
DELETE events: Send services process delete events differently depending on how the
business object is deleted in Oracle Applications. Business objects may be deleted
from Oracle Applications in one of the following two ways:
Actions performed in the Oracle Applications system that result in a status
update in the transaction header base table that indicates a “logical” delete of a
business object are treated as if they had a status of UPDATE.
Actions performed in the Oracle Applications system that result in an actual
DELETE of the record from the transaction header base table will result in the
object being deleted. Business documents corresponding to this type of action will
not be complete documents; they will only contain basic header-level information
required to properly identify the business document to delete the business object.
The following sections describe how the custom tables work, and how the send services
interact with the custom tables to retrieve data and send it to the webMethods Integration
Server.
38 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Delete or update
5
WM_TRACKCHANGES WM_TRACKCHANGES
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 39
1 Predefined Transaction Services
Step Description
1 Specify Default Settings: Send services use a set of high-level settings to define
how the services will execute. The default settings should be adequate for
most cases. However, you can modify the default settings if necessary, as
follows:
In the specifyDefaultSettings MAP step, the noOfRowsToFetch parameter
defines the maximum number of business documents the service will
retrieve per polling interval. By default this value is set at 100000.
2 lockTxnCtrl Service: The send service calls the lockTxnCtrl service, which queries
the WM_CONTROL table for a specific TRANSACTION_TYPE to determine
the polling status of the business document.
If the lockTxnCtrl service cannot lock the WM_CONTROL table, then the
send service exits and waits for next scheduled interval.
This action prevents send services from processing the same business
documents for a specific TRANSACTION_TYPE multiple times if the
service’s polling interval is shorter than the time it takes to process the
business document.
If the lockTxnCtrl service can lock the WM_CONTROL table, then the
lockTxnCtrl service updates the polling status from READY to IN PROCESS.
This action ensures that no other service can retrieve the same business
document for the same TRANSACTION_TYPE.
Important! If you test a send service by stepping through its supporting services
in Developer and you exit after you run the lockTxnCtrl service to lock the
WM_CONTROL table but before you run the unlockTxnCtrl service to unlock it,
the send service will no longer be able to run successfully because the
WM_CONTROL table will continue to be locked. To unlock the table
manually, you can run the commonOA1206.utils:unlockTxnCtrl service, providing
the appropriate TRANSACTION_TYPE parameter. This service is located in
the WmOACommon1206 package.
40 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Step Description
3 getDocTxn Service: The send service calls the getDocTxn service. The getDocTxn
service uses the getDocTxnOutputRec document to define the business
document’s logical structure. The getDocTxn service also queries the
WM_TRACKCHANGES table and the Oracle Applications production tables
to create one or more business documents, as follows:
In the WM_TRACKCHANGES table, the getDocTxn service finds the
records representing the latest unprocessed events made to the business
object. Unprocessed event records have a value of N in the
PROCESSED_FLAG field.
Note: For some services, the business document must have a status of
‘Approved’ in Oracle Applications for the service to retrieve it, preventing the
service from picking up business documents that are not completed and
approved, such as an incomplete Purchase Order.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 41
1 Predefined Transaction Services
Step Description
3 The service generates one or more business documents based on the results of
the getDocTxn service.
Cont.
Note: Polling services query the WM_TRACKCHANGES table and Oracle
Applications production tables by executing SQL trees against them. For more
information about SQL trees, see the webMethods Oracle Applications Adapter
User’s Guide.
4 processBizDoc Service: The send service calls the processBizDoc service to process
the business document. By default, this service does not send the business
document anywhere. You must modify this service to send the business
document to the desired recipients.
After the processBizDoc service processes the business document, it sets the
transferStatus field of the docTransferResults document to SUCCESS or
ERROR. By default, the transferStatus field for each business document is set
to ERROR.
5 WM_TRACKCHANGES Table: The send service manages the records in the
WM_TRACKCHANGES table as follows, depending on whether the service is
configured to run in debug mode:
If the service is not running in debug mode (debugMode parameter =
FALSE), then it deletes one or more records from WM_TRACKCHANGES
table after it processes them.
If the service is running in debug mode (debugMode parameter = TRUE),
then it keeps the records in the WM_TRACKCHANGES table and updates
them to indicate that they have been processed.
If a business document fails during transmission, the send service inserts a
new record into the table for the failed record. The new record will have a
TRANSACTION_STATUS that contains the sum of the
TRANSACTION_STATUS fields for all of the related business object records
for the business document that failed.
You do not need to manually re-process a transaction that fails in the
processBizDoc service because it will be processed again during the next
scheduled execution of the service.
6 unlockTxnCtrl Service: The send service calls the unlockTxnCtrl service to unlock
the WM_CONTROL table after the send service finishes processing.
42 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 43
1 Predefined Transaction Services
WM_TRACKCHANGES Table
The WM_TRACKCHANGES table records INSERT, UPDATE, and DELETE events in the
Oracle Applications production tables for business objects that you want to track. The
recording of these events is done by triggers. Each send service depends on one or more
triggers to track the events that you want to capture.
Each trigger inserts a new record in the WM_TRACKCHANGES table whenever an event
occurs in an Oracle Applications production table that causes the trigger to fire.
Note: You must install and enable triggers on your Oracle Applications system for
every send service you want to use. See “Database Scripts” on page 27 for more
information about installing and enabling triggers.
Send services poll the WM_TRACKCHANGES table to determine whether they need to
send business documents to the webMethods Integration Server.
This section lists the structure of the table, and describes how the table is populated.
Field Description
TRANSACTION_TYPE Type of business object being inserted, updated, or deleted.
For example, VENDOR, PO, or INVOICE.
TRANSACTION_ID Unique Oracle Applications identifier to identify the
business object associated with the record. For example, for
a Vendor business object this field is
AP_SUPPLIERS.AP_SUPPLIER_ID. For each record in the
table associated with this business object, the value for this
field will be the specific Vendor ID associated with the
Vendor business document.
44 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
Field Description
DATE_CREATED Date the record was added to the table.
WEB_TRANSACTION Unique identifier for records in the table. This value is a
_ID unique sequence number within this table that determines
the order in which the records were added to the table.
This information is used to make sure the records are
processed in sequence according to the sequence of events
in Oracle Applications.
TRANSACTION_STAT Type of event occurring on the business object. Valid values
US include:
0 = UPDATE
1 = INSERT
2 = DELETE
When you add a record to a header table, it will have a
status of 1 (for INSERT). When you add a record to any
other table related to the new record, it will have a status of
0 (for UPDATE).
The send services determine what action to take on the
business documents according to the sum of the
TRANSACTION_STATUS field for all related records. That
is, the TRANSACTION_STATUS field for all related records
are added together to determine what action the send
service will take when it polls the WM_TRACKCHANGES
table. For information about how the send services process
the business documents based on the
TRANSACTION_STATUS, see page 41.
COMMENTS Comments describing the record. This value is provided by
the trigger that adds the record to the table, or by the service
that creates a new record if the business document transfer
fails.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 45
1 Predefined Transaction Services
Field Description
PROCESSED_FLAG Indicates whether the record has been processed (Y), or not
processed (N). The PROCESSED_FLAG defaults to N.
If you are using a send service in debug mode, the service
sets the value of this field to Y and retains the record in the
table. If you are not running the service in debug mode, the
service deletes the record after it is processed.
See “Using Send Services in Debug Mode” on page 43 for
more information about debugging send services.
DATE_PROCESSED Date the polling service retrieved the record from the the
table.
If you are using a send service in debug mode, the service
sets the value of this field to the date the record was
processed in the database’s date format; for example, 30-Jun-
04. If you are not running the service in debug mode, the
service deletes the record after it is processed.
See “Using Send Services in Debug Mode” on page 43 for
more information about debugging send services.
WEB_TRANSACTION
DATE_CHANGED _ID TRANSACTION_STATUS COMMENT
30-Jun-04 5001 1 Vendor inserted
30-Jun-04 5002 0 Site inserted
30-Jun-04 5003 0 Site inserted
30-Jun-04 5004 0 Contact inserted
30-Jun-04 5005 0 Contact inserted
30-Jun-04 5006 0 Contact inserted
30-Jun-04 5007 0 Site inserted
30-Jun-04 5008 0 Site inserted
46 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
1 Predefined Transaction Services
WEB_TRANSACTION
DATE_CHANGED _ID TRANSACTION_STATUS COMMENT
30-Jun-04 5009 0 Contact inserted
30-Jun-04 5010 0 Contact inserted
Notice that in this example, the values for the Site and Contact records are assigned a
status of 0. This is because these records are child records of the Vendor record. The
parent record is treated as an INSERT event. The child records are treated as UPDATE
events.
The table records the records like this so that the send service accurately creates a single
business document for the parent business document and does not create separate
business documents for the child records. The parent record will include the new child
data in its business document.
WM_CONTROL Table
The WM_CONTROL table prevents a service from processing the same business
document multiple times. This situation could occur if the polling interval for a particular
transaction is shorter than the time it takes to execute the service, or if you are using the
service in a clustered Integration Server environment.
If a service attempts to process a record and the WM_CONTROL table is locked, the
service defers its execution until the next polling interval.
The fields in the table are as follows:
Field Description
TRANSACTION_TYPE Type of business object. For example, VENDOR, PO, or
INVOICE.
STATUS Indicates the status of the service’s processing.Valid values
are READY and IN PROCESS.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 47
1 Predefined Transaction Services
48 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Query Accounts Payable Invoice Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Query Accounts Payable Payment Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Query Accounts Receivable Transaction Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Query Customer Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Query General Ledger Balance Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Query Journal Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Query Vendor Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Receive Accounts Payable Invoice Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Receive Auto Invoice Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Receive Bank Statement Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Receive Customer Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Receive FA Budget Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Receive General Ledger Budget Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Receive Journal Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Receive Mass Additions Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Send Accounts Payable Invoice Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Send Accounts Payable Payment Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Send Accounts Receivable Transactions Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Send Customer Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Send Journal Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Send Vendor Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 49
2 Financial Predefined Transaction Services
Overview
This chapter describes the predefined transaction services provided in the Oracle
Applications Adapter’s 12.0.6 Financial package.
The table below shows the predefined transaction services organized by Oracle
Applications module. This chapter presents the transactions in alphabetical order.
Oracle Applications
Module Predefined Transaction Services
Cash Management “Receive Bank Statement Service” on page 99
Fixed Assets “Receive FA Budget Service” on page 115
“Receive Mass Additions Service” on page 125
General Ledger “Query General Ledger Balance Service” on page 56
“Query Journal Service” on page 60
“Receive General Ledger Budget Service” on page 118
“Receive Journal Service” on page 120
“Send Journal Service” on page 207
Payables “Query Accounts Payable Invoice Service” on page 51
“Query Accounts Payable Payment Service” on page 52
“Query Vendor Service” on page 62
“Receive Accounts Payable Invoice Service” on page 63
“Send Accounts Payable Invoice Service” on page 131
“Send Accounts Payable Payment Service” on page 142
“Send Vendor Service” on page 212
50 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Module Predefined Transaction Services
Receivables “Query Accounts Receivable Transaction Service” on page 54
“Query Customer Service” on page 55
“Receive Auto Invoice Service” on page 71
“Receive Customer Service” on page 103
“Send Accounts Receivable Transactions Service” on page 152
“Send Customer Service” on page 182
For more information about using the predefined transaction services, see Chapter 1,
“Predefined Transaction Services” on page 17.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 51
2 Financial Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Accounts Payable Invoice service.
:
Note: If you use this service but you do not use the Send Accounts Payable Invoice
service, you should run the wm_disable_from_apinvoice.sql script to disable the
triggers installed by the Send Accounts Payable Invoice service.
For a detailed description of these database scripts, see “Send Accounts Payable Invoice
Service” on page 131. For more information about using database scripts, see “Database
Scripts” on page 27.
Flow Control
The main flow executes as follows:
queryAPInvoiceTxn queries for any Accounts Payable Invoice information that matches
the parameter values. The parameters are defined as the input to this service.
For more details on query services, see “Using Query Services” on page 37.
52 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
CURRENT_BANK_ACCOUNT_NAME
PAYMENT_TYPE
VENDOR_NAME
INVOICE_NUM
Database Scripts
This service uses the same database scripts as the Send Accounts Payable Payment
service.
Note: If you use this service but you do not use the Send Accounts Payable Payment
service, you should run the wm_disable_from_appayment.sql script to disable the
triggers installed by the Send Accounts Payable Payment service.
For a detailed description of these database scripts, see “Send Accounts Payable Payment
Service” on page 142. For more information about using database scripts, see “Database
Scripts” on page 27.
Flow Control
The main flow executes as follows:
queryAPPaymentTxn queries for any Accounts Payable Payment information matching
the parameter values. The parameters are the input to this service.
For more details on query services, see “Using Query Services” on page 37.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 53
2 Financial Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Accounts Receivable Transaction
service.
Note: If you use this service but you do not use the Send Accounts Receivable
Transaction service, you should run the wm_disable_from_artrans.sql script to disable
the triggers installed by the Send Accounts Receivable Transaction service.
For a detailed description of these database scripts, see “Send Accounts Receivable
Transactions Service” on page 152. For more information about using database scripts,
see “Database Scripts” on page 27.
54 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. Please change these settings accordingly.
queryARTransactionTxn queries the Oracle Applications database for any AR
Transactions information matching the parameter values. The parameters are defined
as the input to this service.
For more details on query services, see “Using Query Services” on page 37.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 55
2 Financial Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Customer service.
Note: If you use this service but you do not use the Send Customer service, you should
run the wm_disable_from_customer.sql script to disable the triggers installed by the
Send Customer service.
For a detailed description of these database scripts, see “Send Customer Service” on
page 182. For more information about using database scripts, see “Database Scripts” on
page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryCustomerTxn queries the Oracle Applications database for any Customer
information matching the parameter values. The parameters are defined as the input
to this service.
For more details on query services, see “Using Query Services” on page 37.
56 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
This service retrieves General Ledger (GL) Budget, Encumbrance, Actual, and Funds
Available account balances based on the following parameters:
PERIOD_NAME: Period for which the data would be retrieved from Oracle
Applications.
PERIOD_TYPE: Period Type.
CURRENCY: Currency for the required GL balance.
SET_OF_BOOKS: Set of Books Name.
While configuring the queryGLBalanceTxn service, a java.outOfMemory error can occur.
Because the database can have so many records, it might be unable to configure the
service. One workaround is to use a restricting condition in the query, that is, 1 = 2 so that
the service configures successfully. After you have configured this service, remove the
restricting condition from your transaction definitions. In addition, update the SQLOut
parameters of the service’s transactionRecord in the webMethods Developer, and remove
the restricting condition. (In this example, you remove the 1 = 2 condition.)
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 57
2 Financial Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryGLBalanceTxn queries the Oracle Applications database for any GL Balance
matching the parameter values. The parameters are defined as the input to this
service.
For more details on query services, see “Using Query Services” on page 37.
GLBALANCE
Oracle Applications
Document Field Name Table/View Name Column Name Description
WEB_TRANSACTION_ID Not used Populated from a
sequence and used
internally in the
flow. Contains a
null value for
queried vendor
data.
DOCUMENT_TYPE Not used Use GLBALANCE.
DOCUMENT_STATUS Not used Use QUERY.
SET_OF_BOOKS_NAME GL_SETS_OF_ Name Populated by
BOOKS joining the Set of
Books ID with the
corresponding ID
in
GL_SETS_OF_BO
OKS table.
58 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Name Table/View Name Column Name Description
ACCOUNT_CODE GL_CODE_ CONCATENATED_ Use Code
COMBINATIONS SEGTMENTS Combination ID
_KFV stored in the
GL_BALANCES
table to join with
the Code
Combination ID in
GL_CODE_
COMBINATIONS_
KFV table.
CURRENCY_CODE GL_BALANCES CURRENCY_CODE
PERIOD_NAME GL_BALANCES PERIOD_NAME
ACTUAL_FLAG GL_BALANCES ACTUAL_FLAG
BUDGET_VERSION_ GL_BUDGET_ BUDGET_NAME Joined with the
NAME VERSIONS Budget Version ID.
ENCUMBRANCE_TYPE GL_ ENCUMBRANCE_ ENCUMBRANCE
ENCUMBRANCE TYPE _TYPE_ID
_TYPES is joined with
GL_BALANCES.E
NCUMBRANCE_
TYPE_ID.
REVALUATION_STATUS GL_BALANCES REVALUATIUON_ST
ATUS
PERIOD_TYPE GL_BALANCES PERIOD_TYPE
PERIOD_YEAR GL_BALANCES PERIOD_YEAR
PERIOD_NUMBER GL_BALANCES PERIOD_NUMBER
PERIOD_NET_DR GL_BALANCES PERIOD_NET_DR Period net debit
balance.
PERIOD_NET_CR GL_BALANCES PERIOD_NET_CR Period net credit
balance.
PERIOD_TO_DATE_ADB GL_BALANCES PERIOD_TO_ Period-to-date
DATE_ADB ADB balance.
QUARTER_TO_DATE_DR GL_BALANCES QUARTER_TO_ Quarter-to-date
DATE_DR debit balance.
QUARTER_TO_DATE_CR GL_BALANCES QUARTER_TO_ Quarter-to-date
DATE_CR credit balance.
QUARTER_TO_DATE_A GL_BALANCES QUARTER_TO_ Quarter-to-date
DB DATE ADB balance.
YEAR_TO_DATE_ADB GL_BALANCES YEAR_TO_ Year-to-date ADB
DATE_ADB balance.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 59
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Name Table/View Name Column Name Description
PROJECT_TO_DATE_DR GL_BALANCES PROJECT_TO_ Accumulated
DATE_DR project debit
balance.
PROJECT_TO_DATE_CR GL_BALANCES PROJECT_TO_ Accumulated
DATE_CR project credit
balance.
PROJECT_TO_ GL_BALANCES PROJECT_TO_ Accumulated
DATE_ADB DATE_ADB project ADB
balance.
BEGIN_BALANCE_DR GL_BALANCES BEGIN_ Beginning debit
BALANCE_DR balance.
BEGIN_BALANCE_CR GL_BALANCES BEGIN_ Beginning credit
BALANCE_CR balance.
PERIOD_NET_DR_BEQ GL_BALANCES PERIOD_NET_ Period net debit
DR_BEQ balance, base
currency.
PERIOD_NET_CR_BEQ GL_BALANCES PERIOD_NET_ Period net credit
CR_BEQ balance, base
currency.
BEGIN_BALANCE_ GL_BALANCES BEGIN_BALANCE_ Beginning debit
DR_BEQ DR_BEQ balance, base
currency.
BEGIN_BALANCE_ GL_BALANCES BEGIN_BALANCE_ Beginning credit
CR_BEQ CR_BEQ balance, base
currency.
SUMMARY_ GL_SUMMARY_ TEMPLATE_NAME Joined
TEMPLATE_NAME TEMPLATES TEMPLATE_ID
with
GL_BALANCES.
TEMPLATE_ID.
60 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
CATEGORY_NAME: Category
POSTED_DATE: Posted Date
While configuring the queryJournalTxn service, a java.outOfMemory error can occur.
Because the database can have so many records, it would be unable to configure the
service. One workaround is to use a restricting condition in the query, that is, 1 = 2, so that
the service gets configured successfully. After you have configured this service, remove
the restricting condition from your transaction definitions. In addition, update the
SQLOut parameters of the service’s transactionRecord in the webMethods Developer and
remove the restricting condition. (In this example, you remove the 1 = 2 condition.)
Database Scripts
This service uses the same database scripts as the Send Journal service.
:
Note: If you use this service but you do not use the Send Journal service, you should
run the wm_disable_from_journal.sql script to disable the triggers installed by the
Send Journal service.
For a detailed description of these database scripts, see “Send Journal Service” on
page 207. For more information about using database scripts, see “Database Scripts” on
page 27.
Flow Control
The main flow executes as follows:
queryJournalTxn queries for any Journal information matching the parameter values.
The parameters are defined as the input to this service.
For more details on query services, see “Using Query Services” on page 37.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 61
2 Financial Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Vendor service.
:
Note: If you use this service but you do not use the Send Vendor service, you should
run the wm_disable_from_vendor.sql script to disable the triggers installed by the
Send Vendor service.
For a detailed description of these database scripts, see “Send Vendor Service” on
page 212. For more information about using database scripts, see “Database Scripts” on
page 27.
62 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryVendorTxn queries the Oracle Applications database for any Vendor matching the
parameter values. The parameters are defined as the input to this service.
For more details on query services, see “Using Query Services” on page 37.
Database Scripts
This service uses the following database scripts:
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 63
2 Financial Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
pickSequence generates the group ID from the custom sequence WM_AP_GROUP_S
that is required in the interface table.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structure (invoice interface table). This service uses the following
services internally to provide required data feed during the mapping.
pickSequence is a transformer for mapping the business document IData structure
to the interface table IData structure. It uses the sequence
AP_INVOICES_INTERFACE_S to generate the invoice ID. Each invoice that will
be imported needs an Invoice ID.
convertWorkFlow transforms workflow text to its code.
getVendorSiteId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ADDRESS_LINE1,
ADDRESS_LINE2, ADDRESS_LINE3, CITY, STATE, ZIP, COUNTRY,
VENDOR_NAME, and ORG_NAME as the input parameters, queries the
AP_SUPPLIER_SITES_ALL, AP_SUPPLIERS, and
ORG_ORGANIZATION_DEFINITIONS tables, and gets the VENDOR_SITE_ID
corresponding to the passed values.
pickSequence generates the invoice line ID that requires inserting a line in the
AP_INVOICE_LINES table. It uses sequence AP_INVOICES_INTERFACE_S to
generate unique ID.
64 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 65
2 Financial Predefined Transaction Services
66 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 67
2 Financial Predefined Transaction Services
68 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 69
2 Financial Predefined Transaction Services
70 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 71
2 Financial Predefined Transaction Services
The parameters for the AutoInvoice Master Program do not allow selective
documents to be processed by the program in an instance of the flow. Therefore, the
program execution also processes documents not inserted into interface tables during
that instance of the flow.
Although import errors are logged in tables, you cannot selectively retrieve errors for
documents loaded during an instance of the flow. All errors for the Batch Source
Name will display in the flow.
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
72 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 73
2 Financial Predefined Transaction Services
successful import. If the query returns any row, it indicates that the concurrent
program could not import data successfully into the production tables of Oracle
Applications.
getAutoInvoiceImport_ERR gets the error message that occurs during the data import
to the production table from interface table. Based on the parameter
BATCH_SOURCE_NAME, it scans the RA_INTERFACE_LINES_ALL and
RA_INTERFACE_ERRORS_ALL tables to get the corresponding message for the
BATCH_NAME.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
74 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 75
2 Financial Predefined Transaction Services
76 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 77
2 Financial Predefined Transaction Services
78 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 79
2 Financial Predefined Transaction Services
80 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 81
2 Financial Predefined Transaction Services
82 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 83
2 Financial Predefined Transaction Services
84 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 85
2 Financial Predefined Transaction Services
86 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 87
2 Financial Predefined Transaction Services
88 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 89
2 Financial Predefined Transaction Services
90 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 91
2 Financial Predefined Transaction Services
92 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 93
2 Financial Predefined Transaction Services
94 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 95
2 Financial Predefined Transaction Services
96 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 97
2 Financial Predefined Transaction Services
98 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
1.4 DEFAULT_SALES_CREDITS
Use the table for Sales Credit. See “1.1.3 SALES_CREDITS (MAPS TO
RA_INTERFACE_SALESCREDITS_ALL)” ON PAGE 90.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 99
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts
:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (interface tables). It loops over the parent and the child
to extract data to flat format.
setBankStatementTxn inserts data into the interface table. It extracts data from the IData
structure and puts the data into the interface tables in Oracle Applications.
importBankStatement imports bank statement to the production table from the interface
table. To monitor the import process, it then sequentially invokes the
callBankStatementImport, checkbankStatementImportStatus, and
100 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 101
2 Financial Predefined Transaction Services
102 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 103
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (interface tables).
getOrgId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes ORGANIZATION_NAME as the input
parameter and queries the table ORG_ORGANIZATION_DEFINITIONS to get
the ORGANIZATION_ID.
getOASystemDate returns the Oracle Applications System Date in dd-MM-yyyy
format.
104 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 105
2 Financial Predefined Transaction Services
*1.2 PHONES
**1.3 CONTACTS
*1.3.1 CONTACT_ROLES
**1.3.2 CONTACT_PHONES
**1.4 BANK_ACCOUNTS
**1.5 PAYMENT_METHODS
**1.6 CUSTOMER_PROFILES
**1.6.1 PROFILE_AMOUNTS
**Some services use the same field names and column mappings as follows:
106 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 107
2 Financial Predefined Transaction Services
108 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 109
2 Financial Predefined Transaction Services
110 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 111
2 Financial Predefined Transaction Services
112 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 113
2 Financial Predefined Transaction Services
114 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Comments
CONTACT_ROLE_ID
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 115
2 Financial Predefined Transaction Services
Uploading Budgets for a book requires you to delete that existing budget for the same
book from Oracle Assets. You must use the Upload Capital Budget window to do
this. This window gives the option to delete any existing Budget and upload a new
one.
Database Scripts
This service does not require any database scripts.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (interface tables).
setFABudgetTxn inserts data into the interface table. It extracts data form the IData
structure resulted in the bizDocMapping service and puts the data into the interface
table in Oracle Applications for FA Budgets Open Interfaces.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
116 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 117
2 Financial Predefined Transaction Services
118 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Upload a budget amount only for open budget fiscal years within a budget. A new
budget can be opened using the Define Budgets window in the Oracle Applications
General Ledger.
Add new or replace existing Budget amounts.
Upload a budget amount for an existing account that falls within the account ranges
assigned to the Budget Organization.
Database Scripts
This service does not require any database scripts.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (interface tables). It loops over the parent and the child
to extract data to flat format.
getSOBVersionEntityId maps SET_OF_BOOKS_ID, BUDGET_VERSION_ID, and
BUDGET_ENTITY_ID based on P_BUDGET_NAME and
P_BUDGET_ORGANIZATION passed to it. This service is in bizDocMapping.
getGLCodeCombinationId obtains the CODE_COMBINATION_ID based on the GL
Accounting Segments and SET_OF_BOOKS_NAME.
setGLBudgetTxn inserts data into the interface table. It extracts data form the IData
structure resulted in the bizDocMapping service and puts the data into the interface
table in Oracle Applications for GL Budgets Open Interfaces.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 119
2 Financial Predefined Transaction Services
120 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
pickSequence generates the current sequence number from the
GL_INTERFACE_CONTROL_S sequence.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (interface tables). This service uses the following services
internally to provide required data feed during the mapping.
getOASystemDate maps the current date as a date-object.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 121
2 Financial Predefined Transaction Services
122 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
GL (Maps to GL_INTERFACE)
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 123
2 Financial Predefined Transaction Services
124 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 125
2 Financial Predefined Transaction Services
correct status of the records related to the instance of the flow can be found in the
errorsDoc/ERROR_MESSAGE, which indicates the number of records processed
successfully. Since no interface error table exists for storing the error records, you must
review the concurrent request outputs to find the actual problem.
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
126 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 127
2 Financial Predefined Transaction Services
to execute. For Mass Additions Transaction, even if one particular record fails the
concurrent program raises an exception. Therefore, to find the records that posted
successfully by the concurrent program, use the getMassAddPostedStatus service to
query the number of records which have been posted successfully for the particular
Asset Book Name of the flow instance. Similarly, the getMassAddNotPosted service
queries the number of records not posted for that particular Asset Book Name of the
flow instance. This information is returned in the errorsDoc Recordlist with
ConcProgMsg and dbErrorMsg. The errorsDoc Record list contains the data error
returned by the concurrent program. The ConcProgMsg contains the Concurrent
Program execution status and dbErrorMsg contains the Database Exceptions, if any,
returned by the Concurrent Program Execution.
execMassAddConcProg invokes the stored procedure
WM_FA_MASSADD_IMP_HANDLER_PKG.WM_HANDLE_FA_MASSADD
which calls the corresponding concurrent subroutine to execute the data import
process for FA Mass Additions data into Oracle Applications. This service
provides Status, Request ID, Execution Status Message (for normal concurrent
program completion) and database Stored Procedure error message if an
exception occurs during the Stored Procedure execution.
getMassAddNotPostedStatus checks the number of records not posted successfully
for a particular Asset Book Name. This service also checks the null condition for
queryParams (same as all other services that are being used in transformers). If a
null value is passed to queryParams, this service exits.
getMassAddPostedStatus checks the number of records posted successfully for a
particular Asset Book Name. This service also checks the null condition for
queryParams (same as all other services which are being used in transformers). If
a null value is passed to queryParams, this service exits.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
128 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 129
2 Financial Predefined Transaction Services
130 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 131
2 Financial Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the Send Accounts Payable Invoice service is ready for
execution. That is, it determines whether there is no other instance of this service
already in process.
If lockTxnCtrl returns False, it means that another instance of this service is
already in process. The service exits and waits for next scheduled execution.
If lockTxnCtrl returns True, it means that the service is ready to execute. The
APInvoice row in the control table is locked and updated so that the status is
changed to INPROCESS to prevent another APInvoice service from executing.
getAPInvoiceTxn queries the Oracle Applications database for any APInvoice
Transactions that need to be processed. The number of records returned depends on
the parameter value specified in the above map.
132 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
processBizDoc sends the business document to the recipient, such as a trading partner,
by looping against each document. You need to customize this step to receive a
SUCCESS or an ERROR status of the document transfer along with the Error
information. The Transfer Status and any Error Information log against each
document.
Loop against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that the same sets of
records are not picked up during the next polling interval. The updateTrackChanges
service updates the PROCESSED_FLAG in the WM_TRACKCHANGES table to Y
and PROCESSED_DATE to sysdate, so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted; purgeTrackChanges service purges the records from the
WM_TRACKCHANGES table.
Loop against each document and based on the Transfer Status, insertTransferERRInfo
inserts a new record in the WM_TRACKCHANGES table so that same document can
be picked up during the next polling interval.
unlockTxnCtrl releases the lock on the Custom Control table so that next polling
instance of sendVendor service can begin.
getLastError logs any errors in the above steps.
unlockTxnCtrl service executes to release the lock on the Custom Control table.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
1.0 APINVOICE
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
WEB_TRANSACTION_
ID
DOCUMENT_TYPE Value is
AP_INVOICES.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 133
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
DOCUMENT_STATUS Value is UPDATE
or INSERT.
INVOICE_ID AP_INVOICES_ALL INVOICE_ID Unique identifier
for an invoice.
INVOICE_NUM AP_INVOICES_ALL INVOICE_NUM Invoice number.
INVOICE_TYPE AP_INVOICES_ALL INVOICE_TYPE The invoice type.
Use Standard or
Credit Memo.
INVOICE_DATE AP_INVOICES_ALL INVOICE_DATE Invoice date.
PO_NUMBER AP_INVOICES_ INVOICE_ID Purchase order
PKG.GET_PO_ number.
NUMBER
VENDOR_NUMBER AP_SUPPLIERS SEGMENT1 Vendor number.
VENDOR_NAME AP_SUPPLIERS VENDOR_NAME Name of vendor
VENDOR_SITE_ AP_SUPPLIER_ ADDRESS_LINE1 Address of the
ADDRESS_LINE1 SITES_ALL vendor site.
Derives the Vendor
VENDOR_SITE_ AP_SUPPLIER_ ADDRESS_LINE2
Site ID from the
ADDRESS_LINE2 SITES_ALL
interface table.
VENDOR_SITE_ AP_SUPPLIER_ ADDRESS_LINE3
ADDRESS_LINE3 SITES_ALL
VENDOR_TOWN_ AP_SUPPLIER_ CITY
OR_CITY SITES_ALL
VENDOR_COUNTY AP_SUPPLIER_ COUNTY
SITES_ALL
VENDOR_STATE AP_SUPPLIER_ STATE
SITES_ALL
VENDOR_POSTAL_ AP_SUPPLIER_ ZIP
CODE SITES_ALL
VENDOR_COUNTRY AP_SUPPLIER_ COUNTRY
SITES_ALL
INVOICE_AMOUNT AP_INVOICES_ALL INVOICE_
AMOUNT
INVOICE_ AP_INVOICES_ALL INVOICE_
CURRENCY_CODE CURRENCY_CODE
EXCHANGE_RATE AP_INVOICES_ALL EXCHANGE_RATE Exchange Rate for
foreign currency
invoices.
134 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
EXCHANGE_RATE_ AP_INVOICES_ALL EXCHANGE_ Example values:
TYPE RATE_TYPE Corporate or User.
TERMS_NAME AP_INVOICES_ALL TERMS_NAME Payment terms
name.
EXCHANGE_RATE_ AP_INVOICES_ALL EXCHANGE_ Date on which the
DATE RATE_DATE exchange rate will
be taken
DESCRIPTION AP_INVOICES_ALL DESCRIPTION Description of
invoice.
AWT_GROUP_NAME AP_AWT_GROUPS NAME Withholding tax
name.
SOURCE AP_INVOICES_ALL SOURCE Source of the
invoice.
PAYMENT_CROSS_ AP_INVOICES_ALL PAYMENT_CROSS_ Cross currency
RATE_TYPE RATE_TYPE payment rate type.
PAYMENT_CROSS_ AP_INVOICES_ALL PAYMENT_CROSS_ Cross currency
RATE_DATE RATE_DATE payment rate date.
PAYMENT_CROSS_ AP_INVOICES_ALL PAYMENT_CROSS_ Exchange rate
RATE RATE between invoice
and payment;
usually value is 1
unless they are
associated fixed-
rate currencies.
PAYMENT_ AP_INVOICES_ALL PAYMENT_ Cross currency
CURRENCY_CODE CURRENCY_CODE payment currency.
WORKFLOW Required for
inbound
transactions only.
Use:
Y for To be
Processed
S for Processing
D for Processed
NULL for Not
Applicable
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 135
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
DOC_ AP_INVOICES_ALL DOC_CATEGORY_ Defaults to
CATEGORY_CODE CODE Standard or Credit
depending on the
invoice type. You
can assign a valid
document category
that exists in
Accounts Payable.
VOUCHER_NUM AP_INVOICES_ALL VOUCHER_NUM
PAYMENT_METHOD_ AP_INVOICES_ALL PAYMENT_ Name of payment
LOOKUP_CODE METHOD_ method.
LOOKUP_CODE
PAY_GROUP_ AP_INVOICES_ALL PAY_GROUP_ Name of pay
LOOKUP_CODE LOOKUP_CODE group.
GOODS_RECEIVED_ AP_INVOICES_ALL GOODS_ Date invoice items
DATE RECEIVED_DATE received.
INVOICE_RECEIVED_ AP_INVOICES_ALL INVOICE_ Date invoice
DATE RECEIVED_DATE received.
GL_DATE AP_INVOICES_ALL GL_DATE Accounting date
default for invoice
distributions.
LIABILITY_ACCOUNT GL_CODE_ CONCATENATED_ The Accounts Code
COMBINATIONS_ SEGMENTS Combination
KFV derives the
Accounts Payable
Liability GL Code
Combination ID.
USSGL_ AP_INVOICES_ALL USSGL_ Default transaction
TRANSACTION_ TRANSACTION_ code for creating
CODE CODE US Standard
General Ledger
journal entries.
EXCLUSIVE_ AP_INVOICES_ALL EXCLUSIVE_
PAYMENT PAYMENT
ORGANIZATION_ HR_ALL_ NAME Organization
NAME ORGANIZATION_ Name derives the
UNITS_TL ORG_ID from
Organizations
Definitions.
AMOUNT_ AP_INVOICES_ALL AMOUNT_ Amount of invoice
APPLICABLE_TO_ APPLICABLE_ applicable to a
DISCOUNT TO_DISCOUNT discount.
136 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
PREPAY_NUM Required for
inbound
transactions only.
The invoice
number of an
existing, fully paid
prepayment to be
applied to the
imported invoice.
PREPAY_DIST_NUM Required for
inbound
transactions only.
The distribution of
an existing
prepayment. This
distribution will be
applied to the
imported invoice.
PREPAY_APPLY_ Required for
AMOUNT inbound
transactions only.
The amount of
prepayment that
the user wants to
apply to the
invoice. This
amount must be
positive.
PREPAY_GL_DATE Required for
inbound
transactions only.
The accounting
date for the
prepayment
application. If left
null, the invoice
GL_DATE is used.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 137
2 Financial Predefined Transaction Services
1.1 APINVOICE_LINES
Oracle Applications
Document Field Table/View/ Name Column Name Description
INVOICE_ID AP_INVOICE_ INVOICE_ID Unique identifier for an
DISTRIBUTIONS_ invoice.
ALL
LINE_NUMBER AP_INVOICE_ LINE_NUMBER Invoice line number.
DISTRIBUTIONS_
ALL
LINE_TYPE AP_INVOICE_ LINE_TYPE Type of invoice line.
DISTRIBUTIONS_ Example values are Item,
ALL Freight, Tax, or
Miscellaneous.
LINE_GROUP_ AP_INVOICE_ LINE_GROUP_ Prorates charges across a
NUMBER DISTRIBUTIONS_ NUMBER group of lines.
ALL
AMOUNT AP_INVOICE_ AMOUNT Line amount.
DISTRIBUTIONS_
ALL
ACCOUNTING_ AP_INVOICE_ ACCOUNTING_
DATE DISTRIBUTIONS_ DATE
ALL
DESCRIPTION AP_INVOICE_ DESCRIPTION
DISTRIBUTIONS_
ALL
AMOUNT_ AP_INVOICE_ AMOUNT_ Indicates whether the line
INCLUDES_ DISTRIBUTIONS_ INCLUDES_TAX_ amount includes tax.
TAX_FLAG ALL FLAG
TAX_CODES AP_TAX_CODES_ TAX_CODES Validated against
ALL AP_TAX_CODES.NAME.
PRORATE_ Indicates whether to
ACROSS_FLAG prorate charges across a
group of lines. Used for
inbound transactions
only.
PO_NUMBER PO_HEADERS_A SEGMENT1 Purchase order number
LL for PO matching.
PO_LINE_NUMBER PO_LINES_ALL LINE_NUM Purchase order line
number for PO matching.
PO_SHIPMENT_ PO_LINE_ SHIPMENT_NUM Purchase order shipment
NUM LOCATIONS_ALL number for PO matching.
138 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View/ Name Column Name Description
PO_DISTRIBUTION_ PO_ DISTRIBUTION_ Purchase order
NUM DISTRIBUTIONS_ NUM distribution line number
ALL for PO matching.
PO_UNIT_OF_ PO_LINES_ALL UNIT_MEAS_ Unit of measure on
MEASURE LOOKUP_ purchase order line.
CODE
ITEM_ MTL_SYSTEM_ DESCRIPTION
DESCRIPTION ITEMS
QUANTITY_ AP_INVOICE_ QUANTITY_ Quantity invoiced against
INVOICED DISTRIBUTIONS_ INVOICED purchase order shipment.
ALL
SHIP_TO_LOC_ HR_ ADDRESS_LINE1 Derives the Location ID
ADDRESS_LINE_1 LOCATIONS based on the Ship To
Location Address.
SHIP_TO_LOC_ HR_ ADDRESS_LINE2
ADDRESS_LINE_2 LOCATIONS
SHIP_TO_LOC_ HR_ ADDRESS_LINE3
ADDRESS_LINE_3 LOCATIONS
SHIP_TO_LOC_ HR_ TOWN_OR_CITY
ADDRESS_TOWN_ LOCATIONS
OR_CITY
SHIP_TO_LOC_ HR_ REGION_1
ADDRESS_COUNTY LOCATIONS
SHIP_TO_LOC_ HR_ REGION_2
ADDRESS_STATE LOCATIONS
SHIP_TO_LOC_ HR_ POSTAL_CODE
ADDRESS_POSTAL_ LOCATIONS
CODE
SHIP_TO_LOC_ HR_ COUNTRY
ADDRESS_ LOCATIONS
COUNTRY
UNIT_PRICE AP_INVOICE_ UNIT_PRICE Unit price for purchase
DISTRIBUTIONS_ order matched invoice
ALL items.
DISTRIBUTION_ Used for inbound
SET_NAME transactions only.
DIST_CODE_ GL_CODE_ CONCATENATED Account flexfield for
CONCATENATED COMBINATIONS_ _SEGMENTS account associated with
KFV distribution line.
AWT_GROUP_ AP_AWT_ NAME Withholding tax group
NAME GROUPS name.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 139
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View/ Name Column Name Description
RELEASE_NUM PO_HEADERS_ REVISION_NUM BLANKET Purchase
ALL Order Release Number
used for PO matching
ACCOUNT_ Indicates that balancing
SEGMENT segment in the account is
to be overridden. Used for
inbound transactions
only.
BALANCING_ Indicates that balancing
SEGMENT segment is to be
overridden. Used for
inbound transactions
only.
COST_CENTER_ Indicates Cost Center in
SEGMENT the account is to be
overridden. Used for
inbound transactions
only.
PROJECT_NAME PA_PROJECTS_ SEGMENT1 Project name is validated
ALL against
PA_PROJECTS_ALL.NA
ME.
TASK PA_TASKS TASK_NAME Project Task Name is
validated against
PA_TASKS.
EXPENDITURE_ AP_INVOICE_ EXPENDITURE_ Project expenditure type.
TYPE DISTRIBUTIONS_ TYPE
ALL
EXPENDITURE_ AP_INVOICE_ EXPENDITURE_ Project expenditure item
ITEM_DATE DISTRIBUTIONS_ ITEM_DATE date.
ALL
EXPENDITURE_ HR_ALL_ NAME Project organization
ORGANIZATION_ ORGANIZATION name.
NAME _UNITS_TL
PROJECT_ AP_INVOICE_ PROJECT_ Project accounting
ACCOUNTING_ DISTRIBUTIONS_ ACCOUNTING_ context.
CONTEXT ALL CONTEXT
PA_ADDITION_ AP_INVOICE_ PA_ADDITION_ Whether the invoice is for
FLAG DISTRIBUTIONS_ FLAG a project.
ALL
PA_QUANTITY AP_INVOICE_ PA_QUANTITY
DISTRIBUTIONS_
ALL
140 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View/ Name Column Name Description
USSGL_ AP_INVOICE_ USSGL_ USSGL transaction code
TRANSACTION_ DISTRIBUTIONS_ TRANSACTION_ for creating US Standard
CODE ALL CODE General Ledger journal
entries.
STAT_AMOUNT AP_INVOICE_ STAT_AMOUNT Amount associated with
DISTRIBUTIONS_ distribution line for
ALL measuring statistical
quantities.
TYPE_1099 AP_INVOICE_ TYPE_1099
DISTRIBUTIONS_
ALL
INCOME_TAX_ AP_INCOME_ REGION_LONG_ Reporting region for
REGION_NAME TAX_REGIONS NAME distribution line for 1099
supplier.
RECEIPT_NUMBER RCV_SHIPMENT_ RECEIPT_NUM Receipt number used for
HEADERS receipt matching.
RECEIPT_LINE_NU RCV_SHIPMENT_ LINE_NUM Receipt line number to
M LINES which an invoice will be
matched.
RCV_TRANSACTIO AP_INVOICE_ RCV_ Transaction identifier
N_ID DISTRIBUTIONS_ TRANSACTION_ from
ALL ID RCV_TRANSACTIONS.
PA_CC_AR_ AP_INVOICE_ PA_CC_AR_ Project accounting invoice
INVOICE_ID DISTRIBUTIONS_ INVOICE_ number validated against
ALL NUMBER AR_CUSTOMER_TRX_A
LL.TRX_NUMBER.
PA_CC_AR_ AP_INVOICE_ PA_CC_AR_ Project accounting invoice
INVOICE_ DISTRIBUTIONS_ INVOICE_LINE_ line number.
LINE_NUMBER ALL NUMBER
PA_REFERENCE1 AP_INVOICE_ PA_
DISTRIBUTIONS_ REFERENCE1
ALL
PA_REFERENCE2 AP_INVOICE_ PA_
DISTRIBUTIONS_ REFERENCE2
ALL
PA_CC_ AP_INVOICE_ PA_CC_
PROCESSED_ DISTRIBUTIONS_ PROCESSED_COD
CODE ALL E
MATCH_OPTION PO_LINE_ MATCH_OPTION The value of the invoice
LOCATIONS_ match option on the PO
ALL shipment.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 141
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View/ Name Column Name Description
PACKING_SLIP RCV_ PACKING_SLIP
SHIPMENT_
HEADERS
TAX_RECOVERY_ AP_INVOICE_ TAX_RECOVERY_ Tax recovery rate to be
RATE DISTRIBUTIONS_ RATE used in the tax calculation
ALL whenever recoverable tax
is enabled.
TAX_RECOVERY_ AP_INVOICE_ TAX_RECOVERY_
OVERRIDE_FLAG DISTRIBUTIONS_ OVERRIDE_FLAG
ALL
TAX_ AP_INVOICE_ TAX_
RECOVERABLE_ DISTRIBUTIONS_ RECOVERABLE_
FLAG ALL FLAG
TAX_OVERRIDE_ AP_INVOICE_ TAX_OVERRIDE_
FLAG DISTRIBUTIONS_ FLAG
ALL
CREDIT_CARD_ AP_INVOICE_DIS CREDIT_CARD_ Credit card transaction
TRX_ID TRIBUTIONS_ TRX_ID identifier.
ALL
AWARD_NAME GMS_AWARDS_ AWARD_
ALL FULL_NAME
ASSET_TRACKING_ AP_INVOICE_ ASSET_
FLAG DISTRIBUTIONS_ TRACKING_
ALL FLAG
PRICE_ AP_INVOICE_ PRICE_ Indicates whether price
CORRECTION_ DISTRIBUTIONS_ CORRECTION_ adjustment was done.
FLAG ALL FLAG
142 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendAPPayment service is ready for execution.
That is, it determines whether there is no other instance of this service already in
process.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 143
2 Financial Predefined Transaction Services
144 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
1.0 AP_CHECKS
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
WEB_TRANSACTION_
ID
DOCUMENT_TYPE Use the value
AP_PAYMENT.
DOCUMENT_STATUS Valid values are
UPDATE, INSERT, and
QUERY.
CHECK_ID AP_CHECKS_ALL CHECK_ID Unique payment
identifier.
ORGANIZATION_ HR_ALL_ NAME
NAME ORGANIZATION_
UNITS_TL
CHECK_NUMBER AP_CHECKS_ALL CHECK_ Payment number.
NUMBER
CURRENCY_CODE AP_CHECKS_ALL CURRENCY_
CODE
AMOUNT AP_CHECKS_ALL AMOUNT
CHECK_DATE AP_CHECKS_ALL CHECK_DATE Payment date.
BATCH_NAME AP_CHECKS_ALL CHECKRUN_
NAME
CHECK_VOUCHER_ AP_CHECKS_ALL CHECK_
NUM VOUCHER_NUM
CHECK_STATUS AP_LOOKUP_ DISPLAYED_
CODES FIELD
CLEARED_AMOUNT AP_CHECKS_ALL CLEARED_
AMOUNT
CLEARED_BASE_ AP_CHECKS_ALL CLEARED_BASE_
AMOUNT AP_AMOUNT
CLEARED_DATE AP_CHECKS_ALL CLEARED_DATE
CLEARED_ AP_CHECKS_ALL CLEARED_
EXCHANGE_DATE EXCHANGE_
DATE
CLEARED_EXCHANG AP_CHECKS_ALL CLEARED_
E_RATE EXCHANGE_
RATE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 145
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
CLEARED_EXCHANG AP_CHECKS_ALL CLEARED_
E_RATE_TYPE EXCHANGE_
RATE_TYPE
VOID_DATE AP_CHECKS_ALL VOID_DATE
MATURITY_ AP_CHECKS_ALL MATURITY_ Date maturity exchange
EXCHANGE_DATE EXCHANGE_ rate is effective. Usually
DATE the maturity date for
the payment.
MATURITY_EXCHAN AP_CHECKS_ALL MATURITY_ Exchange rate type at
GE_RATE_TYPE EXCHANGE_ future dated payment
RATE_TYPE maturity time. For
foreign currency
payment only.
MATURITY_ AP_CHECKS_ALL MATURITY_ Exchange rate at future
EXCHANGE_RATE EXCHANGE_ dated payment
RATE maturity time. For
foreign currency
payment only.
MATURITY_USER_ GL_DAILY_ USER_ Exchange rate value
RATE_TYPE CONVERSION_ CONVERSION_ entered by user.
TYPES TYPE
VENDOR_NAME AP_CHECKS_ALL VENDOR_NAME Supplier name.
VENDOR_ADDRESS_ AP_SUPPLIER_ ADDRESS_LINE1 Supplier address.
LINE1 SITES_ALL
VENDOR_ADDRESS_ AP_SUPPLIER_ ADDRESS_LINE2
LINE2 SITES_ALL
VENDOR_ADDRESS_ AP_SUPPLIER_ ADDRESS_LINE3
LINE3 SITES_ALL
VENDOR_CITY AP_SUPPLIER_ CITY
SITES_ALL
VENDOR_COUNTY AP_SUPPLIER_ COUNTY
SITES_ALL
VENDOR_STATE AP_SUPPLIER_ STATE
SITES_ALL
VENDOR_ZIP AP_SUPPLIER_ ZIP
SITES_ALL
VENDOR_COUNTRY AP_SUPPLIER_ COUNTRY
SITES_ALL
BANK_NAME AP_BANK_ BANK_NAME
BRANCHES
146 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
CURRENT_BANK_ AP_BANK_ BANK_
ACCOUNT_NAME ACCOUNTS_ALL ACCOUNT_
NAME
BANK_CURRENCY_ AP_BANK_ CURRENCY_
CODE ACCOUNTS_ALL CODE
CHECK_STOCK_ AP_CHECK_ NAME
NAME STOCKS_ALL
PAYMENT_TYPE AP_LOOKUP_ DISPLAYED_
CODES FIELD
PAYMENT_METHOD AP_LOOKUP_ DISPLAYED_
CODES FIELD
BANK_ACCOUNT_ AP_CHECKS_ALL BANK_
NAME ACCOUNT_
NAME
BANK_ACCOUNT_ AP_CHECKS_ALL BANK_ Payment’s bank account
NUM ACCOUNT_NUM number.
BANK_ACCOUNT_ AP_CHECKS_ALL BANK_
TYPE ACCOUNT_TYPE
BANK_NUM AP_CHECKS_ALL BANK_NUM Payment’s bank
number.
BASE_AMOUNT AP_CHECKS_ALL BASE_AMOUNT
PAYMENT_ADDRESS_ AP_CHECKS_ALL ADDRESS_STYLE Payment’s address.
STYLE
PAYMENT AP_CHECKS_ALL ADDRESS_LINE1
_ADDRESS_LINE1
PAYMENT AP_CHECKS_ALL ADDRESS_LINE2
_ADDRESS_LINE2
PAYMENT _ADDRESS_ AP_CHECKS_ALL ADDRESS_LINE3
LINE3
PAYMENT_ADDRESS_ AP_CHECKS_ALL ADDRESS_LINE4
LINE4
PAYMENT _CITY AP_CHECKS_ALL CITY
PAYMENT _COUNTY AP_CHECKS_ALL COUNTY
PAYMENT _STATE AP_CHECKS_ALL STATE
PAYMENT _ZIP AP_CHECKS_ALL ZIP
PAYMENT _COUNTRY AP_CHECKS_ALL COUNTRY
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 147
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
DOC_SEQUENCE_ FND_ NAME Payment document
NAME DOCUMENT_ sequence name.
SEQUENCES
DOC_CATEGORY_ FND_DOC_ NAME Payment document
NAME SEQUENCE_ category name.
CATEGORIES
EXCHANGE_DATE AP_CHECKS_ALL EXCHANGE_ Date exchange rate is
DATE effective, which is
usually the accounting
date of the transaction.
EXCHANGE_RATE AP_CHECKS_ALL EXCHANGE_ Exchange rate for
RATE foreign currency
payment.
EXCHANGE_RATE_ AP_CHECKS_ALL EXCHANGE_ Exchange rate for
TYPE RATE_TYPE foreign currency
payment.
FUTURE_PAY_DUE_ AP_CHECKS_ALL FUTURE_PAY_ Negotiable date for
DATE DUE_DATE future dated payment.
RELEASED_DATE AP_CHECKS_ALL RELEASED_DATE Date and time user
released stop payment.
RELEASED_BY AP_CHECKS_ALL RELEASED_BY Name of person who
released the payment.
STOPPED_DATE AP_CHECKS_ALL STOPPED_DATE Date and time user
released the stop
payment.
STOPPED_BY AP_CHECKS_ALL STOPPED_BY Name of person who
stopped the payment.
TREASURY_PAY_ AP_CHECKS_ALL TREASURY_PAY_ Date payment
DATE DATE processed through
internal clearing
organization.
TREASURY_PAY_ AP_CHECKS_ALL TREASURY_PAY_ Number assigned to
NUMBER NUMBER payment processed
through internal
clearing organization.
USSGL_ AP_CHECKS_ALL USSGL_ Transaction code for
TRANSACTION_ TRANSACTION_ creating US Standard
CODE CODE General Ledger journal
entries.
148 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Table/View/Package
Document Field Name Column Name Description
USSGL_TRX_CODE_ AP_CHECKS_ALL USSGL_TRX_ USSGL Transaction
CONTEXT CODE_CONTEXT Code Descriptive
flexfield context
column.
SET_OF_BOOKS_ GL_SETS_OF_ NAME Name of GL set of
NAME BOOKS books.
CHECK_FORMAT_ AP_CHECK_ NAME
NAME FORMATS
TERRITORY_SHORT_ FND_ TERRITORY_
NAME TERRITORIES_VL SHORT_NAME
USER_RATE_TYPE GL_DAILY_ USER_ Rate type entered by
CONVERSION_ CONVERSION_ user.
TYPES TYPE
POSITIVE_PAY_ AP_CHECKS_ALL POSITIVE_PAY_ Set by and used by
STATUS_CODE STATUS_CODE Positive Pay Report to
select records.
TRANSFER_PRIORITY AP_CHECKS_ALL TRANSFER_
PRIORITY
EXTERNAL_BANK_ AP_BANK_ BANK_
ACCOUNT_NAME ACCOUNTS_ALL ACCOUNT_
NAME
STAMP_DUTY_AMT AP_CHECKS_ALL STAMP_DUTY_ Stamp duty amount.
AMT
STAMP_DUTY_BASE_ AP_CHECKS_ALL STAMP_DUTY_ Stamp duty base
AMT BASE_AMT amount.
FUTURE_DATED_ AP_CHECKS_ALL FUTURE_PAY_ Indicates whether
PAYMENT_FLAG DUE_DATE payment has a future
date.
DESCRIPTION AP_CHECKS_ALL DESCRIPTION
ANTICIPATED_ AP_CHECKS_ALL ANTICIPATED_ Used by Cash
VALUE_DATE VALUE_DATE Management.
ACTUAL_VALUE_ AP_CHECKS_ALL ACTUAL_ Used by Cash
DATE VALUE_DATE Management.
OBSOLETE_FLAG FND_ OBSOLETE_FLAG Indicates whether a
TERRITORIES_VL territory is obsolete.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 149
2 Financial Predefined Transaction Services
1.1 AP_INVOICE_PAYMENTS
Oracle Applications
Document Field Table/View Name Column Name Description
CHECK_ID AP_INVOICE_ CHECK_ID Unique payment
PAYMENTS_ALL identifier.
INVOICE_NUM AP_INVOICES_ALL INVOICE_NUM Payment invoice
number.
AMOUNT AP_INVOICE_ AMOUNT Payment invoiced
PAYMENTS_ALL amount.
ACCOUNTING_ AP_INVOICE_ ACCOUNTING_
DATE PAYMENTS_ALL DATE
DESCRIPTION AP_INVOICES_ DESCRIPTION
ALL
CHECK_DATE AP_CHECKS_ALL CHECK_DATE Payment date.
INVOICE_DATE AP_INVOICES_ALL INVOICE_DATE
ACCRUAL_POSTED_ AP_INVOICE_ ACCRUAL_POSTE
FLAG PAYMENTS_ALL D_FLAG
ACCTS_PAY_ GL_CODE_ CONCATENATED_ Indicates whether the
ACCOUNT_ COMBINATIONS_ SEGMENTS payment has been
NUMBER KFV accounted in accrual
set of books.
ASSETS_ADDITION_ AP_INVOICE_ ASSETS_ Indicates whether
FLAG PAYMENTS_ALL ADDITION_FLAG discounts on invoice
payment have been
transferred into
Oracle Assets.
ASSET_ACCOUNT_ GL_CODE_ CONCATENATED_ Account number for
NUMBER COMBINATIONS_ SEGMENTS assets.
KFV
BANK_ACCOUNT_ AP_INVOICE_ BANK_ Bank account
NUM PAYMENTS_ALL ACCOUNT_NUM number.
BANK_ACCOUNT_ AP_INVOICE_ BANK_
TYPE PAYMENTS_ALL ACCOUNT_TYPE
BANK_NUM AP_INVOICE_ BANK_NUM Bank number.
PAYMENTS_ALL
CASH_POSTED_ AP_INVOICE_ CASH_POSTED_
FLAG PAYMENTS_ALL FLAG
DISCOUNT_LOST AP_INVOICE_ DISCOUNT_LOST Amount of discount
PAYMENTS_ALL lost.
DISCOUNT_TAKEN AP_INVOICE_ DISCOUNT_ Amount of discount
PAYMENTS_ALL TAKEN taken.
150 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
EXCHANGE_DATE AP_INVOICE_ EXCHANGE_DATE Date for which
PAYMENTS_ALL exchange rate is
obtained from daily
rates table.
EXCHANGE_RATE AP_INVOICE_ EXCHANGE_RATE Exchange rate for a
PAYMENTS_ALL foreign currency
payment.
EXCHANGE_RATE_ AP_INVOICE_ EXCHANGE_RATE Exchange rate type
TYPE PAYMENTS_ALL _TYPE for a foreign currency
payment.
GAIN_ACCOUNT_ GL_CODE_ CONCATENATED_ Account to which
NUMBER COMBINATIONS_ SEGMENTS realized exchange
KFV rate gains are posted.
INVOICE_BASE_ AP_INVOICE_ Payment amount in
AMOUNT PAYMENTS_ALL functional currency at
invoice’s exchange
rate. Only used for
foreign currency
invoice payments.
LOSS_ACCOUNT_ GL_CODE_ CONCATENATED_ Account to which
NUMBER COMBINATIONS_ SEGMENTS realized exchange
KFV rate losses are posted.
PAYMENT_BASE_ AP_INVOICE_ PAYMENT_BASE_ Payment amount at
AMOUNT PAYMENTS_ALL AMOUNT payment’s exchange
rate. Only used for
foreign currency
invoice payments.
PAYMENT_NUM AP_INVOICE_ PAYMENT_NUM Payment number.
PAYMENTS_ALL
PERIOD_NAME AP_INVOICE_ PERIOD_NAME
PAYMENTS_ALL
POSTED_FLAG AP_INVOICE_ POSTED_FLAG Indicates whether the
PAYMENTS_ALL payment has been
accounted.
SET_OF_BOOKS_ GL_SETS_OF_ NAME
NAME BOOKS
INVOICE_ AP_INVOICE_ INVOICE_ Creation method of a
PAYMENT_TYPE PAYMENTS_ALL PAYMENT_TYPE payment, used by
Positive Pay feature
(Single or Batch).
OTHER_INVOICE_ AP_INVOICES_ALL OTHER_INVOICE_ Related invoice
NUM NUM number.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 151
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
CHECK_NUMBER AP_CHECKS_ALL CHECK_NUMBER
CHECK_AMOUNT AP_CHECKS_ALL AMOUNT
CHECK_TYPE AP_LOOKUP_ DISPLAYED_FIELD
CODES
CHECK_STATUS AP_LOOKUP_ DISPLAYED_FIELD
CODES
PAYMENT_TYPE AP_LOOKUP_ DISPLAYED_FIELD
CODES
INVOICE_AMOUNT AP_INVOICES_ALL INVOICE_AMOUN
T
AMOUNT_PAID AP_INVOICES_ALL AMOUNT_PAID
EXTERNAL_BANK_ AP_BANK_ BANK_ACCOUNT_
ACCOUNT_ ACCOUNTS_ALL NUM
NUMBER
APS_EXTRNL_ AP_BANK_ BANK_ACCOUNT_
BANK_ACCOUNT_ ACCOUNTS_ALL NUM
NUMBER
152 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 153
2 Financial Predefined Transaction Services
For information about using the transaction definition files to customize this service, see
“Transaction Definitions” on page 26.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendARTransaction service is ready for execution.
That is, it determines whether there is no other instance of this service already in
process.
If lockTxnCtrl returns False, it means that another instance of this service is
already in process. The service exits, and waits for the next scheduled execution.
If lockTxnCtrl returns True, it means that the service is ready to execute. It locks
the AR Transaction row in the control table and updates it so that the status
changes to be INPROCESS. This prevents any other AR Transaction service from
executing.
getARTransactionTxn service queries the Oracle Applications database for any AR
Transaction. The number of records returned depends on the parameter value
specified in noOfRowsToFetch parameter in the specifyDefaultSettings map.
processBizDoc sends the business document to a trading partner. You must customize
this step to receive a Success or an Error status of the document transfer. The
document transfer status information should be sent back to the calling service
(sendARTransaction). The document transfer status passed back should have the
document identifiers along with the transfer status of SUCCESS or ERROR and Error
information for the particular document which has not been transferred successfully
to the trading partner.
Loop against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that same sets of
records are not picked up during next polling interval. The updateTrackChanges
service updates the PROCESSED_FLAG in the WM_TRACKCHANGES table to Y
and PROCESSED_DATE to sysdate so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted. The purgeTrackChanges service purges the records from the
WM_TRACKCHANGES table.
Loop against each document and based on the Transfer Status, insertTransferERRInfo
inserts a new record in the WM_TRACKCHANGES table so that same document can
be picked up during the next polling interval.
154 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
unlockTxnCtrl service releases the lock on the Custom Control table so that next polling
instance of sendVendor service can begin.
getLastError service logs any flow service execution errors in the above steps.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
1.0 TRANSACTIONS
Oracle Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE The value is
ARTRANSAC
TION.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 155
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
DOCUMENT_STATUS Valid values
are UPDATE
and INSERT.
CUSTOMER_TRX_ID RA_CUSTOMER_ CUSTOMER_TRX_ID Customer
TRX_ALL transaction ID.
AGREEMENT_NAME RA_CUSTOMER_ AGREEMENT_ID The name of
TRX_ALL the customer
agreement.
COMMENTS RA_CUSTOMER_ COMMENTS
TRX_ALL
CONS_BILLING_NUM AR_CONS_INV_ CONS_BILLING_NUM The number
ALL for this
consolidated
bill. Used for
grouping a set
of invoices
under one bill.
CONVERSION_DATE RA_CUSTOMER_ CONVERSION_DATE The exchange
TRX_ALL rate date.
CONVERSION_RATE RA_CUSTOMER_ CONVERSION_RATE The exchange
TRX_ALL rate.
CONVERSION_TYPE RA_CUSTOMER_ CONVERSION_TYPE The exchange
TRX_ALL rate type.
CREDIT_METHOD_ RA_CUSTOMER_ CREDIT_METHOD_ The credit
FOR_RULES TRX_ALL FOR_RULES method for
crediting a
transaction,
which uses an
accounting
rule.
CREDIT_METHOD_ RA_CUSTOMER_ CREDIT_METHOD_ The credit
FOR_INSTALLMENTS TRX_ALL FOR_INSTALLMENTS method for
crediting a
transaction
that uses split
payment
terms.
INVOICE_ RA_CUSTOMER_ INVOICE_CURRENCY_
CURRENCY_CODE TRX_ALL CODE
CUSTOMER_BANK_ RA_CUSTOMER_ CUSTOMER_BANK_ The Bill To
ACCOUNT_NAME TRX_ALL ACCOUNT_ID customer bank
account name.
156 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
TRX_TYPE_NAME RA_CUSTOMER_ CUST_TRX_TYPE_ID Transaction
TRX_ALL type name.
DOCUMENT_NUMBER RA_CUSTOMER_ TRX_NUMBER
TRX_ALL
GL_DATE RA_CUST_TRX_ GL_DATE The General
LINE_GL_ Ledger date.
DIST_ALL The GL date
determines the
accounting
period that
you record this
transaction to
your general
ledger.
HEADER_ATTRIBUTE_ RA_CUSTOMER_ HEADER_ATTRIBUTE_ Descriptive
CATEGORY TRX_ALL CATEGORY flexfield
attribute
HEADER_ATTRIBUTE1 HEADER_ATTRIBUTE1
information
HEADER_ATTRIBUTE2 HEADER_ATTRIBUTE2 for the
Transaction
HEADER_ATTRIBUTE3 HEADER_ATTRIBUTE3
Information
HEADER_ATTRIBUTE4 HEADER_ATTRIBUTE4 flexfield.
Descriptive
HEADER_ATTRIBUTE5 HEADER_ATTRIBUTE5
flexfield
HEADER_ATTRIBUTE6 HEADER_ATTRIBUTE6 attributes let
you store
HEADER_ATTRIBUTE7 HEADER_ATTRIBUTE7
user-defined
HEADER_ATTRIBUTE8 HEADER_ATTRIBUTE8 additional
columns.
HEADER_ATTRIBUTE9 HEADER_ATTRIBUTE9
HEADER_ATTRIBUTE10 HEADER_
ATTRIBUTE10
HEADER_ATTRIBUTE11 HEADER_
ATTRIBUTE11
HEADER_ATTRIBUTE12 HEADER_
ATTRIBUTE12
HEADER_ATTRIBUTE13 HEADER_
ATTRIBUTE13
HEADER_ATTRIBUTE14 HEADER_
ATTRIBUTE14
HEADER_ATTRIBUTE15 HEADER_
ATTRIBUTE15
INTERNAL_NOTES RA_CUSTOMER_ INTERNAL_NOTES
TRX_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 157
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INVOICING_RULE_ RA_CUSTOMER_ INVOICING_RULE_ID
NAME TRX_ALL
ORIG_SYSTEM_BILL_ RA_CUSTOMER_ ORIG_SYSTEM_BILL_ The Bill To
ADDRESS_REF TRX_ALL ADDRESS_REF customer
address
reference.
ORIG_SYSTEM_BILL_ RA_CUSTOMER_ ORIG_SYSTEM_BILL_ The Bill To
CONTACT_REF TRX_ALL CONTACT_REF contact
reference.
ORIG_SYSTEM_BILL_ RA_CUSTOMER_ ORIG_SYSTEM_BILL_ Bill To
CUSTOMER_REF TRX_ALL CUSTOMER_REF customer.
ORIG_SYSTEM_SHIP_ RA_CUSTOMER_ ORIG_SYSTEM_SHIP_ Ship To
ADDRESS_REF TRX_ALL ADDRESS_REF customer
address.
ORIG_SYSTEM_SHIP_ RA_CUSTOMER_ ORIG_SYSTEM_SHIP_ Ship To
CONTACT_REF TRX_ALL CONTACT_REF contact.
ORIG_SYSTEM_SHIP_ RA_CUSTOMER_ ORIG_SYSTEM_SHIP_ Ship To
CUSTOMER_REF TRX_ALL CUSTOMER_REF customer.
ORIG_SYSTEM_SOLD_ RA_CUSTOMER_ ORIG_SYSTEM_SOLD_ Sold To
CUSTOMER_REF TRX_ALL CUSTOMER_REF customer.
ORIG_SYSTEM_BATCH_ RA_CUSTOMER_ ORIG_SYSTEM_BATCH The batch
NAME TRX_ALL _NAME name.
PAYMENT_SERVER_ RA_CUSTOMER_ PAYMENT_SERVER_ Number that
ORDER_NUM TRX_ALL ORDER_NUM indicates that
credit card
payment was
authorized by
Oracle
Payment
Server.
PRIMARY_SALESREP_ RA_CUSTOMER_ PRIMARY_SALESREP_ The primary
NUMBER TRX_ALL ID salesperson
number.
PRINTING_OPTION RA_CUSTOMER_ PRINTING_OPTION
TRX_ALL
PURCHASE_ORDER RA_CUSTOMER_ PURCHASE_ORDER The purchase
TRX_ALL order number.
PURCHASE_ORDER_ RA_CUSTOMER_ PURCHASE_ORDER_
REVISION TRX_ALL REVISION
PURCHASE_ORDER_ RA_CUSTOMER_ PURCHASE_ORDER_
DATE TRX_ALL DATE
158 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
REASON_CODE RA_CUSTOMER_ REASON_CODE
TRX_ALL
REASON_CODE_ RA_CUSTOMER_ REASON_CODE The meaning
MEANING TRX_ALL of the reason
code.
RECEIPT_METHOD_ RA_CUSTOMER_ RECEIPT_METHOD_ID
NAME TRX_ALL
RELATED_CUSTOMER_ RA_CUSTOMER_ RELATED_CUSTOMER The document
TRX_NUMBER TRX_ALL _TRX_ID number to
which this
transaction is
related.
SET_OF_BOOKS_NAME RA_CUSTOMER_ SET_OF_BOOKS_ID Maps to the
TRX_ALL Set of Books
ID.
TERRITORY RA_CUSTOMER_ TERRITORY_ID Maps to the
TRX_ALL territory ID.
TERM_NAME RA_CUSTOMER_ TERM_ID The name of
TRX_ALL the payment
term.
TRX_DATE RA_CUSTOMER_ TRX_DATE The
TRX_ALL transaction
date.
TRX_NUMBER RA_CUSTOMER_ TRX_NUMBER The number
TRX_ALL for this
transaction.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 159
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ATTRIBUTE_CATEGORY RA_CUSTOMER_ ATTRIBUTE_ The Invoice
TRX_ALL CATEGORY Line
Information
ATTRIBUTE1 ATTRIBUTE1
flexfield
ATTRIBUTE8 ATTRIBUTE8 attribute
information.
ATTRIBUTE2 ATTRIBUTE2
Descriptive
ATTRIBUTE3 ATTRIBUTE3 flexfield
attributes
ATTRIBUTE4 ATTRIBUTE4
allow you to
ATTRIBUTE5 ATTRIBUTE5 store user-
defined
ATTRIBUTE6 ATTRIBUTE6
additional
ATTRIBUTE7 ATTRIBUTE7 columns.
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
RELATED_BATCH_ RA_CUSTOMER_T BATCH_SOURCE_ID The name of
SOURCE_NAME RX_ALL the batch
source of the
document to
which this
transaction is
related.
BATCH_SOURCE_NAME RA_CUSTOMER_ BATCH_SOURCE_ID The name of
TRX_ALL the batch
source.
FOB_POINT RA_CUSTOMER_ FOB_POINT Free on Board
TRX_ALL point.
SHIP_DATE_ACTUAL RA_CUSTOMER_ SHIP_DATE_ACTUAL Shipment date.
TRX_ALL
SHIP_VIA RA_CUSTOMER_ SHIP_VIA
TRX_ALL
WAYBILL_NUMBER RA_CUSTOMER_ WAYBILL_NUMBER
TRX_ALL
160 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
APPROVAL_CODE RA_CUSTOMER_ APPROVAL_CODE The payment
TRX_ALL approval code
provided by
the credit card
issuer to
indicate funds
are available
from the user’s
account.
ADDRESS_ RA_CUSTOMER_ ADDRESS_ The credit card
VERIFICATION_CODE TRX_ALL VERIFICATION_CODE address
verification
code provided
by Oracle
Payment
Server.
DEFAULT_USSGL_ RA_CUSTOMER_ DEFAULT_USSGL_ The
TRANSACTION_CODE TRX_ALL TRANSACTION_CODE transaction
code.
DEFAULT_USSGL_TRX_ RA_CUSTOMER_ DEFAULT_USSGL_ Not currently
CODE_CONTEXT TRX_ALL TRX_CODE_CONTEXT used.
ORGANIZATION_NAME RA_CUSTOMER_ ORG_ID Not currently
TRX_ALL used.
1.1.TRANSACTION_LINES
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_TRX_ID RA_CUSTOMER_ CUSTOMER_ Customer transaction
TRX_LINES_ALL TRX_ID ID.
CUSTOMER_TRX_ RA_CUSTOMER_ CUSTOMER_ Customer transaction
LINE_ID TRX_LINES_ALL TRX_LINE_ID line ID.
DESCRIPTION RA_CUSTOMER_ DESCRIPTION
TRX_LINES_ALL
QUANTITY RA_CUSTOMER_ QUANTITY_ Line quantity.
TRX_LINES_ALL INVOICED
QUANTITY_ORDERED RA_CUSTOMER_ QUANTITY_ The original number of
TRX_LINES_ALL ORDERED units ordered.
UNIT_STANDARD_ RA_CUSTOMER_ UNIT_ Standard price per unit.
PRICE TRX_LINES_ALL STANDARD_
PRICE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 161
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
UNIT_SELLING_PRICE RA_CUSTOMER_ UNIT_SELLING Selling price per unit.
TRX_LINES_ALL _PRICE
AMOUNT RA_CUSTOMER_ REVENUE_ Revenue amount.
TRX_LINES_ALL AMOUNT
AMOUNT_INCLUDES RA_CUSTOMER_ AMOUNT_ Indicates whether the
_TAX_FLAG TRX_LINES_ALL INCLUDES_ amount for this
TAX_FLAG transaction line includes
tax.
UOM_CODE RA_CUSTOMER_ UOM_CODE Unit of measure code.
TRX_LINES_ALL
UOM_NAME RA_CUSTOMER_ UOM_CODE Unit of measure name.
TRX_LINES_ALL
ACCOUNTING_ RA_CUSTOMER_ ACCOUNTING
RULE_DURATION TRX_LINES_ALL _RULE_
DURATION
ACCOUNTING_ RA_CUSTOMER_ ACCOUNTING
RULE_NAME TRX_LINES_ALL _RULE_ID
RULE_START_DATE RA_CUSTOMER_ RULE_START_ The date for the
TRX_LINES_ALL DATE accounting rule to
begin.
LAST_PERIOD_TO_ RA_CUSTOMER_ LAST_PERIOD_ For unit credit memos,
CREDIT TRX_LINES_ALL TO_CREDIT the last period number
from which you want to
start crediting.
INVENTORY_ITEM RA_CUSTOMER_ INVENTORY_ The concatenated
TRX_LINES_ALL ID inventory flexfield,
which is derived based
on the
INVENTORY_ID.
MEMO_LINE_NAME RA_CUSTOMER_ MEMO_LINE_ Name of the standard
TRX_LINES_ALL ID memo line.
TAX_EXEMPT_FLAG RA_CUSTOMER_ TAX_EXEMPT_ If LINE_TYPE = LINE,
TRX_LINES_ALL FLAG this column is optional.
The value indicates how
a line is taxed.
TAX_EXEMPT_ RA_CUSTOMER_ TAX_EXEMPT_
NUMBER TRX_LINES_ALL NUMBER
TAX_EXEMPT_ RA_CUSTOMER_T TAX_EXEMPT_
REASON_CODE RX_LINES_ALL REASON_CODE
TAX_EXEMPT_ RA_CUSTOMER_ TAX_EXEMPT_
REASON_CODE_ TRX_LINES_ALL REASON_CODE
MEANING
162 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_
SOURCE TRX_LINES_ALL SOURCE
SALES_ORDER RA_CUSTOMER_ SALES_ORDER Sales order number.
TRX_LINES_ALL
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_
REVISION TRX_LINES_ALL REVISION
SALES_ORDER_LINE RA_CUSTOMER_ SALES_ORDER_ Sales order line number.
TRX_LINES_ALL LINE
SALES_ORDER_DATE RA_CUSTOMER_ SALES_ORDER_
TRX_LINES_ALL DATE
WAREHOUSE_NAME RA_CUSTOMER_ WAREHOUSE_ Identifies the Ship From
TRX_LINES_ALL ID location for tax
purposes.
TRANSLATED_ RA_CUSTOMER_ TRANSLATED_ Used for multi–lingual
DESCRIPTION TRX_LINES_ALL DESCRIPTION support.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 163
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTERFACE_LINE_ RA_CUSTOMER_ INTERFACE_ The Line Transaction
CONTEXT TRX_LINES_ALL LINE_ flexfield. The Line
CONTEXT Transaction flexfield is a
combination of attribute
NTERFACE_LINE_ NTERFACE_
values that uniquely
ATTRIBUTE1 LINE_
identify this transaction
ATTRIBUTE1
line in your original
NTERFACE_LINE_ NTERFACE_ system.
ATTRIBUTE2 LINE_
ATTRIBUTE2
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE3 LINE_
ATTRIBUTE3
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE4 LINE_
ATTRIBUTE4
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE5 LINE_
ATTRIBUTE5
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE6 LINE_
ATTRIBUTE6
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE7 LINE_
ATTRIBUTE7
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE8 LINE_
ATTRIBUTE8
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE9 LINE_
ATTRIBUTE9
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE10 LINE_
ATTRIBUTE10
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE11 LINE_
ATTRIBUTE11
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE13 LINE_
ATTRIBUTE13
164 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE15 LINE_
ATTRIBUTE15
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE12 LINE_
ATTRIBUTE12
INTERFACE_LINE_ INTERFACE_
ATTRIBUTE14 LINE_
ATTRIBUTE14
REFERENCE_LINE_ RA_CUSTOMER_ PREVIOUS_ The transaction flexfield
CONTEXT TRX_LINES_ALL CUSTOMER_ of the transaction line
TRX_LINE_ID/ you are crediting in
REFERENCE_LINE_
INITIAL_CUST these columns.
ATTRIBUTE1
OMER_TRX_
REFERENCE_LINE_ LINE_ID
ATTRIBUTE2
REFERENCE_LINE_
ATTRIBUTE3
REFERENCE_LINE_
ATTRIBUTE4
REFERENCE_LINE_
ATTRIBUTE5
REFERENCE_LINE_
ATTRIBUTE6
REFERENCE_LINE_
ATTRIBUTE7
REFERENCE_LINE_
ATTRIBUTE8
REFERENCE_LINE_
ATTRIBUTE9
REFERENCE_LINE_
ATTRIBUTE10
REFERENCE_LINE_
ATTRIBUTE11
REFERENCE_LINE_
ATTRIBUTE12
REFERENCE_LINE_
ATTRIBUTE13
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 165
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
REFERENCE_LINE_
ATTRIBUTE14
REFERENCE_LINE_
ATTRIBUTE15
LINK_TO_LINE_ RA_CUSTOMER_ LINK_TO_CUST The link to your
CONTEXT TRX_LINES_ALL _RX_LINE_ID transaction flexfield
attribute values.
LINK_TO_LINE_
ATTRIBUTE1
LINK_TO_LINE_
ATTRIBUTE2
LINK_TO_LINE_
ATTRIBUTE3
LINK_TO_LINE_
ATTRIBUTE4
LINK_TO_LINE_
ATTRIBUTE5
LINK_TO_LINE_
ATTRIBUTE6
LINK_TO_LINE_
ATTRIBUTE7
LINK_TO_LINE_
ATTRIBUTE8
LINK_TO_LINE_
ATTRIBUTE9
LINK_TO_LINE_
ATTRIBUTE10
LINK_TO_LINE_
ATTRIBUTE11
LINK_TO_LINE_
ATTRIBUTE12
LINK_TO_LINE_
ATTRIBUTE13
LINK_TO_LINE_
ATTRIBUTE14
LINK_TO_LINE_
ATTRIBUTE15
166 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
1.1.1 TAX_LINES
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_TRX_ID RA_CUSTOMER_ CUSTOMER_ Customer transaction
TRX_LINES_ALL TRX_ID ID.
CUSTOMER_TRX_ RA_CUSTOMER_ CUSTOMER_ Customer transaction
LINE_ID TRX_LINES_ALL TRX_LINE_ID line ID.
LINK_TO_CUST_TRX_ RA_CUSTOMER_ LINK_TO_CUST Link to customer
LINE_ID TRX_LINES_ALL _TRX_LINE_ID transaction line ID.
AMOUNT RA_CUSTOMER_ REVENUE_ Revenue amount.
TRX_LINES_ALL AMOUNT
VAT_TAX_CODE RA_CUSTOMER_ SALES_TAX_ID Tax code for this tax
TRX_LINES_ALL line.
TAX_PRECEDENCE RA_CUSTOMER_ TAX_ The precedence number
TRX_LINES_ALL PRECEDENCE for this tax line. This
column computes tax
compounding.
TAX_RATE RA_CUSTOMER_ TAX_RATE Tax rate for this tax line.
TRX_LINES_ALL
INTERFACE_LINE_ RA_CUSTOMER_ LINK_TO_CUST Line Transaction
CONTEXT TRX_LINES_ALL _TRX_LINE_ID flexfield.
INTERFACE_LINE_
ATTRIBUTE1
INTERFACE_LINE_
ATTRIBUTE2
INTERFACE_LINE_
ATTRIBUTE3
INTERFACE_LINE_
ATTRIBUTE4
INTERFACE_LINE_
ATTRIBUTE5
INTERFACE_LINE_
ATTRIBUTE6
INTERFACE_LINE_
ATTRIBUTE7
INTERFACE_LINE_
ATTRIBUTE8
INTERFACE_LINE_
ATTRIBUTE9
INTERFACE_LINE_
ATTRIBUTE10
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 167
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTERFACE_LINE_
ATTRIBUTE11
INTERFACE_LINE_
ATTRIBUTE12
INTERFACE_LINE_
ATTRIBUTE13
INTERFACE_LINE_
ATTRIBUTE14
INTERFACE_LINE_
ATTRIBUTE15
ATTRIBUTE_ RA_CUSTOMER_ ATTRIBUTE_ The Invoice Line
CATEGORY TRX_LINES_ALL CATEGORY Information flexfield
attribute information.
ATTRIBUTE1 ATTRIBUTE1
Descriptive flexfield
ATTRIBUTE2 ATTRIBUTE2 attributes allow you to
store user-defined
ATTRIBUTE3 ATTRIBUTE3
additional columns.
ATTRIBUTE4 ATTRIBUTE4
ATTRIBUTE5 ATTRIBUTE5
ATTRIBUTE6 ATTRIBUTE6
ATTRIBUTE7 ATTRIBUTE7
ATTRIBUTE8 ATTRIBUTE8
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
1.1.2 FREIGHT_LINES
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_TRX_ RA_CUSTOMER_ CUSTOMER_ Customer Transaction
LINE_ID TRX_LINES_ALL TRX_LINE_ID Line ID.
CUSTOMER_TRX_ID RA_CUSTOMER_ CUSTOMER_ Customer Transaction
TRX_LINES_ALL TRX_ID ID.
168 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
LINK_TO_CUST_TRX_ RA_CUSTOMER_ LINK_TO_CUST Link to Customer
LINE_ID TRX_LINES_ALL _TRX_LINE_ID Transaction Line ID.
AMOUNT RA_CUSTOMER_ REVENUE_ The revenue amount.
TRX_LINES_ALL AMOUNT
INTERFACE_LINE_ RA_CUSTOMER_ LINK_TO_CUST The Line Transaction
CONTEXT TRX_LINES_ALL _TRX_LINE_ID flexfield.
INTERFACE_LINE_
ATTRIBUTE1
INTERFACE_LINE_
ATTRIBUTE2
INTERFACE_LINE_
ATTRIBUTE3
INTERFACE_LINE_
ATTRIBUTE4
INTERFACE_LINE_
ATTRIBUTE5
INTERFACE_LINE_
ATTRIBUTE6
INTERFACE_LINE_
ATTRIBUTE7
INTERFACE_LINE_
ATTRIBUTE8
INTERFACE_LINE_
ATTRIBUTE9
INTERFACE_LINE_
ATTRIBUTE10
INTERFACE_LINE_
ATTRIBUTE11
INTERFACE_LINE_
ATTRIBUTE12
INTERFACE_LINE_
ATTRIBUTE13
INTERFACE_LINE_
ATTRIBUTE14
INTERFACE_LINE_
ATTRIBUTE15
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 169
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ATTRIBUTE_ RA_CUSTOMER_ ATTRIBUTE_ The Invoice Line
CATEGORY TRX_LINES_ALL CATEGORY Information flexfield
attribute information.
ATTRIBUTE1 ATTRIBUTE1
Descriptive flexfield
ATTRIBUTE2 ATTRIBUTE2 attributes allow you to
store user-defined
ATTRIBUTE3 ATTRIBUTE3
additional columns.
ATTRIBUTE4 ATTRIBUTE4
ATTRIBUTE5 ATTRIBUTE5
ATTRIBUTE6 ATTRIBUTE6
ATTRIBUTE7 ATTRIBUTE7
ATTRIBUTE8 ATTRIBUTE8
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
1.1.3 SALES_CREDITS
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_TRX_ID RA_CUST_ CUSTOMER_TRX Customer Transaction
TRX_LINE_ _ID ID.
SALESREPS_ALL
CUSTOMER_TRX_ RA_CUST_ CUSTOMER_TRX Customer Transaction
LINE_ID TRX_LINE_ _LINE_ID Line ID.
SALESREPS_ALL
CUST_TRX_LINE_ RA_CUST_ CUST_TRX_LINE
SALESREP_ID TRX_LINE_ _SALESREP_ID
SALESREPS_ALL
SALESREP_NUMBER RA_CUST_ SALESREP_ID The salesperson
TRX_LINE_ number for this sales
SALESREPS_ALL credit.
REVENUE_PERCENT_ RA_CUST_ REVENUE_ The sales credit
SPLIT TRX_LINE_ PERCENT_SPLIT percent for this
SALESREPS_ALL salesperson.
170 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
REVENUE_AMOUNT_ RA_CUST_ REVENUE_ The sales credit
SPLIT TRX_LINE_ AMOUNT_SPLIT amount for this
SALESREPS_ALL salesperson.
NON_REVENUE_ RA_CUST_ NON_REVENUE_ Not used.
PERCENT_SPLIT TRX_LINE_ PERCENT_SPLIT
SALESREPS_ALL
NON_REVENUE_ RA_CUST_ NON_REVENUE_ Not used.
AMOUNT_SPLIT TRX_LINE_ AMOUNT_SPLIT
SALESREPS_ALL
SALESREP_NAME RA_CUST_ SALESREP_ID Sales representative’s
TRX_LINE_ name.
SALESREPS_ALL
SALES_CREDIT_TYPE_ RA_CUST_ SALESREP_ID The name of this sales
NAME TRX_LINE_ credit’s type.
SALESREPS_ALL
INTERFACE_LINE_ RA_CUST_ CUSTOMER_ The Line Transaction
CONTEXT TRX_LINE_ TRX_LINE_ID flexfield
SALESREPS_ALL
INTERFACE_LINE_
ATTRIBUTE1
INTERFACE_LINE_
ATTRIBUTE2
INTERFACE_LINE_
ATTRIBUTE3
INTERFACE_LINE_
ATTRIBUTE4
INTERFACE_LINE_
ATTRIBUTE5
INTERFACE_LINE_
ATTRIBUTE6
INTERFACE_LINE_
ATTRIBUTE7
INTERFACE_LINE_
ATTRIBUTE8
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 171
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTERFACE_LINE_
ATTRIBUTE9
INTERFACE_LINE_
ATTRIBUTE10
INTERFACE_LINE_
ATTRIBUTE11
INTERFACE_LINE_
ATTRIBUTE12
INTERFACE_LINE_
ATTRIBUTE13
INTERFACE_LINE_
ATTRIBUTE14
INTERFACE_LINE_
ATTRIBUTE15
ATTRIBUTE_CATEGO RA_CUST_TRX_LIN ATTRIBUTE_ The Invoice Line
RY E_SALESREPS_ALL CATEGORY Information flexfield
attribute information.
ATTRIBUTE1 ATTRIBUTE1
Descriptive flexfield
ATTRIBUTE2 ATTRIBUTE2 attributes allow you to
store additional
ATTRIBUTE3 ATTRIBUTE3
columns, the contents
ATTRIBUTE4 ATTRIBUTE4 of which you define.
ATTRIBUTE5 ATTRIBUTE5
ATTRIBUTE6 ATTRIBUTE6
ATTRIBUTE7 ATTRIBUTE7
ATTRIBUTE8 ATTRIBUTE8
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
REVENUE_ RA_CUST_ REVENUE_ Revenue sales group
SALESGROUP_NAME TRX_LINE_ SALESGROUP_ name.
SALESREPS_ALL ID
NON_REVENUE_ RA_CUST_ NON_REVENUE_ Non-revenue sales
SALESGROUP_NAME TRX_LINE_ SALESGROUP_ID group name.
SALESREPS_ALL
172 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
GL Distributions
All the GL Distributions business document structures are the same for this service, as
follows:
.
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_ RA_CUSTOMER CUSTOMER_TRX_ Customer Transaction
TRX_LINE_ID _TRX_LINES_ LINE_ID Line ID.
ALL
ACCOUNT_CLASS RA_CUST_TRX_ ACCOUNT_CLASS Enter the account class for
LINE_GL_DIST_ this accounting
ALL distribution.
ACCTD_AMOUNT RA_CUST_TRX_ ACCTD_AMOUNT The accounted amount for
LINE_GL_DIST_ this distribution.
ALL
AMOUNT RA_CUST_TRX_ AMOUNT The amount for this
LINE_GL_DIST_ accounting distribution.
ALL
ATTRIBUTE_CATEG RA_CUST_TRX_ ATTRIBUTE_ The Invoice Line
ORY LINE_GL_DIST_ CATEGORY Information flexfield
ALL attribute information.
ATTRIBUTE1 ATTRIBUTE1
Descriptive flexfield
ATTRIBUTE2 ATTRIBUTE2 attributes allow you to
store additional columns,
ATTRIBUTE3 ATTRIBUTE3
the contents of which you
ATTRIBUTE4 ATTRIBUTE4 define.
ATTRIBUTE5 ATTRIBUTE5
ATTRIBUTE6 ATTRIBUTE6
ATTRIBUTE7 ATTRIBUTE7
ATTRIBUTE8 ATTRIBUTE8
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
ACCOUNT_ RA_CUST_TRX_ CODE_ The concatenated
NUMBER LINE_GL_DIST_ COMBINATION_ segments value for the
ALL ID Accounting flexfields,
which maps to the CODE_
COMBINATION_ID.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 173
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
COMMENTS RA_CUST_TRX_ COMMENTS Comments about this
LINE_GL_DIST_ accounting distribution.
ALL
INTERFACE_LINE_ RA_CUST_TRX_ CUSTOMER_TRX_ The Line Transaction
CONTEXT LINE_GL_DIST_ LINE_ID flexfield.
ALL
INTERFACE_LINE_
ATTRIBUTE1
INTERFACE_LINE_
ATTRIBUTE2
INTERFACE_LINE_
ATTRIBUTE3
INTERFACE_LINE_
ATTRIBUTE4
INTERFACE_LINE_
ATTRIBUTE5
INTERFACE_LINE_
ATTRIBUTE6
INTERFACE_LINE_
ATTRIBUTE7
INTERFACE_LINE_
ATTRIBUTE8
INTERFACE_LINE_
ATTRIBUTE9
INTERFACE_LINE_
ATTRIBUTE10
INTERFACE_LINE_
ATTRIBUTE11
INTERFACE_LINE_
ATTRIBUTE12
INTERFACE_LINE_
ATTRIBUTE13
INTERFACE_LINE_
ATTRIBUTE14
INTERFACE_LINE_
ATTRIBUTE15
174 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTERIM_TAX_ RA_CUST_TRX_ CODE_
ACCOUNT_ LINE_GL_DIST_ COMBINATION_
NUMBER ALL ID
ACCT_ RA_CUST_TRX_ PERCENT The percentage for this
DISTRIBUTION_ LINE_GL_DIST_ accounting distribution.
PERCENT ALL
1.2 CHARGES
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_TRX_ RA_CUSTOMER_ CUSTOMER_ Customer
LINE_ID TRX_LINES_ALL TRX_LINE_ID Transaction Line ID.
CUSTOMER_TRX_ID RA_CUSTOMER_ CUSTOMER_TRX_ID Customer
TRX_LINES_ALL Transaction ID.
LINK_TO_CUST_ RA_CUSTOMER_ LINK_TO_CUST_
TRX_LINE_ID TRX_LINES_ALL TRX_LINE_ID
DESCRIPTION RA_CUSTOMER_ DESCRIPTION
TRX_LINES_ALL
QUANTITY RA_CUSTOMER_ QUANTITY Number of units
TRX_LINES_ALL shipped.
QUANTITY_ORDER RA_CUSTOMER_ QUANTITY_ The original
ED TRX_LINES_ALL ORDERED number of units
ordered.
INVENTORY_ITEM RA_CUSTOMER_ INVENTORY_ The concatenated
TRX_LINES_ALL ITEM_ID Inventory flexfield,
which will be used
to derive the
INVENTORY_ID.
UNIT_STANDARD_ RA_CUSTOMER_ UNIT_STANDARD_ The standard price
PRICE TRX_LINES_ALL PRICE per unit.
UNIT_SELLING_ RA_CUSTOMER_ UNIT_SELLING_ The selling price
PRICE TRX_LINES_ALL PRICE per unit.
MEMO_LINE_NAME RA_CUSTOMER_ MEMO_LINE_ID The name of the
TRX_LINES_ALL standard memo
line.
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_ The source of the
SOURCE TRX_LINES_ALL SOURCE sales order.
SALES_ORDER RA_CUSTOMER_ SALES_ORDER Sales order number
TRX_LINES_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 175
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_ Sales order
REVISION TRX_LINES_ALL REVISION revision.
SALES_ORDER_LINE RA_CUSTOMER_ SALES_ORDER_LINE Sales order line
TRX_LINES_ALL number.
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_ Date of the sales
DATE TRX_LINES_ALL DATE order.
INTERFACE_LINE_ RA_CUSTOMER_ INTERFACE_LINE_ Line Transaction
CONTEXT TRX_LINES_ALL CONTEXT flexfield.
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE1 ATTRIBUTE1
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE2 ATTRIBUTE2
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE3 ATTRIBUTE3
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE4 ATTRIBUTE4
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE5 ATTRIBUTE5
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE6 ATTRIBUTE6
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE7 ATTRIBUTE7
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE8 ATTRIBUTE8
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE9 ATTRIBUTE9
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE10 ATTRIBUTE10
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE11 ATTRIBUTE11
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE12 ATTRIBUTE12
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE13 ATTRIBUTE13
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE14 ATTRIBUTE14
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE15 ATTRIBUTE15
176 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
REFERENCE_LINE_ RA_CUSTOMER_ PREVIOUS_ If this transaction is
CONTEXT TRX_LINES_ALL CUSTOMER_ a credit memo, the
TRX_LINE_ Transaction
REFERENCE_LINE_
ID/ INITIAL_ flexfield of the
ATTRIBUTE1
CUSTOMER_TRX_ transaction line you
REFERENCE_LINE_ LINE_ID are crediting in
ATTRIBUTE2 these columns, or
the transaction you
REFERENCE_LINE_
are crediting.
ATTRIBUTE3
REFERENCE_LINE_
ATTRIBUTE4
REFERENCE_LINE_
ATTRIBUTE5
REFERENCE_LINE_
ATTRIBUTE6
REFERENCE_LINE_
ATTRIBUTE7
REFERENCE_LINE_
ATTRIBUTE8
REFERENCE_LINE_
ATTRIBUTE9
REFERENCE_LINE_
ATTRIBUTE10
REFERENCE_LINE_
ATTRIBUTE11
REFERENCE_LINE_
ATTRIBUTE12
REFERENCE_LINE_
ATTRIBUTE13
REFERENCE_LINE_
ATTRIBUTE14
REFERENCE_LINE_
ATTRIBUTE15
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 177
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ATTRIBUTE_ RA_CUSTOMER_ ATTRIBUTE_ Descriptive flexfield
CATEGORY TRX_LINES_ALL CATEGORY attributes allow you
to store additional
ATTRIBUTE1 ATTRIBUTE1
user-defined
ATTRIBUTE2 ATTRIBUTE2 columns.
ATTRIBUTE3 ATTRIBUTE3
ATTRIBUTE4 ATTRIBUTE4
ATTRIBUTE5 ATTRIBUTE5
ATTRIBUTE6 ATTRIBUTE6
ATTRIBUTE7 ATTRIBUTE7
ATTRIBUTE8 ATTRIBUTE8
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
1.3 FREIGHT_LINES
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_TRX_LINE_ RA_CUSTOMER_T CUSTOMER_TRX_LI Customer
ID RX_LINES_ALL NE_ID Transaction Line
ID.
CUSTOMER_TRX_ID RA_CUSTOMER_T CUSTOMER_TRX_ID Customer
RX_LINES_ALL Transaction ID.
LINK_TO_CUST_TRX_LI RA_CUSTOMER_T LINK_TO_CUST_
NE_ID RX_LINES_ALL TRX_LINE_ID
DESCRIPTION RA_CUSTOMER_T DESCRIPTION
RX_LINES_ALL
QUANTITY RA_CUSTOMER_T QUANTITY Number of units
RX_LINES_ALL _INVOICED shipped.
QUANTITY_ORDERED RA_CUSTOMER_T QUANTITY_ The original
RX_LINES_ALL ORDERED number of units
ordered.
178 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
UNIT_STANDARD_ RA_CUSTOMER_ UNIT_STANDARD_ The standard
PRICE TRX_LINES_ALL PRICE price per unit.
UNIT_SELLING_PRICE RA_CUSTOMER_ UNIT_SELLING_ Selling price per
TRX_LINES_ALL PRICE unit.
AMOUNT RA_CUSTOMER_ REVENUE_AMOUNT Revenue
TRX_LINES_ALL amount.
ACCOUNTING_RULE_ RA_CUSTOMER_ ACCOUNTING_
DURATION TRX_LINES_ALL RULE_DURATION
ACCOUNTING_RULE_ RA_CUSTOMER_ ACCOUNTING_
NAME TRX_LINES_ALL RULE_NAME
RULE_START_DATE RA_CUSTOMER_ RULE_START_DATE Date when the
TRX_LINES_ALL accounting rule
begins.
LAST_PERIOD_TO_ RA_CUSTOMER_ LAST_PERIOD_ For unit credit
CREDIT TRX_LINES_ALL TO_CREDIT memos, the last
period number
from which you
want to start
crediting.
MEMO_LINE_NAME RA_CUSTOMER_ MEMO_LINE_ID Name of the
TRX_LINES_ALL standard memo
line.
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_ Source of the
SOURCE TRX_LINES_ALL SOURCE sales order.
SALES_ORDER RA_CUSTOMER_ SALES_ORDER Sales order
TRX_LINES_ALL number.
SALES_ORDER_ RA_CUSTOMER_ SALES_ORDER_ Sales order
REVISION TRX_LINES_ALL REVISION revision
SALES_ORDER_LINE RA_CUSTOMER_ SALES_ORDER_ Sales order line
TRX_LINES_ALL LINE number.
SALES_ORDER_DATE RA_CUSTOMER_ SALES_ORDER_ Date of the sales
TRX_LINES_ALL DATE order.
INTERFACE_LINE_ RA_CUSTOMER_ INTERFACE_LINE_ Line Transaction
CONTEXT TRX_LINES_ALL CONTEXT flexfield.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 179
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE1 ATTRIBUTE1
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE2 ATTRIBUTE2
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE3 ATTRIBUTE3
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE4 ATTRIBUTE4
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE5 ATTRIBUTE5
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE6 ATTRIBUTE6
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE7 ATTRIBUTE7
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE8 ATTRIBUTE8
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE9 ATTRIBUTE9
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE10 ATTRIBUTE10
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE11 ATTRIBUTE11
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE12 ATTRIBUTE12
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE13 ATTRIBUTE13
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE14 ATTRIBUTE14
INTERFACE_LINE_ INTERFACE_LINE_
ATTRIBUTE15 ATTRIBUTE15
180 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
REFERENCE_LINE_ RA_CUSTOMER_ PREVIOUS_CUSTOM If this
CONTEXT TRX_LINES_ALL ER_TRX_LINE_ID/ transaction is a
INITIAL_CUSTOMER credit memo, the
REFERENCE_LINE_
_TRX_LINE_ID Transaction
ATTRIBUTE1
flexfield of the
REFERENCE_LINE_ transaction line
ATTRIBUTE2 to credit in these
columns, or the
REFERENCE_LINE_
transaction to
ATTRIBUTE3
credit.
REFERENCE_LINE_
ATTRIBUTE4
REFERENCE_LINE_
ATTRIBUTE5
REFERENCE_LINE_
ATTRIBUTE6
REFERENCE_LINE_
ATTRIBUTE7
REFERENCE_LINE_
ATTRIBUTE8
REFERENCE_LINE_
ATTRIBUTE9
REFERENCE_LINE_
ATTRIBUTE10
REFERENCE_LINE_
ATTRIBUTE11
REFERENCE_LINE_
ATTRIBUTE12
REFERENCE_LINE_
ATTRIBUTE13
REFERENCE_LINE_
ATTRIBUTE14
REFERENCE_LINE_
ATTRIBUTE15
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 181
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ATTRIBUTE_CATEGORY RA_CUSTOMER_ ATTRIBUTE_ Descriptive
TRX_LINES_ALL CATEGORY flexfield
attributes store
ATTRIBUTE1 ATTRIBUTE1
user-defined
ATTRIBUTE2 ATTRIBUTE2 additional
columns.
ATTRIBUTE3 ATTRIBUTE3
ATTRIBUTE4 ATTRIBUTE4
ATTRIBUTE5 ATTRIBUTE5
ATTRIBUTE6 ATTRIBUTE6
ATTRIBUTE7 ATTRIBUTE7
ATTRIBUTE8 ATTRIBUTE8
ATTRIBUTE9 ATTRIBUTE9
ATTRIBUTE10 ATTRIBUTE10
ATTRIBUTE11 ATTRIBUTE11
ATTRIBUTE12 ATTRIBUTE12
ATTRIBUTE13 ATTRIBUTE13
ATTRIBUTE14 ATTRIBUTE14
ATTRIBUTE15 ATTRIBUTE15
1.4 DEFAULT_SALES_CREDITS
Use the table for Sales Credit. See “1.1.3 SALES_CREDITS” ON PAGE 170.
182 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 183
2 Financial Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
184 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendCustomer service is ready for execution. That
is, it determines whether there is no other instance of this service already in process.
If lockTxnCtrl returns False, it means that another instance of this service is
already in process the service exits and waits for next scheduled execution.
If lockTxnCtrl returns True, it means that the service is ready to execute, the
Customer row in the control table is locked and updated so that the status is
changed to be INPROCESS. This prevents any other Customer service from
executing.
getCustomerTxn queries the Oracle Applications database for any Customer
Transaction to be processed. The number of records returned depends on the
parameter value specified in the above map.
processBizDoc is the customizable step that sends the business document to the
recipient (such as a Trading Partner) by looping against each document. You must
customize this step to receive a SUCCESS or an ERROR status of the document
transfer along with the Error information. Transfer Status and the Error Information,
if any, are logged against each document. Based on the Debug Mode, the record will
be either purged or updated in the WM_TRACKCHANGES table. If the Debug Mode
is TRUE, the records in the WM_TRACKCHANGES table are updated and the
PROCESSED_FLAG is set to ‘Y’. This ensures that same sets of records are not picked
up during next polling interval.
updateTrackChanges updates the PROCESSED_FLAG in the WM_TRACKCHANGES
table to Y so that the same information is not picked up again during the next polling
instance. If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES
table are deleted.
insertTransferErrInfo inserts a new record in the WM_TRACKCHANGES table so that
the same document can be picked up during the next polling interval. The call to this
service is in a loop against each document and is only invoked if there is an Error in
transferring the Business document.
purgeTrackChanges purges the records from the WM_TRACKCHANGES table. Based
on the Debug Mode, the record will be either purged or updated in the
WM_TRACKCHANGES table.
unlockTxnCtrl releases the lock on the Custom Control table so that the next polling
instance of sendCustomer service can begin. Using the getLastError service, any errors
that occurred are logged. The unlockTxnCtrl service executes to release the lock on the
Custom Control table.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 185
2 Financial Predefined Transaction Services
186 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
1.0 CUSTOMERS
Oracle Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION
_ID
DOCUMENT_TYPE Value is
CUSTOMER.
DOCUMENT_STATUS Value is UPDATE
or INSERT.
CUSTOMER_ID HZ_CUST_ACCOUNTS CUSTOMER_
ID
CUSTOMER_NAME HZ_CUST_ACCOUNTS CUSTOMER_
NAME
CUSTOMER_NUMBER HZ_CUST_ACCOUNTS CUSTOMER_ Customer number.
NUMBER
PARTY_ID HZ_CUST_ACCOUNTS PARTY_ID Customer party
identifier.
PARTY_NUMBER HZ_PARTIES PARTY_ Party number.
NUMBER
PARTY_TYPE HZ_PARTIES PARTY_TYPE Type of party with
valid values of
person,
organization,
group or
relationship.
CUSTOMER_KEY HZ_PARTIES CUSTOMER_ Derived key
KEY created by Oracle
Sales and
Marketing to
facilitate querying.
CUSTOMER_STATUS HZ_CUST_ACCOUNTS STATUS Customer status
flag.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 187
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ORIG_SYSTEM_ HZ_CUST_ACCOUNTS ORIG_SYSTEM Unique customer
REFERENCE _REFERENCE identifier from
foreign system.
CUSTOMER_ AR_CUSTOMERS_V CUSTOMER_
PROSPECT_CODE PROSPECT_
CODE
CUSTOMER_ HZ_PARTIES CATEGORY_ User–definable
CATEGORY_CODE CODE category.
CUSTOMER_ HZ_CUST_ACCOUNTS CUSTOMER_ Customer class
CLASS_CODE CLASS_CODE identifier.
CUSTOMER_TYPE HZ_CUST_ACCOUNTS CUSTOMER_ Receivables lookup
TYPE code for
CUSTOMER_TYPE
. Values are:
I: Internal
customers
R: external
customers
PRIMARY_SALESREP_ JTF_RS_SALESREPS NAME Name of Sales
NAME Representative
SIC_CODE HZ_PARTIES SIC_CODE Standard Industry
Classification Code.
TAX_REFERENCE HZ_PARTIES TAX_ Taxpayer
REFERENCE identification
number.
TAX_CODE HZ_CUST_ACCOUNTS TAX_CODE Tax code for this
customer.
FOB_POINT HZ_CUST_ACCOUNTS FOB_POINT The point in a
shipment when
title to the goods
transfers. An
example is FOB
delivered, where
the title changes
hands at the point
of delivery.
SHIP_VIA HZ_CUST_ACCOUNTS SHIP_VIA Name of shipping
firm.
GSA_INDICATOR HZ_PARTIES GSA_ If the organization
INDICATOR_ is a public sector
FLAG service agency.
188 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
SHIP_PARTIAL HZ_CUST_ACCOUNTS SHIP_PARTIAL Flag if partial
shipments can be
sent.
TAXPAYER_ID HZ_PARTIES JGZZ_FISCAL_ Fiscal code for
CODE certain European
countries.
PRICE_LIST_NAME OE_PRICE_LISTS_VL NAME
FREIGHT_TERM HZ_CUST_ACCOUNTS FREIGHT_ Order Management
TERM lookup code for
FREIGHT_TERMS.
ORDER_TYPE_NAME OE_TRANSACTION_ NAME
TYPES_VL
SALES_CHANNEL_ HZ_CUST_ACCOUNTS SALES_ Order Management
CODE CHANNEL_ lookup code for
CODE SALES_CHANNEL
.
WAREHOUSE_NAME HR_ALL_ NAME
ORGANIZATION_UNITS
MISSION_ HZ_PARTIES MISSION_ Corporate charter
STATEMENT STATEMENT of organization.
NUM_OF_EMPLOYEE HZ_PARTIES EMPLOYEES_ Total number of
S TOTAL employees.
POTENTIAL_ HZ_PARTIES CURR_FY_ Potential revenue
REVENUE_CURR_FY POTENTIAL_ this fiscal year for
REVENUE organization.
POTENTIAL_ HZ_PARTIES NEXT_FY_ Potential revenue
REVENUE_NEXT_FY POTENTIAL_ next fiscal year for
REVENUE organization.
FISCAL_YEAREND_ HZ_PARTIES FISCAL_ Month in which
MONTH YEAREND_ fiscal year ends for
MONTH organization.
YEAR_ESTABLISHED HZ_PARTIES YEAR_ Year in which
ESTABLISHED organization began
doing business.
ANALYSIS_FY HZ_PARTIES ANALYSIS_FY Fiscal year for
financial
information such as
net worth, number
of employees, and
potential revenue.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 189
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
COMPETITOR_FLAG HZ_PARTIES COMPETITOR Indicates whether
_FLAG organization is a
competitor.
REFERENCE_USE_FL HZ_PARTIES REFERENCE_ Indicates whether
AG USE_FLAG customer agreed to
be a reference.
THIRD_PARTY_FLAG HZ_PARTIES THIRD_PARTY Tracks if a customer
_FLAG is a direct customer
of the organization
using receivables or
a third-party
supplier.
PROFILE_CLASS_ HZ_CUST_PROFILE_ NAME Name of customer
NAME CLASSES profile class.
PARTY_NAME_ HZ_PARTIES ORGANIZATI Japanese Kana, or
PHONETIC ON_NAME_ phonetic
PHONETIC representation of
organization name.
TAX_HEADER_LEVEL HZ_CUST_ACCOUNTS TAX_HEADER Tax calculation
_FLAG _LEVEL_FLAG level where Y
indicates header
and N indicates
line.
TAX_ROUNDING_RU HZ_CUST_ACCOUNTS TAX_ Tax amount
LE ROUNDING_ rounding rule.
RULE
COTERMINATE_ HZ_CUST_ACCOUNTS COTERMINAT Identifies date in
DAY_MONTH E_DAY_ the form DD-MMM
MONTH on which services
ordered by the
customer will end.
WAREHOUSE_ HZ_CUST_ACCOUNTS WH_UPDATE_ Warehouse update
UPDATE_DATE DATE date when record
was recorded or
changed.
LANGUAGE AR_CUSTOMERS_V LANGUAGE Language.
TRANSLATED_PARTY AR_CUSTOMERS_V TRANSLATED Translated
_NAME _CUSTOMER_ customer name.
NAME
PERSON_PRE_NAME_ HZ_PARTIES PERSON_PRE_ Salutatory
ADJUNCT NAME_ introduction such
ADJUNCT as Mr. or Herr.
190 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
PERSON_FIRST_ HZ_PARTIES PERSON_ First name of the
NAME FIRST_NAME person.
PERSON_MIDDLE_ HZ_PARTIES PERSON_ Middle name of the
NAME MIDDLE_ person.
NAME
PERSON_LAST_ HZ_PARTIES PERSON_ Last name or
NAME LAST_NAME surname of the
person.
PERSON_SUFFIX HZ_PARTIES PERSON_ Suffix after the
NAME_SUFFIX surname such as
Sr., Jr., or III.
PERSON_FIRST_ HZ_PARTIES PERSON_ Phonetic
NAME_PHONETIC FIRST_NAME_ representation of
PHONETIC the first name.
PERSON_LAST_NAM HZ_PARTIES PERSON_ Phonetic
E_PHONETIC LAST_NAME_ representation of
PHONETIC the last name.
SHIP_SETS_INCLUDE HZ_CUST_ACCOUNTS SHIP_SETS_ Indicates whether
_LINES_FLAG INCLUDE_ lines should
LINES_FLAG automatically be
included in ship
sets.
ARRIVALSETS_ HZ_CUST_ACCOUNTS ARRIVALSETS Indicates whether
INCLUDE_ _INCLUDE_ lines should
LINES_FLAG LINES_FLAG automatically be
included in arrival
sets.
SCHED_DATE_PUSH_ HZ_CUST_ACCOUNTS SCHED_DATE Indicates whether a
FLAG _PUSH_FLAG group schedule
date should
automatically be
pushed.
OVER_SHIPMENT_ HZ_CUST_ACCOUNTS OVER_ Percentage
TOLERANCE SHIPMENT_ tolerance for over
TOLERANCE shipment.
UNDER_SHIPMENT_ HZ_CUST_ACCOUNTS UNDER_ Percentage
TOLERANCE SHIPMENT_ tolerance for under
TOLERANCE shipment.
OVER_RETURN_ HZ_CUST_ACCOUNTS OVER_ Percentage
TOLERANCE RETURN_ tolerance for over
TOLERANCE return.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 191
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
UNDER_RETURN_ HZ_CUST_ACCOUNTS UNDER_ Percentage
TOLERANCE RETURN_ tolerance for under
TOLERANCE return.
ITEM_CROSS_REF_
PREF
DATE_TYPE_ HZ_CUST_ACCOUNTS DATE_TYPE_ Preference for ship
PREFERENCE PREFERENCE or arrival dates.
DATES_NEGATIVE_ HZ_CUST_ACCOUNTS DATES_ Negative tolerance
TOLERANCE NEGATIVE_ for acceptable
TOLERANCE dates.
DATES_POSITIVE_ HZ_CUST_ACCOUNTS DATES_ Positive tolerance
TOLERANCE POSITIVE_ for acceptable
TOLERANCE dates.
INVOICE_ HZ_CUST_ACCOUNTS INVOICE_ Indicates whether
QUANTITY_RULE QUANTITY_ to invoice for
RULE ordered quantity or
fulfilled quantity.
DUNS_NUMBER HZ_PARTIES DUNS_ Unique, nine-digit
NUMBER identification
number assigned to
business entities by
Dun & Bradstreet.
SIC_CODE_TYPE HZ_PARTIES SIC_CODE_ Version of Standard
TYPE Industry
Classification.
1.1 SITES
Oracle Applications
Document Field Table/View Name Column Name Description
ADDRESS_ID HZ_CUST_ CUST_ACCT_ Customer site
ACCT_SITES_ SITE_ID identifier.
ALL
STATUS HZ_CUST_ STATUS Customer status flag.
ACCT_SITES_
ALL
ORIG_SYSTEM_ HZ_CUST_ ORIG_SYSTEM_ Address identifier
REFERENCE ACCT_SITES_ REFERENCE from foreign system.
ALL
TERRITORY_ FND_TERRITORIES_ TERRITORY_ Territory short name.
SHORT_NAME TL SHORT_NAME
192 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ADDRESS_STYLE HZ_LOCATIONS ADDRESS_STYLE Do not use this
column. Used as
context value for
Flexible Address
Format descriptive
flexfield.
ADDRESS1 HZ_LOCATIONS ADDRESS1
ADDRESS2 HZ_LOCATIONS ADDRESS2
ADDRESS3 HZ_LOCATIONS ADDRESS3
ADDRESS4 HZ_LOCATIONS ADDRESS4
CITY HZ_LOCATIONS CITY
COUNTY HZ_LOCATIONS COUNTY
STATE HZ_LOCATIONS STATE
PROVINCE HZ_LOCATIONS PROVINCE
COUNTRY HZ_LOCATIONS COUNTRY
POSTAL_CODE HZ_LOCATIONS POSTAL_CODE
SU_BILL_TO_FLAG AR_ADDRESSES_V SU_BILL_TO_
FLAG
SU_SHIP_TO_FLAG AR_ADDRESSES_V SU_SHIP_TO_
FLAG
SU_MARKET_FLAG AR_ADDRESSES_V SU_MARKET_
FLAG
SU_DUN_FLAG AR_ADDRESSES_V SU_DUN_FLAG
SU_STMT_FLAG AR_ADDRESSES_V SU_STMT_FLAG
SU_LEGAL_FLAG AR_ADDRESSES_V SU_LEGAL_FLAG
KEY_ACCOUNT_ AR_ADDRESSES_V KEY_ACCOUNT_
FLAG FLAG
LANGUAGE HZ_LOCATIONS LANGUAGE
LANGUAGE_ FND_LANGUAGES_ DESCRIPTION Language
DESCRIPTION TL description.
ADDRESS_LINES_ HZ_LOCATIONS ADDRESS_LINES_ Phonetic or Kana
PHONETIC PHONETIC representation of the
Kanji address lines,
used in Japan.
EDI_LOCATION HZ_CUST_ ECE_TP_ Stores the unique EDI
ACCT_SITES_ALL LOCATION_ location code for a
CODE customer.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 193
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
TERRITORY HZ_CUST_ TERRITORY Territory for this
ACCT_SITES_ALL customer account
site.
TRANSLATED_ HZ_CUST_ TRANSLATED_ Translated customer
PARTY_NAME ACCT_SITES_ALL PARTY_NAME name.
SALES_TAX_ HZ_LOCATIONS SALES_TAX_ US state and local tax
GEOCODE GEOCODE jurisdiction code.
SALES_TAX_INSIDE_ HZ_LOCATIONS SALES_TAX_ US state and local tax
CITY_LIMITS INSIDE_CITY_ inside city limits flag.
LIMITS
SITE_NUMBER
IDENTIFYING_ADD
RESS_FLAG
ADRESSEE
ORGANIZATION_ ORG_ ORGANIZATION_ Organization name.
NAME ORGANIZATION_ NAME
DEFINITIONS
1.1.1 SITE_USES
Oracle Applications
Document Field Table/View Name Column Name Comments
SITE_USE_ID HZ_CUST_ SITE_USE_ID Site-use identifier.
SITE_USES_ALL
SITE_USE_CODE HZ_CUST_ SITE_USE_CODE Business purpose.
SITE_USES_ALL
PRIMARY_FLAG HZ_CUST_ PRIMARY_FLAG Indicates site is
SITE_USES_ALL primary.
STATUS HZ_CUST_ STATUS Site-use status flag.
SITE_USES_ALL
CONTACT_NAME AR_SITE_ CONTACT_NAME Contact name.
USES_V
BILL_TO_ HZ_CUST_ LOCATION Site-use identifier.
LOCATION SITE_USES_ALL
ORIG_SYSTEM_ HZ_CUST_ ORIG_SYSTEM_ Site-use identifier
REFERENCE SITE_USES_ALL REFERENCE from foreign
system.
SIC_CODE HZ_CUST_ SIC_CODE Standard Industry
SITE_USES_ALL Classification code.
194 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Comments
PAYMENT_TERM_ RA_TERMS_TL NAME Payment terms
NAME name.
GSA_INDICATOR HZ_CUST_ GSA_INDICATOR Indicates whether
SITE_USES_ALL this site is a public
sector government
service agency.
SHIP_PARTIAL HZ_CUST_SITE_USE SHIP_PARTIAL Indicates whether
S_ALL the customer will
accept partial
shipments.
SHIP_VIA HZ_CUST_ SHIP_VIA Name of the
SITE_USES_ALL preferred shipping
company.
FOB_POINT HZ_CUST_ FOB_POINT Free On Board
SITE_USES_ALL (FOB) point is
where title of
goods is
transferred to the
buyer.
ORDER_TYPE_ OE_TRANSACTION NAME Order type name.
NAME _TYPES_TL
PRICE_LIST_NAME OE_PRICE_ NAME Price list name.
LISTS_VL
FREIGHT_TERM HZ_CUST_ FREIGHT_TERM Order
SITE_USES_ALL Management
lookup code for
FREIGHT_TERMS.
WAREHOUSE_ HR_ALL_ NAME Warehouse name.
NAME ORGANIZATION_
UNITS
TAX_REFERENCE HZ_CUST_ TAX_REFERENCE Taxpayer
SITE_USES_ALL identification
number.
TAX_CODE HZ_CUST_ TAX_CODE Tax code
SITE_USES_ALL associated with
this site.
DEMAND_CLASS_ HZ_CUST_ DEMAND_ Demand class.
CODE SITE_USES_ALL CLASS_CODE
INVENTORY_ HR_ALL_ NAME Inventory
ORGANIZATION_ ORGANIZATION_ organization name.
NAME UNITS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 195
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Comments
TAX_ HZ_CUST_ TAX_ Classification code
CLASSIFICATION SITE_USES_ALL CLASSIFICATION for tax.
TAX_HEADER_ HZ_CUST_ TAX_HEADER_ Used by Oracle
LEVEL_FLAG SITE_USES_ALL LEVEL_FLAG Sales
Compensation.
TAX_ROUNDING_ HZ_CUST_SITE_ TAX_ROUNDING_ Tax rounding rule
RULE USES_ALL RULE that overrides
system and
customer tax
rounding rule.
PRIMARY_ JTF_RS_SALESREPS NAME Primary sales
SALESREP_NAME representative
name.
FINCHRG_ AR_RECEIVABLES_ NAME
RECEIVABLES_TRX_ TRX_ALL
NAME
REV_ACCOUNT GL_CODE_ CONCATENATED_ Account identifier
COMBINATIONS SEGMENTS for the revenue
account.
FREIGHT_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the freight
account.
REC_ ACCOUNT GL_CODE_ CONCATENATED_ Account identifier
COMBINATIONS SEGMENTS for the receivable
account.
CLEARING_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the clearing
account.
TAX_ ACCOUNT GL_CODE_ CONCATENATED_ Account identifier
COMBINATIONS SEGMENTS for the tax account.
UNBILLED_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the unbilled
account.
UNEARNED_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the unearned
account.
UNPAID_REC_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the unpaid bills
account.
REMITTANCE_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the remittance
account.
196 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Comments
FACTOR_ GL_CODE_ CONCATENATED_ Account identifier
ACCOUNT COMBINATIONS SEGMENTS for the factor
account.
DATES_NEGATIVE_ HZ_CUST_ DATES_NEGATIVE_ Negative tolerance
TOLERANCE SITE_USES_ALL TOLERANCE for acceptable
dates.
DATES_POSITIVE_ HZ_CUST_ DATES_POSITIVE_ Positive tolerance
TOLERANCE SITE_USES_ALL TOLERANCE for acceptable
dates.
DATE_TYPE_ HZ_CUST_ DATE_TYPE_ Preference for ship
PREFERENCE SITE_USES_ALL PREFERENCE or arrival dates.
OVER_SHIPMENT_ HZ_CUST_ OVER_SHIPMENT_ Percentage
TOLERANCE SITE_USES_ALL TOLERANCE tolerance for over
shipment.
UNDER_SHIPMENT HZ_CUST_ UNDER_SHIPMENT_ Percentage of
_TOLERANCE SITE_USES_ALL TOLERANCE tolerance for under
shipment.
OVER_RETURN_ HZ_CUST_ OVER_RETURN_ Percentage of
TOLERANCE SITE_USES_ALL TOLERANCE tolerance for over
return.
UNDER_RETURN_ HZ_CUST_ UNDER_RETURN_ Percentage
TOLERANCE SITE_USES_ALL TOLERANCE tolerance for under
return.
SHIP_SETS_ HZ_CUST_ SHIP_SETS_INCLUDE Indicates whether
INCLUDE_LINES_ SITE_USES_ALL _LINES_FLAG lines should
FLAG automatically be
included in ship
sets.
ARRIVALSETS_ HZ_CUST_ ARRIVALSETS_ Indicates whether
INCLUDE_LINES_ SITE_USES_ALL INCLUDE_LINES_ lines should
FLAG FLAG automatically be
included in arrival
sets.
SCHED_DATE_ HZ_CUST_ SCHED_DATE_ Indicates whether
PUSH_FLAG SITE_USES_ALL PUSH_FLAG the group schedule
date should
automatically be
pushed.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 197
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Comments
INVOICE_ HZ_CUST_ INVOICE_ Indicates whether
QUANTITY_RULE SITE_USES_ALL QUANTITY_RULE to invoice for
ordered quantity
or fulfilled
quantity.
PRICING_EVENT HZ_CUST_ PRICING_EVENT Event at which to
SITE_USES_ALL price orders.
Examples are
at entry, at
shipping, or at
invoicing.
1.1.1.1 SITE_PAYMENT_METHODS
Oracle Applications
Document Filed Table/View Name Column Name Description
PRIMARY_FLAG RA_CUST_RECEIPT_ PRIMARY_ Indicates whether
METHODS FLAG customer receipt
method is primary.
RECEIPT_ AR_RECEIPT_ NAME Receipt method
METHOD_NAME METHODS name.
START_DATE RA_CUST_RECEIPT_ START_DATE Start date of the
METHODS customer receipt
methods.
END_DATE RA_CUST_RECEIPT_ END_DATE End date of the
METHODS customer receipt
methods.
1.1.1.2 SITE_BANK_ACCOUNTS
198 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 199
2 Financial Predefined Transaction Services
1.1.1.3 SITE_PROFILES
Oracle Applications
Document Field Table/View Name Column Name Description
CUSTOMER_ HZ_CUSTOMER_ CUST_ Unique identifier of this
PROFILE_ID PROFILES ACCOUNT_ customer profile.
PROFILE_ID
STATUS HZ_CUSTOMER_ STATUS Indicates whether the profile
PROFILES is active or inactive.
PROFILE_CLASS HZ_CUST_ NAME
_NAME PROFILE_CLASSES
PROFILE_CLASS HZ_CUST_ DESCRIPTION
_DESCRIPTION PROFILE_CLASSES
COLLECTOR_ID AR_CUSTOMER_ COLLECTOR_ID Collector ID.
PROFILES
COLLECTOR_ AR_COLLECTORS NAME
NAME
CREDIT_ HZ_CUSTOMER_ CREDIT_ Indicates whether a credit
CHECKING PROFILES CHECKING check is to be carried out.
200 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
TOLERANCE HZ_CUSTOMER_ TOLERANCE Percentage over credit limit
PROFILES that this customer can exceed
before action takes place.
DISCOUNT_ HZ_CUSTOMER_ DISCOUNT_ Indicates whether to allow
TERMS PROFILES TERMS discount terms. Default value
is Y (Yes).
DUNNING_ HZ_CUSTOMER_ DUNNING_ Indicates whether to send
LETTERS PROFILES LETTERS dunning letters to this
customer when invoices,
debit memos, or chargebacks
become past due.
INTEREST_ HZ_CUSTOMER_ INTEREST_ Indicates whether to charge
CHARGES PROFILES CHARGES this customer interest.
STATEMENTS HZ_CUSTOMER_ SEND_ Indicates whether to send
PROFILES STATEMENTS this customer statements.
CREDIT_ HZ_CUSTOMER_ CREDIT_ Indicates whether to send
BALANCE_ PROFILES BALANCE_ statements that have a credit
STATEMENTS STATEMENTS balance.
CREDIT_HOLD HZ_CUSTOMER_ CREDIT_HOLD Indicates whether to put a
PROFILES hold on this customer’s
credit.
CREDIT_RATING HZ_CUSTOMER_ CREDIT_RATING List of values choice for credit
PROFILES rating.
CREDIT_RATING AR_LOOKUPS MEANING Credit rating meaning.
_MEANING
RISK_CODE HZ_CUSTOMER_ RISK_CODE List of values for risk code.
PROFILES
RISK_MEANING HZ_CUSTOMER_ RISK_MEANING Risk meaning.
PROFILES
STANDARD_TER HZ_CUSTOMER_ STANDARD_ User–defined payment.
MS PROFILES TERMS
OVERRIDE_TER HZ_CUSTOMER_ OVERRIDE_ Indicates whether to allow
MS PROFILES TERMS override of standard terms.
DUNNING_ AR_DUNNING_ NAME Dunning letter set name.
LETTER_ LETTER_SETS
SET_NAME
INTEREST_ HZ_CUSTOMER_ INTEREST_ Number of days to which the
PERIOD_DAYS PROFILES PERIOD_DAYS interest rate refers.
PAYMENT_ HZ_CUSTOMER_ PAYMENT_ Maximum number of
GRACE_DAYS PROFILES GRACE_DAYS overdue days allowed before
action takes place.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 201
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
DISCOUNT_ HZ_CUSTOMER_ DISCOUNT_ Number of days after
GRACE_DAYS PROFILES GRACE_DAYS discount term date during
which this customer can take
discounts.
STATEMENT_ AR_STATEMENT_ NAME
CYCLE_NAME CYCLES
ACCOUNT_ HZ_CUSTOMER_ ACCOUNT_ User defined account status.
STATUS PROFILES STATUS
ACCOUNT_ HZ_CUSTOMER_ ACCOUNT_ User defined account status
STATUS_ PROFILES STATUS_ meaning.
MEANING MEANING
AUTOCASH_ AR_AUTOCASH_ HIERARCHY_
HIERARCHY_ HIERARCHIES NAME
NAME
AUTO_REC_ HZ_CUSTOMER_ AUTO_REC_ Indicates whether to include
INCL_DISPUTED PROFILES INCL_DISPUTED disputed transactions. Values
_FLAG _FLAG include Y or N.
TAX_PRINTING_ HZ_CUSTOMER_ TAX_PRINTING_ Tax printing option.
OPTION PROFILES OPTION
TAX_PRINTING_ HZ_CUSTOMER_ TAX_PRINTING_ Tax printing option meaning.
OPTION_ PROFILES OPTION_
MEANING MEANING
CHARGE_ON_ HZ_CUSTOMER_ CHARGE_ON_ Indicates whether to
FINANCE_ PROFILES FINANCE_ compound finance charges
CHARGE_FLAG CHARGE_FLAG for this customer or site.
Values include Y or N.
GROUPING_ RA_GROUPING_ NAME Grouping rule name.
RULE_NAME RULES
CONS_INV_ HZ_CUSTOMER_ CONS_INV_ Indicates whether customer
FLAG PROFILES FLAG will be sent a consolidated
billing invoice.
CONS_INV_ HZ_CUSTOMER_ CONS_INV_ Type of consolidated billing
TYPE PROFILES TYPE invoice (summary or detail)
sent to customer.
PERCENT_ HZ_CUSTOMER_ PERCENT_ Percentage of this customer’s
COLLECTABLE PROFILES COLLECTABLE account balance that expect
to be collected on a regular
basis.
202 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
CLEARING_ HZ_CUSTOMER_ CLEARING_ Specifies a value for the
DAYS PROFILES DAYS number of clearing days
before receipts that belong to
this customer or site can be
cleared by the automatic
clearing program. This
overrides the value of the
payment method or bank
account.
AUTOCASH_ AR_AUTOCASH_ HIERARCHY_
HIERARCHY_ HIERARCHIES NAME
NAME_ADR
LOCKBOX_ HZ_CUSTOMER_ LOCKBOX_ Lockbox matching option
MATCHING_ PROFILES MATCHING_ such as INVOICE,
OPTION OPTION SALES_ORDER,
PURCHASE_ORDER.
1.1.1.3.1 SITE_PROFILE_AMOUNTS
Oracle Applications
Document Field Table/View Name Column Name Description
CURRENCY_CODE HZ_CUST_ CURRENCY_
PROFILE_AMTS CODE
TRX_CREDIT_ HZ_CUST_ TRX_CREDIT_ Credit limit for an order.
LIMIT PROFILE_AMTS LIMIT
OVERALL_ HZ_CUST_ OVERALL_
CREDIT_LIMIT PROFILE_AMTS CREDIT_LIMIT
MIN_DUNNING_ HZ_CUST_ MIN_DUNNING_ Minimum total that a
AMOUNT PROFILE_AMTS AMOUNT dunning letter should have
before the letter is printed.
MIN_DUNNING_ HZ_CUST_ MIN_DUNNING_ The balance due on a
INVOICE_ PROFILE_AMTS INVOICE_ payment schedule must be
AMOUNT AMOUNT at least this value before it
can be dunned.
MAX_INTEREST_ HZ_CUST_ MAX_INTEREST_ Maximum interest to be
CHARGE PROFILE_AMTS CHARGE charged per invoice for a
currency.
MIN_STATEMENT HZ_CUST_ MIN_STATEMEN Minimum total a statement
_AMOUNT PROFILE_AMTS T_AMOUNT should have before the
statement is printed.
AUTO_REC_ HZ_CUST_ AUTO_REC_ Limits the minimum receipt
MIN_RECEIPT_ PROFILE_AMTS MIN_RECEIPT_ amount for a currency.
AMOUNT AMOUNT
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 203
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INTEREST_RATE HZ_CUST_ INTEREST_RATE The interest rate to be
PROFILE_AMTS charged to this customer
account or site for invoices
in this currency.
MIN_FC_ HZ_CUST_ MIN_FC_ Minimum balance that a
BALANCE_ PROFILE_AMTS BALANCE_ customer account or
AMOUNT AMOUNT customer account site
should have before any
finance charges can be
charged to invoices.
MIN_FC_ HZ_CUST_ MIN_FC_ Minimum balance on an
INVOICE_ PROFILE_AMTS INVOICE_ invoice before any finance
AMOUNT AMOUNT charges can be computed.
1.1.2 SITE_PHONES
Oracle
Applications
Table/View
Document Field Name Column Name Description
PHONE_NUMBER HZ_ PHONE_ Telephone number in the local
CONTACT_ NUMBER format.
POINTS
STATUS HZ_ STATUS Active or inactive status.
CONTACT_
POINTS
PHONE_TYPE HZ_ PHONE_LINE_ Lookup code for the type of
CONTACT_ TYPE phone line; for example general,
POINTS fax, inbound, or outbound.
AREA_CODE HZ_ PHONE_ Area code within a country
CONTACT_ AREA_CODE code.
POINTS
EXTENSION HZ_ PHONE_ Additional number used by an
CONTACT_ EXTENSION internal telephone system after
POINTS the internal telephone system is
contacted.
PRIMARY_FLAG HZ_ PRIMARY_ Indicates whether the primary
CONTACT_ FLAG contact point for this type for
POINTS referenced party is site or
location.
ORIG_SYSTEM_ HZ_ ORIG_SYSTEM_ Identifier for this record from
REFERENCE CONTACT_ REFERENCE foreign system.
POINTS
204 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle
Applications
Table/View
Document Field Name Column Name Description
CONTACT_ HZ_ CONTACT_ Lookup values are
POINT_TYPE CONTACT_ POINT_TYPE contact_point_type phone, fax,
POINTS email, web, telex, or edi.
TELEPHONE_TYPE HZ_ TELEPHONE_ Indicates whether this is a fixed
CONTACT_ TYPE or mobile phone.
POINTS
TIME_ZONE HZ_ TIME_ZONE Time zone in the number of
CONTACT_ hours from Greenwich mean
POINTS time.
PHONE_ HZ_ PHONE_ Indicates whether this is a touch
TOUCH_TONE_ CONTACT_ TOUCH_TONE_ tone phone (Y) or a non–touch
TYPE_FLAG POINTS TYPE_FLAG tone (N).
TELEX_NUMBER HZ_ TELEX_ Reference number, usually a
CONTACT_ NUMBER telephone number, to which you
POINTS send TELEX messages.
WEB_TYPE HZ_ WEB_TYPE Prefix class to a Web address,
CONTACT_ such as ftp or http.
POINTS
1.1.3 SITE_CONTACTS
Oracle Applications
Document Field Table/View Name Column Name Description
CONTACT_ID HZ_CUST_ CUST_ Unique identifier for the
ACCOUNT_ROLES ACCOUNT_ role played by the party
ROLE_ID in the customer account.
CONTACT_NUMBER HZ_ORG_ CONTACT_
CONTACTS NUMBER
TITLE HZ_ORG_ TITLE
CONTACTS
TITLE_MEANING AR_LOOKUPS MEANING Title meaning.
PERSON_FIRST_ HZ_PARTIES PERSON_
NAME FIRST_NAME
PERSON_LAST_ HZ_PARTIES PERSON_LAST_
NAME NAME
PERSON_FIRST_ AR_CONTACTS_V HZ_CUST_ Alternate first name.
NAME_ALT ACCT_
RELATE_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 205
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
PERSON_LAST_ AR_CONTACTS_V HZ_CUST_ACC Alternate second name.
NAME_ALT T_RELATE_ALL
STATUS HZ_CUST_ CURRENT_ Status of a role that the
ACCOUNT_ROLES ROLE_STATE customer or party has
assumed.
JOB_TITLE HZ_ORG_ JOB_TITLE
CONTACTS
MAIL_STOP HZ_ORG_ MAIL_STOP
CONTACTS
ORIG_SYSTEM_ HZ_CUST_ ORIG_SYSTEM_ Reference to identify
REFERENCE ACCOUNT_ROLES REFERENCE foreign system.
CONTACT_KEY HZ_PARTIES CUSTOMER_ Derived key created by
KEY Oracle Sales and
Marketing to facilitate
querying.
EMAIL_ADDRESS HZ_PARTIES EMAIL_
ADDRESS
1.1.3.1 SITE_CONTACT_ROLES
Oracle Applications
Document Field Table/View Name Column Name Comments
CONTACT_ROLE_I HZ_ROLE_ CONTACT_ Contact role ID.
D RESPONSIBILITY ROLE_ID
USAGE_CODE HZ_ROLE_ RESPONSIBILITY_ Lookup for
RESPONSIBILITY TYPE responsibility type.
ORIG_SYSTEM_ HZ_ROLE_ ORIG_SYSTEM_ Unique identifier from
REFERENCE RESPONSIBILITY REFERENCE foreign system.
PRIMARY_FLAG HZ_ROLE_ PRIMARY_FLAG Indicates whether the
RESPONSIBILITY primary role played by
the representative for
the account is primary.
206 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
1.7 CUSTOMER_RELATIONSHIPS
Oracle Applications
Document Field Table/View Name Column Name Description
RELATIONSHIP_TYPE_ HZ_CUST_ACCT_ RELATIONSHIP_ Revenue
CODE RELATE_ALL TYPE accounting code
for
RELATIONSHIP_
TYPE.
RELATED_CUSTOMER_ HZ_PARTIES PARTY_NAME
NAME
RELATED_CUSTOMER_ HZ_CUST_ ACCOUNT_
NUMBER ACCOUNTS NUMBER
STATUS HZ_CUST_ STATUS Active or inactive
ACCT_RELATE_ALL status.
COMMENTS HZ_CUST_ COMMENTS Additional
ACCT_RELATE_ALL comments.
CUSTOMER_ HZ_CUST_ CUSTOMER_ Indicates whether
RECIPROCAL_FLAG ACCT_RELATE_ALL RECIPROCAL_ this relationship is
FLAG reciprocal.
RELATIONSHIP_TYPE HZ_CUST_ RELATIONSHIP_ Revenue
ACCT_RELATE_ALL TYPE Accounting code
for
RELATIONSHIP_
TYPE.
BILL_TO_FLAG HZ_CUST_ BILL_TO_FLAG Bill to identifier.
ACCT_RELATE_ALL
SHIP_TO_FLAG HZ_CUST_ SHIP_TO_FLAG Ship to identifier.
ACCT_RELATE_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 207
2 Financial Predefined Transaction Services
the restricting condition from your transaction definitions. In addition, update the
SQLOut parameters of the service’s transactionRecord in the webMethods Developer and
remove the restricting condition. (In this example, remove the 1 = 2 condition.)
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
208 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendJournal service is ready for execution. That is,
it determines whether there is no other instance of this service already in process.
If lockTxnCtrl returns False, it means that another instance of this service is
already in process. The service exits and waits for next scheduled execution.
If lockTxnCtrl returns True, it means that the service is ready to execute, the
Journal row in the control table is locked and updated, and status is changed to
INPROCESS. This prevents any other Journal service from executing.
getJournalTxn queries the Oracle Applications database for any Journal Transaction to
be processed. The number of records returned depends on the parameter value
specified in the above map.
processBizDoc is the customizable step that sends the business document to the
recipient such as a trading partner by looping against each document. You must
customize this step to receive a SUCCESS or an ERROR status of the document
transfer along with the Error information. Transfer Status and any Error Information
is logged against each document.
Loop against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that same sets of
records are not picked up during next polling interval. updateTrackChanges service
updates the PROCESSED_FLAG in the WM_TRACKCHANGES table to Y and
PROCESSED_DATE to sysdate so that same information is not picked up again
during next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted. purgeTrackChanges service purges the records from the
WM_TRACKCHANGES table.
Loop against each document. Based on the Transfer Status, insertTransferERRInfo
service inserts a new record in the WM_TRACKCHANGES table so that same
document can be picked up during the next polling interval.
unlockTxnCtrl releases the lock on the Custom Control table so that next polling
instance of sendVendor service can begin.
Using getLastError service, any errors are logged. The unlockTxnCtrl service executes to
release the lock on the Custom Control table.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 209
2 Financial Predefined Transaction Services
JOURNAL
Oracle Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE Value is
JOURNAL.
DOCUMENT_STATUS Value is INSERT.
JE_LINE_ID GL_JE_LINES JE_LINE_ID Document
identifier for
outbound
transactions. Not
used for inbound
transactions.
SET_OF_BOOKS_SHORT_ GL_SETS_OF_ SHORT_NAME Set of Books short
NAME BOOKS name.
ACCOUNTING_DATE GL_JE_HEADERS DATE_CREATED
CURRENCY_CODE GL_JE_HEADERS CURRENCY_
CODE
DATE_CREATED GL_JE_HEADERS DATE_
CREATED
CREATED_BY
CREATED_BY_ PER_ALL_PEOPLE_F EMPLOYEE_
EMPLOYEE_NUMBER NUMBER
CREATED_BY_NAME PER_ALL_PEOPLE_F FULL_NAME
ACTUAL_FLAG GL_JE_HEADERS ACTUAL_FLAG
CATEGORY_NAME GL_JE_HEADERS JE_CATEGORY
SOURCE_NAME GL_JE_HEADERS JE_SOURCE
CURRENCY_ GL_JE_HEADERS CURRENCY_
CONVERSION_DATE CONVERSION_D
ATE
ENCUMBRANCE_TYPE GL_ ENCUMBRANCE
ENCUMBRANCE_ _TYPE
TYPES
BUDGET_NAME GL_BUDGET_ BUDGET_NAME
VERSIONS
210 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
USER_CURRENCY_ GL_JE_HEADERS CURRENCY_
CONVERSION_TYPE CONVERSION_
TYPE
CURRENCY_ GL_JE_HEADERS CURRENCY_
CONVERSION_RATE CONVERSION_
RATE
ENTERED_DR GL_JE_LINES ENTERED_DR Entered debit.
ENTERED_CR GL_JE_LINES ENTERED_CR Entered credit.
ACCOUNTED_DR GL_JE_LINES ACCOUNTED_ Accounted debit.
DR
ACCOUNTED_CR GL_JE_LINES ACCOUNTED_ Accounted credit.
CR
REFERENCE GL_JE_LINES REFERENCE_1
BATCH_NAME GL_JE_BATCHES NAME
PERIOD_NAME GL_JE_HEADERS PERIOD_NAME
ACCOUNT_CODE GL_CODE_ CONCATENATE
COMBINATIONS_ D_SEGMENTS
KFV
STAT_AMOUNT GL_JE_LINES STAT_AMOUNT Statistical amount.
INVOICE_DATE GL_JE_LINES INVOICE_DATE Date value added
tax descriptive
flexfield column.
TAX_CODE GL_JE_LINES TAX_CODE Value-added tax
descriptive
flexfield column.
INVOICE_IDENTIFIER GL_JE_LINES INVOICE_ Value-added tax
IDENTIFIER descriptive
flexfield column.
INVOICE_AMOUNT GL_JE_LINES INVOICE_ Value-added tax
AMOUNT descriptive
flexfield column.
USSGL_TRANSACTION_ GL_JE_HEADERS USSGL_ Government
CODE TRANSACTION_ transaction code.
CODE
JGZZ_RECON_REF GL_JE_HEADERS JGZZ_RECON_ Global
REF reconciliation
reference.
AVERAGE_JOURNAL GL_JE_BATCHES AVERAGE_
JOURNAL_FLAG
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 211
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ORIGINATING_BAL_SEG GL_JE_HEADERS ORIGINATING_ Originating
MENT_VALUE BAL_SEG_ balancing
VALUE segment value.
POSTED_DATE GL_JE_HEADERS POSTED_DATE Date journal was
posted.
212 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 213
2 Financial Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendVendor service is ready for execution. That is,
it determines whether there is no other instance of this service already in process. If
not, it takes control of processing in a single transaction. Specify VENDOR as value to
the parameter P_TRANSACTION_TYPE.
If lockTxnCtrl returns FALSE, it means that another instance of this service is
already in process. The service exits, and waits for next scheduled execution.
If lockTxnCtrl returns TRUE, it means that the service is ready to execute, the
Vendor row in the control table is locked and updated to INPROCESS. This
prevents any other Vendor service from executing. The $dbAlias, status (TRUE or
FALSE) and message are retained at this step.
getVendorTxn queries the Oracle Applications database for any Vendor Transaction to
be processed. The number of records returned depends on the parameter value
specified in the above map.
processBizDoc is the customizable step that sends the business document to the
recipient (such as Trading Partner) by looping against each document. You must
customize this step to receive a SUCCESS or an ERROR status of the document
transfer along with the Error information. The Transfer Status and the Error
Information, if any, are logged against each document. Based on the Debug Mode, the
record will be either purged or updated in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that same sets of
records are not picked up during next polling interval.
updateTrackChanges updates the PROCESSED_FLAG in the WM_TRACKCHANGES
table to Y and PROCESSED_DATE to sysdate so that same information is not picked
up again during next polling instance. If the Debug Mode is FALSE, the records in the
WM_TRACKCHANGES table are deleted
purgeTrackChanges purges the records from the WM_TRACKCHANGES table. Based
on the Debug Mode, the record will be either purged or updated in the
WM_TRACKCHANGES table.
insertTransferERRInfo service inserts a new record in the WM_TRACKCHANGES table
after the Transfer Status of each document is evaluated, enabling the document to be
picked up during the next polling interval.
unlockTxnCtrl releases the lock on the Custom Control table so that next polling
instance of sendVendor service can begin.
getLastError service logs any errors.
unlockTxnCtrl releases the lock on the Custom Control table.
214 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
1.0 VENDORS
Oracle Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ Populated from a
ID sequence and used
internally in the flow.
Contains a null value
for Queried Vendor
data.
DOCUMENT_TYPE Value is VENDOR.
DOCUMENT_STATUS Valid values are
INSERT, UPDATE,
and QUERY.
VENDOR_ID AP_SUPPLIERS VENDOR_ID Unique vendor
identifier in Oracle
Applications.
VENDOR_NUMBER AP_SUPPLIERS SEGMENT1
VENDOR_NAME AP_SUPPLIERS VENDOR_NAME
ALTERNATE_ AP_SUPPLIERS VENDOR_
VENDOR_NAME NAME_ALT
VENDOR_TYPE AP_SUPPLIERS VENDOR_TYPE_
LOOKUP_CODE
EMPLOYEE_NUMBER PER_ALL_ EMPLOYEE_ Employee Number of
PEOPLE_F NUMBER the Employee if the
same employee is set
up as a supplier.
EMPLOYEE_NAME PER_ALL_ FULL_NAME Full name of the
PEOPLE_F employee.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 215
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
PARENT_VENDOR_N AP_SUPPLIERS SEGMENT1 Parent vendor
UMBER number.
PARENT_VENDOR_N AP_SUPPLIERS VENDOR_NAME Parent vendor name.
AME
ACCOUNT_NUMBER AP_SUPPLIERS CUSTOMER_ Customer number as
NUM setup in vendor’s
system.
ONE_TIME_FLAG AP_SUPPLIERS ONE_TIME_ If vendor is one-time.
FLAG
MINIMUM_ORDER_ AP_SUPPLIERS MIN_ORDER_ Minimum order
AMOUNT AMOUNT amount to order
goods from the
supplier.
BILL_LOC_ADDRESS_ HR_LOCATIONS ADDRESS_ Region 1 stores
LINE1 LINE_1 county
BILL_LOC_ADDRESS_ HR_LOCATIONS ADDRESS_ information.
LINE2 LINE_2 Region 2 stores
BILL_LOC_ADDRESS_ HR_LOCATIONS ADDRESS_ state code
LINE3 LINE_3 information.
216 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
SHIP_VIA AP_SUPPLIERS SHIP_VIA_ Stores shipping code.
LOOKUP_CODE
FREIGHT_TERMS AP_SUPPLIERS FREIGHT_TERMS_ Stores freight terms
LOOKUP_CODE code.
FOB AP_SUPPLIERS FOB_ Freight on board code.
LOOKUP_CODE
TERMS AP_TERMS_TL NAME Term name.
SET_OF_BOOKS_ GL_SETS_OF_ NAME Set of books name as
NAME BOOKS in Oracle
Applications.
SET_OF_BOOKS_ GL_SETS_OF_ SHORT_NAME Set of books short
SHORT_NAME BOOKS name.
CREDIT_STATUS AP_SUPPLIERS CREDIT_STATUS_ Credit status of the
LOOKUP_CODE vendor.
CREDIT_LIMIT AP_SUPPLIERS CREDIT_LIMIT
ALWAYS_DISCOUNT_ AP_SUPPLIERS ALWAYS_TAKE_
FLAG DISC_FLAG
PAY_DATE_BASIS AP_SUPPLIERS PAY_DATE_BASIS_ Type of payment date
LOOKUP_CODE basis.
PAY_GROUP AP_SUPPLIERS PAY_GROUP_
LOOKUP_CODE
PAYMENT_PRIORITY AP_SUPPLIERS PAYMENT_
PRIORITY
INVOICE_CURRENCY AP_SUPPLIERS INVOICE_
_CODE CURRENCY_CODE
PAYMENT_CURRENC AP_SUPPLIERS PAYMENT_
Y_CODE CURRENCY_CODE
INVOICE_AMOUNT_ AP_SUPPLIERS INVOICE_
LIMIT AMOUNT_LIMIT
EXCHANGE_DATE_ AP_SUPPLIERS EXCHANGE_
CODE DATE_LOOKUP_C
ODE
HOLD_ALL_ AP_SUPPLIERS HOLD_ALL_
PAYMENTS PAYMENTS_FLAG
HOLD_FUTURE_ AP_SUPPLIERS HOLD_FUTURE_
PAYMENTS PAYMENTS_FLAG
HOLD_REASON AP_SUPPLIERS HOLD_REASON
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 217
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
DISTRIBUTION_SET_ AP_ DISTRIBUTION_
NAME DISTRIBUTION_ SET_NAME
SETS
SUPPLIER_LIABILITY_ GL_CODE_COMB CONCATENATED_ Concatenated GL
ACCOUNT INATIONS_KFV SEGMENTS Code Combination.
NUMBER_1099 AP_SUPPLIERS NUM_1099 Tax payer ID.
TYPE_1099 AP_SUPPLIERS TYPE_1099
WITHHOLDING_STAT AP_SUPPLIERS WITHHOLDING_
US STATUS_
LOOKUP_CODE
WITHHOLDING_ AP_SUPPLIERS WITHHOLDING_
START_DATE START_DATE
IRS_ORGANIZATION_ AP_SUPPLIERS ORGANIZATION_
TYPE TYPE_LOOKUP_
CODE
VAT_CODE AP_SUPPLIERS VAT_CODE
START_DATE_ACTIVE AP_SUPPLIERS START_DATE_
ACTIVE
END_DATE_ACTIVE AP_SUPPLIERS END_DATE_
ACTIVE
MINORITY_GROUP AP_SUPPLIERS MINORITY_
GROUP_
LOOKUP_CODE
PAYMENT_METHOD AP_SUPPLIERS PAYMENT_
METHOD_
LOOKUP_CODE
BANK_ACCOUNT_ AP_SUPPLIERS BANK_ACCOUNT_ Name of the supplier
NAME NAME bank account.
BANK_ACCOUNT_ AP_SUPPLIERS BANK_ACCOUNT_ Number of the
NUMBER NUM supplier bank account.
BANK_NUMBER AP_SUPPLIERS BANK_NUM Bank number for the
supplier.
BANK_ACCOUNT_ AP_SUPPLIERS BANK_ACCOUNT_
TYPE TYPE
WOMEN_OWNED AP_SUPPLIERS WOMEN_OWNED Indicates whether the
_FLAG supplier is a
woman-owned
business.
218 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
SMALL_BUSINESS AP_SUPPLIERS SMALL_BUSINESS Indicates that the
_FLAG supplier is a small
business.
STANDARD_ AP_SUPPLIERS STANDARD_ Standard Industry
INDUSTRY_CLASS INDUSTRY_CLASS Classification number.
HOLD_FLAG AP_SUPPLIERS HOLD_FLAG
PURCHASING_HOLD_ AP_SUPPLIERS PURCHASING_ Reason for placing the
REASON HOLD_REASON supplier on
purchasing hold.
HOLD_BY_ PER_ALL_ EMPLOYEE_
EMPLOYEE_NUMBER PEOPLE_F NUMBER
PER_HOLD_BY_FULL_ PER_ALL_ FULL_NAME Full name of
NAME PEOPLE_F employee.
HOLD_DATE AP_SUPPLIERS HOLD_DATE Date the supplier was
placed on purchasing
hold.
TERMS_DATE_BASIS AP_SUPPLIERS TERMS_DATE_ Type of invoice
BASIS payment schedule
basis.
PRICE_TOLERANCE AP_SUPPLIERS PRICE_
TOLERANCE
INSPECTION_ AP_SUPPLIERS INSPECTION_ Indicates whether
REQUIRED REQUIRED_FLAG inspection is required.
RECEIPT_REQUIRED_ AP_SUPPLIERS RECEIPT_ Indicates whether
FLAG REQUIRED_FLAG shipment must be
received before the
invoice is paid.
QUANTITY_ AP_SUPPLIERS QTY_RCV_ Quantity of received
RECEIVED_ TOLERANCE tolerance percentage.
TOLERANCE
DAYS_EARLY_ AP_SUPPLIERS DAYS_EARLY_ Maximum acceptable
RECEIPT_ALLOWED RECEIPT_ number of days items
ALLOWED can be received early.
DAYS_LATE_RECEIPT_ AP_SUPPLIERS DAYS_LATE_ Maximum acceptable
ALLOWED RECEIPT_ number of days items
ALLOWED can be received late.
ALLOW_SUBSTITUTE_ AP_SUPPLIERS ALLOW_ Indicates whether
RECEIPTS SUBSTITUTE_ substitute items can be
RECEIPTS_FLAG received in place of
the ordered items.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 219
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ALLOW_UNORDERED AP_SUPPLIERS ALLOW_UNORDE Indicates whether
_ RED_RECEIPTS_ unordered receipts are
RECEIPTS FLAG allowed.
HOLD_UNMATCHED_ AP_SUPPLIERS HOLD_ Indicates whether
INVOICES UNMATCHED_ unmatched invoices
INVOICES_FLAG should be put on hold.
EXCLUSIVE_ AP_SUPPLIERS EXCLUSIVE_
PAYMENT PAYMENT_FLAG
TAX_VERIFICATION_ AP_SUPPLIERS TAX_
DATE VERIFICATION_
DATE
STATE_REPORTABLE AP_SUPPLIERS STATE_
REPORTABLE_
FLAG
FEDERAL_ AP_SUPPLIERS FEDERAL_ Federal Reportable
REPORTABLE REPORTABLE_ Flag.
FLAG
OFFSET_VAT AP_SUPPLIERS OFFSET_VAT_ Offset VAT Code.
CODE
VAT_REGISTRATION_ AP_SUPPLIERS VAT_ Tax registration
NUMBER REGISTRATION_ number.
NUM
AUTO_CALCULATE_ AP_SUPPLIERS AUTO_ Indicates whether
INTEREST CALCULATE_ interest is to be
INTEREST_FLAG automatically
calculated.
VALIDATION_ AP_SUPPLIERS VALIDATION_
NUMBER NUMBER
EXCLUDE_FREIGHT_ AP_SUPPLIERS EXCLUDE_
FROM_DISCOUNT FREIGHT_FROM_
DISCOUNT
TAX_REPORTING_ AP_SUPPLIERS TAX_REPORTING_ Tax reporting method
NAME NAME name.
CHECK_DIGITS AP_SUPPLIERS CHECK_DIGITS Check number used
by Payables.
BANK_NUM AP_SUPPLIERS BANK_NUM Bank number for
Accounts Payable.
AUTO_TAX_ AP_SUPPLIERS AUTO_TAX_
CALCULATION CALC_FLAG
220 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
AUTO_TAX_ AP_SUPPLIERS AUTO_TAX_ Allow calculation
CALCULATION_ CALC_OVERRIDE level override.
OVERRIDE
AMOUNT_ AP_SUPPLIERS AMOUNT_ Distribution amounts
INCLUDES_TAX INCLUDES_TAX_ include tax.
FLAG
BANK_CHARGE_ AP_SUPPLIERS BANK_CHARGE_ Indicates whether this
BEARER BEARER supplier gets bank
charges.
BANK_BRANCH_ AP_SUPPLIERS BANK_BRANCH_ Indicates list the bank
TYPE TYPE routing number is on.
Valid types are ABA,
CHIPS, SWIFT, and
OTHER.
MATCH_OPTION AP_SUPPLIERS MATCH_OPTION Indicates whether to
match invoices to the
purchase order or the
receipt for this
supplier.
FUTURE_DATED_ GL_CODE_ CONCATENATED_ Accounting flexfield
PAYMENTS_ COMBINATIONS SEGMENTS identifier for the
ACCOUNT _KFV future dated payment
account.
CREATE_DEBIT_ AP_SUPPLIERS CREATE_DEBIT_ Indicates whether a
MEMO MEMO_FLAG debit memo should be
created.
OFFSET_FLAG AP_SUPPLIERS OFFSET_TAX_ Indicates whether the
FLAG supplier uses offset
taxes.
1.1 VENDOR_SITES
Oracle Applications
Document Field Table/View Name Column Name Description
VENDOR_SITE_ID AP_SUPPLIER_ VENDOR_SITE_ID Vendor site unique
SITES_ALL identifier.
VENDOR_SITE_ AP_SUPPLIER_ VENDOR_SITE_CODE Vendor site name.
CODE SITES_ALL
ADDRESS_LINE1 AP_SUPPLIER_ ADDRESS_LINE1
SITES_ALL
ADDRESS_LINE2 AP_SUPPLIER_ ADDRESS_LINE2
SITES_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 221
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ADDRESS_LINE3 AP_SUPPLIER_ ADDRESS_LINE3
SITES_ALL
CITY AP_SUPPLIER_ CITY
SITES_ALL
STATE AP_SUPPLIER_ STATE
SITES_ALL
ZIP AP_SUPPLIER_ ZIP
SITES_ALL
PROVINCE AP_SUPPLIER_ PROVINCE
SITES_ALL
COUNTRY AP_SUPPLIER_ COUNTRY
SITES_ALL
AREA_CODE AP_SUPPLIER_ AREA_CODE
SITES_ALL
PHONE AP_SUPPLIER_ PHONE
SITES_ALL
ALTERNATE_ AP_SUPPLIER_ ADDRESS_LINES_ALT
ADDRESS_LINE SITES_ALL
PURCHASING_ AP_SUPPLIER_ PURCHASING_ Indicates whether
SITE SITES_ALL SITE_FLAG you can purchase
from this site.
RFQ_ONLY_SITE AP_SUPPLIER_ RFQ_ONLY_ Indicates whether
SITES_ALL SITE_FLAG you can only send
RFQs to this site.
PAY_SITE AP_SUPPLIER_ PAY_SITE_FLAG Indicates whether
SITES_ALL you can send
payments to this
site.
ATTENTION_AR AP_SUPPLIER_ ATTENTION_ Indicates whether
SITES_ALL AR_FLAG the payments
should be sent to
the Account
Receivables
department.
CUSTOMER_ AP_SUPPLIER_ ACCOUNT_NUMBER Customer number
NUMBER SITES_ALL with the supplier.
222 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
BILL_LOC_ HR_LOCATIONS ADDRESS_LINE_1 Region 1
ADDRESS_LINE1 stores county
information.
BILL_LOC_ HR_LOCATIONS ADDRESS_LINE_2
ADDRESS_LINE2 Region 2
BILL_LOC_ HR_LOCATIONS ADDRESS_LINE_3 stores the state
ADDRESS_LINE3 code
information.
BILL_LOC_TOWN_ HR_LOCATIONS TOWN_OR_CITY
OR_CITY BILL_LOC is
Billing
BILL_LOC_ HR_LOCATIONS COUNTRY Location.
COUNTRY
SHIP_LOC is
BILL_LOC_ HR_LOCATIONS POSTAL_CODE Shipping
POSTAL_CODE Location.
BILL_LOC_ HR_LOCATIONS REGION_1
REGION1
BILL_LOC_ HR_LOCATIONS REGION_2
REGION2
SHIP_LOC_ HR_LOCATIONS ADDRESS_LINE_1
ADDRESS_LINE1
SHIP_LOC_ HR_LOCATIONS ADDRESS_LINE_2
ADDRESS_LINE2
SHIP_LOC_ HR_LOCATIONS ADDRESS_LINE_3
ADDRESS_LINE3
SHIP_LOC_ HR_LOCATIONS TOWN_OR_CITY
TOWN_OR_CITY
SHIP_LOC_ HR_LOCATIONS COUNTRY
COUNTRY
SHIP_LOC_ HR_LOCATIONS POSTAL_CODE
POSTAL_CODE
SHIP_LOC_ HR_LOCATIONS REGION_1
REGION1
SHIP_LOC_ HR_LOCATIONS REGION_2
REGION2
SHIP_VIA AP_SUPPLIER_ SHIP_VIA_LOOKUP_ Stores shipping
SITES_ALL CODE code.
FREIGHT_TERMS AP_SUPPLIER_ FREIGHT_TERMS_ Stores freight
SITES_ALL LOOKUP_CODE terms code.
FOB AP_SUPPLIER_ FOB_LOOKUP_CODE Default Free on
SITES_ALL Board type.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 223
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INACTIVE_DATE AP_SUPPLIER_ INACTIVE_DATE Inactive date for
SITES_ALL record.
FAX AP_SUPPLIER_ FAX
SITES_ALL
FAX_AREA_CODE AP_SUPPLIER_ FAX_AREA_CODE
SITES_ALL
TELEX AP_SUPPLIER_ TELEX
SITES_ALL
PAYMENT_ AP_SUPPLIER_ PAYMENT_METHOD_
METHOD SITES_ALL LOOKUP_CODE
BANK_ACCOUNT_ AP_SUPPLIER_ BANK_ACCOUNT_ Name of the
NAME SITES_ALL NAME supplier bank
Account.
BANK_ACCOUNT_ AP_SUPPLIER_ BANK_ACCOUNT_ Number of the
NUMBER SITES_ALL NUMBER supplier bank
Account.
BANK_NUM AP_SUPPLIER_ BANK_NUM Bank Branch
SITES_ALL Number.
BANK_ACCOUNT_ AP_SUPPLIER_ BANK_ACCOUNT_
TYPE SITES_ALL TYPE
TERMS_DATE_ AP_SUPPLIER_ TERMS_DATE_BASIS Type of payment
BASIS SITES_ALL date basis.
VAT_CODE AP_SUPPLIER_ VAT_CODE
SITES_ALL
DISTRIBUTION_ AP_DISTRIBUTION_ DISTRIBUTION_SET_
SET_NAME SETS NAME
SUPPLIER_ GL_CODE_ CONCATENATED_ Concatenated GL
LIABILITY_ COMBINATIONS_ SEGMENTS Code
ACCOUNT KFV Combination.
PREPAY_ GL_CODE_ CONCATENATED_ Concatenated GL
ACCOUNT COMBINATIONS_ SEGMENTS Code
KFV Combination.
PAY_GROUP AP_SUPPLIER_ PAY_GROUP_
SITES_ALL LOOKUP_CODE
PAYMENT_ AP_SUPPLIER_ PAYMENT_PRIORITY
PRIORITY SITES_ALL
TERMS AP_TERMS_TL NAME
INVOICE_ AP_SUPPLIER_ INVOICE_
AMOUNT_LIMIT SITES_ALL AMOUNT_LIMIT
224 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
PAY_DATE_BASIS AP_SUPPLIER_ PAY_DATE_BASIS_ Type of payment
SITES_ALL LOOKUP_CODE date basis.
ALWAYS_DISCOU AP_SUPPLIER_ ALWAYS_TAKE_ Indicates whether
NT_FLAG SITES_ALL DISC_FLAG the discount
applies to this site.
INVOICE_CURREN AP_SUPPLIER_ INVOICE_
CY_CODE SITES_ALL CURRENCY_CODE
PAYMENT_ AP_SUPPLIER_ PAYMENT_CURRENC
CURRENCY_CODE SITES_ALL Y_CODE
HOLD_ALL_ AP_SUPPLIER_ HOLD_ALL_
PAYMENTS SITES_ALL PAYMENTS_FLAG
HOLD_FUTURE_ AP_SUPPLIER_ HOLD_FUTURE_
PAYMENTS SITES_ALL PAYMENTS_FLAG
HOLD_REASON AP_SUPPLIER_ HOLD_REASON
SITES_ALL
HOLD_UNMATCH AP_SUPPLIER_ HOLD_ Indicates whether
ED_INVOICES SITES_ALL UNMATCHED_ unmatched
INVOICES_FLAG invoices should be
put on hold.
EXCLUSIVE_ AP_SUPPLIER_ EXCLUSIVE_
PAYMENT SITES_ALL PAYMENT_FLAG
TAX_REPORTING_ AP_SUPPLIER_ TAX_REPORTING_
SITE SITES_ALL SITE_FLAG
VALIDATION_ AP_SUPPLIER_ VALIDATION_
NUMBER SITES_ALL NUMBER
EXCLUDE_FREIGH AP_SUPPLIER_ EXCLUDE_ Excludes supplier
T_FROM_ SITES_ALL FREIGHT_ freight from
DISCOUNT FROM_DISCOUNT discount amount.
VAT_ AP_SUPPLIER_ VAT_
REGISTRATION_ SITES_ALL REGISTRATION_NUM
NUMBER
OFFSET_VAT AP_SUPPLIER_ OFFSET_VAT_CODE
SITES_ALL
ORGANIZATION_ ORG_ORGANIZATIO ORGANIZATION_ Name of
NAME N_DEFINITIONS NAME organization
corresponding to
the operating unit.
ORGANIZATION_ ORG_ ORGANIZATION_ Organization code
CODE ORGANIZATION_ CODE for operating unit.
DEFINITIONS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 225
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
CHECK_DIGITS AP_SUPPLIER_ CHECK_DIGITS Check number
SITES_ALL used by Payables.
BANK_NUMBER AP_SUPPLIER_ BANK_NUM Bank number for
SITES_ALL the supplier.
ADDRESS_LINE4 AP_SUPPLIER_ ADDRESS_LINE4
SITES_ALL
COUNTY AP_SUPPLIER_ COUNTY
SITES_ALL
ADDRESS_STYLE AP_SUPPLIER_ ADDRESS_STYLE
SITES_ALL
ALLOW_AWT AP_SUPPLIER_ ALLOW_AWT_FLAG Withholding tax.
SITES_ALL
WITHOLDING_TA AP_AWT_GROUPS NAME
X_GROUP
AP_TAX_ROUNDI AP_SUPPLIER_ AP_TAX_ROUNDING
NG_RULE SITES_ALL _RULE
AUTO_TAX_ AP_SUPPLIER_ AUTO_TAX_CALC_
CALCULATION SITES_ALL FLAG
AUTO_TAX_ AP_SUPPLIER_ AUTO_TAX_CALC_
CALCULATION_ SITES_ALL OVERRIDE
OVERRIDE
AMOUNT_INCLU AP_SUPPLIER_ AMOUNT_INCLUDES
DES_TAX SITES_ALL _TAX_FLAG
BANK_CHARGE_ AP_SUPPLIER_ BANK_CHARGE_ Indicator of if this
BEARER SITES_ALL BEARER supplier bears
bank charges.
BANK_BRANCH_ AP_SUPPLIER_ BANK_BRANCH_ The list the bank
TYPE SITES_ALL TYPE routing number is
on. Valid type are:
ABA
CHIPS
SWIFT
OTHER.
PAY_ON_CODE AP_SUPPLIER_ PAY_ON_CODE
SITES_ALL
PAY_ON_RECEIPT_ AP_SUPPLIER_ PAY_ON_RECEIPT_ Identifies how to
SUMMARY_CODE SITES_ALL SUMMARY_CODE consolidate
receipts to create
Invoices.
226 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
PCARD_SITE AP_SUPPLIER_SITES_ PCARD_SITE_FLAG Indicates whether
ALL site allows use of P
Card.
MATCH_OPTION AP_SUPPLIER_SITES_ MATCH_OPTION Indicates whether
ALL the invoices match
to POs or receipts.
COUNTRY_OF_ AP_SUPPLIER_SITES_ COUNTRY_OF_ Country code of
ORIGIN ALL ORIGIN_CODE manufacturer.
FUTURE_DATED_ GL_CODE_ CONCATENATED_ Accounting
PAYMENT_ COMBINATIONS_KF SEGMENTS flexfield for future
ACCOUNT V dated payment.
CREATE_DEBIT_ AP_SUPPLIER_ CREATE_DEBIT_ Indicates whether
MEMO SITES_ALL MEMO_FLAG debit memo
should be created.
OFFSET_TAX AP_SUPPLIER_ OFFSET_TAX_FLAG Indicates whether
SITES_ALL offset tax should
be used.
SELLING_ AP_SUPPLIER_ SELLING_COMPANY_ Selling company
COMPANY SITES_ALL IDENTIFIER identifier.
_IDENTIFIER
GAPLESS_INV_ AP_SUPPLIER_ GAPLESS_INV_ The gapless
NUM_FLAG SITES_ALL NUM_FLAG invoice number.
1.1.1 VENDOR_CONTACTS
Oracle Applications
Document Field Table/View Name Column Name Description
VENDOR_SITE_ID AP_SUPPLIER_ VENDOR_SITE_ID Vendor site unique
CONTACTS identifier.
PERSON_FIRST_NAME AP_SUPPLIER_ PERSON_FIRST_
CONTACTS NAME
MIDDLE_NAME AP_SUPPLIER_ MIDDLE_NAME
CONTACTS
PERSON_LAST_NAME AP_SUPPLIER_ PERSON_LAST_
CONTACTS NAME
PREFIX AP_SUPPLIER_ PREFIX
CONTACTS
TITLE AP_SUPPLIER_ TITLE
CONTACTS
MAIL_STOP AP_SUPPLIER_ MAIL_STOP
CONTACTS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 227
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
AREA_CODE AP_SUPPLIER_ AREA_CODE
CONTACTS
PHONE AP_SUPPLIER_ PHONE
CONTACTS
ALTERNATE_CONTACT_ AP_SUPPLIER_ CONTACT_
NAME CONTACTS NAME_ALT
INACTIVE_DATE AP_SUPPLIER_ INACTIVE_DATE Date when the
CONTACTS contact becomes
inactive.
EMAIL_ADDRESS AP_SUPPLIER_ EMAIL_ADDRESS
CONTACTS
URL AP_SUPPLIER_ URL
CONTACTS
ALTERNATE_AREA_COD AP_SUPPLIER_ ALT_AREA_CODE
E CONTACTS
ALTERNATE_PHONE AP_SUPPLIER_ ALT_PHONE
CONTACTS
1.1.2 SITE_BANK_ACCOUNTS
Oracle Applications
Document Field Table/View Name Column Name Description
BANK_ACCOUNT_ AP_BANK_ACCOUNTS BANK_ACCOUNT
NAME _ALL _NAME
BANK_ACCOUNT_ AP_BANK_ACCOUNTS BANK_ACCOUNT
NUM _ALL _NUM
CURRENCY_CODE AP_BANK_ACCOUNTS CURRENCY_
_ALL CODE
BANK_NAME AP_BANK_BRANCHES BANK_NAME
BANK_NUMBER AP_BANK_BRANCHES BANK_NUMBER
BANK_BRANCH_ AP_BANK_BRANCHES BANK_BRANCH_
NAME NAME
BANK_NUM AP_BANK_BRANCHES Bank_NUM Bank number.
START_DATE AP_BANK_ACCOUNT_ START_DATE
USES_ALL
END_DATE AP_BANK_ACCOUNT_ END_DATE
USES_ALL
228 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
PRIMARY AP_BANK_ACCOUNT_ PRIMARY_FLAG Indicates whether
USES_ALL it is the Primary
Bank.
ORG_ID AP_BANK_ACCOUNT_ ORG_ID
USES_ALL
ORGANIZATION_ ORG_ORGANIZATION ORGANIZATION_
CODE _DEFINITIONS CODE
ORGANIZATION_ ORG_ORGANIZATION ORGANIZATION_
NAME _DEFINITIONS NAMES
1.2 BANK_ACCOUNTS
Oracle Applications
Document Field Table/View Name Column Name Description
BANK_ACCOUNT_ AP_BANK_ BANK_ACCOUNT_
NAME ACCOUNTS_ALL NAME
BANK_ACCOUNT_ AP_BANK_ BANK_ACCOUNT_ Bank account
NUM ACCOUNTS_ALL NUM number.
CURRENCY_CODE AP_BANK_ CURRENCY_CODE
ACCOUNTS_ALL
BANK_NAME AP_BANK_ BANK_NAME
BRANCHES
BANK_NUMBER AP_BANK_ BANK_NUMBER
BRANCHES
BANK_BRANCH_ AP_BANK_ BANK_BRANCH_
NAME BRANCHES NAME
BANK_NUM AP_BANK_ BANK_NUM
BRANCHES
END_DATE AP_BANK_ACCOU START_DATE
NTS_USES_ALL
START_DATE AP_BANK_ END_DATE
ACCOUNTS_USES_
ALL
PRIMARY AP_BANK_ PRIMARY_FLAG Primary Bank
ACCOUNT_USES_ Account flag.
ALL
ORG_ID AP_BANK_ACCOU ORG_ID Organization ID.
NT_USES_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 229
2 Financial Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ORGANIZATION_CODE ORG_ ORGANIZATION_
ORGANIZATION_ CODE
DEFINITIONS
ORGANIZATION_ ORG_ ORGANIZATION_
NAME ORGANIZATION_ NAME
DEFINITIONS
230 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
3 Human Resource Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Receive Employee Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 231
3 Human Resource Predefined Transaction Services
Overview
This chapter describes the predefined transaction services provided in the Oracle
Applications Adapter’s 12.0.6 Human Resource package.
The table below shows the predefined transaction services organized by Oracle
Applications module. This chapter presents the transactions in alphabetical order.
Oracle Applications
Module Predefined Transaction Services
Human Resource “Receive Employee Service” on page 232
For more information about using the predefined transaction services, see Chapter 1,
“Predefined Transaction Services” on page 17.
Database Scripts
This service uses the following database scripts:
232 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
3 Human Resource Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
importEmployee imports data into the production table using Oracle Applications
HRMS APIs. It also uses the execEmployeeProg, execEmpAssignCreateProg, and
execEmpAssignUpdateProg services to execute the required internal HRMS APIs.
Since a single database transaction spans over multiple service calls for the inbound
Employee transaction, set the AutoCommit setting to OFF to control the entire
transaction through the webMethods service. If execution is successful, it commits the
entire transaction for Employee Header information and Employee Assignments
information to the database. If the status of the execution is FAILED due to exceptions
thrown by HRMS APIs or due to data error, it rolls back the entire transaction. When
the execution status is FAILED, the HRMS returns the business error messages
returned by the HRMS APIs captures them in the empImportResults document,
which can then be sent to the trading partners.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 233
3 Human Resource Predefined Transaction Services
234 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
3 Human Resource Predefined Transaction Services
1.0 EMPLOYEE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 235
3 Human Resource Predefined Transaction Services
236 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
3 Human Resource Predefined Transaction Services
1.1 EMPLOYEE_ASSIGNMENTS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 237
3 Human Resource Predefined Transaction Services
238 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
3 Human Resource Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 239
3 Human Resource Predefined Transaction Services
240 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Query BOM Revision Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Query BOM Routing Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Query Engineering BOM Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Query Item Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Query Item Category Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Query Manufacturing BOM Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Query On-Hand Quantity Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Receive Bills and Route Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Receive Customer Item Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Receive Customer Item Cross Reference Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Receive Cycle Count Entry Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Receive Demand Schedule Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Receive Forecast Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Receive Inventory Transaction Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Receive Item Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Receive Master Schedule Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Receive Move Transaction Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Receive Periodic Cost Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
Receive Quality Collection Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
Receive Replenishment Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Receive Resource Transaction Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Receive Work Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Send Engineering BOM Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Send Item Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Send Manufacturing BOM Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 241
4 Manufacturing Predefined Transaction Services
Overview
This chapter describes the predefined transaction services provided in the Oracle
Applications Adapter’s 12.0.6 Manufacturing package.
The table below shows the predefined transaction services organized by Oracle
Applications module. This chapter lists the transactions in alphabetical order.
Oracle Applications
Module Predefined Transaction Services
Bills of Material “Query BOM Revision Service” on page 243
“Query BOM Routing Service” on page 245
“Query Manufacturing BOM Service” on page 258
“Receive Bills and Route Service” on page 262
“Send Manufacturing BOM Service” on page 414
Cost Management “Receive Periodic Cost Service” on page 348
Engineering “Query Engineering BOM Service” on page 254
“Send Engineering BOM Service” on page 376
Inventory “Query Item Service” on page 255
“Query Item Category Service” on page 256
“Query On-Hand Quantity Service” on page 259
“Receive Customer Item Cross Reference Service” on
page 283
“Receive Customer Item Service” on page 278
“Receive Cycle Count Entry Service” on page 287
“Receive Inventory Transaction Service” on page 308
“Receive Item Service” on page 318
“Receive Replenishment Service” on page 357
“Send Item Service” on page 389
Master Scheduling “Receive Forecast Service” on page 305
“Receive Master Schedule Service” on page 340
242 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle Applications
Module Predefined Transaction Services
Quality Collection “Receive Quality Collection Service” on page 353
Release Management “Receive Demand Schedule Service” on page 291
Work in Process “Receive Move Transaction Service” on page 343
“Receive Resource Transaction Service” on page 362
“Receive Work Order Service” on page 367
For more information about using the predefined transaction services, see Chapter 1,
“Predefined Transaction Services” on page 17.
This service retrieves Bills of Material revisions from Oracle Manufacturing, based on the
following parameters:
ORGANIZATION_NAME: Name of the organization.
ITEM: Item number.
REVISION: Revision of the parent item.
EFFECTIVITY_DATE_FROM: Beginning effective date.
EFFECTIVITY_DATE_TO: Ending effective date.
If none of the above mentioned parameters are entered, the query retrieves all rows from
the Oracle Applications database.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_bomrevision.sql Runs the scripts listed below, except the
uninstall script.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 243
4 Manufacturing Predefined Transaction Services
Script Description
wm_from_bomrevision_vw.sql Creates the following required view component
for BOM revision transactions:
WM_BOM_REVISIONS_QRY_VW
wm_drop_from_bomrevision.sql Uninstalls all components created by
wm_install_from_bomrevision.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
You can query BOMRevision data using the following services:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryBOMRevisionTxn queries the Oracle Applications database for any BOMRevision
Transaction to be processed. The number of records returned depends on the
parameter value specified.
For more details on query transactions, see “Using Query Services” on page 37.
244 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
BOM_REVISIONS
Oracle
Applications
Document Field Table/View Name Column Name Description
ITEM MTL_SYSTEM CONCATENA Concatenated flexfield
_ITEMS_B_KF TED_SEGMEN segment constituting the
V TS item number.
INV_ORG_NAME HR_ALL_ORG NAME Organization name.
ANIZATION_
UNITS
REVISION MTL_ITEM_ REVISION Item revision code.
REVISIONS
CHANGE_NOTICE MTL_ITEM_ CHANGE_ Engineering change order
REVISIONS NOTICE number.
ECN_INITIATION_DATE MTL_ITEM_ ECN_ Engineering Change
REVISIONS INITIATION_ initiation date.
DATE
IMPLEMENTATION_DATE MTL_ITEM_ IMPLEMENT Engineering Change
REVISIONS ATION_DATE implementation date.
EFFECTIVITY_DATE MTL_ITEM_ EFFECTIVITY Revision effective date.
REVISIONS _DATE
REVISION_LABEL MTL_ITEM_ REVISION_LA Revision label.
REVISIONS BEL
REVISION_REASON MTL_ITEM_ REVISION_RE Revision reason.
REVISIONS ASON
This service retrieves information on the routing of parent, component, substitute items,
and routing revisions to Bills of Material, based on querying the following parameters:
ORGANIZATION_NAME: Name of the organization.
ITEM_NUMBER: Item number.
REVISION: Revision of the parent item.
EFFECTIVITY_DATE_FROM: Beginning effective date.
EFFECTIVITY_DATE_TO: Ending effective date.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 245
4 Manufacturing Predefined Transaction Services
If none of the above mentioned parameters are entered, the query retrieves all rows from
the Oracle Applications database.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_bomrouting.s Runs the scripts listed below, except the uninstall
ql script.
wm_from_bomrouting_vw.sql Creates the following required view components
for BOM Routing transactions:
WM_BOM_OP_ROUTING_QRY_VW
WM_MTL_RTG_ITEM_REVS_QRY_VW
WM_BOM_OP_SEQUENCES_QRY_VW
WM_BOM_OP_RESOURCES_QRY_VW
wm_drop_from_bomrouting.sql Uninstalls all components created by
wm_install_from_bomrouting.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow queryBOMRouting executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryBOMRoutingTxn queries the Oracle Applications database for any BOM Routings
information matching the parameter values. The parameters are defined as the input
to this service.
For more details on query transactions, see “Using Query Services” on page 37.
246 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
1.0. BOM_PO_ROUTINGS
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE Use BOM_ROUTING.
DOCUMENT_STATUS Use QUERY.
ROUTING_SEQUENCE_ID BOM_OPERA ROUTING_ Unique routing identifier.
TIONAL_ SEQUENCE_I
ROUTINGS D
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Material item number.
_ITEMS_B_ TED_SEGMEN
KFV TS
ALTERNATE_ROUTING_ BOM_OPERA ALTERNATE_ Alternate routing
DESIGNATOR TIONAL_ ROUTING_ designator.
ROUTINGS DESIGNATOR
ROUTING_TYPE BOM_ ROUTING_TY Required for Insert. Use:
OPERATIONA PE 1 for Manufacturing or
L_ROUTINGS 2 for Engineering.
COMMON_ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated item
_ITEMS_B_ TED_SEGMEN segments of the common
KFV TS routing.
COMMON_ORG_NAME HR_ALL_ORG NAME Derived from columns
ANIZATION_ COMMON_ITEM_NUMB
UNITS ER,
COMMON_ORG_NAME,
and
ALTERNATE_ROUTING
_DESIGNATOR.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 247
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ROUTING_COMMENT BOM_ ROUTING_ Specific comment about
OPERATIONA COMMENT routing.
L_ROUTINGS
COMPLETION_SUBINVENT BOM_ COMPLETIO Destination subinventory
ORY OPERATIONA N_SUBINVEN for assembly.
L_ROUTINGS TORY
LOCATION_NAME MTL_ITEM_ DESCRIPTION Material item locations.
LOCATIONS
TRANSACTION_TYPE Not required for
outbound transactions.
LINE_CODE WIP_LINES LINE_CODE WIP line code.
MIXED_MODEL_MAP_FLA BOM_ MIXED_MOD Indicates mixed model.
G OPERATIONA EL_MAP_FLA Use:
L_ROUTINGS G 1 for Yes or 2 for No.
PRIORITY BOM_ PRIORITY
OPERATIONA
L_ROUTINGS
CFM_ROUTING_FLAG BOM_ CFM_ROUTIN Indicates continuous flow
OPERATIONA G_FLAG or traditional routing.
L_ROUTINGS Use:
1 for Yes or 2 for No.
TOTAL_PRODUCT_CYCLE_ BOM_ TOTAL_ Total time that an
TIME OPERATIONA PRODUCT_ assembly takes along the
L_ROUTINGS CYCLE_TIME primary path in the
operation network
calculated by Flow
Manufacturing.
CTP_FLAG BOM_ CTP_FLAG Indicates capacity must be
OPERATIONA checked when item is
L_ROUTINGS ordered.
1.1. MTL_RTG_ITEM_REVS
Oracle
Applications
Document Field Table/View Name Column Name Description
ROUTING_SEQUENCE_ID BOM_ ROUTING_ Unique routing identifier.
OPERATIONA SEQUENCE_I
L_ROUTINGS D
PROCESS_REVISION MTL_RTG_ITE PROCESS_ Routing revision code.
M_REVISIONS REVISION
248 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
CHANGE_NOTICE MTL_RTG_ITE CHANGE_ Engineering change order
M_REVISIONS NOTICE number.
ECN_INITIATION_DATE MTL_RTG_ITE ECN_ Engineering Change
M_REVISIONS INITIATION_ order initiation date.
DATE
IMPLEMENTATION_DATE MTL_RTG_ITE IMPLEMENT Engineering change order
M_REVISIONS ATION_DATE implementation date.
EFFECTIVITY_DATE MTL_RTG_ITE EFFECTIVITY Revision effective date.
M_REVISIONS _DATE
INVENTORY_ITEM_NUMB MTL_SYSTEM CONCATENA Concatenated item
ER _ITEMS_B_ TED_SEGMEN segments.
KFV TS
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
TRANSACTION_TYPE MTL_RTG_ITE TRANSACTIO Not required for
M_REVISIONS N_TYPE outbound transactions.
1.2. BOM_OP_SEQUENCES
Oracle
Applications
Document Field Table/View Name Column Name Description
ROUTING_SEQUENCE_ID BOM_ ROUTING_ Unique routing identifier.
OPERATION_ SEQUENCE_I
SEQUENCES D
OPERATION_SEQUENCE_I BOM_ OPERATION_ Unique operation
D OPERATION_ SEQUENCE_I identifier.
SEQUENCES D
OPERATION_SEQ_NUM BOM_ OPERATION_ Operation sequence
OPERATION_ SEQ_NUM number.
SEQUENCES
OPERATION_LEAD_TIME_ BOM_ OPERATION_ Indicates the amount of
PERCENT OPERATION_ LEAD_TIME_ overlap its lead time has
SEQUENCES PERCENT with the parent's lead
time.
MINIMUM_TRANSFER_QU BOM_ MINIMUM_ Minimum operation
ANTITY OPERATION_ TRANSFER_ transfer quantity.
SEQUENCES QUANTITY
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 249
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
COUNT_POINT_TYPE BOM_ COUNT_ Use:
OPERATION_ POINT_TYPE Yes for auto charge, or
SEQUENCES No for direct charge
OPERATION_DESCRIPTIO BOM_ OPERATION_
N OPERATION_ DESCRIPTIO
SEQUENCES N
EFFECTIVITY_DATE BOM_ EFFECTIVITY Date operation is
OPERATION_ _DATE effective.
SEQUENCES
DISABLE_DATE BOM_ DISABLE_ Date operation is no
OPERATION_ DATE longer effective.
SEQUENCES
BACKFLUSH_FLAG BOM_ BACKFLUSH_ Indicates whether
OPERATION_ FLAG operation requires
SEQUENCES backflushing. Use:
1 for Yes or 2 for No.
OPTION_DEPENDENT_FLA BOM_ OPTION_ Indicates whether to use
G OPERATION_ DEPENDENT this operation in all
SEQUENCES _FLAG configuration routings,
even if no components of
the configuration are in
this routing. Use:
1 for Yes or 2 for No.
ALTERNATE_ROUTING_ BOM_ ALTERNATE_
DESIGNATOR OPERATION_ ROUTING_
SEQUENCES DESIGNATOR
ORGANIZATION_NAME HR_ALL_ NAME Use
ORGANIZATI HR_ALL_ORGANIZATI
ON_UNITS ON_UNITS to derive
ORGANIZATION_ID.
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated item
_ITEMS_B_ TED_SEGMEN segments.
KFV TS
DEPARTMENT_CODE BOM_ DEPARTMEN Required for Insert.
DEPARTMEN T_CODE
TS
OPERATION_CODE BOM_ OPERATION_ Standard operation code.
STANDARD_ CODE
OPERATIONS
OPERATION_TYPE BOM_ OPERATION_ Use Process, Line
OPERATION_ TYPE Operation, or Event.
SEQUENCES
250 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
REFERENCE_FLAG BOM_ REFERENCE_ If the standard operation
OPERATION_ FLAG is referenced or copied,
SEQUENCES then the operation cannot
be updated. Use:
1 for Yes
2 for No
PROCESS_OP_SEQ_ID BOM_ PROCESS_OP Use only for events.
OPERATION_ _SEQ_ID Operation sequence
SEQUENCES identifier of parent
process.
LINE_OP_SEQ_ID BOM_ LINE_OP_SEQ Use only for events.
OPERATION_ _ID Operation sequence
SEQUENCES identifier of the parent
line operation.
YIELD BOM_ YIELD Process yields at this
OPERATION_ operation.
SEQUENCES
REVERSE_CUMULATIVE_ BOM_ REVERSE_ Cumulative process yield
YIELD OPERATION_ CUMULATIV from end of routing to
SEQUENCES E_YIELD comparable operation.
LABOR_TIME_CALC BOM_ LABOR_TIME System-calculated run
OPERATION_ _CALC time for labor.
SEQUENCES
MACHINE_TIME_CALC BOM_ MACHINE_ System-calculated run
OPERATION_ TIME_CALC time for machines.
SEQUENCES
TOTAL_TIME_CALC BOM_ TOTAL_TIME System-calculated run
OPERATION_ _CALC time for labor and
SEQUENCES machines.
LABOR_TIME_USER BOM_ LABOR_TIME User-calculated run time
OPERATION_ _USER for labor.
SEQUENCES
MACHINE_TIME_USER BOM_ MACHINE_ User-calculated run time
OPERATION_ TIME_USER for machines.
SEQUENCES
TOTAL_TIME_USER BOM_ TOTAL_TIME User-calculated run time
OPERATION_ _USER for labor and machines.
SEQUENCES
NET_PLANNING_PERCEN BOM_ NET_ Cumulative planning
T OPERATION_ PLANNING_ percents derived from the
SEQUENCES PERCENT operation network.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 251
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
INCLUDE_IN_ROLLUP BOM_ INCLUDE_IN Indicates whether
OPERATION_ _ROLLUP operation yield is
SEQUENCES considered in cost rollup.
OPERATION_YIELD_ENAB BOM_ OPERATION_ Indicates whether
LED OPERATION_ YIELD_ENAB operation yield is
SEQUENCES LED considered during
costing.
1.2.1. BOM_OP_RESOURCES
Oracle
Applications
Document Field Table View Name Column Name Description
OPERATION_SEQUENCE_I BOM_ OPERATION_
D OPERATION_ SEQUENCE_I
RESOURCES D
RESOURCE_SEQ_NUM BOM_ RESOURCE_ Resource sequence
OPERATION_ SEQ_NUM number.
RESOURCES
STANDARD_RATE_FLAG BOM_ STANDARD_ Indicates standard rate for
OPERATION_ RATE_FLAG shop floor transactions.
RESOURCES Use:
1 for Yes
2 for No.
ASSIGNED_UNITS BOM_ ASSIGNED_ Resource units assigned.
OPERATION_ UNITS
RESOURCES
USAGE_RATE_OR_AMOUN BOM_ USAGE_RATE Resource usage rate.
T OPERATION_ _OR_AMOUN
RESOURCES T
USAGE_RATE_OR_AMOUN BOM_ USAGE_RATE Resource usage rate
T_INVERSE OPERATION_ _OR_AMOUN inverse.
RESOURCES T_INVERSE
BASIS_TYPE BOM_ BASIS_TYPE Use:
OPERATION_ 1 for Item,
RESOURCES 2 for Lot,
3 for Resource Units,
4 for Resource Value,
5 for Total Value,
6 for Activity.
252 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table View Name Column Name Description
SCHEDULE_FLAG BOM_ SCHEDULE_ Indicates whether to
OPERATION_ FLAG schedule the resource.
RESOURCES Use:
1 for Yes,
2 for No,
3 for Prior,
4 for Next.
RESOURCE_OFFSET_PERC BOM_ RESOURCE_ Resource offset percent
ENT OPERATION_ OFFSET_ from the start of the
RESOURCES PERCENT routing.
AUTOCHARGE_TYPE BOM_ AUTOCHARG Autocharge type for
OPERATION_ E_TYPE shopfloor moves. Use:
RESOURCES 1 for WIP move,
2 for Manual,
3 for PO receipt,
4 for PO move.
ALTERNATE_ROUTING_ BOM_ ALTERNATE_ Alternate designator code.
DESIGNATOR OPERATIONA ROUTING_
L_ROUTINGS DESIGNATOR
OPERATION_SEQ_NUM BOM_ OPERATION_ Operation sequence
OPERATION_ SEQ_NUM number.
SEQUENCES
EFFECTIVITY_DATE BOM_ EFFECTIVITY Effective date.
OPERATION_ _DATE
SEQUENCES
ORGANIZATION_NAME HR_ALL_ NAME Use
ORGANIZATI HR_ALL_ORGANIZATI
ON_UNITS ON_UNITS to derive
ORGANIZATION_ID.
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated item
_ITEMS_B_ TED_SEGMEN segments.
KFV TS
RESOURCE_CODE BOM_ RESOURCE_ Resource name.
RESOURCES CODE
ACTIVITY CST_ ACTIVITY Activity name.
ACTIVITIES
TRANSACTION_TYPE Not used for outbound
transactions.
NEW_RESOURCE_SEQ_NU Not used for outbound
M transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 253
4 Manufacturing Predefined Transaction Services
This service retrieves information on the parent, component, and substitute Engineering
Bills of Material items, as well as revisions. It retrieves this information based on the
following parameters:
ORGANIZATION_NAME: Organization Name.
ITEM_NUMBER: Item Number.
UNIT_OF_MEASURE: Unit of Measure.
EFFECTIVITY_DATE_FROM: Effective Date.
EFFECTIVITY_DATE_TO: Effective Date.
If none of the above mentioned parameters are entered, the query retrieves all rows from
the Oracle Applications database.
Database Scripts
This service uses the same database scripts as the Send Engineering BOM service.
Note: If you use this service but you do not use the Send Engineering BOM service, you
should run the wm_disable_from_engbom.sql script to disable the triggers installed
by the Send Engineering BOM service.
For a detailed description of these database scripts, see “Send Engineering BOM Service”
on page 376. For more information about using database scripts, see “Database Scripts”
on page 27.
Flow Control
You can query Engineering Bills of Material data using the following services:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
254 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Item service.
Note: If you use this service but you do not use the Send Item service, you should run
the wm_disable_from_invitem.sql script to disable the triggers installed by the Send
Item service.
For a detailed description of these database scripts, see “Send Item Service” on page 389.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 255
4 Manufacturing Predefined Transaction Services
Flow Control
The main flow queryItem executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryItemTxn queries the Oracle Applications database for any Item information
matching the parameter values. The parameters are defined as the input to this
service.
For more details on query transactions, see “Using Query Services” on page 37.
This service queries item category information, based on the following parameters:
CATEGORY_NAME: Category name.
STRUCTURE_NAME: Category set name.
INACTIVE_DATE_FROM: Beginning inactive date.
INACTIVE_DATE_TO: Ending inactive date.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_itemcategory.sql Runs the scripts listed below, except the
uninstall script.
wm_from_itemcategory_vw.sql Creates the following required view
component:
WM_INV_ITEM_CATEGORY_QRY_VW
wm_drop_from_itemcategory.sql Uninstalls all components created by
wm_install_from_itemcategory.sql.
256 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow queryItemCategory executes as follows. If no input parameters are
specified, the query returns all rows.
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryItemCategoryTxn queries the Oracle Applications database for any Item Category
records matching the parameter values. The parameters are defined as the input to
this service. This service takes four inputs: CATEGORY_NAME,
STRUCTURE_NAME, INACTIVE_DATE_FROM, and INACTIVE_DATE_TO.
For more details on query transactions, see “Using Query Services” on page 37.
ITEM_CATEGORY
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID Not used Not used for query
outbound transactions.
DOCUMENT_TYPE Use ITEMCATEGORY.
DOCUMENT_STATUS Use QUERY.
CATEGORY MTL_ CATEGORY_ Segmented Category
CATEGORIES CONCAT_SEG Name.
_V S
STRUCTURE MTL_ STRUCTURE Category set name.
CATEGORIES
_V
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 257
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
INACTIVE_ON_DATE MTL_ DISABLE_DA
CATEGORIES TE
_V
SUMMARY_FLAG MTL_ SUMMARY_
CATEGORIES FLAG
_V
ENABLED_FLAG MTL_ ENABLED_
CATEGORIES FLAG
_V
CATEGORY_DESCRIPTION MTL_ DESCRIPTION
CATEGORIES
_V
SUPPLIER_ENABLED_FLA MTL_ SUPPLIER_EN Viewable by supplier.
G CATEGORIES ABLED_FLAG
_V
WEB_STATUS MTL_ WEB_STATUS Enabled for
CATEGORIES iProcurement.
_V
258 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Manufacturing BOM service.
Note: If you use this service but you do not use the Send Manufacturing BOM service,
you should run the wm_disable_from_mfgbom.sql script to disable the triggers
installed by the Send Manufacturing BOM service.
For a detailed description of these database scripts, see “Send Manufacturing BOM
Service” on page 414. For more information about using database scripts, see “Database
Scripts” on page 27.
Flow Control
The main flow queryManufacturingBOM executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryManufacturingBOMTxn queries the Oracle Applications database for any
Manufacturing BOM information matching the parameter values. The parameters are
defined as the input to this service.
For more details on query transactions, see “Using Query Services” on page 37.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 259
4 Manufacturing Predefined Transaction Services
This service retrieves the on-hand quantities for a particular item, based on the following
parameters:
ITEM_NUMBER: Part number of the item as defined in Oracle Applications.
REVISION: Revision number of the item.
ORGANIZATION_NAME: Name of the inventory organization.
SUBINVENTORY_CODE: Subinventory code.
LOCATOR: Locator code.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_onhandquantity.sql Runs the scripts listed below, except the
uninstall script.
wm_from_onhandquantity_vw.sql Creates the following required view
component:
WM_INV_ONHAND_QRY_VW
wm_drop_from_onhandquantity.sql Uninstalls all components created by
wm_install_from_onhandquantity.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow queryOnHandQuantity executes as follows. If no input parameters are
specified, the query returns all rows.
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryOnHandQuantityTxn queries the Oracle Applications database for any Inventory-
On Hand records matching the parameter values. The parameters are defined as the
input to this service.
260 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
For more details on query transactions, see “Using Query Services” on page 37.
ON_HAND_QUANTITY
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID Not used Not used for query
outbound transactions.
DOCUMENT_TYPE INVONHAND will be
populated in this field.
DOCUMENT_STATUS QUERY will be populated
in this field.
INVENTORY_ITEM_ID MTL_ONHAN INVENTORY_
D_QUANTITI ITEM_ID
ES_DETAIL
ORGANIZATION_ID MTL_ONHAN ORGANIZATI
D_QUANTITI ON_ID
ES_DETAIL
ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated segments.
_ITEMS_B_ TED_SEGMEN
KFV TS
REVISION MTL_ONHAN REVISION
D_QUANTITI
ES_DETAIL
TOTAL_QOH MTL_ONHAN PRIMARY_ Transaction quantity.
D_QUANTITI TRANSACTIO
ES_DETAIL N_QUANTITY
SUBINVENTORY_CODE MTL_ONHAN SUBINVENTO
D_QUANTITI RY_CODE
ES
LOCATOR MTL_ITEM_ CONCATENA Concatenated Locator.
LOCATIONS_ TED_SEGMEN
B_KFV TS
ITEM_DESCRIPTION MTL_SYSTEM DESCRIPTION
_ITEMS_B_
KFV
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 261
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
PRIMARY_UOM_CODE MTL_SYSTEM PRIMARY_UO Primary unit of measure
_ITEMS_B_ M_CODE code.
KFV
ORGANIZATION_CODE MTL_ ORGANIZATI
PARAMETERS ON_CODE
ORGANIZATION_NAME HR_ NAME
ORGANIZATI
ON_UNITS
LOCATOR_TYPE MTL_ LOCATOR_
SECONDARY TYPE
_INVENTORI
ES
ITEM_REV_CONTROL MTL_SYSTEM REVISION_QT
_ITEMS_B_ Y_CONTROL_
KFV CODE
ITEM_LOCATOR_CONTRO MTL_SYSTEM LOCATION_
L _ITEMS_B_ CONTROL_
KFV CODE
ITEM_LOT_CONTROL MTL_SYSTEM LOT_CONTR
_ITEMS_B_ OL_CODE
KFV
ITEM_SERIAL_CONTROL MTL_SYSTEM SERIAL_
_ITEMS_B_ NUMBER_
KFV CONTROL_
CODE
This service creates, updates, and deletes Manufacturing and Engineering Bills of
Material and product families. Based on the attributes of the parent item, the program
creates planning, model, option class, and standard Bills of Material.
262 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_bom.sql Runs the scripts listed below, except the uninstall script.
wm_into_bom_pkg.sql Installs
WM_BOM_IMP_HANDLER_PKG.WM_HANDLE_BOM,
which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Bills and Routing Import process.
wm_drop_into_bom.sql Uninstalls all components created by
wm_install_into_bom.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import Bills of Material transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables). This service uses the following
services internally to provide required data feed during the mapping:
getOrgId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes ORGANIZATION_NAME as the input
parameter, and queries the table ORG_ORGANIZATION_DEFINITIONS to get
the ORGANIZATION_ID corresponding to the ORGANIZATION_NAME.
commonLookup is a transformer for mapping the business document IData
structure to the line interface IData structure. This finds the lookup code for the
particular lookup type.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 263
4 Manufacturing Predefined Transaction Services
convertToDateObject converts the text date format into object date format. This is a
transformer in the bizDocMapping.
getRevisedItemSeqId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes REVISED_ITEM_NUM,
REVISION and ORG_NAME as input parameters to get the corresponding
REVISED_ITEM_SEQUENCE_ID.
bomItemTypeLookup is a transformer for mapping the business document IData
structure to the line interface IData structure. This finds the lookup code for the
particular lookup type BOM_ITEM_TYPE.
getCommonRtgSeqId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
COMMON_ITEM_NUMBER, COMMON_ORG_NAME, and ALT_RTG_DSG as
input parameters to get the corresponding ROUTING_SEQUENCE_ID.
getComponentSeqId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ASSEMBLY_ITEM_NUMBER, ITEM_COMPONENT_NUMBER,
OPERATION_SEQ_NUM, EFFECTIVE_DATE, ORG_NAME, and
ALT_BOM_DSG as input parameters to get the corresponding COMPONENT_
SEQUENCE_ID.
setBillsAndRouteTxn inserts data into the Bills and Route interface tables.
importBillsAndRoute imports data to the production table from the interface table. To
monitor the import process, it then sequentially invokes the services
execBillsAndRouteConcProg, checkBillsAndRouteImportStatus, and
getBillsAndRouteImport_ERR. If the status of execution is FAILED, this step maps
the dbErrorMsg and concProgMsg record list. Otherwise, it checks for data errors that
occurred during the import, and maps them to errorsDoc.
execBillsAndRouteConcProg inserts data into the production table. It picks up data
from the Interface tables corresponding to Bills And Route Interface and inserts
data into the production tables.
checkBillsAndRouteImportStatus queries the MTL_INTERFACE_ERRORS table to
find the number of erroneous rows for the passed REQUEST ID.
getBillsAndRouteImport_ERR gets the error message that occurs during the data
import to the production table from the interface table.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
264 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
1.2. BOM_INVENTORY_COMPS
1.2.1. BOM_SUB_COMPS
1.2.2. BOM_REF_DESGS
2.0. BOM_OP_ROUTINGS
2.1. MTL_RTG_ITEM_REVS
2.2. BOM_OP_SEQUENCES
2.2.1. BOM_OP_RESOURCES
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 265
4 Manufacturing Predefined Transaction Services
266 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 267
4 Manufacturing Predefined Transaction Services
268 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 269
4 Manufacturing Predefined Transaction Services
270 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 271
4 Manufacturing Predefined Transaction Services
272 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 273
4 Manufacturing Predefined Transaction Services
274 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 275
4 Manufacturing Predefined Transaction Services
276 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 277
4 Manufacturing Predefined Transaction Services
278 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
You can import Customer Items at any of the following levels: Customer-level, Address
Category-level, or Address-level. The level is specified in the Item Definition Level
column. An item imported at the Customer level is visible to all organizations. You can
also import items with an inactive status.
While submitting the concurrent program Customer Item Import to load the Customer
Item records from interface tables to production tables, you cannot restrict the processing
to only those records uploaded by the IS flow instance. The program will process all
unprocessed records that exist in the interface table at the time of execution. After
executing the concurrent program, errors will be retrieved for all processed records that
might not be uploaded by this IS flow instance.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_custitem.sql Runs the scripts listed below, except the uninstall
script.
wm_into_custitem_pkg.sql Installs
WM_INV_CTITEM_IMP_HANDLER_PKG.WM_HA
NDLE_CUSTITEM, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Customer Item Import
process. The process in the Oracle Inventory module
is Import Customer Items.
wm_drop_into_custitem.sql Uninstalls the components created by
wm_install_into_custitem.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 279
4 Manufacturing Predefined Transaction Services
Flow Control
The receiveCustomerItem service uses the following flow operations to import customer
items:
specifyDefaultSettings specifies the default settings required for service execution.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getOASystemDateObject returns the Oracle Applications system date as a date
object.
getOracleAppsUserId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ORACLE_APPS_USER_NAME as the input parameter from the business
document, and queries the table FND_USER to get the USER_ID. The USER_ID
information is required for insertion into the interface tables.
setCustomerItemTxn inserts data into the interface table. It extracts data from the IData
structure that results from the bizDocMapping service and puts the data into the
interface table in Oracle Applications for Customer Items.
importCustomerItem imports data to the production table from the interface table. It
calls the services execCustomerItemConcProg, checkCustomerItemImportStatus, and
getCustomerItemImport_ERR to execute the corresponding concurrent program that
inserts data into the production table, and to generate the error/acknowledgement
message. If the status of the execution is SUCCESS (returned by the service
execCustomerItemConcProg), it checks for rejected records. If records are found, it
then indicates an error during import. In this case, this service calls
getCustomerItemImport_ERR to retrieve the errors. If no records are found, it comes
out of the flow, indicating success of the data import process. If the status of the
execution is FAILED, it comes out of execution.
execCustomerItemConcProg invokes the stored procedure
WM_INV_CTITEM_IMP_HANDLER_PKG.WM_HANDLE_CUSTITEM. This
procedure calls the corresponding concurrent subroutine to execute the data
import process for Customer Items into Oracle Applications. This service returns
Status ID, Request ID, Execution Status Message (for normal concurrent program
completion), and database Stored Procedure error message (if an exception occurs
in the Stored Procedure execution).
checkCustomerItemImportStatus checks the status of the execution by checking the
Interface Table for any rejected record. If the query does not return rows, it
indicates successful import. If the query returns rows, it indicates that the
concurrent program could not import data successfully in the production tables
of Oracle Applications. The Interface table is not updated with the REQUEST_ID;
there is no way to check errors corresponding to only the current bizDoc import.
Therefore, the error document will show any old errors, as well.
280 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
getCustomerItemImport_ERR gets the error message that occurs during the data
import to the production table from interface table. It scans the
MTL_CI_INTERFACE table to get the rejected records. The Interface table is not
updated with the REQUEST_ID; there is no way to check errors corresponding to
only the current bizDoc import. Therefore, the error document will show any old
errors as well.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 281
4 Manufacturing Predefined Transaction Services
282 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_cicrossref.sql Runs the scripts listed below, except the uninstall
script.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 283
4 Manufacturing Predefined Transaction Services
Script Description
wm_into_cicrossref_pkg.sql Installs
WM_INV_CICREF_IMP_HANDLER_PKG.WM-
HANDLE_CICREF, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Customer Item Import
process. The process in Oracle Inventory module is
Import Customer Item Cross References.
wm_drop_into_cicrossref.sql Uninstalls the components created by
wm_install_into_cicrossref.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import customer item cross references:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getOracleAppsUserId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ORACLE_APPS_USER_NAME as the input parameter from the business
document, and queries the table FND_USER to get the USER_ID. The USER_ID
information is required for insertion into the interface tables.
getOASystemDateObject returns the Oracle Applications system date as a date
object.
setCICrossRefTxn inserts data into the interface table. It extracts data from the IData
structure that results from the bizDocMapping service, and puts the data into the
interface table in Oracle Applications for CICrossRef.
284 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
importCICrossRef imports data to the production table from the interface table. It calls
the services execCICrossRefConcProg, checkCICrossRefImportStatus, and
getCICrossRefImport_ERR to execute the corresponding concurrent program that
inserts data into the production table, and to generate the error/acknowledgement
message. If the status of the execution is SUCCESS (returned by the service
execCICrossRefConcProg), it checks for rejected records. If any are found, it then
indicates an error during import. In this case, this service calls
getCICrossRefImport_ERR to retrieve the errors. If no records are found, it comes out
of the flow, indicating success of the data import process. If the status of the execution
is FAILED, it comes out of execution.
execCICrossRefConcProg invokes the stored procedure
WM_INV_CICRREF_IMP_HANDLER_PKG.WM_HANDLE_CICRREF. The
procedure calls the corresponding concurrent subroutine to execute the data
import process for Customer Item Cross Reference into Oracle Applications. This
service returns Status ID, Request ID, Execution Status Message (for normal
concurrent program completion), and database Stored Procedure error message
(if an exception occurs in the Stored Procedure execution).
checkCICrossRefImportStatus checks the status of the execution by checking the
Interface Table for rejected records. If the query does not return rows, it indicates
a successful import. If the query returns rows, it indicates that the concurrent
program could not import data successfully in the production tables of Oracle
Applications. The Interface table is not updated with the REQUEST_ID; there is
no way to check errors corresponding to only the current bizDoc import.
Therefore, the error document will show any old errors, as well.
getCICrossRefImport_ERR gets the error message that occurs during the data import
to the production table from the interface table. It scans the
MTL_CI_XREFS_INTERFACE table to get the rejected records. The Interface table
is not updated with the REQUEST_ID; there is no way to check errors
corresponding to only the current bizDoc import. Therefore, the error document
will show any old errors as well.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 285
4 Manufacturing Predefined Transaction Services
286 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_cyclecount.sql Runs the scripts listed below, except the uninstall
script.
wm_into_cyclecount_pkg.sql Installs
WM_INV_CC_IMP_HANDLER_PKG.WM_HAND
LE_INV_CC, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Transaction Worker
Process.
wm_into_cyclecount_seq.sql Creates the following component:
WM_CC_ENTRIES_INTERFACE_S, which
creates the CC Entry Interface ID sequence
wm_drop_into_cyclecount.sql Uninstalls all components created by
wm_install_into_cyclecount.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 287
4 Manufacturing Predefined Transaction Services
Flow Control
This service uses the following flow steps to import cycle count entries:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getOracleAppsUserId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ORACLE_APPS_USER_NAME as the input parameter from the business
document, and queries the table FND_USER to get the USER_ID. The USER_ID
information is required for insertion into the interface tables.
getOASystemDateObject returns the Oracle Applications system date as a date
object.
pickSequence generates the current sequence number from the sequence
WM_CC_ENTRIES_INTERFACE_S.
getCycleCountHeaderId gets the CYCLE_COUNT_HEADER_ID for the respective
CYCLE_COUNT_HEADER_NAME and ORGANIZATION_NAME.
convertToDateObject converts the text date format into object date format. This is a
transformer in the bizDocMapping.
getOrgId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes ORGANIZATION_NAME as the input
parameter, queries the table ORG_ORGANIZATION_DEFINITIONS, and gets
the ORGANIZATION_ID corresponding to the ORGANIZATION_NAME.
getCostGroupId retrieves the COST_GROUP_ID for the entered item in the
organization.
getCodeCombinationId is a transformer for mapping the business document IData
structure to the interface table IData structure. This is a general service to get
CODE_COMBINATION_ID from GL_CODE_COMBINATIONS_KFV, given the
CONCATENATED_SEGMENTS and SET_OF_BOOK_NAME.
getInventoryItemId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ITEM_CODE and
ORGANIZATION_NAME as input, and returns the INVENTORY_ITEM_ID.
getLocatorId is a transformer for mapping the business document to the interface
IData structure. This service takes the LOCATOR and ORGANIZATION_NAME
as input parameters, and returns the INVENTORY_LOCATION_ID.
setCycleCountEntryTxn inserts data into the interface table. It takes data from the IData
structure that results from the bizDocMapping service, and puts the data into the
interface table in Oracle Applications for Cycle Count Entries Interface.
288 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
importCycleCountEntry imports data into the production table from the interface table.
It calls the service execCycleCountEntryConcProg to execute the corresponding
concurrent program that inserts data into the production table.
execCycleCountEntryConcProg invokes the stored procedure
WM_INV_CC_IMP_HANDLER_PKG.WM_HANDLE_INV_CC. The procedure
calls the corresponding concurrent subroutine to execute the data import process
for Labor into Oracle Applications. This service returns Status ID, Request ID,
Execution Status Message (for normal concurrent program completion), and
database Stored Procedure error message (if an exception occurs in the Stored
Procedure execution).
checkCycleCountEntryImportStatus queries the MTL_CC_ENTRIES_INTERFACE
table to find the number of erroneous rows for the passed
CYCLE_COUNT_HEADER_NAME.
getCycleCountEntryImport_ERR gets the error message that occurs during the data
import of Cycle Count Entries for the specified
CYCLE_COUNT_HEADER_NAME to the production table from interface table.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 289
4 Manufacturing Predefined Transaction Services
290 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
This service imports demand schedules. You can use Oracle Release Management to
automate the management and reconciliation of customer inbound schedules, and to
enable a rapid response for changing demand requirements. The Demand Schedule
interface or the Demand Processor takes an inbound demand schedule from the release
management demand processor interface tables.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_rlmdemand.sql Runs the scripts listed below, except the uninstall
script.
wm_into_rlmdemand_pkg.sql Installs
WM_RLM_DEMAND_IMP_HANDLER_PKG.W
M_HANDLE_RLM_DEMAND, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Quality Collection
Import process. The process in the QA module is
Collection Import.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 291
4 Manufacturing Predefined Transaction Services
Script Description
wm_into_rlmdemand_seq.sql Creates the following components:
WM_RLM_INTERFACE_HEADER_S, which
creates the HEADER_ID
WM_RLM_INTERFACE_LINE_S, which
create the LINE_ID
wm_drop_into_rlmdemand.sql Uninstalls all components created by
wm_install_into_rlmdemand.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import demand schedules:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getAddressId takes ADDRESS1, ADDRESS2, ADDRESS3, ADDRESS4, CITY,
POSTAL_CODE, STATE, PROVINCE, COUNTY, and COUNTRY as input, and
queries the table HZ_CUST_ACCT_SITES_ALL to get ADDRESS_ID.
getAgreementId takes AGREEMENT_NAME as input, and queries the table
OE_AGREEMENTS_B to get AGREEMENT_ID.
getDateTypeCode takes DATE_TYPE as input, and queries the table
FND_LOOKUPS to get DATE_TYPE_CODE.
getInvoiceOrgId takes BILL_TO_ADDRESS1, BILL_TO_ADDRESS2,
BILL_TO_ADDRESS3, BILL_TO_ADDRESS4, BILL_TO_CITY,
BILL_TO_POSTAL_CODE, BILL_TO_STATE, BILL_TO_PROVINCE,
292 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
setDemandScheduleTxn inserts data into the interface table. It extracts data from the
IData structure that results from the bizDocMapping service, and puts the data into
the interface table.
importDemandSchedule imports data to the production table from the interface table. It
calls the services execDemandScheduleConcProg,
checkDemandScheduleImportStatus, and getDemanScheduleImport_ERR to execute
the corresponding concurrent program that inserts data into the production table,
and to generate the error/acknowledgement message. If the status of the execution is
SUCCESS (returned by the service execDemandScheduleConcProg), it checks for the
record in the interface table. If records are found, it then indicates an error during
import. In this case, this service calls getDemandScheduleImport_ERR to retrieve the
errors. If no records are found, it comes out of the flow, indicating success of the data
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 293
4 Manufacturing Predefined Transaction Services
import process. If the status of the execution is FAILED, it comes out of execution.
There can be two types of action on the record to be imported: update and insert. This
flow checks for the mode of action and accordingly calls the import program.
execDemandScheduleConcProg invokes the stored procedure
WM_RLM_DEMAND_IMP_HANDLER_PKG. WM_HANDLE_RLM_DEMAND.
The procedure calls the corresponding concurrent subroutine to execute the data
import process for Demand Schedule Transactions into Oracle Applications. This
service returns Status ID, Request ID, Execution Status Message (for normal
concurrent program completion), and database Stored Procedure error message
(if an exception occurs in Stored Procedure execution).
checkDemandScheduleImportStatus checks the status of the execution by checking
the Interface Table for any rejected records corresponding to the current
REQUEST_ID. If the query does not return rows, it indicates a successful import.
If the query returns rows, it indicates that the concurrent program could not
import data successfully in the production tables of Oracle Applications.
getDemandScheduleImport_ERR gets the error message that occurs during the data
import to the production table from the interface table. Based on the parameter
REQUEST_ID, it scans tables RLM_DEMAND_EXCEPTIONS to get the
corresponding message.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
294 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 295
4 Manufacturing Predefined Transaction Services
296 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 297
4 Manufacturing Predefined Transaction Services
298 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 299
4 Manufacturing Predefined Transaction Services
300 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 301
4 Manufacturing Predefined Transaction Services
302 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 303
4 Manufacturing Predefined Transaction Services
304 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
This service imports forecasts. You can use the Open Forecast interface to load forecast
entries for existing forecasts and forecasting sets in the Oracle Master Scheduling/MRP
Application.
The Planning Manager runs in background mode and launches the Forecast Interface
Load program to perform the import. The Planning Manager scans for rows with a
PROCESS_STATUS = 2. These records are then validated and processed. If they are
successfully processed, the PROCESS_STATUS is set to 5. If they contain a validation
error, PROCESS_STATUS is set to 4 and the appropriate ERROR_MESSAGE appears.
Since the Planning Manager is normally scheduled from the Oracle Applications, you use
the IS flow to insert data into the open interface tables.
Database Scripts
This service does not use any database scripts.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 305
4 Manufacturing Predefined Transaction Services
Flow Control
This service uses the following flow steps to import inventory transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getOrgId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes ORGANIZATION_NAME as the input
parameter, and queries the table ORG_ORGANIZATION_DEFINITIONS to get
the ORGANIZATION_ID corresponding to the ORGANIZATION_NAME.
getForecastLineId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes LINE_CODE as the input
parameter, and queries the table WIP_LINES to get the LINE_ID corresponding to
the current ORGANIZATION_NAME.
getInventoryItemId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ITEM_CODE as the input
parameter, and queries the table MTL_SYSTEM_ITEMS_B_KFV to get the
INVENTORY_ITEM_ID corresponding to the current ORGANIZATION_NAME.
getProjectId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes PROJECT_NAME as the input
parameter, and queries the table PA_PROJECTS_ALL to get the PROJECT_ID.
getTaskId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes PROJECT_NAME and
TASK_NUMBER as the input parameters, and queries the tables
PA_PROJECTS_ALL and PA_TASKS to get the TASK_ID.
getOracleAppsUserId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ORACLE_APPS_USER_NAME as the input parameter from the business
document, and queries the table FND_USER to get the USER_ID. The USER_ID
information is required for insertion into the interface tables.
306 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 307
4 Manufacturing Predefined Transaction Services
This service loads transactions from external applications and feeder systems into Oracle
Inventory. These transactions can include:
Inventory issues and receipts (including user-defined transaction types)
Subinventory transfers
Direct inter-organization transfers
Intransit shipments
WIP component issues and returns
Sales orders shipments
Inventory average cost updates
Material transactions are processed by the Inventory Transaction Manager, which
spawns transaction workers depending on the load. Normally, this is run
asynchronously. For this transaction, one transaction worker will be spawned to process
the records in the interface table. Because the Inventory Transaction Manager runs
asynchronously, it will not pick up these records.
308 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_invtxn.sql Runs the scripts listed below, except the uninstall script.
wm_into_invtxn_pkg.sql Installs
WM_INV_TXN_IMP_HANDLER_PKG.WM_HANDL
E_INV_TXN, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Inventory Open Transaction
Import process. The process in the Inventory Module is
Material Transaction.
wm_into_invtxn_seq.sql Creates the following components:
WM_MTL_TRANSACTION_HEADER_S, which
creates the TRANSACTION_HEADER_ID
sequence
WM_SERIAL_TRANSACTION_TEMP_S, which
create the SERIAL_TRANSACTION_TEMP_ID
sequence
WM_MATERIAL_TRANSACTION_S, which
creates the TRANSACTION_INTERFACE_ID
sequence
wm_drop_into_invtxn.sql Uninstalls all components created by
wm_install_into_invtxn.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 309
4 Manufacturing Predefined Transaction Services
Flow Control
This service uses the following flow steps to import inventory transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getInventoryItemId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ITEM_CODE and
ORGANIZATION_NAME as the input parameter, and queries the table
MTL_SYSTEM_ITEMS_B_KFV and HR_ALL_ORGANIZATIONS_UNITS to get
the INVENTORY_ITEM_ID corresponding to the input parameters.
getLocatorId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes LOCATOR and
ORGANIZATION_NAME as the input parameter, and queries the view
MTL_ITEM_LOCATIONS_KFV and the table
ORG_ORGANIZATION_DEFINITIONS to get the INVENTORY_LOCATION_ID
corresponding to the LOCATOR and ORGANIZATION_NAME.
getSourceId is a transformer for mapping the business document IData structure to
the interface table IData structure. Transaction source ID can be generated from
one of the input parameters. This service takes all the parameters and calls the
appropriate service to return source_id.
getDispositionId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ACCOUNT_ALIAS as the
input parameter, and queries the table MTL_GENERIC_DISPOSITIONS to get the
DISPOSITION_ID corresponding to the alias.
getSalesOrderHeaderId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes SALES_ORDER as the
input parameter, and queries the table OE_ORDER_HEADERS_ALL to get the
HEADER_ID corresponding to the SALES_ORDER.
getTransactionTypeId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
TRANSACTION_TYPE_NAME as the input parameter, and queries the table
MTL_TRANSACTION_TYPES to get the TRANSACTION_TYPE_ID,
TRANSACTION_ACTION_ID, and TRANSACTION_SOURCE_TYPE_ID
corresponding to the TRANSACTION_TYPE_NAME.
getReasonId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes REASON_NAME as the input
parameter, and queries the table MTL_TRANSACTION_REASONS to get the
REASON_ID corresponding to the REASON_NAME.
310 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 311
4 Manufacturing Predefined Transaction Services
a successful import. If the query returns any row, it indicates that the concurrent
program could not import data successfully in the production tables of Oracle
Applications.
getInvTransactionImport_ERR gets the error message that occurs during the data
import to the production table from interface table. Based on the parameter
TRANSACTION_HEADER_ID, it scans the table
MTL_TRANSACTIONS_INTERFACE to get the corresponding message.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
The total number of records in the Material Serial Numbers/Material Lot Numbers must
match the corresponding header transaction quantity for serial-controlled items. The
total number of records in Material Serial Numbers must match the Material Lot
Numbers transaction quantity if the item is both serial-controlled and lot-controlled. The
business document structure CST_COMP_SNAP must be populated in case an average
cost update is to be done.
312 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 313
4 Manufacturing Predefined Transaction Services
314 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 315
4 Manufacturing Predefined Transaction Services
316 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 317
4 Manufacturing Predefined Transaction Services
This service imports items from external sources into Oracle Applications. You can also
use this service to import item category assignments and item revisions simultaneously.
Features of this service include the following:
Items can be assigned to a master organization or a child organization. When you
assign an item to a child organization, all item-level attributes default down from the
master organization only if the attribute column is null. The only exceptions are
attributes under status control.
318 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Revisions always exist at the item organization-level. You need revision data for each
item organization you update. If you choose not to use revisions table, do not include
revisions in the biz doc. The item interface import assigns each item a beginning
revision, using the default specified in the organization parameters.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_invitem.sql Runs the scripts listed below, except the uninstall
script.
wm_into_invitem_pkg.sql Installs
WM_INV_ITEM_IMP_HANDLER_PKG.WM_HAND
LE_INV_ITEM, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Item Import process.
wm_into_invitem_seq.sql Creates the following component:
WM_MTL_SYSTEM_ITEMS_SETS_S, which
creates the SET_PROCESS_ID.
wm_drop_into_invitem.sql Uninstalls all components created by
wm_install_into_invitem.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import items:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 319
4 Manufacturing Predefined Transaction Services
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getCoverageScheduleId is a transformer that gets COVERAGE_SCHEDULE_ID
querying Oracle Applications database using COVERAGE_SCHEDULE_NAME.
This service also checks the null condition for queryParams (same as all other
services which are being used in transformers). In case of null value passed to
queryParams, this service exits.
getFACategoryId is a transformer for mapping the business document that takes the
ASSET_CATEGORY as input, and returns CATEGORY_ID.
getFNDLookUpCode converts the incoming Lookup type to LOOKUP_CODE
required by Oracle Applications database.
getHazardClassId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes HAZARD_CLASS as the
input parameter, and gets the HAZARD_CLASS_ID querying Oracle
Applications database.
getItemGroupId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes DESCRIPTION as input to
get the corresponding ITEM_CATALOG_GROUP_ID querying Oracle
Applications database.
getLookUpCode is a transformer for the business document IData structure to the
interface table IData structure. It takes LOOKUP_TYPE and MEANING as input
parameters, and queries the table MFG_LOOKUPS to get the LOOKUP_CODE
corresponding to the MEANING and TYPE.
getPOVendorId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes VENDOR_NAME as the input
parameter, and queries the table AP_SUPPLIERS to get the VENDOR_ID
corresponding to the VENDOR_NAME.
getPaymentTermId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes PAYMENT_TERM_NAME
as the input parameter, and queries the table RA_TERMS_B to get the TERM_ID
corresponding to the PAYMENT_TERM_NAME.
getRoutingHeaderId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ROUTING_NAME as the
input parameter, and queries the table RCV_ROUTING_HEADERS to get the
ROUTING_HEADER_ID corresponding to the ROUTING_NAME
getRuleId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes RULE_NAME as the input parameter,
and queries the table RA_RULES to get the RULE_ID corresponding to the input
parameters.
getServiceableItemClassId is a transformer for mapping the business document
IData structure to the interface table IData structure. It takes
SERVICEABLE_ITEM_CLASS_NAME as the input parameter, and queries the
320 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 321
4 Manufacturing Predefined Transaction Services
322 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 323
4 Manufacturing Predefined Transaction Services
324 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 325
4 Manufacturing Predefined Transaction Services
326 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 327
4 Manufacturing Predefined Transaction Services
328 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 329
4 Manufacturing Predefined Transaction Services
330 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 331
4 Manufacturing Predefined Transaction Services
332 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 333
4 Manufacturing Predefined Transaction Services
334 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 335
4 Manufacturing Predefined Transaction Services
336 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 337
4 Manufacturing Predefined Transaction Services
338 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 339
4 Manufacturing Predefined Transaction Services
340 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service does not use database scripts.
Flow Control
This service uses the following flow steps to import master schedules:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getOrgId is a common utility and a transformer for mapping the business
document IData structure to the interface table IData structure. It takes
ORGANIZATION_NAME as the input parameter, and queries the table
ORG_ORGANIZATION_DEFINITIONS to get the ORGANIZATION_ID
corresponding to the ORGANIZATION_NAME.
getOASystemDateObject returns the Oracle Applications system date as a date
object.
getOracleAppsUserId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ORACLE_APPS_USER_NAME as the input parameter from the business
document, and queries the table FND_USER to get the USER_ID. The USER_ID
information is required for insertion into the interface tables.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 341
4 Manufacturing Predefined Transaction Services
342 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 343
4 Manufacturing Predefined Transaction Services
intervals, and transactions processed by the worker. The mode of operation for these
managers is governed by the setting of profile options prefixed by the letters TP
(transaction processing). Therefore, this inbound transaction has no custom package.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_movetrans.sql Runs the scripts listed below, except the uninstall
script.
wm_into_movetrans_seq.sql Creates the following component:
WM_WIP_TRANS_ID_S, which creates the
TRANSACTION_ID sequence
wm_drop_into_movetrans.sql Uninstalls all components created by
wm_install_into_movetrans.sql.
Flow Control
This service uses the following flow steps to import moved items:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
pickSequence generates the current sequence number from the sequence
WM_WIP_TRANS_ID_S.
getOASystemDateObject returns the Oracle Applications system date as a date
object.
344 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 345
4 Manufacturing Predefined Transaction Services
346 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 347
4 Manufacturing Predefined Transaction Services
This service imports periodic costs for the first open period. Costs in subsequent periods
are calculated by Oracle Applications.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_periodiccost.sql Runs the scripts listed below, except the uninstall
script.
wm_into_periodiccost_pkg.sql Installs
WM_PC_IMP_HANDLER_PKG.WM_HANDLE_
PC_IMP_TXN, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Periodic Cost Import
process.
348 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Script Description
wm_into_periodiccost_seq.sql Creates the following components:
WM_CST_PC_INTERFACE_HEADER_S,
which creates the INTERFACE_HEADER_ID
sequence
WM_CST_PC_INTERFACE_LINE_S, which
creates the INTERFACE_LINE_ID sequence
wm_drop_into_periodiccost.sql Uninstalls all components created by
wm_install_into_periodiccost.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import periodic costs:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default settings required for concurrent program
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getInventoryItemId is a transformer for mapping the incoming business document to
the interface table structure. This service selects the inventory item ID from the
organization name and item code.
costElementLookUp looks up transformers that transform the cost element text to
the cost element flag.
levelTypeLookUp looks up table to transform the level Type text to its desired value.
setPeriodicCostTxn inserts data into the interface table. It extracts data from the IData
structure that results from the bizDocMapping service, and puts the data into the
interface table in Oracle Applications for Periodic Cost.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 349
4 Manufacturing Predefined Transaction Services
importPeriodicCost imports data into the production table from the interface table. It
then calls the services execPeriodicCostConcProg, checkPeriodicCostImportStatus,
and importPeriodicCost_ERR to execute the corresponding concurrent program that
inserts data into the production table, and to generate the error/acknowledgement
message. If the status of the execution is SUCCESS (returned by the service
execPeriodicCostConcProg), it checks for the record having the returned request ID in
the error interface table. If one is found, it indicates an error during import. In this
case, this service calls importPeriodicCostImport_ERR to retrieve the errors. If no
record is found, it comes out of the flow, indicating success of the data import
process. If the status of the execution is FAILED, it returns the appropriate error
message and comes out of execution.
execPeriodicCostConcProg invokes the stored procedure
WM_PC_IMP_HANDLER_PKG.WM_HANDLE_PERIODIC_COST. The
procedure calls the corresponding concurrent subroutine to execute the data
import process for Periodic Cost into Oracle Applications. This service returns
Status ID, Request ID, Execution Status Message (for normal concurrent program
completion), and database Stored Procedure error message (if an exception occurs
in Stored Procedure execution).
checkPeriodicCostImportStatus checks whether the previous step resulted in any
error records for the interface records processed.
getPeriodicCostImport_ERR gets the error message that occurs during the data
import into the production table from the interface table. Based on the parameter
request ID, it scans tables CST_PC_ITEM_COST_INTERFACE and
CST_PC_COST_DET_INTERFACE to get the corresponding message matches to
the request ID.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
350 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 351
4 Manufacturing Predefined Transaction Services
352 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
This service adds new quality results to, or updates existing quality results in, the Oracle
Applications Quality Data Repository.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_qacollection.sql Runs the scripts listed below, except the uninstall
script.
wm_into_qacollection_pkg.sql Installs
WM_QA_IMP_HANDLER_PKG.WM_HANDLE
_QA, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Quality Collection
Import process. The process in the QA module is
Collection Import.
wm_drop_into_qacollection.sql Uninstalls all components created by
wm_install_into_qacollection.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 353
4 Manufacturing Predefined Transaction Services
Flow Control
This service uses the following flow steps to add or update quality results:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables). In the process, it sets two flags
(IS_INSERT and IS_UPDATE) to determine whether the incoming document contains
Insert Transactions, Update Transactions, or both.
getOrgIdAndCode is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ORGANIZATION_NAME
as the input parameter, and queries the table
ORG_ORGANIZATION_DEFINITIONS to get the ORGANIZATION_ID and
ORGANIZATION_CODE corresponding to the ORGANIZATION_NAME.
getWIPEntityId is a transformer for mapping the business document that takes the
WIP_ENTITY_NAME as input, and returns WIP_ENTITY_ID.
insertTypeLookUp converts the incoming insert type to a value.
getPOAgentId is a transformer that takes FULL_NAME as input, and returns the
Agent ID by querying the database.
checkInsertType checks the type of actions to import the data into the production
table. There can be two modes of import: insert and update. This service checks
the incoming data string for the mode, and sets the IS_INSERT or IS_UPDATE
flag to Y for further use.
importQualityCollection imports data to the production table from the interface table.
Depending on the action type (Insert or Update), it calls the service
execQualityCollectionConcProg with the appropriate parameters to execute the
corresponding concurrent program that inserts data into the production table, and
that generates the error/acknowledgement message. If the status of the execution is
SUCCESS (returned by the service execQualityCollectionConcProg), it checks for
records in the interface table. If records are found, it then indicates an error during
import. In this case, this service calls getQualityCollectionImport_ERR to retrieve the
errors. If records are not found, it comes out of the flow, indicating success of the data
import process. If the status of the execution is FAILED, it comes out of execution.
Include one new parameter in ConcProgParams in Input/ Output section. Then in
Branch for Insert and Update, this parameter needs to be mapped in the called service
execQualityCollectionConcProg.
execQualityCollectionConcProg invokes the stored procedure
WM_QA_IMP_HANDLER_PKG.WM_HANDLE_QA. The procedure calls the
corresponding concurrent subroutine to execute the data import process for
Quality Collection into Oracle Applications. This service returns Status ID,
354 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 355
4 Manufacturing Predefined Transaction Services
356 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
This service imports replenishment requests from external systems, such as barcode
applications. These requests can be stock-take counts or requisition requests for
subinventories where quantities are not tracked. It can also be used to process requisition
requests generated by external applications for tracked subinventories.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 357
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_replenish.sql Runs the scripts listed below, except the uninstall
script.
wm_into_replenish_pkg.sql Installs
WM_OPEN_REPLENISH_HANDLER_PKG.WM_
HANDLE_OPEN_REPLENISH, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Replenishment Import
process.
wm_drop_into_replenish.sql Uninstalls all components created by
wm_install_into_replenish.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import replenishment requests:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default settings required for concurrent program
execution. You should change these settings accordingly.
bizDocMapping service maps the incoming business document structure to the required
Oracle Applications data structures (the interface tables).
getLocationId is a transformer that transforms the LOCATION_CODE to its ID that
is required and understood by Oracle Applications database.
getUOMCode is a transformer for mapping the incoming business document to the
interface table structure. This service selects the Unit Of Measure (UOM) code
from the given UNIT_OF_MEASURE string.
358 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
setReplenishmentTxn inserts data into the interface table. It extracts data from the IData
structure that results from the bizDocMapping service, and puts the data into the
interface table in Oracle Applications for Replenishment.
importReplenishment imports data to the production table from the interface table. It
then calls the services execReplenishmentConcProg,
checkReplenishmentImportStatus, and getReplenishmentImport_ERR to execute the
corresponding concurrent program that inserts data into the production table, and to
generate the error/acknowledgement message. If the status of the execution is
SUCCESS (returned by the service execReplenishmentConcProg), it checks for the
record having the returned request ID in the error interface table. If a record is found,
it indicates an error during import. In this case, this service calls
getReplenishmentImport_ERR to retrieve the errors. If no record is found, it comes
out of the flow, indicating success of the data import process. If the status of the
execution is FAILED, it presents an error message and stops execution.
execReplenishmentConcProg invokes the stored procedure
WM_OPEN_REPLENISH_HANDLER_PKG.WM_HANDLE_OPEN_
REPLENISH, which calls the corresponding concurrent subroutine to execute the
data import process for Replenishment into Oracle Applications. This service
returns Status ID, Request ID, Execution Status Message (for normal concurrent
program completion), and database Stored Procedure error message (if an
exception occurs in Stored Procedure execution).
mapExecStatus captures the concurrent program execution status. If the status
returned is SUCCESS, it checks whether the data has been uploaded into
production database tables.
mapExecErrorStatus captures the concurrent program execution error message. If
the status returned is FAILED, it maps relevant messages to
dbErrorMsgRecordSet and concProgMsgRecordSet, and control returns to the
calling flow service (receiveReplenishment).
checkReplenishmentImportStatus service checks the status of the execution by
checking the Error Interface Table. If the query does not return rows, it indicates a
successful import. If rows exist in the Error Interface table, it indicates that the
concurrent program could not import data successfully in the production tables
of Oracle Applications.
getReplenishmentImport_ERR gets the error message that occurs during the data
import to the production table from interface table. Based on the parameter Count
Name, it scans the tables MTL_REPLENISH_HEADERS_INT and
MTL_REPLENISH_LINES_INT to get the corresponding message matches to the
count name.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 359
4 Manufacturing Predefined Transaction Services
360 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 361
4 Manufacturing Predefined Transaction Services
This service imports work-in-process (WIP) resource transactions. The Open Resource
Transaction Interface program validates the data you load in the Open Resource
Transaction Interface tables by ensuring that the columns in the interface tables reference
the appropriate values and columns in the rest of the system.
The Cost Manager handles the import process. Interface managers run continuously at
regular intervals. They control the number of transaction workers, processing intervals,
and number of transactions processed by the worker. The mode of operation for these
managers is governed by the setting of profile options prefixed by the letters TP
362 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
(transaction processing). The Cost Manager is also responsible for costing for other
transactions, such as material transactions. Thus, no concurrent process is defined in this
service.
Database Scripts
This service does not use database scripts.
Flow Control
This service uses the following flow steps to import resource transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
getOrgIdAndCode is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ORGANIZATION_NAME
as input, and queries the table ORG_ORGANIZATION_DEFINITIONS to get the
ORGANIZATION_ID and the ORGANIZATION_CODE.
getOASystemDateObject returns the Oracle Applications system date as a date
object.
getOracleAppsUserId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes
ORACLE_APPS_USER_NAME as the input parameter from the business
document, and queries the table FND_USER to get the USER_ID. The USER_ID
information is required for insertion into the interface tables.
getAcctPeriodId is a transformer for mapping the incoming business document to
the interface table data structure for Open resource interface. This service takes
Period Name as input, and returns Period ID as output, querying the Oracle
Applications database.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 363
4 Manufacturing Predefined Transaction Services
364 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 365
4 Manufacturing Predefined Transaction Services
366 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
This service imports planned orders, planned order update recommendations, and
suggested repetitive schedules all at once, from any source including planning systems,
order entry systems, finite scheduling packages, production line sequencing programs,
spreadsheets, and even custom entry forms.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_workorder.sql Runs the scripts listed below, except the uninstall
script.
wm_into_workorder_pkg.sql Installs
WM_WIP_IMP_HANDLER_PKG.WM_HANDLE_
WIP_JOB, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Work Order Import
process.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 367
4 Manufacturing Predefined Transaction Services
Script Description
wm_into_workorder_seq.sql Creates the following components:
WM_WIP_GROUP_ID_S, which creates the
GROUP_ID sequence
WM_WIP_HEADER_ID_S, which creates the
HEADER_ID sequence
wm_drop_into_workorder.sql Uninstalls all components created by
wm_install_into_workorder.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import work orders:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
pickSequence generates a sequence value for group ID.
bizDocMapping service maps the incoming business document structure to the required
Oracle Applications data structures (the interface tables).
getInventoryItemId returns the INVENTORY_ITEM_ID corresponding to the
supplied ITEM_CODE and the ORGANIZATION_NAME. This service is a
transformer in bizDocMapping.
getKanbanCardId returns the KANBAN_CARD_ID corresponding to the supplied
KANBAN_CARD_NUMBER. This service is a transformer in bizDocMapping.
convertToDateObject returns the outDate as a date object corresponding to the
supplied inDate, which is in text format. This service is a transformer in
bizDocMapping.
368 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 369
4 Manufacturing Predefined Transaction Services
370 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 371
4 Manufacturing Predefined Transaction Services
372 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 373
4 Manufacturing Predefined Transaction Services
374 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 375
4 Manufacturing Predefined Transaction Services
This service sends to the webMethods Integration Server information about the parent,
component, and substitutes Engineering Bills of Material items as well as revisions.
376 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_engbom.sql Runs the scripts listed below, except the uninstall
script.
wm_from_engbom_vw.sql Creates the following required view components for
Engineering Bills of Material outbound transactions:
WM_ENG_BOM_BILL_OF_MTLS_VW
WM_ENG_BOM_ITEM_REVISIONS_VW
WM_ENG_BOM_INVENTORY_COMPS_VW
WM_ENG_BOM_SUBSTITUTE_COMPS_VW
WM_ENG_BOM_REFERENCE_DESGS_VW
WM_ENG_BOM_BILL_OF_MTLS_QRY_VW
wm_from_engbom_trg.sql Create the following trigger components to be used
for writing to the WM_TRACKCHANGES table to
indicate a new or updated document:
WM_ENG_BOM_BILL_OF_MTL_IUD_TRG
WM_ENG_MTL_ITEM_REV_IUD_TRG
WM_ENG_BOM_INV_COMPS_IUD_TRG
WM_ENG_BOM_SUB_COMPS_IUD_TRG
WM_ENG_BOM_REF_DESGS_IUD_TRG
wm_disable_from_engbom.sql Disables the triggers installed by
wm_from_engbom_trg.sql.
wm_enable_from_engbom.sql Re-enables the triggers installed by
wm_from_engbom_trg.sql.
wm_drop_from_engbom.sql Uninstalls all components created by
wm_install_from_engbom.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 377
4 Manufacturing Predefined Transaction Services
For information about using the transaction definition files to customize this service, see
“Transaction Definitions” on page 26.
Flow Control
The main flow sendEngineeringBOM executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendEngineeringBOM service is ready for
execution. That is, it determines whether there is no other instance of this service
already in process.
If lockTxnCtrl service returns False, it means that another instance of this service is
already in process. The service exits and waits for next scheduled execution.
If lockTxnCtrl service returns True, it means that the service is ready to execute, the
Engineering BOM row in the control table is locked and updated, and the status is
changed to INPROCESS. This prevents any other Engineering BOM service from
executing.
getEngineeringBOMTxn queries the Oracle Applications database for any Engineering
BOM Transaction to be processed. The number of records returned depends on the
parameter value specified in the above map.
processBizDoc is the customizable step that sends the business document to a trading
partner. You must customize this step to receive a Success or an Error status of the
document transfer. If an error occurs in a particular business document transfer, then
the error information is sent back to the calling service (sendEngineeringBOM). The
error information passed back should have the document identifiers. If a particular
document is transferred successfully to the trading partner, no information needs to
be sent back to the calling program (sendEngineeringBOM).
Based on the Debug Mode specified during execution, it either purges or updates the
records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are updated, and the PROCESSED_FLAG is set to
Y. This ensures that the same set of records is not picked up during next polling
interval. The updateTrackChanges service updates the PROCESSED_FLAG in the
WM_TRACKCHANGES table to Y so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are deleted; purgeTrackChanges purges the records
from the WM_TRACKCHANGES table.
If an error occurs when transferring the business document, the insertTransferERRInfo
service inserts a new record in the WM_TRACKCHANGES table so that same
document can be picked up during the next polling interval.
378 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Any document that is created and deleted in between two successive polling
operations will not be delivered. Such records are not selected by
getEngineeringBOMTxn service; thus they are not updated as processed or purged in the
WM_TRACKCHANGES table.
If the Debug Mode is TRUE, then updateUnqualifiedRec service recognizes such
records and updates the corresponding PROCESSED_FLAG to Y.
If the Debug Mode is FALSE, then purgeUnqualifiedRec service recognizes such
records and deletes them from the WM_TRACKCHANGES table.
unlockTxnCtrl releases the lock on the Custom Control table so that next polling
instance of sendEngineeringBOM service can begin.
If the document transfer is successful, the flow exits.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
1.0. BOM_ENG_BILL_OF_MTLS
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE ENGBOM will be
populated in this field.
DOCUMENT_STATUS UPDATE or INSERT will
be populated in this field.
BILL_SEQUENCE_ID BOM_BILL_O BILL_ Unique identifier for bill.
F_MATERIAL SEQUENCE_I
S D
ITEM_NUMBER MTL_SYSTEM CONCATENA Segmented item number.
_ITEMS_B_ TED_SEGMEN
KFV TS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 379
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
COMMON_ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated segments
_ITEMS_B_ TED_SEGMEN for the common bill item.
KFV TS
COMMON_ORG_NAME HR_ALL_ NAME Organization name for the
ORGANIZATI common bill.
ON_UNITS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ designator code.
S DESIGNATOR
SPECIFIC_ASSEMBLY_ BOM_BILL_O SPECIFIC_ Specific Bill of Materials
COMMENT F_MATERIAL ASSEMBLY_ comment.
S COMMENT
PENDING_FROM_ECN BOM_BILL_O PENDING_ Engineering change notice
F_MATERIAL FROM_ECN that created this Bill of
S Materials.
ASSEMBLY_TYPE BOM_BILL_O ASSEMBLY_
F_MATERIAL TYPE
S
DEMAND_SOURCE_LINE Not used for Bills of
Material outbound
transactions.
SET_ID Not used for Bills of
Material outbound
transactions.
DEMAND_SOURCE_TYPE Not used for Bills of
Material outbound
transactions.
DEMAND_SOURCE_HEAD Not used for Bills of
ER_ID Material outbound
transactions.
NEXT_EXPLODE_DATE BOM_BILL_O NEXT_ Next date when pre-
F_MATERIAL EXPLODE_ explosion will be
S DATE refreshed.
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
380 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
UOM MTL_UNITS_ UNIT_OF_ Units of measure.
OF_MEASURE MEASURE
_TL
REVISION Not used for Bills of
Material outbound
transactions.
IMPLEMENTATION_DATE BOM_BILL_O IMPLEMENT Implementation date.
F_MATERIAL ATION_DATE
S
1.1. MTL_ITEM_REVISIONS
Oracle
Applications
Document Field Table/View Name Column Name Description
BILL_SEQUENCE_ID BOM_INVEN BILL_ Unique bill identifier.
TORY_COMP SEQUENCE_I
ONENTS D
ITEM_NUMBER MTL_SYSTEM CONCATENA Segmented item number.
_ITEMS_B_ TED_SEGME
KFV NTS
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
REVISION MTL_ITEM_ REVISION Item revision code.
REVISIONS
CHANGE_NOTICE MTL_ITEM_ CHANGE_ Engineering change order
REVISIONS NOTICE number.
ECN_INITIATION_DATE MTL_ITEM_ ECN_ Engineering change order
REVISIONS INITIATION_ initiation date.
DATE
IMPLEMENTATION_DATE MTL_ITEM_ IMPLEMENT Engineering change order
REVISIONS ATION_DATE implementation date.
EFFECTIVITY_DATE MTL_ITEM_ EFFECTIVITY Revision effective date.
REVISIONS _DATE
REVISED_ITEM_SEQUENC MTL_ITEM_ REVISED_ITE Revised item sequence ID.
E_ID REVISIONS M_SEQUENC
E_ID
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 381
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
REVISION_LABEL MTL_ITEM_R REVISION_LA Revision label. (This field
EVISION BEL is in the table but not
shown in the
webMethods Developer;
it is for future use.)
REVISION_REASON MTL_ITEM_R REVISION_RE Revision reason. (This
EVISION ASON field is in the table but not
shown in the
webMethods Developer;
it is for future use.)
1.2. BOM_ENG_INVENTORY_COMPS
Oracle
Applications
Document Field Table/View Name Column Name Description
COMPONENT_SEQUENCE BOM_ COMPONENT Unique component
_ID INVENTORY_ _SEQUENCE_ identifier.
COMPONENT ID
S
BILL_SEQUENCE_ID BOM_ BILL_ Unique bill identifier.
INVENTORY_ SEQUENCE_I
COMPONENT D
S
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Inventory item number of
_ITEMS_B_ TED_SEGME the assembly.
KFV NTS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ designator code.
S DESIGNATOR
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
COMPONENT_ITEM_NUM MTL_SYSTEM CONCATENA
BER _ITEMS_B_ TED_SEGME
KFV NTS
OPERATION_SEQ_NUM BOM_ OPERATION_ Operation sequence
INVENTORY_ SEQ_NUM number.
COMPONENT
S
382 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
EFFECTIVITY_DATE BOM_ EFFECTIVITY Effective date.
INVENTORY_ _DATE
COMPONENT
S
LOCATION_NAME MTL_ITEM_ DESCRIPTIO Supply locator name.
LOCATIONS N
SUBSTITUTE_COMPONEN Not used for Bills of
T_NUMBER Material outbound
transactions.
ITEM_NUM BOM_ ITEM_NUM Item sequence in Bill of
INVENTORY_ Materials structure.
COMPONENT
S
COMPONENT_QUANTITY BOM_ COMPONENT Quantity of component in
INVENTORY_ _QUANTITY Bill of Materials.
COMPONENT
S
COMPONENT_YIELD_FAC BOM_ COMPONENT Multiply this factor with
TOR INVENTORY_ _YIELD_FACT component quantity to
COMPONENT OR find required component
S quantity.
COMPONENT_REMARKS BOM_ COMPONENT Component remarks.
INVENTORY_ _REMARKS
COMPONENT
S
CHANGE_NOTICE BOM_ CHANGE_ Engineering change order
INVENTORY_ NOTICE number.
COMPONENT
S
IMPLEMENTATION_DATE BOM_ IMPLEMENT Date the engineering
INVENTORY_ ATION_DATE change order was
COMPONENT implemented.
S
DISABLE_DATE BOM_ DISABLE_DA Disable date.
INVENTORY_ TE
COMPONENT
S
PLANNING_FACTOR BOM_ PLANNING_ Multiply this factor with
INVENTORY_ FACTOR component quantity to
COMPONENT find required planning
S quantity.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 383
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
QUANTITY_RELATED BOM_ QUANTITY_ Indicates whether this
INVENTORY_ RELATED component has quantity-
COMPONENT related reference
S designators.
SO_BASIS BOM_ SO_BASIS Oracle Order
INVENTORY_ Management uses this
COMPONENT quantity basis to
S determine how many
units of the component to
put on an order.
OPTIONAL BOM_ OPTIONAL Indicates if component is
INVENTORY_ optional on a bill.
COMPONENT
S
MUTUALLY_EXCLUSIVE_ BOM_ MUTUALLY_ Indicates if one or more
OPTIONS INVENTORY_ EXCLUSIVE_ children of component
COMPONENT OPTIONS can be picked when
S taking an order.
INCLUDE_IN_COST_ROLL BOM_ INCLUDE_IN Indicates whether to use
UP INVENTORY_ _COST_ROLL this component when
COMPONENT UP rolling up costs.
S
CHECK_ATP BOM_ CHECK_ATP Indicates whether ATP
INVENTORY_ check is required.
COMPONENT
S
SHIPPING_ALLOWED BOM_ SHIPPING_ Indicates whether
INVENTORY_ ALLOWED component is allowed to
COMPONENT ship.
S
REQUIRED_TO_SHIP BOM_ REQUIRED_T Indicates whether
INVENTORY_ O_SHIP component is required to
COMPONENT ship.
S
REQUIRED_FOR_REVENUE BOM_ REQUIRED_ Indicates whether
INVENTORY_ FOR_REVENU component is required for
COMPONENT E revenue.
S
INCLUDE_ON_SHIP_DOCS BOM_ INCLUDE_ON Indicates whether
INVENTORY_ _SHIP_DOCS component is displayed
COMPONENT on shipping documents.
S
384 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
LOW_QUANTITY BOM_ LOW_ Minimum quantity
INVENTORY_ QUANTITY allowed on an order.
COMPONENT
S
HIGH_QUANTITY BOM_ HIGH_ Maximum quantity
INVENTORY_ QUANTITY allowed on an order.
COMPONENT
S
ACD_TYPE BOM_ ACD_TYPE Add, change, or disable
INVENTORY_ the code for a component
COMPONENT on an engineering change
S order.
REVISED_ITEM_NUMBER MTL_SYSTEM CONCATENA
_ITEMS_B_KF TED_SEGME
V NTS
REVISION MTL_ITEM_ REVISION
REVISIONS
OLD_OPERATION_SEQ_NU BOM_ OPERATION_ Operation sequence
M INVENTORY_ SEQ_NUM number in the original
COMPONENT component record that an
S engineering change order
affects.
OLD_EFFECTIVITY_DATE BOM_ EFFECTIVITY Value of effective date in
INVENTORY_ _DATE the original component
COMPONENT record that an engineering
S change order affects.
WIP_SUPPLY_TYPE BOM_ WIP_SUPPLY_ WIP supply type code.
INVENTORY_ TYPE
COMPONENT
S
SUPPLY_SUBINVENTORY BOM_ SUPPLY_
INVENTORY_ SUBINVENTO
COMPONENT RY
S
REFERENCE_DESIGNATOR Not used for Engineering
Bills of Material outbound
Transaction.
NEW_OPERATION_SEQ_N Not used for Engineering
UM Bills of Material outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 385
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
NEW_EFFECTIVITY_DATE Not used for Engineering
Bills of Material outbound
transactions.
BOM_ITEM_TYPE BOM_ BOM_ITEM_ Type of item (de-
INVENTORY_ TYPE normalized from BOM
COMPONENT Item Type in
S MTL_SYSTEM_ITEMS).
OPERATION_LEAD_TIME_ BOM_ OPERATION_ Operation offset from first
PERCENT INVENTORY_ LEAD_TIME_ operation in routing.
COMPONENT PERCENT
S
ASSEMBLY_TYPE BOM_BILL_O ASSEMBLY_ Assembly type of the
F_MATERIAL TYPE parent bill.
S
INTERFACE_ENTITY_TYPE BOM_BILL_O DECODE Use Bill or ECO.
F_MATERIAL (BOM.ASSEM
S BLY_TYPE,
1,'BILL',
2,'ECO',
NULL)
UOM MTL_UNITS_ UNIT_OF_
OF_MEASURE MEASURE
_TL
TRANSACTION_TYPE Not used for Engineering
BOM outbound
transactions.
AUTO_REQUEST_MATERI BOM_INVEN AUTO_REQU Auto request material
AL TORY_COMP EST_MATERI (Y/N).
ONENTS AL
1.2.1. BOM_ENG_SUB_COMPS
Oracle
Applications
Document Field Table/View Name Column Name Description
SUBSTITUTE_COMP_NUM MTL_SYSTEM CONCATENA Substitute component
BER _ITEMS_B_KF TED_SEGME number.
V NTS
SUBSTITUTE_ITEM_QUAN BOM_ SUBSTITUTE_ Substitute component
TITY SUBSTITUTE_ ITEM_QUAN quantity.
COMPONENT TITY
S
386 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ACD_TYPE BOM_ ACD_TYPE Type to indicate add or
SUBSTITUTE_ delete on an engineering
COMPONENT change order.
S
CHANGE_NOTICE BOM_ CHANGE_ Engineering Change
SUBSTITUTE_ NOTICE Order (ECO) number.
COMPONENT
S
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Inventory item number of
_ITEMS_B_KF TED_SEGME assembly.
V NTS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Engineering
DESIGNATOR F_MATERIAL BOM_ Bills of Material
S DESIGNATOR designator code.
COMPONENT_ITEM_NUM MTL_SYSTEM CONCATENA Inventory item number of
BER _ITEMS_B_KF TED_SEGME component.
V NTS
OPERATION_SEQ_NUM BOM_ OPERATION_ Manufacturing operation
INVENTORY_ SEQ_NUM sequence number.
COMPONENT
S
EFFECTIVITY_DATE BOM_ EFFECTIVITY Effective date.
INVENTORY_ _DATE
COMPONENT
S
NEW_SUB_COMP_NUMBE Not used for Engineering
R BOM outbound
transactions.
INTERFACE_ENTITY_TYPE BOM_BILL_O DECODE Inventory item type.
F_MATERIAL (BOM
S ASSEMBLY_T
YPE, 1,'BILL',
2,'ECO',
NULL)
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 387
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
UOM MTL_UNITS_ UNIT_OF_
OF_MEASURE MEASURE
_TL
TRANSACTION_TYPE Not used for Engineering
BOM outbound
transactions.
1.2.2. BOM_ENG_REF_DESGS
Oracle
Applications
Document Field Table/View Name Column Name Description
COMPONENT_REFERENCE BOM_ COMPONENT Component reference
_DESIGNATOR REFERENCE_ _REFERENCE designator.
DESIGNATOR _DESIGNATO
S R
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA
_ITEMS_B_KF TED_SEGMEN
V TS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ identifier.
S DESIGNATOR
COMPONENT_ITEM_NUM MTL_SYSTEM CONCATENA
BER _ITEMS_B_ TED_SEGMEN
KFV TS
OPERATION_SEQ_NUM BOM_ OPERATION_ Manufacturing operation
INVENTORY_ SEQ_NUM sequence number.
COMPONENT
S
EFFECTIVITY_DATE BOM_ EFFECTIVITY Date when functionality
INVENTORY_ _DATE will be enabled.
COMPONENT
S
REF_DESIGNATOR_COMM BOM_ REF_ Reference designator
ENT REFERENCE_ DESIGNATOR comment.
DESIGNATOR _COMMENT
S
388 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
CHANGE_NOTICE BOM_ CHANGE_ Engineering change order
REFERENCE_ NOTICE number.
DESIGNATOR
S
ACD_TYPE BOM_ ACD_TYPE Add or delete code from
REFERENCE_ an engineering change
DESIGNATOR order.
S
NEW_DESIGNATOR Not used for Engineering
BOM outbound
transaction.
INTERFACE_ENTITY_TYPE BOM_BILL_O DECODE Use Bill or ECO.
F_MATERIAL (BOM.ASSEM
S BLY_TYPE,
1,'BILL',
2,'ECO',
NULL)
TRANSACTION_TYPE Not used for Engineering
BOM outbound
transaction.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 389
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_invitem.sql Runs the scripts listed below, except the uninstall
script.
wm_from_invitem_vw.sql Creates the following required view components for
item outbound transactions:
WM_INV_ITEMS_VW
WM_INV_ITEM_CATEGORIES_VW
WM_INV_ITEM_REVISIONS_VW
WM_INV_ITEMS_QRY_VW
wm_from_invitem_trg.sql Creates the following required trigger components
for item outbound transactions:
WM_MTL_SYSTEM_ITEMS_B_IU_TRG
WM_MTL_ITEM_CATEGORIES_IUD_TRG
WM_MTL_ITEM_REVISIONS_IU_TRG
wm_disable_from_invitem.sql Disables the triggers installed by
wm_from_invitem_trg.sql.
wm_enable_from_invitem.sql Re-enables the triggers installed by
wm_from_invitem_trg.sql.
wm_drop_from_invitem.sql Uninstalls all components created by
wm_install_from_invitem.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
390 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Flow Control
The main flow sendItem executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl service determines whether the sendItem service is ready for execution.
That is, it determines whether there is no other instance of this service already in
process.
If lockTxnCtrl service returns False, it means that another instance of this service is
already in process. The service exits and waits for next scheduled execution.
If lockTxnCtrl service returns True, it means that the service is ready to execute, the
Item row in the control table is locked and updated, and the status is changed to
INPROCESS. This prevents any other Item service from executing.
getItemTxn queries the Oracle Applications database for any Item transaction to be
processed. The number of records returned depends on the parameter value specified
in the above map.
processBizDoc is the customizable step that sends the business document to a trading
partner. You must customize this step to receive a Success or an Error status for the
document transfer. If an error occurs in a particular business document transfer, then
the error information is sent back to the calling service (sendItem). The error
information passed back should have the document identifiers. If a particular
document is transferred successfully to the trading partner, no information needs to
be sent back to the calling program (sendItem).
Based on the Debug Mode specified during execution, it either purges or updates the
records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are updated, and the PROCESSED_FLAG is set to
Y. This ensures that the same set of records is not picked up during next polling
interval. The updateTrackChanges service updates the PROCESSED_FLAG in the
WM_TRACKCHANGES table to Y so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are deleted. The purgeTrackChanges service purges
the records from the WM_TRACKCHANGES table.
If an error occurs in transferring the business document, the insertTransferERRInfo
service inserts a new record into the WM_TRACKCHANGES table so that same
document can be picked up during the next polling interval.
unlockTxnCtrl service releases the lock on the Custom Control table so that next polling
instance of sendItem service can begin.
If the document transfer is successful, the flow exits.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 391
4 Manufacturing Predefined Transaction Services
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
1.0. MTL_SYSTEM_ITEM
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID None
DOCUMENT_TYPE ITEM will be populated in
this field.
DOCUMENT_STATUS UPDATE or INSERT will
be populated in this field.
INV_ITEM_ORG_ID None Concatenated String
INVENTORY_ITEM_ID||’
-‘||ORGANIZATION_ID.
Not applicable for
queryItem service.
ITEM_NUMBER MTL_SYSTEM CONCATENA Segmented Item Number.
_ITEMS_B_ TED_SEGMEN
KFV TS
ORGANIZATION_NAME ORGANIZATI ORGANIZATI Derives
ON_ID ON_NAME ORGANIZATION_NAME
from
ORG_ORGANIZATION_
DEFINITIONS using
ORGANIZATION_ID.
SUMMARY_FLAG MTL_SYSTEM SUMMARY_ Flexfield summary flag.
_ITEMS_B FLAG
TAX_CODE MTL_SYSTEM TAX_CODE Tax code for the item.
_ITEMS_B
ENABLED_FLAG MTL_SYSTEM ENABLED_
_ITEMS_B FLAG
START_DATE_ACTIVE MTL_SYSTEM START_DATE Flexfield segment start
_ITEMS_B _ACTIVE date.
392 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
END_DATE_ACTIVE MTL_SYSTEM END_DATE_ Flex field segment end
_ITEMS_B ACTIVE date.
DESCRIPTION MTL_SYSTEM DESCRIPTION Item description.
_ITEMS_B
BUYER_FULL_NAME PER_ALL_ FULL_NAME Derives AGENT_ID from
PEOPLE_F PO_AGENTS,
PER_ALL_PEOPLE_F,
where
PO_AGENTS.AGENT_ID
= PER_ALL_PEOPLE_F.
PERSON_ID.
ACCOUNTING_RULE_NA RA_RULES RULE_NAME Derives the RULE_NAME
ME from RA_RULES for the
RULE_ID.
INVOICING_RULE_NAME RA_RULES RULE_NAME Derives the RULE_NAME
from RA_RULES for the
RULE_ID.
PURCHASING_ITEM_FLAG MTL_SYSTEM PURCHASIN Indicates whether item can
_ITEMS_B G_ITEM_FLA be purchased.
G
SHIPPABLE_ITEM_FLAG MTL_SYSTEM SHPPABLE_ Indicates whether the item
_ITEMS_B ITEM_FLAG can be shipped.
CUSTOMER_ORDER_FLAG MTL_SYSTEM CUSTOMER_
_ITEMS_B ORDER_FLAG
INTERNAL_ORDER_FLAG MTL_SYSTEM INTERNAL_
_ITEMS_B ORDER_FLAG
SERVICE_ITEM_FLAG MTL_SYSTEM SERVICE_ITE
_ITEMS_B M_FLAG
INVENTORY_ITEM_FLAG MTL_SYSTEM INVENTORY_
_ITEMS_B ITEM_FLAG
ENG_ITEM_FLAG MTL_SYSTEM ENG_ITEM_
_ITEMS_B FLAG
INVENTORY_ASSET_FLAG MTL_SYSTEM INVENTORY_
_ITEMS_B ASSET_FLAG
PURCHASING_ENABLED_ MTL_SYSTEM PURCHASIN Indicates whether item can
FLAG _ITEMS_B G_ENABLED_ be purchased
FLAG
CUSTOMER_ORDER_ MTL_SYSTEM CUSTOMER_ Indicates whether item is
ENABLED_FLAG _ITEMS_B ORDER_ENA customer orderable.
BLED_FLAG
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 393
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
INTERNAL_ORDER_ MTL_SYSTEM INTERNAL_ Indicates whether item is
ENABLED_FLAG _ITEMS_B ORDER_ENA internally orderable.
BLED_FLAG
SO_TRANSACTIONS_FLAG MTL_SYSTEM SO_ Sales Order Transaction
_ITEMS_B TRANSACTIO Flag.
NS_FLAG
MTL_TRANSACTIONS_EN MTL_SYSTEM MTL_ Indicates whether item can
ABLED_FLAG _ITEMS_B TRANSACTIO be processed.
NS_ENABLED
_FLAG
STOCK_ENABLED_FLAG MTL_SYSTEM STOCK_ Indicates item can be
_ITEMS_B ENABLED_ stocked.
FLAG
BOM_ENABLED_FLAG MTL_SYSTEM BOM_ Indicates whether item can
_ITEMS_B ENABLED_ appear on a Bill of
FLAG Materials.
BUILD_IN_WIP_FLAG MTL_SYSTEM BUILD_IN_WI Indicates whether item can
_ITEMS_B P_FLAG be built in WIP.
REVISION_QTY_CONTROL MFG_LOOKU MEANING Derives MEANING from
PS MFG_LOOKUPS, where
LOOKUP_TYPE is
MTL_ENG_QUANTITY
for LOOKUP_CODE.
ITEM_CATALOG_GROUP_ MTL_ITEM_ DESCRIPTION
DESCRIPTION CATALOG_
GROUPS
CATALOG_STATUS_FLAG MTL_SYSTEM CATALOG_ Indicates whether item is
_ITEMS_B STATUS_FLA catalog complete.
G
CHECK_SHORTAGES_FLA MTL_SYSTEM CHECK_ Indicates whether material
G _ITEMS_B SHORTAGES_ shortages should be
FLAG checked.
RETURNABLE_FLAG MTL_SYSTEM RETURNABLE Indicates whether item can
_ITEMS_B _FLAG be returned.
DEFAULT_SHIP_ ORG_ ORGANIZATI Derives
ORGANIZATION_NAME ORGANIZATI ON_NAME ORGANIZATION_NAME
ON_DEFINITI from
ONS ORG_ORGANIZATION_
DEFINITIONS.
COLLATERAL_FLAG MTL_SYSTEM COLLATERAL Indicates whether the item
_ITEMS_B _FLAG is a collateral item.
394 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
TAXABLE_FLAG MTL_SYSTEM TAXABLE_ Indicates whether the item
_ITEMS_B FLAG is taxable.
QTY_RCV_EXCEPTION_CO MTL_SYSTEM QTY_RCV_ Use:
DE _ITEMS_B EXCEPTION_ NONE for no receiving
CODE control enforced,
REJECT for prevent receipt
of goods or services, or
WARNING for display
warning message.
ALLOW_ITEM_DESC_UPD MTL_SYSTEM ALLOW_ITEM Indicates whether to allow
ATE_FLAG _ITEMS_B _DESC_UPDA item description updates
TE_FLAG on inventory item lines.
INSPECTION_REQUIRED_ MTL_SYSTEM INSPECTION_
FLAG _ITEMS_B REQUIRED_
FLAG
RECEIPT_REQUIRED_FLAG MTL_SYSTEM RECEIPT_ Indicates whether a
_ITEMS_B REQUIRED_ supplier receipt is
FLAG required.
MARKET_PRICE MTL_SYSTEM MARKET_PRI
_ITEMS_B CE
HAZARD_CLASS PO_HAZARD HAZARD_ Derives the
_CLASSES CLASS_NAM HAZARD_CLASS_NAME
E from
PO_HAZARD_CLASSES_
B.
RFQ_REQUIRED_FLAG MTL_SYSTEM RFQ_REQUIR Indicates whether an RFQ
_ITEMS_B ED_FLAG is required.
QTY_RCV_TOLERANCE MTL_SYSTEM QTY_RCV_ Maximum permissible
_ITEMS_B TOLERANCE amount over receipt
percentage.
LIST_PRICE_PER_UNIT MTL_SYSTEM LIST_PRICE_ List price per unit.
_ITEMS_B PER_UNIT
UN_NUMBER_ID MTL_SYSTEM UN_NUMBER Purchasing UN number.
_ITEMS_B _ID
PRICE_TOLERANCE_PERC MTL_SYSTEM PRICE_ Price tolerance percentage.
ENT _ITEMS_B TOLERANCE_
PERCENT
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 395
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ASSET_CATEGORY FA_ASSET_ CONCATENA Derives the
CATEGORIES TED_SEGMEN CONCATENATED_SEGM
_B_KFV T ENTS from
FA_CATEGORIES_B_KFV
for the
ASSET_CATEGORY_ID.
ROUNDING_FACTOR MTL_SYSTEM ROUNDING_ Determines order quantity.
_ITEMS_B FACTOR
UNIT_OF_ISSUE MTL_SYSTEM UNIT_OF_ISS
_ITEMS_B UE
ENFORCE_SHIP_TO_ MTL_SYSTEM ENFORCE_SH Requires receipt location
LOCATION_CODE _ITEMS_B IP_TO_LOCAT to match ship to location.
ION_CODE
ALLOW_SUBSTITUTE_ MTL_SYSTEM ALLOW_ Indicates whether
RECEIPTS_FLAG _ITEMS_B SUBSTITUTE_ substitute receipts are
RECEIPTS_ allowed.
FLAG
ALLOW_UNORDERED_RE MTL_SYSTEM ALLOW_ Indicates whether to allow
CEIPTS_FLAG _ITEMS_B UNORDERED unordered receipts.
_RECEIPTS_
FLAG
ALLOW_EXPRESS_DELIVE MTL_SYSTEM ALLOW_ Indicates whether to allow
RY_FLAG _ITEMS_B EXPRESS_ express delivery.
RECEIPTS_
FLAG
DAYS_EARLY_RECEIPT_AL MTL_SYSTEM DAYS_EARLY
LOWED _ITEMS_B _RECEIPT_
ALLOWED
DAYS_LATE_RECEIPT_ MTL_SYSTEM DAYS_LATE_
ALLOWED _ITEMS_B RECEIPT_
ALLOWED
RECEIPT_DAYS_EXCEPTIO MTL_SYSTEM RECEIPT_ Use:
N_CODE _ITEMS_B DAYS_ NONE for no receiving
EXCEPTION_ control enforced,
CODE REJECT for prevent receipt
of goods or services, or
WARNING for display
warning message.
RECEIVING_ROUTING_NA RCV_ROUTIN ROUTING_ Derives
ME G_HEADERS NAME ROUTING_NAME from
RCV_ROUTING_HEADE
RS for
RCV_ROUTING_ID.
396 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
INVOICE_CLOSE_TOLERA MTL_SYSTEM INVOICE_
NCE _ITEMS_B CLOSE_
TOLERANCE
RECEIVE_CLOSE_TOLERA MTL_SYSTEM RECEIVE_
NCE _ITEMS_B CLOSE_
TOLERANCE
AUTO_LOT_ALPHA_PREFI MTL_SYSTEM AUTO_LOT_ Lot prefix for lot number
X _ITEMS_B ALPHA_PREF controlled item.
IX
START_AUTO_LOT_NUMB MTL_SYSTEM START_AUTO Starting lot number.
ER _ITEMS_B _LOT_NUMBE
R
LOT_CONTROL MFG_LOOKU MEANING Derives MEANING from
PS MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_LOT_CONTRO for
the
LOT_CONTROL_CODE.
Use:
L for the meaning column,
1 for No lot control, or
2 for Full lot control.
SHELF_LIFE MFG_LOOKU MEANING Derives MEANING from
PS MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_SHELF_LIFE for the
SHELF_LIFE_CODE
column. Use:
1 for No shelf life control,
2 for Item shelf life days, or
4 for User-defined
expiration date.
SHELF_LIFE_DAYS MTL_SYSTEM SHELF_LIFE_ Number of shelf life days.
_ITEMS_B DAYS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 397
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
SERIAL_NUMBER_CONTR MFG_LOOKU MEANING Derives MEANING from
OL PS MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_SERIAL_NUMBER
for the
SERIAL_NUMBER_
CONTROL_CODE
column. Use:
1 for No serial number
control,
2 for Predefined serial
numbers,
5 for Dynamic entry at
inventory receipt, or
6 for Dynamic entry at
sales order issue.
START_AUTO_SERIAL_ MTL_SYSTEM START_AUTO
NUMBER _ITEMS_B _SERIAL_
NUMBER
AUTO_SERIAL_ALPHA_ MTL_SYSTEM AUTO_SERIA Serial number prefix.
PREFIX _ITEMS_B L_ALPHA_PR
EFIX
SOURCE_TYPE MFG_LOOKU MEANING For either Inventory or
PS Supplier. Derives
MEANING from
MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_SOURCE_TYPES for
the SOURCE_TYPE.
SOURCE_ORGANIZATION ORG_ORGAN ORGANIZATI Derives
IZATION_ ON_NAME ORGANIZATION_NAME
DEFINITIONS from
ORG_ORGANIZATION_
DEFINITIONS for the
SOURCE_ORGANIZATIO
N_ID.
SOURCE_SUBINVENTORY MTL_SYSTEM SOURCE_SUB
_ITEMS_B INVENTORY
EXPENSE_ACCOUNT GL_CODE_ CONCATENA Derived from
COMBINATIO TED_SEGMEN GL_CODE_COMBINATIO
NS_KFV TS NS_KFV for the
EXPENSE_ACCOUNT.
398 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ENCUMBRANCE_ACCOUN GL_CODE_ CONCATENA Derived from
T COMBINATIO TED_SEGMEN GL_CODE_COMBINATIO
NS_KFV TS NS_KFV for the
ENCUMBRANCE_
ACCOUNT.
RESTRICT_SUBINVENTORI MFG_LOOKU MEANING Derived from
ES PS MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_SUBINVENTORY_
RESTRICTIONS for the
RESTRICT_
SUBINVENTORIES_COD
E column. Use:
1 for Subinventories
restricted to pre-defined
list, or
2 for Subinventories not
restricted to pre-defined
list.
UNIT_WEIGHT MTL_SYSTEM UNIT_WEIGH
_ITEMS_B T
WEIGHT_UOM_CODE MTL_SYSTEM WEIGHT_ Weight unit of measure
_ITEMS_B UOM_CODE code.
VOLUME_UOM_CODE MTL_SYSTEM VOLUME_ Volume unit of measure
_ITEMS_B UOM_CODE code.
UNIT_VOLUME MTL_SYSTEM UNIT_VOLU
_ITEMS_B ME
RESTRICT_LOCATORS MFG_LOOKU MEANING Derived from
PS MFG_LOOKUPS, where
LOOKUP_TYPE=MTL_LO
CATOR_RESTRICTIONS
for the
RESTRICT_LOCATORS_C
ODE. Use:
1 for Locators restricted to
pre-defined list,
2 for Locators not
restricted to pre-defined
list.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 399
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
LOCATION_CONTROL MFG_LOOKU MEANING Derived from
PS MFG_LOOKUPS, where
LOOKUP_TYPE=MTL_LO
CATION_CONTROL for
the
LOCATION_CONTROL_
CODE column. Use:
1 for No locator control,
2 for Pre-specified locator
control,
3 for Dynamic entry
locator control,
4 for Locator control
determined at
subinventory level,
5 for Locator control
determined at item level.
SHRINKAGE_RATE MTL_SYSTEM SHRINKAGE_ Planned shrinkage rate.
_ITEMS_B RATE
ACCEPTABLE_EARLY_DAY MTL_SYSTEM ACCEPTABLE Days an order may be
S _ITEMS_B _EARLY_DAY early before rescheduling
S is recommended.
PLANNING_TIME_FENCE MFG_LOOKU MEANING Derived from
PS MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_TIME_FENCE for
the
PLANNING_TIME_FENC
E_CODE column. Use:
1 for Cumulative total lead
time,
2 for Cumulative
manufacturing lead time,
3 for Total lead time, or
4 for User-defined time
fence.
400 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
DEMAND_TIME_FENCE MFG_LOOKU MEANING Derived from
PS MFG_LOOKUPS where
LOOKUP_TYPE =
MTL_TIME_FENCE for
the
DEMAND_TIME_FENCE
_
CODE column. Use:
1 for Cumulative total lead
time,
2 for Cumulative
manufacturing lead time,
3 for Total lead time, or
4 for User-defined time
fence.
LEAD_TIME_LOT_SIZE MTL_SYSTEM LEAD_TIME_ Lead time lot size.
_ITEMS_B LOT_SIZE
STD_LOT_SIZE MTL_SYSTEM STD_LOT_SIZ Standard lot size.
_ITEMS_B E
CUM_MANUFACTURING_ MTL_SYSTEM CUM_ Cumulative lead time.
LEAD_TIME _ITEMS_B MANUFACTU
RING_LEAD_
TIME
OVERRUN_PERCENTAGE MTL_SYSTEM OVERRUN_ MRP repetitive overrun
_ITEMS_B PERCENTAGE rate.
MRP_CALCULATE_ATP_FL MTL_SYSTEM MRP_
AG _ITEMS_B CALCULATE_
ATP_FLAG
ACCEPTABLE_RATE_ MTL_SYSTEM ACCEPTABLE MRP repetitive acceptable
INCREASE _ITEMS_B _RATE_ rate increase.
INCREASE
ACCEPTABLE_RATE_ MTL_SYSTEM ACCEPTABLE MRP repetitive acceptable
DECREASE _ITEMS_B _RATE_ rate decrease.
DECREASE
CUMULATIVE_TOTAL_LEA MTL_SYSTEM CUMULATIV Cumulative total lead
D_TIME _ITEMS_B E_TOTAL_LE time.
AD_TIME
PLANNING_TIME_FENCE_ MTL_SYSTEM PLANNING_ Planning time fence.
DAYS _ITEMS_B TIME_FENCE
_DAYS
DEMAND_TIME_FENCE_D MTL_SYSTEM DEMAND_TI Demand time fence.
AYS _ITEMS_B ME_FENCE_D
AYS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 401
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
END_ASSEMBLY_PEGGING MTL_SYSTEM END_ End assembly pegging
_FLAG _ITEMS_B ASSEMBLY_ flag.
PEGGING_
FLAG
REPETITIVE_PLANNING_ MTL_SYSTEM REPETITIVE_ Repetitive planning flag.
FLAG _ITEMS_B PLANNING_
FLAG
PLANNING_EXCEPTION_S MTL_SYSTEM PLANNING_ Exception control set.
ET _ITEMS_B EXCEPTION_
SET
BOM_ITEM_TYPE MFG_LOOKU MEANING Derived from
PS MFG_LOOKUPS, where
LOOKUP_TYPE is
BOM_ITEM_TYPE for
BOM_ITEM_TYPE
column.
PICK_COMPONENTS_FLA MTL_SYSTEM PICK_
G _ITEMS_B COMPONENT
S_FLAG
REPLENISH_TO_ORDER_F MTL_SYSTEM REPLENISH_
LAG _ITEMS_B TO_ORDER_
FLAG
BASE_ITEM MTL_SYSTEM CONCATENA Derived from
_ITEMS_B_ TED_SEGMEN MTL_SYSTEM_ITEMS_B_
KFV TS KFV for the BASE_ITEM
_ID and Organization.
ATP_COMPONENTS_FLAG MTL_SYSTEM ATP_
_ITEMS_B COMPONENT
S_FLAG
ATP_FLAG MTL_SYSTEM ATP_FLAG Indicates whether ATP
_ITEMS_B must be checked when
ordering the item.
FIXED_LEAD_TIME MTL_SYSTEM FIXED_LEAD_ Fixed portion of the
_ITEMS_B TIME assembly lead time.
VARIABLE_LEAD_TIME MTL_SYSTEM VARIABLE_ Variable lead time.
_ITEMS_B LEAD_TIME
WIP_SUPPLY_LOCATOR MTL_ITEM_ CONCATENA Derived from
LOCATIONS_ TED_SEGMEN MTL_ITEM_LOCATIONS
KFV TS _KFV for the
WIP_SUPPLY_LOCATOR.
402 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
WIP_SUPPLY_TYPE MFG_LOOKU MEANING Derived from
PS MFG_LOOKUPS for
LOOKUP_TYPE
WIP_SUPPLY.
WIP_SUPPLY_SUBINVENT MTL_SYSTEM WIP_SUPPLY_
ORY _ITEMS_B SUBINVENTO
RY
PRIMARY_UOM_CODE MTL_SYSTEM PRIMARY_ Primary unit of measure
_ITEMS_B UOM_CODE code.
ALLOWED_UNITS_LOOKU MFG_LOOKU MEANING Allowed Units Lookup
P P Code. Derived from
MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_CONVERSION_TYP
E for the
ALLOWED_UNITS_
LOOKUP_CODE column.
COST_OF_SALES_ACCOUN GL_CODE_ CONCATENA Derives
T COMBINATIO TED_SEGMEN CONCATENATED_SEGM
NS_KFV TS ENTS from GL_CODE_
COMBINATIONS_KFV
for the COST_OF_SALES_
ACCOUNT segment.
SALES_ACCOUNT GL_CODE_ CONCATENA Derives
COMBINATIO TED_SEGMEN CONCATENATED_
NS_KFV TS SEGMENTS from
GL_CODE_
COMBINATIONS_KFV
for the
SALES_ACCOUNT.
DEFAULT_INCLUDE_IN_ MTL_SYSTEM DEFAULT_ Indicates whether to
OLLUP_FLAG _ITEMS_B INCLUDE_IN include default value in
_ROLLUP_FL cost rollup.
AG
INVENTORY_ITEM_STATU MTL_SYSTEM INVENTROY_ Inventory item status.
S_CODE _ITEMS_B ITEM_STATUS
_CODE
INVENTORY_PLANNING MFG_LOOKU MEANING Inventory Planning Code.
PS Derived from
MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_MATERIAL_
PLANNING.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 403
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
PLANNER_CODE MTL_SYSTEM PLANNER_
_ITEMS_B CODE
PLANNING_MAKE_BUY MTL_SYSTEM PLANNING_ Indicates whether item is
_ITEMS_B MAKE_BUY_ planned as manufactured
CODE or purchased. Derives
LOOKUP_CODE from
MFG_LOOKUPS, where
LOOKUP_TYPE =
MTL_PLANNING_MAKE
_BUY.
FIXED_LOT_MULTIPLIER MTL_SYSTEM FIXED_LOT_
_ITEMS_B MULTIPLIER
ROUNDING_CONTROL_TY MFG_LOOKU MEANING Rounding Control Code.
PE PS Derived from
MFG_LOOKUPS where
LOOKUP_TYPE =
MTL_ROUNDING for the
ROUNDING_CONTROL_
TYPE column.
CARRYING_COST MTL_SYSTEM CARRYING_ Annual carrying cost.
_ITEMS_B COST
POSTPROCESSING_LEAD_ MTL_SYSTEM POSTPROCES
TIME _ITEMS_B SING_LEAD_
TIME
PREPROCESSING_LEAD_TI MTL_SYSTEM PREPROCESSI
ME _ITEMS_B NG_LEAD_TI
ME
FULL_LEAD_TIME MTL_SYSTEM FULL_LEAD_ Full lead time.
_ITEMS_B TIME
ORDER_COST MTL_SYSTEM ORDER_COST
_ITEMS_B
MRP_SAFETY_STOCK_ MTL_SYSTEM MRP_SAFETY Safety stock percentage.
PERCENT _ITEMS_B _STOCK_
PERCENT
MRP_SAFETY_STOCK MFG_LOOKU MEANING Safety Stock Code. Derived
PS from MFG_LOOKUPS for
LOOKUP_TYPE
MTL_SAFETY_STOCK_T
YPE for the
MRP_SAFETY_STOCK_
CODE column.
404 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
MIN_MINMAX_QUANTITY MTL_SYSTEM MIN_MINMA Minimum minmax
_ITEMS_B X_QUANTITY quantity.
MAX_MINMAX_QUANTIT MTL_SYSTEM MAX_MINMA Maximum minmax
Y _ITEMS_B X_QUANTITY quantity.
MINIMUM_ORDER_ MTL_SYSTEM MINIMUM_ Minimum order quantity.
QUANTITY _ITEMS_B ORDER_
QUANTITY
FIXED_ORDER_QUANTITY MTL_SYSTEM FIXED_ORDE
_ITEMS_B R_QUANTITY
FIXED_DAYS_SUPPLY MTL_SYSTEM FIXED_DAYS_
_ITEMS_B SUPPLY
MAXIMUM_ORDER_ MTL_SYSTEM MAXIMUM_
QUANTITY _ITEMS_B ORDER_
QUANTITY
ATP_RULE_NAME MTL_ATP_ RULE_NAME Derives RULE_NAME
RULES from MTL_ATP_RULES
for the ATP_RULE_ID.
PICKING_RULE_NAME MTL_PICKIN PICKING_RU Derives
G_RULES LE_NAME PICKING_RULE_NAME
from
MTL_PICKING_RULES
for PICKING_RULE_ID.
RESERVABLE_TYPE MFG_LOOKU MEANING Derives from
PS MFG_LOOKUPS for
LOOKUP_TYPE
MTL_RESERVATION_
CONTROL.
POSITIVE_MEASUREMENT MTL_SYSTEM POSITIVE_ Percent error above
_ERROR _ITEMS_B MEASUREME measured quantity.
NT_ERROR
NEGATIVE_MEASUREMEN MTL_SYSTEM NEGATIVE_ Percent error below
T_ERROR _ITEMS_B MEASUREME measured quantity.
NT_ERROR
ENGINEERING_ECN_COD MTL_SYSTEM ENGINEERIN Engineering ECN Code.
E _ITEMS_B G_ECN_CODE
ENGINEERING_ITEM MTL_SYSTEM CONCATENA Derives from
_ITEMS_B_KF TED_SEGMEN MTL_SYSTEM_ITEMS_B_
V TS KFV for the
ENGINEERING_ITEM_
ID.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 405
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ENGINEERING_DATE MTL_SYSTEM ENGINEERIN
_ITEMS_B G_DATE
SERVICE_START_DATE MTL_SYSTEM SERVICE_STA Service start date. Used in
_ITEMS_B RT_DATE inbound transactions only.
SERVICE_STARTING_DELA MTL_SYSTEM SERVICE_STA Days after shipment that
Y _ITEMS_B RTING_DELA service begins.
Y
VENDOR_WARRANTY_FL MTL_SYSTEM VENDOR_
AG _ITEMS_B WARRANTY_
FLAG
SERVICEABLE_COMPONE MTL_SYSTEM SERVICEABLE
NT_FLAG _ITEMS_B _COMPONEN
T_FLAG
SERVICEABLE_PRODUCT_ MTL_SYSTEM SERVICEABLE
FLAG _ITEMS_B _PRODUCT_
FLAG
BASE_WARRANTY_SERVIC MTL_SYSTEM CONCATENA Derived from
E_ITEM _ITEMS_B_KF TED_SEGMEN MTL_SYSTEM_ITEMS_B_
V TS KFV for the
BASE_WARRANTY_
SERVICE_ITEM_ID and
organization.
PAYMENT_TERM_NAME RA_TERMS_B TERM_NAME Derived from
RA_TERMS_B.
PREVENTATIVE_ MTL_SYSTEM PREVENTATI
MAINTENANCE_FLAG _ITEMS_B VE_MAINTEN
ANCE_FLAG
PRIMARY_SPECIALIST_FU PER_ALL_ FULL_NAME Derived from
LL_NAME PEOPLE_F PER_ALL_PEOPLE_F for
PRIMARY_SPECIALIST_I
D.
SECONDARY_SPECIALIST_ PER_ALL_ FULL_NAME Derived from
FULL_NAME PEOPLE_F PER_ALL_PEOPLE_F for
SECONDARY_SPECIALIS
T_ID.
SERVICEABLE_ITEM_CLAS CS_ SERVICEABLE Derived
S_NAME SERVICEABLE _ITEM_CLASS CS_SERVICEABLE_ITEM
_ITEM_CLASS _NAME _CLASSES for the
ES SERVICEABLE_ITEM_
CLASS_ID.
TIME_BILLABLE_FLAG MTL_SYSTEM TIME_BILLAB Indicates whether service
_ITEMS_B LE_FLAG hours are billable.
406 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
MATERIAL_BILLABLE_FLA MTL_SYSTEM MATERIAL_ Indicates whether service
G _ITEMS_B BILLABLE_ items are billable.
FLAG
EXPENSE_BILLABLE_FLAG MTL_SYSTEM EXPENSE_ Indicates whether service
_ITEMS_B BILLABLE_ expenses are billable.
FLAG
PRORATE_SERVICE_FLAG MTL_SYSTEM PRORATE_ Indicates cost of service
_ITEMS_B SERVICE_FLA may be prorated.
G
COVERAGE_SCHEDULE_ CS_COVERAG COVERAGE_ Derived from
NAME E_SCHEDULE SCHEDULE_ CS_COVERAGE_
S NAME SCHEDULES for the
COVERAGE_SCHEDULE
_ID
SERVICE_DURATION_PERI MTL_SYSTEM SERVICE_ Service duration period
OD_CODE _ITEMS_B DURATION_ code.
PERIOD_COD
E
SERVICE_DURATION MTL_SYSTEM SERVICE_ Default service duration.
_ITEMS_B DURATION
WARRANTY_VENDOR_NA AP_SUPPLIER VENDOR_ Derived from
ME S NAME AP_SUPPLIERS for the
WARRANTY_VENDOR_I
D.
MAX_WARRANTY_AMOU MTL_SYSTEM MAX_ Maximum warranty
NT _ITEMS_B WARRANTY_ amount.
AMOUNT
REPONSE_TIME_PERIOD_ MTL_SYSTEM RESPONSE_ Response time period
CODE _ITEMS_B TIME_PERIOD code.
_CODE
RESPONSE_TIME_VALUE MTL_SYSTEM RESPONSE_ Response time value.
_ITEMS_B TIME_VALUE
INVOICEABLE_ITEM_FLAG MTL_SYSTEM INVOICEABL Indicates whether item can
_ITEMS_B E_ITEM_FLA be invoiced.
G
INVOICE_ENABLED_FLAG MTL_SYSTEM INVOICE_
_ITEMS_B ENABLED_
FLAG
MUST_USE_APPROVED_ MTL_SYSTEM MUST_USE_ Indicates whether
VENDOR_FLAG _ITEMS_B APPROVED_ purchases are restricted to
VENDOR_FL an approved supplier.
AG
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 407
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
OUTSIDE_OPERATION_FL MTL_SYSTEM OUTSIDE_
AG _ITEMS_B OPERATION_
FLAG
OUTSIDE_OPERATION_UO MTL_SYSTEM OUTSIDE_
M_TYPE _ITEMS_B OPERATION_
UOM_TYPE
SAFETY_STOCK_BUCKET_ MTL_SYSTEM SAFETY_STO Safety stock bucket days.
DAYS _ITEMS_B CK_BUCKET_
DAYS
AUTO_REDUCE_MPS MTL_SYSTEM AUTO_ Automatically deletes MPS
_ITEMS_B REDUCE_MPS entries in a period.
COSTING_ENABLED_FLAG MTL_SYSTEM COSTING_
_ITEMS_B ENABLED_
FLAG
AUTO_CREATED_CONFIG_ MTL_SYSTEM AUTO_CREAT Indicates whether the
FLAG _ITEMS_B E_CONFIG_FL configuration item is
AG automatically created.
CYCLE_COUNT_ENABLED MTL_SYSTEM CYCLE_COU Indicates whether the item
_FLAG _ITEMS_B NT_ENABLED may be cycle counted.
_FLAG
DEMAND_SOURCE_LINE Not Used Not Used Used for inbound
transactions only.
COPY_ITEM_NUMBER Not Used Not Used Derives ITEM_ID from
MTL_SYSTEM_ITEMS_B_
KFV for the concatenated
segment. Used for
inbound transactions only.
SET_ID Not Used Not Used Set identifier used for
ATO. Used for inbound
transactions only.
REVISION MTL_SYSTEM REVISION Item revision.
_ITEMS_B
ITEM_TYPE FND_ MEANING User defined item type.
COMMON_ Derived from
LOOKUPS FND_COMMON_LOOKU
PS, where LOOKUP_TYPE
= ITEM_TYPE for the
ITEM_TYPE as
LOOKUP_CODE.
408 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
MODEL_CONFIG_CLAUSE MTL_SYSTEM MODEL_ Model Configuration
_NAME _ITEMS_B CONFIG_ Clause Name.
CLAUSE_NA
ME
SHIP_MODEL_COMPLETE_ MTL_SYSTEM SHIP_MODEL Indicates model must be
FLAG _ITEMS_B _COMPLETE_ complete to ship.
FLAG
MRP_PLANNING MFG_LOOKU MEANING MRP planning option.
PS Derived from
MFG_LOOKUPS where
LOOKUP_TYPE =
MRP_PLANNING_CODE.
RETURN_INSPECTION_ MTL_SYSTEM RETURN_INS RMA inspection
REQUIREMENT _ITEMS_B PECTION_ requirement. Derived from
REQUIREME MFG_LOOKUPS, where
NT LOOKUP_TYPE =
MTL_RETURN_
INSPECTION.
DEMAND_SOURCE_TYPE Not Used Not Used Used for inbound
transactions.
DEMAND_SOURCE_HEAD Not Used Not Used Used for inbound
ER_ID transactions.
TEMPLATE_NAME Not Used Not Used Item Template Name.
Used for inbound
transactions only.
COPY_ORGANIZATION_ Not Used Not Used Derives
NAME ORGANIZATION_ID
from
ORG_ORGANIZATION_
DEFINITIONS. Used for
inbound transaction only.
ATO_FORECAST_CONTRO MFG_LOOKU MEANING Type of forecast control for
L PS ATO. Derived from
MFG_LOOKUPS, where
LOOKUP_TYPE =
MRP_ATO_FORECAST_
CONTROL.
MATERIAL_COST Not Used Not Used Used for inbound
transactions.
MATERIAL_SUB_ELEMENT Not Used Not Used Used for inbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 409
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
MATERIAL_OH_RATE Not Used Not Used Used for inbound
transactions.
MATERIAL_OH_SUBELEME Not Used Not Used Used for inbound
NT transactions.
RELEASE_TIME_FENCE MFG_LOOKU MEANING Indicates whether the item
PS is auto releasable by MRP.
Derived from
MFG_LOOKUPS, where
LOOKUP_TYPE is
MTL_RELEASE_TIME_
FENCE.
RELEASE_TIME_FENCE_D MTL_SYSTEM RELEASE_TI Number of days within
AYS _ITEMS_B ME_FENCE_D which this item should be
AYS auto released.
CONTAINER_ITEM_FLAG MTL_SYSTEM CONTAINER_ Indicates whether the item
_ITEMS_B ITEM_FLAG is a container. Used for
shipping sales orders.
VEHICLE_ITEM_FLAG MTL_SYSTEM VEHICLE_ITE Indicates whether the item
_ITEMS_B M_FLAG is a vehicle. Used for
shipping sales orders.
MAXIMUM_LOAD_WEIGH MTL_SYSTEM MAXIMUM_ Maximum load weight of a
T _ITEMS_B LOAD_WEIG container or a vehicle that
HT can be used for shipping
sales orders.
MINIMUM_FILL_PERCENT MTL_SYSTEM MINIMUM_FI Minimum fill condition
_ITEMS_B LL_PERCENT under which the container
or vehicle should be used.
CONTAINER_TYPE_CODE MTL_SYSTEM CONTAINER_ Container type code for
_ITEMS_B TYPE_CODE container items. Container
types are user definable.
INTERNAL_VOLUME MTL_SYSTEM INTERNAL_ Internal volume for
_ITEMS_B VOLUME container items. Used by
shipping to calculate
container capacity
restrictions.
WH_UPDATE_DATE MTL_SYSTEM WH_UPDATE Warehouse update date for
_ITEMS_B _DATE tracking changes relevant
to data collected in Data
Warehouse.
410 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
PRODUCT_FAMILY_ITEM MTL_SYSTEM CONCATENA Derived from
_ITEMS_B_KF TED_SEGMEN MTL_SYSTEM_ITEMS_B_
V TS KFV for the concatenated
segment.
PURCHASING_TAX_CODE MTL_SYSTEM PURCHSING_
_ITEMS_B TAX_CODE
OVERCOMPLETION_ MFG_LOOKU MEANING Over-completion
TOLERANCE_TYPE PS toleration type. Derived
from MFG_LOOKUPS,
where LOOKUP_TYPE is
WIP_TOLERANCE_TYPE.
OVERCOMPLETION_ MTL_SYSTEM OVERCOMPL Over completion tolerance
TOLERANCE_VALUE _ITEMS_B ETION_ value.
TOLERANCE_
|VALUE
EFFECTIVITY_CONTROL MFG_LOOKU MEANING Effective Control. Derived
PS from MFG_LOOKUPS
where LOOKUP_TYPE is
MTL_EFFECTIVITY_
CONTROL.
OVERSHIPMENT_ MTL_SYSTEM OVERSHIPME Over-shipment tolerance.
TOLERANCE _ITEMS_B NT_
TOLERANCE
UNDERSHIPMENT_ MTL_SYSTEM UNDERSHIP Under-shipment tolerance.
TOLERANCE _ITEMS_B MENT_
TOLERANCE
OVER_RETURN_TOLERAN MTL_SYSTEM OVER_RETUR Over-return tolerance.
CE _ITEMS_B N_TOLERAN
CE
UNDER_RETURN_ MTL_SYSTEM UNDER_ Under-return tolerance.
TOLERANCE _ITEMS_B RETURN_
TOLERANCE
EQUIPMENT_TYPE MTL_SYSTEM EQUIPMENT_ Use 1 for Yes or 2 for No.
_ITEMS_B TYPE
RECOVERED_PART_DISP_ MTL_SYSTEM RECOVERED_ Indicates whether return is
CODE _ITEMS_B PART_DISP_ required for recovered
CODE parts or scrap in field,
which is used for spare
parts.
DEFECT_TRACKING_ON_ MTL_SYSTEM DEFECT_ Specifies whether a defect
FLAG _ITEMS_B TRACKING_O or bug can be filed against
N_FLAG the product.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 411
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
USAGE_ITEM_FLAG MTL_SYSTEM USAGE_ITEM
_ITEMS_B _FLAG
EVENT_FLAG MTL_SYSTEM EVENT_FLAG Indicates whether item is
_ITEMS_B to be treated as an event.
ELECTRONIC_FLAG MTL_SYSTEM ELECTRONIC Indicates whether an item
_ITEMS_B _FLAG exists only in electronic
format.
DOWNLOADABLE_FLAG MTL_SYSTEM DOWNLOAD
_ITEMS_B ABLE_FLAG
VOL_DISCOUNT_EXEMPT_ MTL_SYSTEM VOLUME_ Indicates whether an item
FLAG _ITEMS_B DISCOUNT_ does not contribute to
EXEMPT_FLA volume discount for any
G order.
COUPON_EXEMPT_FLAG MTL_SYSTEM COUPON_ Indicates whether an item
_ITEMS_B EXEMPT_FLA is excluded from coupons
G even if it is part of the
group that any coupon
applies.
COMMS_NL_TRACKABLE_ MTL_SYSTEM COMMS_NL_ Indicates whether item is
FLAG _ITEMS_B TRACKABLE_ tracked using network
FLAG logistics.
ASSET_CREATION_CODE MTL_SYSTEM ASSET_
_ITEMS_B CREATION_
CODE
COMMS_ACTIVATION_RE MTL_SYSTEM COMMS_ Indicates whether network
QD_FLAG _ITEMS_B ACTIVATION activation is required.
_REQUIRED_
FLAG
ORDERABLE_ON_WEB_FL MTL_SYSTEM ORDERABLE_ Indicates whether item can
AG _ITEMS_B ON_WEB_FLA be ordered on the Web.
G
BACK_ORDERABLE_FLAG MTL_SYSTEM BACK_ If ATP failed, can item be
_ITEMS_B ORDERABLE_ back ordered.
FLAG
WEB_STATUS MTL_SYSTEM WEB_STATUS
_ITEMS_B
INDIVISIBLE_FLAG MTL_SYSTEM INDIVISIBLE_
_ITEMS_B FLAG
DIMENSION_UOM_CODE MTL_SYSTEM DIMENSION_ Dimension unit of measure
_ITEMS_B UOM_CODE code.
412 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
UNIT_LENGTH MTL_SYSTEM UNIT_LENGT
_ITEMS_B H
UNIT_WIDTH MTL_SYSTEM UNIT_WIDTH
_ITEMS_B
UNIT_HEIGHT MTL_SYSTEM U
_ITEMS_B NIT_HEIGHT
BULK_PICKED_FLAG MTL_SYSTEM BULK_PICKE
_ITEMS_B D_FLAG
LOT_STATUS_ENABLED MTL_SYSTEM LOT_STATUS_
_ITEMS_B ENABLED
CONFIG_MODEL_TYPE MTL_SYSTEM CONFIG_MO Configuration model type
_ITEMS_B DEL_TYPE (Standard/ Container).
IB_ITEM_INSTANCE_TYPE MTL_SYSTEM IB_ITEM_INST Install base tracking. Use
_ITEMS_B ANCE_TYPE of this field requires that
Install Base Tracking is
true.
LOT_SUBSTITUTION_ENAB MTL_SYSTEM LOT_SUBSTIT Lot substitution enabled.
LED _ITEMS_B UTION_ENAB
LED
MINIMUM_LICENSE_QUA MTL_SYSTEM MINIMUM_LI Minimum license quantity.
NTITY _ITEMS_B CENSE_QUA
NTITY
1.1. MTL_ITEM_CATEGORIES
Oracle
Applications
Document Field Table/View Name Column Name Description
INV_ITEM_ORG_ID None Concatenated String
INVENTORY_ITEM_ID|
|’-
‘||ORGANIZATION_ID.
CATEGORY_SET_NAME MTL_ITEM_ CATEGORY_S Category Set Name.
CATEGORIES ET_NAME
_V
CATEGORY_NAME MTL_ITEM_ CATEGORY_ Concatenated category
CATEGORIES NAME name.
_V
TRANSACTION_TYPE Not Used Not Used Used for inbound
transactions only.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 413
4 Manufacturing Predefined Transaction Services
1.1.1. MTL_ITEM_REVISIONS
Oracle
Applications
Document Field Table/View Name Column Name Description
REVISION MTL_ITEM_ REVISION Item Revision Code.
REVISIONS_B
INV_ITEM_ORG_ID None Concatenated String
INVENTORY_ITEM_ID|
|’-
‘||ORGANIZATION_ID.
CHANGE_NOTICE MTL_ITEM_ CHANGE_
REVISIONS_B NOTICE
ECN_INITIATION_DATE MTL_ITEM_ ECN_ Engineering change
REVISIONS_B INITIATION_ initiation date.
DATE
IMPLEMENTATION_DATE MTL_ITEM_ IMPLEMENT Implementation date.
REVISIONS_B ATION_DATE
IMPLEMENTED_SERIAL_ MTL_ITEM_ IMPLEMENTE Implemented serial
NUMBER REVISIONS_B D_SERIAL_ number.
NUMBER
EFFECTIVITY_DATE MTL_ITEM_ EFFECTIVITY Effective date.
REVISIONS_B _DATE
REVISED_ITEM_SEQUENC MTL_ITEM_ REVISED_ITE Used to identify multiple
E_ID REVISIONS_B M_SEQUENC occurrences of the same
E_ID item on a engineering
change order.
DESCRIPTION MTL_ITEM_ DESCRIPTIO Item revision description.
REVISIONS_B N
REVISION_LABEL MTL_ITEM_ REVISION_LA Revision label.
REVISIONS_B BEL
REVISION_REASON MTL_ITEM_ REVISION_RE Revision reason.
REVISIONS_B ASON
This service sends to the webMethods Integration Server information about the parent,
component, and substitutes Manufacturing Bills of Material items as well as revisions.
414 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_mfgbom.sql Runs the scripts below, except the uninstall script.
wm_from_mfgbom_vw.sql Creates the following required view components for
Manufacturing BOM outbound transactions:
WM_BOM_BILL_OF_MTLS_VW
WM_BOM_ITEM_REVISIONS_VW
WM_BOM_INVENTORY_COMPS_VW
WM_BOM_SUBSTITUTE_COMPS_VW
WM_BOM_REFERENCE_DESGS_VW
WM_BOM_BILL_OF_MTLS_QRY_VW
wm_from_mfgbom_trg.sql Creates the following trigger components to be used
for writing to the WM_TRACKCHANGES table to
indicate a new/updated document:
WM_BOM_BILL_OF_MTLS_IUD_TRG
WM_MTL_ITEM_REV_IUD_TRG
WM_BOM_INV_COMPS_IUD_TRG
WM_BOM_SUB_COMPS_IUD_TRG
WM_BOM_REF_DESGS_IUD_TRG
wm_disable_from_mfgbom.sql Disables the triggers installed by
wm_from_mfgbom_trg.sql.
wm_enable_from_mfgbom.sql Re-enables the triggers installed by
wm_from_mfgbom_trg.sql.
wm_drop_from_mfgbom.sql Uninstalls all components created by
wm_install_from_mfgbom.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 415
4 Manufacturing Predefined Transaction Services
For information about using the transaction definition files to customize this service, see
“Transaction Definitions” on page 26.
Flow Control
You can send new or changed Manufacturing Bills of Material data using the following
services:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendManufacturingBOM service is ready for
execution. That is, it determines whether no other instance of this service is already in
process.
If lockTxnCtrl service returns False, it means that another instance of this service is
already in process. The service exits and waits for next scheduled execution.
If lockTxnCtrl service returns True, it means that the service is ready to execute, the
Manufacturing BOM row in the control table is locked and updated, and the
status is changed to INPROCESS. This prevents any other Manufacturing BOM
service from executing.
getManufacturingBOMTxn queries the Oracle Applications database for any
Manufacturing BOM Transaction to be processed. The number of records returned
depends on the parameter value specified in the above map.
processBizDoc is the customizable step that sends the business document to a trading
partner. You must customize this step to receive a Success or an Error status of the
document transfer. If an error occurs in a particular business document transfer, then
the error information is sent back to the calling service (sendManufacturingBOM).
The error information passed back should have the document identifiers. If a
particular document is transferred successfully to the trading partner, no information
needs to be sent back to the calling program (sendManufacturingBOM).
Based on the Debug Mode specified during execution, it either purges or updates the
records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are updated, and the PROCESSED_FLAG is set to
Y. This ensures that the same set of records is not picked up during next polling
interval. The updateTrackChanges service updates the PROCESSED_FLAG in the
WM_TRACKCHANGES table to Y so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are deleted. The purgeTrackChanges service purges
the records from the WM_TRACKCHANGES table.
If an error occurs when transferring the business document, the insertTransferERRInfo
service inserts a new record into the WM_TRACKCHANGES table so that same
document can be picked up during the next polling interval.
416 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Any document that is created and deleted in between two successive polling
operations will not be delivered. Such records are not selected by
getManufacturingBOMTxn service; thus they are not updated as processed or purged in
the WM_TRACKCHANGES table.
If the Debug Mode is TRUE, then updateUnqualifiedRec service recognizes such
records and updates the corresponding PROCESSED_FLAG to Y.
If the Debug Mode is FALSE, then the purgeUnqualifiedRec service recognizes such
records and deletes them from the WM_TRACKCHANGES table.
unlockTxnCtrl releases the lock on the Custom Control table so that next polling
instance of sendManufacturingBOM service can begin.
If the document transfer is successful, the flow exits.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
1.0. BOM_BILL_OF_MTLS
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE MFGBOM will be
populated in this field.
DOCUMENT_STATUS UPDATE, INSERT or
DELETE will be
populated in this field.
BILL_SEQUENCE_ID BOM_BILL_O BILL_ Unique identifier for bill.
F_MATERIAL SEQUENCE_I
S D
ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated segments.
_ITEMS_B_ TED_SEGMEN
KFV TS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 417
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
COMMON_ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated segments
_ITEMS_B_ TED_SEGMEN for common bill item.
KFV TS
COMMON_ORG_NAME HR_ALL_ NAME Organization name for
ORGANIZATI common bill.
ON_UNITS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ designator code.
S DESIGNATOR
SPECIFIC_ASSEMBLY_ BOM_BILL_O SPECIFIC_ Specific Bill of Materials
COMMENT F_MATERIAL ASSEMBLY_ comment.
S COMMENT
PENDING_FROM_ECN BOM_BILL_O PENDING_ Change notice that
F_MATERIAL FROM_ECN created this Bill of
S Materials.
ASSEMBLY_TYPE BOM_BILL_O ASSEMBLY_T For
F_MATERIAL YPE Manufacturing/Engineeri
S ng.
DEMAND_SOURCE_LINE Not used for Bills of
Material outbound
transactions.
SET_ID Not used for Bills of
Material outbound
transactions.
DEMAND_SOURCE_TYPE Not used for Bills of
Material outbound
transactions.
DEMAND_SOURCE_HEAD Not used for Bills of
ER_ID Material outbound
transactions.
NEXT_EXPLODE_DATE BOM_BILL_O NEXT_ Next date when pre-
F_MATERIAL EXPLODE_ explosion will be
S DATE refreshed.
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
418 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
REVISION Not used for Bills of
Material outbound
transactions.
UOM MTL_UNITS_ UNIT_OF_ Unit of measure.
OF_MEASURE MEASURE
_TL
IMPLEMENTATION_DATE BOM_BILL_O IMPLEMENT Implementation date.
F_MATERIAL ATION_DATE
S
1.1. MTL_ITEM_REVISIONS
Oracle
Applications
Document Field Table/View Name Column Name Description
BILL_SEQUENCE_ID BOM_ BILL_ Unique bill identifier.
INVENTORY_ SEQUENCE_I
COMPONENT D
S
ITEM_NUMBER MTL_SYSTEM CONCATENA Concatenated segments.
_ITEMS_B_ TED_SEGME
KFV NTS
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
REVISION MTL_ITEM_ REVISION Item revision code.
REVISIONS
CHANGE_NOTICE MTL_ITEM_ CHANGE_ Engineering change order
REVISIONS NOTICE number.
ECN_INITIATION_DATE MTL_ITEM_ ECN_ Engineering change order
REVISIONS INITIATION_ Initiation date.
DATE
IMPLEMENTATION_DATE MTL_ITEM_ IMPLEMENT Engineering change order
REVISIONS ATION_DATE implementation date.
EFFECTIVITY_DATE MTL_ITEM_ EFFECTIVITY Revision effective date.
REVISIONS _DATE
REVISED_ITEM_SEQUENC MTL_ITEM_ REVISED_ITE Revised item sequence ID.
E_ID REVISIONS M_SEQUENC
E_ID
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 419
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
REVISION_LABEL MTL_ITEM_R REVISION_LA Revision label. (This field
EVISION BEL is in the table but not
shown in the
webMethods Developer;
it is for future use.)
REVISION_REASON MTL_ITEM_R REVISION_RE Revision reason. (This
EVISION ASON field is in the table but not
shown in the
webMethods Developer;
it is for future use.)
1.2. BOM_INVENTORY_COMPS
Oracle
Applications
Document Field Table/View Name Column Name Description
COMPONENT_SEQUENCE BOM_ COMPONENT Unique component
_ID INVENTORY_ _SEQUENCE_ identifier.
COMPONENT ID
S
BILL_SEQUENCE_ID BOM_ BILL_ Unique bill identifier.
INVENTORY_ SEQUENCE_I
COMPONENT D
S
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Inventory item number of
_ITEMS_B_KF TED_SEGMEN manufactured assembly.
V TS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ designator code.
S DESIGNATOR
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
COMPONENT_ITEM_NUM MTL_SYSTEM CONCATENA
BER _ITEMS_B_KF TED_SEGMEN
V TS
420 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
OPERATION_SEQ_NUM BOM_ OPERATION_ Operation sequence
INVENTORY_ SEQ_NUM number.
COMPONENT
S
EFFECTIVITY_DATE BOM_ EFFECTIVITY Effective date.
INVENTORY_ _DATE
COMPONENT
S
LOCATION_NAME MTL_ITEM_ DESCRIPTIO Supply locator name.
LOCATIONS N
SUBSTITUTE_COMPONEN Not used for Bills of
T_NUMBER Material outbound
transactions.
ITEM_NUM BOM_ ITEM_NUM Item sequence within Bill
INVENTORY_ of Materials structure.
COMPONENT
S
COMPONENT_QUANTITY BOM_ COMPONENT Quantity of component in
INVENTORY_ _QUANTITY Bill of Materials.
COMPONENT
S
COMPONENT_YIELD_FAC BOM_ COMPONENT Multiple this factor with
TOR INVENTORY_ _YIELD_FACT component quantity to
COMPONENT OR obtain required
S component quantity.
COMPONENT_REMARKS BOM_ COMPONENT Component remarks.
INVENTORY_ _REMARKS
COMPONENT
S
CHANGE_NOTICE BOM_ CHANGE_ Engineering change order
INVENTORY_ NOTICE number.
COMPONENT
S
IMPLEMENTATION_DATE BOM_ IMPLEMENT Date when engineering
INVENTORY_ ATION_DATE change order was
COMPONENT implemented.
S
DISABLE_DATE BOM_ DISABLE_DA
INVENTORY_ TE
COMPONENT
S
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 421
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
PLANNING_FACTOR BOM_ PLANNING_ Multiple this factor with
INVENTORY_ FACTOR component quantity to
COMPONENT obtain required planning
S quantity.
QUANTITY_RELATED BOM_ QUANTITY_ Identifier to indicate if
INVENTORY_ RELATED this component has
COMPONENT quantity-related reference
S designators.
SO_BASIS BOM_ SO_BASIS Quantity basis used by
INVENTORY_ Oracle Order
COMPONENT Management to
S determine how many
units of component to put
on an order.
OPTIONAL BOM_ OPTIONAL Indicates whether
INVENTORY_ component is optional in
COMPONENT bill.
S
MUTUALLY_EXCLUSIVE_ BOM_ MUTUALLY_ Indicates whether one or
OPTIONS INVENTORY_ EXCLUSIVE_ more children of the
COMPONENT OPTIONS component can be picked
S when taking an order.
INCLUDE_IN_COST_ROLL BOM_ INCLUDE_IN Indicates whether to use
UP INVENTORY_ _COST_ROLL this component when
COMPONENT UP rolling up costs.
S
CHECK_ATP BOM_ CHECK_ATP Indicates if ATP check is
INVENTORY_ required.
COMPONENT
S
SHIPPING_ALLOWED BOM_ SHIPPING_ Indicates if component is
INVENTORY_ ALLOWED allowed to ship.
COMPONENT
S
REQUIRED_TO_SHIP BOM_ REQUIRED_T Indicates if component is
INVENTORY_ O_SHIP required to ship.
COMPONENT
S
REQUIRED_FOR_REVENUE BOM_ REQUIRED_F Indicates if component is
INVENTORY_ OR_REVENUE required for revenue.
COMPONENT
S
422 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
INCLUDE_ON_SHIP_DOCS BOM_INVEN INCLUDE_ON Indicates if component is
TORY_COMP _SHIP_DOCS displayed on shipping
ONENTS documents.
LOW_QUANTITY BOM_ LOW_ Minimum quantity
INVENTORY_ QUANTITY allowed on an order.
COMPONENT
S
HIGH_QUANTITY BOM_ HIGH_ Maximum quantity
INVENTORY_ QUANTITY allowed on an order.
COMPONENT
S
ACD_TYPE BOM_ ACD_TYPE Add, change, or disable
INVENTORY_ code for component on an
COMPONENT engineering change order.
S
REVISED_ITEM_NUMBER MTL_SYSTEM CONCATENA
_ITEMS_B_ TED_SEGMEN
KFV TS
REVISION MTL_ITEM_ REVISION
REVISIONS
OLD_OPERATION_SEQ_NU BOM_ OPERATION_ Operation sequence
M INVENTORY_ SEQ_NUM number in the original
COMPONENT component record that an
S engineering change order
affects.
OLD_EFFECTIVITY_DATE BOM_ EFFECTIVITY Value of effective date in
INVENTORY_ _DATE the original component
COMPONENT record that an engineering
S change order affects.
WIP_SUPPLY_TYPE BOM_ WIP_SUPPLY_ WIP supply type code.
INVENTORY_ TYPE
COMPONENT
S
SUPPLY_SUBINVENTORY BOM_ SUPPLY_
INVENTORY_ SUBINVENTO
COMPONENT RY
S
REFERENCE_DESIGNATOR Not used for Bills of
Material outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 423
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
NEW_OPERATION_SEQ_N Not used for Bills of
UM Material outbound
transactions.
NEW_EFFECTIVITY_DATE Not used for Bills of
Material outbound
transactions.
BOM_ITEM_TYPE BOM_ BOM_ITEM_ Type of item (de-
INVENTORY_ TYPE normalized from BOM
COMPONENT Item Type in
S MTL_SYSTEM_ITEMS).
OPERATION_LEAD_TIME_ BOM_ OPERATION_ Operation offset from first
PERCENT INVENTORY_ LEAD_TIME_ operation in routing.
COMPONENT PERCENT
S
ASSEMBLY_TYPE BOM_BILL_O ASSEMBLY_ Assembly type of the
F_MATERIAL TYPE parent bill.
S
INTERFACE_ENTITY_TYPE BOM_BILL_O DECODE Use Bill or ECO.
F_MATERIAL (BOM.ASSEM
S BLY_TYPE,
1,'BILL',
2,'ECO',
NULL)
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
UOM MTL_UNITS_ UNIT_OF_ Unit of measure.
OF_MEASURE MEASURE
_TL
AUTO_REQUEST_MATERI BOM_INVEN AUTO_REQU Auto request material
AL TORY_COMP EST_MATERI (Y/N).
ONENTS AL
424 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
1.2.1. BOM_SUB_COMPS
Oracle
Applications
Document Field Table/View Name Column Name Description
SUBSTITUTE_COMP_NUM MTL_SYSTEM CONCATENA Substitute component
BER _ITEMS_B_ TED_SEGMEN number.
KFV TS
SUBSTITUTE_ITEM_QUAN BOM_ SUBSTITUTE_ Substitute component
TITY SUBSTITUTE_ ITEM_ quantity.
COMPONENT QUANTITY
S
ACD_TYPE BOM_ ACD_TYPE ADD or DELETE code on
SUBSTITUTE_ an engineering change
COMPONENT order.
S
CHANGE_NOTICE BOM_ CHANGE_ Engineering change order
SUBSTITUTE_ NOTICE number.
COMPONENT
S
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA Inventory item number of
_ITEMS_B_ TED_SEGMEN manufactured assembly.
KFV TS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ designator code.
S DESIGNATOR
COMPONENT_ITEM_NUM MTL_SYSTEM CONCATENA Inventory item number of
BER _ITEMS_B_ TED_SEGMEN component.
KFV TS
OPERATION_SEQ_NUM BOM_ OPERATION_ Manufacturing operation
INVENTORY_ SEQ_NUM sequence number.
COMPONENT
S
EFFECTIVITY_DATE BOM_ EFFECTIVITY Effective date.
INVENTORY_ _DATE
COMPONENT
S
NEW_SUB_COMP_NUMBE Not used for Bills of
R Material outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 425
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
INTERFACE_ENTITY_TYPE BOM_BILL_O DECODE Inventory item type.
F_MATERIAL (BOM
S ASSEMBLY_T
YPE, 1,'BILL',
2,'ECO',
NULL)
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
UOM MTL_UNITS_ UNIT_OF_ Unit of measure.
OF_MEASURE MEASURE
_TL
1.2.2. BOM_REF_DESGS
Oracle
Applications
Document Field Table/View Name Column Name Description
COMPONENT_REFERENCE BOM_ COMPONENT Component reference
_DESIGNATOR REFERENCE_ _REFERENCE designator.
DESIGNATOR _DESIGNATO
S R
ORGANIZATION_NAME HR_ALL_ NAME
ORGANIZATI
ON_UNITS
ASSEMBLY_ITEM_NUMBER MTL_SYSTEM CONCATENA
_ITEMS_B_ TED_SEGMEN
KFV TS
ALTERNATE_BOM_ BOM_BILL_O ALTERNATE_ Alternate Bill of Materials
DESIGNATOR F_MATERIAL BOM_ identifier.
S DESIGNATOR
COMPONENT_ITEM_NUM MTL_SYSTEM CONCATENA
BER _ITEMS_B_KF TED_SEGMEN
V TS
OPERATION_SEQ_NUM BOM_ OPERATION_ Manufacturing operation
INVENTORY_ SEQ_NUM sequence number.
COMPONENT
S
EFFECTIVITY_DATE BOM_ EFFECTIVITY Date when functionality
INVENTORY_ _DATE will be enabled.
COMPONENT
S
426 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
4 Manufacturing Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
REF_DESIGNATOR_COMM BOM_ REF_ Reference designator
ENT REFERENCE_ DESIGNATOR comment.
DESIGNATOR _COMMENT
S
CHANGE_NOTICE BOM_ CHANGE_ Engineering change order
REFERENCE_ NOTICE number.
DESIGNATOR
S
ACD_TYPE BOM_ ACD_TYPE ADD or DELETE code on
REFERENCE_ an engineering change
DESIGNATOR order.
S
NEW_DESIGNATOR Not used for Bills of
Material outbound
transactions.
INTERFACE_ENTITY_TYPE BOM_BILL_O DECODE Use Bill or ECO.
F_MATERIAL (BOM.ASSEM
S BLY_TYPE,
1,'BILL',
2,'ECO',
NULL)
TRANSACTION_TYPE Not used for Bills of
Material outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 427
4 Manufacturing Predefined Transaction Services
428 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Query Advanced Shipping Notice Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Query Pick Detail Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Query Price Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Query Sales Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Receive Pick Confirm Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
Receive Sales Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
Send Advance Shipping Notice Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Send Pick Detail Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
Send Sales Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 429
5 Order Management Predefined Transaction Services
Overview
This chapter describes the predefined transaction services provided in the Oracle
Applications Adapter’s 12.0.6 Order Management package.
The table below shows the predefined transaction services organized by Oracle
Applications module. This chapter lists the transactions in alphabetical order.
Oracle Applications
Module Predefined Transactions
Advanced Pricing “Query Price Request” on page 433
Order Management “Query Sales Order Service” on page 449
“Receive Pick Confirm Service” on page 450
“Receive Sales Order Service” on page 452
“Send Sales Order Service” on page 501
Shipping “Query Advanced Shipping Notice Service” on page 430
“Query Pick Detail Service” on page 432
“Send Advance Shipping Notice Service” on page 483
“Send Pick Detail Service” on page 493
For more information about using the predefined transaction services, see Chapter 1,
“Predefined Transaction Services” on page 17.
430 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Database Scripts
This service uses the same database scripts as the Send Advanced Shipping Notice
service.
Note: If you use this service but you do not use the Send Advanced Shipping Notice
service, you should run the wm_disable_from_shipnotice.sql script to disable the
triggers installed by the Send Advanced Shipping Notice service.
For a detailed description of these database scripts, see “Send Advance Shipping Notice
Service” on page 483. For more information about using database scripts, see “Database
Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 431
5 Order Management Predefined Transaction Services
Flow Control
The main flow executes as follows:
queryASNTxn queries for any Advanced Shipping Notice information matching the
parameter values. The parameters are defined as the input to this service.
For more details on query services, see “Using Query Services” on page 37.
Database Scripts
This service uses the same database script as the Send Pick Detail service.
:
Note: If you use this service but you do not use the Send Pick Detail service, you
should run the wm_disable_from_pickdetails.sql script to disable the triggers
installed by the Send Pick Detail service.
432 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
For a detailed description of these database scripts, see “Send Pick Detail Service” on
page 493. For more information about using database scripts, see “Database Scripts” on
page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryPickDetailTxn queries the Oracle Applications database for any Pick Detail
information matching the parameter values. The parameters are defined as the input
to this service.
For more details on query services, see “Using Query Services” on page 37.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 433
5 Order Management Predefined Transaction Services
A pricing request consists of numerous price request lines, which mirror the transaction
lines of the calling application, and can include a transaction header request line. Since it
is PL/SQL based, the pricing request processes one pricing request per call.
To properly use the Price Request Application Program Interface, use all lines that need
prices and that the pricing engine needs as part of the pricing request. For example, you
freeze the price of one order line. If you include this line in the pricing request, the pricing
engine might still be able to use the quantity on that line used to qualify the order to
receive another discount based on quantities across multiple lines.
Search engine: Uses qualifiers and pricing attributes passed from the calling
application to select the price list lines and the modifier list lines that can apply to the
pricing request. As part of this process, the search engine uses rules of eligibility,
incompatibility, exclusivity, and precedence.
For each pricing phase the search engine executes the following functions:
Selects eligible price list lines and modifier list lines using predefined pricing
rules.
Resolves incompatibilities among eligible benefits.
Applies the eligible benefits to the pricing request.
Calculation engine: For each pricing request line and its associated pricing request
line details, it calculates the base price, adjusted price, and extended price.
You can call one or both of the engines by setting the calculate flag on the control
record.
Database Scripts
This service uses the following database scripts:
434 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming price request query parameters to the custom table
structure required for the Price Request API. This service uses the following services
internally to provide required the data feed during the mapping.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 435
5 Order Management Predefined Transaction Services
436 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
1.0 REQUEST_LINES
Oracle
Applications
Document Field In/Out Table/View Column Name Description
REQUEST_TYPE_ In/Out WM_LINE_T REQUEST_TY The transaction system that
CODE BL PE_CODE is making the pricing
request. An example is
ONT for Order
Management Order.
HEADER_ID In/Out WM_LINE_T HEADER_ID Unique identifier of the
BL request header in the
calling application.
LINE_INDEX In/Out WM_LINE_T LINE_INDEX PL/SQL unique identifier
BL for request line.
LINE_ID In/Out WM_LINE_T LINE_ID Unique identifier of the
BL request line in the calling
application.
LINE_TYPE_CODE In/Out WM_LINE_T LINE_TYPE_ Type of line within the
BL CODE request. Use ORDER or
LINE.
PRICING_EFFECTI In/Out WM_LINE_T PRICING_ Date for which the pricing
VE_DATE BL EFFECTIVE_ engine calculates the prices.
DATE
ACTIVE_DATE_FIR In/Out WM_LINE_T ACTIVE_DAT Other than the pricing
ST BL E_FIRST effective date, you can
specify Ordered Date or
Ship Date for the pricing
engine used to qualify
pricing entities.
ACTIVE_DATE_FIR In/Out WM_LINE_T ACTIVE_DAT The date type of
ST_TYPE BL E_FIRST_TYP ACTIVE_DATE_FIRST
E based on lookup type
EFFECTIVE_DATE_TYPES.
Examples are NO TYPE,
ORD, or SHIP.
ACTIVE_DATE_ In/Out WM_LINE_T ACTIVE_DAT Other than the pricing
SECOND BL E_SECOND effective date, you can
specify Ordered Date or
Ship Date for the pricing
engine used to qualify
pricing entities.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 437
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Column Name Description
ACTIVE_DATE_ In/Out WM_LINE_T ACTIVE_DAT The date type of
SECOND_TYPE BL E_SECOND_T ACTIVE_DATE_FIRST
YPE based on lookup type
EFFECTIVE_DATE_TYPES.
Examples are NO TYPE,
ORD, or SHIP.
LINE_QUANTITY In/Out WM_LINE_T LINE_ Pricing request line
BL QUANTITY quantity,
LINE_UOM_CODE In/Out WM_LINE_T LINE_UOM_ Pricing request line unit of
BL CODE measure,
UOM_QUANTITY In/Out WM_LINE_T UOM_ Unit of measure quantity.
BL QUANTITY For example, in service
pricing,
LINE_UOM_CODE is
Months and
UOM_QUANTITY is 2. Use
this field for service item
pricing.
PRICED_QUANTIT Out WM_LINE_T PRICED_ Quantity of pricing request
Y BL QUANTITY line that the pricing engine
has priced.
PRICED_UOM_CO Out WM_LINE_T PRICED_UOM Unit of measure that the
DE BL _CODE pricing engine used.
CURRENCY_CODE Out WM_LINE_T CURRENCY_ Currency that the pricing
BL CODE engine used.
UNIT_PRICE Out WM_LINE_T UNIT_PRICE Base price of the item.
BL
PERCENT_PRICE Out WM_LINE_T PERCENT_ Price calculated as a
BL PRICE percentage of another
item’s price.
ADJUSTED_UNIT_ Out WM_LINE_T ADJUSTED_ Price per unit after the
PRICE BL UNIT_PRICE pricing engine applies
discounts and surcharges.
PARENT_PRICE Out WM_LINE_T PARENT_PRI
BL CE
PARENT_QUANTI Out WM_LINE_T PARENT_
TY BL QUANTITY
438 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Column Name Description
ROUNDING_FACT In/Out WM_LINE_T ROUNDING_ If ROUNDING_FLAG = Y
OR BL FACTOR and the pricing event
excludes the base price
phase, the pricing engine
will use this rounding
factor.
PARENT_UOM_CO Out WM_LINE_T PARENT_UO Unit of measure for the
DE BL M_CODE related item when the
pricing engine determines
the price of an item from
another item’s price.
PRICING_PHASE_I In WM_LINE_T PRICING_ Not used.
D BL PHASE_ID
PRICE_FLAG In/Out WM_LINE_T PRICE_FLAG Indicates the degree to
BL which the price is frozen.
Valid values are based on
lookup type
CALCULATE_PRICE_FLA
G. Use:
Y (Calculate Price) to
apply all prices and
modifiers to the request
line.
N (Freeze Price. Do not
apply any prices or
modifiers to the request
line. Consider the
volume of the request
line when processing
LINEGROUP modifiers
for other lines.
P (Partial Price) to
apply prices and
modifiers in phases
whose freeze override
flag is Y.
PROCESSED_COD Out WM_LINE_T PROCESSED_ Internal code that indicates
E BL CODE the stage of engine
processing when an error
occurred.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 439
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Column Name Description
STATUS_CODE In/Out WM_LINE_T STATUS_COD Returned status. Use:
BL E
N for new record
created. Records are
successful and returned
from the pricing
engine.
X for unchanged.
Default status when the
line is passed to the
pricing engine for
processing)
U for Updated.
IPL (Invalid price list)
for If the passed-in
price list is not found,
then an error is given.
GSA for GSA violation.
FER for error
processing formula.
OER for other error.
CALC for Error in
calculation engine.
UOM for Failed to price
using unit of measure
INVALID_UOM for
Invalid unit of measure.
DUPLICATE_PRICE_LIS
T for duplicate price
list.
INVALID_UOM_CONV
f
or Unit of measure
conversion not found.
INVALID_INCOMP for
could not resolve
incompatibility.
INVALID_BEST_PRICEf
or could not resolve
best price.
440 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Column Name Description
STATUS_TEXT Out WM_LINE_T STATUS_TEXT Returned message.
BL
1.1 LINE_QUALIFIERS
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
LINE_INDEX In/Out WM_QUAL_T LINE_INDEX Unique identifier for
BL request line or request
line detail.
QUALIFIER_ In/Out WM_QUAL_T QUALIFIER_ Context for qualifier.
CONTEXT BL CONTEXT Example:
CUSTOMER: Customer.
QUALIFIER_ In/Out WM_QUAL_T QUALIFIER_ For example,
ATTRIBUTE BL ATTRIBUTE QUALIFIER_ATTRIBUTE
2: Customer Name.
QUALIFIER_ATTR_ In/Out WM_QUAL_T QUALIFIER_A Value for qualifier
VALUE_FROM BL TTR_VALUE_ attribute. Example: Use
FROM Customer ID if
QUALIFIER_CONTEXT
is CUSTOMER and
QUALIFIER_ATTRIBUTE
is
QUALIFIER_ATTRIBUTE
2.
QUALIFIER_ATTR_ Out WM_QUAL_T QUALIFIER_ Return value for qualifier
VALUE_TO BL ATTR_VALUE attribute. Populated when
_TO the pricing engine returns
details of a volume break.
COMPARISON_ Out WM_QUAL_T COMPARISO The pricing engine creates
OPERATOR_CODE BL N_OPERATOR qualifier attributes to
_CODE indicate to the calling
application which
qualifier attribute is
beneficial. Example:
Order Amount > 1000
currency units (where > is
the operator code).
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 441
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
VALIDATED_FLAG In/Out WM_QUAL_T VALIDATED_ Indicates that a price list
BL FLAG or modifier list is valid for
the pricing request.
Applicable to price list
and modifier list
qualifiers; the pricing
engine assumes that other
qualifiers are valid.
STATUS_CODE In/Out WM_QUAL_T STATUS_COD Return status.
BL E
STATUS_TEXT Out WM_QUAL_T STATUS_TEXT Return message.
BL
Oracle
Applications
Field Name In/Out Table/View Name Column Name Description
LINE_INDEX In/Out WM_LINE_ LINE_INDEX Unique identifier for
ATTR_TBL request line or request
line detail.
PRICING_CONTEX In/Out WM_LINE_ PRICING_ Context for a product or
T ATTR_TBL CONTEXT pricing attribute. An
example is Product
Hierarchy.
PRICING_ATTRIBU In/Out WM_LINE_ PRICING_ Product or pricing
TE ATTR_TBL ATTRIBUTE attribute. An example is
PRICING_ATTRIBUTE11:
Customer Item ID.
PRICING_ATTR_ In/Out WM_LINE_ PRICING_ Value for product or
VALUE_FROM ATTR_TBL ATTR_VALUE pricing attribute.
_FROM
PRICING_ATTR_ Out WM_LINE_ PRICING_ Return value for pricing
VALUE_TO ATTR_TBL ATTR_VALUE attribute. Populated when
_TO the pricing engine returns
details of a volume break.
VALIDATED_FLAG WM_LINE_ VALIDATED_ Not used
ATTR_TBL FLAG
STATUS_CODE In/Out WM_LINE STATUS_COD Return status.
_ATTR_TBL E
STATUS_TEXT Out WM_LINE_ STATUS_TEXT Return message.
ATTR_TBL
442 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
LINE_INDEX In/Ou WM_RELATE LINE_INDEX PL/SQL unique identifier
t D_LINES_TBL for request line.
RELATIONSHIP_ In/Ou WM_RELATE RELATIONSH Type of relationship
TYPE_CODE t D_LINES_TBL IP_TYPE_COD between pricing lines.
E
RELATED_LINE_ In/Ou WM_RELATE RELATED_LI PL/SQL identifier for
INDEX t D_LINES_TBL NE_INDEX related request line.
STATUS_CODE Out WM_RELATE STATUS_COD Return status code.
D_LINES_TBL E
STATUS_TEXT Out WM_RELATE STATUS_TEXT Return status text.
D_LINES_TBL
1.4 LINE_DETAILS
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
LINE_DETAIL_IND Out WM_LINE_ LINE_DETAIL PL/SQL unique identifier.
EX DETAIL_TBL _INDEX
LINE_DETAIL_ID WM_LINE_ LINE_DETAIL Not used.
DETAIL_TBL _ID
LINE_DETAIL_TYP Out WM_LINE_ LINE_DETAIL
E_CODE DETAIL_TBL _TYPE_CODE
LINE_INDEX In/Ou WM_LINE_ LINE_INDEX Identifier for parent
t DETAIL_TBL request line.
LIST_HEADER_ID Out WM_LINE_ LIST_HEADE Identifier of the list
DETAIL_TBL R_ID header that creates or
updates the pricing line.
LIST_LINE_ID Out WM_LINE_ LIST_LINE_ID Identifier of the list line
DETAIL_TBL that creates or updates the
pricing line.
LIST_LINE_TYPE_C Out WM_LINE_ LIST_LINE_ Line type of the list line
ODE DETAIL_TBL TYPE_CODE that updates the pricing
line. Valid values are in
the lookup type
LIST_LINE_TYPE_CODE
from qp_lookups table.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 443
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
SUBSTITUTION_ WM_LINE_ SUBSTITUTIO Not used.
TYPE_CODE DETAIL_TBL N_TYPE_COD
E
SUBSTITUTION_FR WM_LINE_ SUBSTITUTIO Not used.
OM DETAIL_TBL N_FROM
SUBSTITUTION_T WM_LINE_ SUBSTITUTIO Value for terms
O DETAIL_TBL N_TO substitution attribute. Not
used.
AUTOMATIC_FLA Out WM_LINE_ AUTOMATIC_ Indicates if the pricing
G DETAIL_TBL FLAG engine should
automatically apply the
request line detail to the
request line. The engine
derives the value from the
list line.
OPERAND_ Out WM_LINE_ OPERAND_ Type of operand. Use:
CALCULATION_ DETAIL_TBL CALCULATIO
Adjustment Percent for
CODE N_CODE
discounts
Adjustment Amount for
discounts)
Adjustment New Price for
discounts
UNIT_PRICE for price
lists
PERCENT_PRICE for
price lists
OPERAND_VALUE Out WM_LINE_ OPERAND_ Value of pricing request
DETAIL_TBL VALUE detail line. An example is
10 currency unit list price
with 3 per cent discount.
PRICING_GROUP_ Out WM_LINE_ PRICING_ Indicates the pricing
SEQUENCE DETAIL_TBL GROUP_ bucket in which the
SEQUENCE pricing engine applied
this list line.
PRICE_BREAK_TY Out WM_LINE_ PRICE_BREA Based on lookup type
PE_CODE DETAIL_TBL K_TYPE_COD PRICE_BREAK_TYPE_
E CODE. Valid values are
POINT, RANGE, and
RECURRING.
444 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
CREATED_FROM_ Out WM_LINE_ CREATED_ List type that creates or
LIST_TYPE_CODE DETAIL_TBL FROM_LIST_ updates the pricing line.
YPE_CODE Use values in the
lookup_type
LIST_TYPE_CODE from
the qp_lookups table.
PRICING_PHASE_I Out WM_LINE_ PRICING_ The pricing phase which
D DETAIL_TBL PHASE_ID created the request line
detail.
LIST_PRICE WM_LINE_ LIST_PRICE Not used.
DETAIL_TBL
LINE_QUANTITY Out WM_LINE_ LINE_ Quantity on the price
DETAIL_TBL QUANTITY break line. This field is
used if the pricing engine
derived the value of either
the request line or the
request line detail from a
price break. This field is
used to indicate that this
particular break line was
used in the calculation.
ADJUSTMENT_ Out WM_LINE_ ADJUSTMEN The value of the bucketed
AMOUNT DETAIL_TBL T_AMOUNT adjusted amount for line
types such as PLL, DIS,
and SUR. For price break
(PBH) child lines, the field
is populated if the pricing
engine derived the value
of the request line or
request line detail from a
price break.
APPLIED_FLAG Out WM_LINE_ APPLIED_FLA The lists or list lines that
DETAIL_TBL G this pricing event or a
prior pricing event
applied. Use:
Yes: if the attribute
context is a list or list
line
No: if the attribute
context is a list or list
line
Null
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 445
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
MODIFIER_LEVEL_ Out WM_LINE_ MODIFIER_ The level for the list line
CODE ETAIL_TBL LEVEL_CODE that qualified for the
transaction. Based on
lookup type
MODIFIER_LEVEL_COD
E.
STATUS_CODE Out WM_LINE_ STATUS_COD Returned status. Use the
DETAIL_TBL E value N for New Record
Created which returns all
new records from the
pricing engine as
successful.
STATUS_TEXT Out WM_LINE_ STATUS_TEXT Returned message.
DETAIL_TBL
SUBSTITUTION_ Out WM_LINE_ SUBSTITUTIO Modifier details. The
ATTRIBUTE DETAIL_TBL N_ATTRIBUT attribute in the TERMS
E context that the pricing
engine substituted. An
example is Payment
Terms for Term
Substitution-type
modifiers.
ACCRUAL_FLAG Out WM_LINE_ ACCRUAL_ Indicates whether the
DETAIL_TBL FLAG discount is an accrual.
LIST_LINE_NO Out WM_LINE_ LIST_LINE_ Modifier number. This
DETAIL_TBL NO field applies when there is
a Coupon Issue type of
modifier line.
ESTIM_GL_VALUE Out WM_LINE_ ESTIM_GL_ The discount or surcharge
DETAIL_TBL VALUE value of the modifier.
Estimates the discount
cost for non-monetary
modifiers.
ACCRUAL_ Out WM_LINE_ ACCRUAL_ The rate to convert a
CONVERSION_RA DETAIL_TBL CONVERSIO non-monetary accrual to a
TE N_RATE monetary value.
OVERRIDE_FLAG Out WM_LINE_ OVERRIDE_ Indicates whether a user
DETAIL_TBL FLAG in the calling application
can override the modifier
value.
PRINT_ON_INVOI WM_LINE_ PRINT_ON_ Not used.
CE_FLAG DETAIL_TBL INVOICE_FLA
G
446 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
INVENTORY_ITEM Out WM_LINE_ INVENTORY_ Inventory item identifier
_ID DETAIL_TBL ITEM_ID in an item relationship.
For list line type Item
Upgrade.
ORGANIZATION_I Out WM_LINE_ ORGANIZATI Organization identifier in
D DETAIL_TBL ON_ID an item relationship. For
list line type Item
Upgrade.
RELATED_ITEM_I Out WM_LINE_ RELATED_ Related inventory item
D DETAIL_TBL ITEM_ID identifier in an item
relationship. For list line
type Item Upgrade.
RELATIONSHIP_T Out WM_LINE_DE RELATIONSH Relationship type
YPE_ID TAIL_TBL IP_TYPE_ID identifier in an item
relationship. For list line
type Item Upgrade.
ESTIM_ACCRUAL_ Out WM_LINE_ ESTIM_ Indicates the percentage
RATE DETAIL_TBL ACCRUAL_R to accrue and the expected
ATE rate of redemption of a
coupon. The liability is
ACCRUAL OR COUPON
VALUE
ESTIM_
ACCRUAL_RATE.
Default value: 100.
EXPIRATION_DAT Out WM_LINE_ EXPIRATION_ The expiration date of the
E DETAIL_TBL DATE accrual or coupon.
BENEFIT_PRICE_LI Out WM_LINE_ BENEFIT_PRI The list price before
ST_LINE_ID DETAIL_TBL CE_LIST_LIN promotional discount. For
E_ID Promotional Goods-type
modifiers when the
pricing engine creates a
new transaction line.
RECURRING_FLA WM_LINE_ RECURRING_ Not used.
G DETAIL_TBL FLAG
BENEFIT_LIMIT WM_LINE_ BENEFIT_LIM Not used.
DETAIL_TBL IT
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 447
5 Order Management Predefined Transaction Services
Oracle
Applications
Document Field In/Out Table/View Name Column Name Description
CHARGE_TYPE_ Out WM_LINE_ CHARGE_TYP Indicates the type of
CODE DETAIL_TBL E_CODE charge based on lookup
type
FREIGHT_CHARGES_TY
PE. Used for Freight or
Special Charge-type
modifiers.
CHARGE_SUBTYP Out WM_LINE_ CHARGE_ Indicates the type of
E_CODE DETAIL_TBL SUBTYPE_CO charge based on lookup
DE type
CHARGE_TYPE_CODE.
INCLUDE_ON_RET Out WM_LINE_ INCLUDE_ON Indicates whether the
URNS_FLAG DETAIL_TBL _RETURNS_ pricing engine should
FLAG include the charge on a
return transaction. For
Freight or Special Charge-
type modifiers.
BENEFIT_QTY Out WM_LINE_ BENEFIT_QTY The accrual quantity for
DETAIL_TBL non-monetary accruals or
item quantity for
promotional goods.
BENEFIT_UOM_ Out WM_LINE_ BENEFIT_UO The accrual unit of
CODE DETAIL_TBL M_CODE measure for non-
monetary accruals or item
unit of measure for
promotional goods.
PRORATION_TYPE WM_LINE_ PRORATION_ Not used.
_CODE DETAIL_TBL TYPE_CODE
SOURCE_SYSTEM_ WM_LINE_ SOURCE_ Not used.
CODE DETAIL_TBL SYSTEM_COD
E
REBATE_ WM_LINE_ REBATE_ Not used.
TRANSACTION_T DETAIL_TBL TRANSACTIO
YPE_CODE N_TYPE_COD
E
SECONDARY_ Out WM_LINE_ SECONDARY Indicates that the pricing
PRICELIST_IND DETAIL_TBL _PRICELIST_I used a secondary price list
ND instead of the calling
application’s price list.
448 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Database Scripts
This service uses the same database script as the Send Sales Order service.
Note: If you use this service but you do not use the Send Sales Order service, you
should run the wm_disable_from_salesorder.sql script to disable the triggers installed
by the Send Sales Order service.
For a detailed description of these database scripts, see “Send Sales Order Service” on
page 501. For more information about using database scripts, see “Database Scripts” on
page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 449
5 Order Management Predefined Transaction Services
Flow Control
The main flow executes as follows:
querySalesOrderTxn: queries Sales Order information matching the parameter values.
The parameters are defined as the input to this service.
For more details on query services, see “Using Query Services” on page 37.
450 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
bizDocMapping uses the incoming business data structure (PickConfirmBizDoc) to
query matching Move Order Lines, loads them to IData structure
(PickConfirmRecordSet) that are then required to be fed to Pick Confirm APIs. In the
process, it also builds up another IData structure (PickConfirmResults), which holds
records from the incoming business data structure that did not result in any Move
Order Lines.
importPickConfirm loops over the PickConfirmRecordSet created in the
bizDocMapping and invokes the execPickConfirmConcProg for each record to
execute the Pick Confirm API. The success/failure of API is tracked in
PickConfirmResults IData structure.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 451
5 Order Management Predefined Transaction Services
execPickConfirmConcProg calls the underlying Pick Confirm API with the set of
parameters from PickConfirmRecordSet, and returns the V_ERRMSG, V_STATUS
and O_ERRORMSG to provide the status of the execution, with other attributes
identifying the Move Order Line.
For more details about receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
PICK_CONFIRM
452 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
orderManagement1206.intoOA.salesOrder:receiveSalesOrder
Sales Order Import is an Order Management Open Interface that consists of open
interface tables and provides a set of APIs. Order Import can import new, changed, and
completed sales orders or returns from other applications, such as a legacy system.
Orders may come from any source such as EDI transactions processed by the Oracle e-
Commerce Gateway, or internal orders created for internal requisitions developed in
Oracle Purchasing or returns.
Order Import features include validation and defaulting, processing constraint checks,
applying and releasing order holds, and scheduling shipments to insert, update, or delete
the orders in the base Order Management tables. Order Management checks all the data
during the import process to ensure its validity within Order Management. Valid
transactions convert into orders with lines, reservations, price adjustments, and sales
credits in the base Order Management tables.
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 453
5 Order Management Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (interface tables).
getInventoryItemId is a transformer for mapping the incoming business document to
the interface table structure. This service selects the inventory item ID from
Organization name and item code.
getATOLineId is a transformer for mapping the business document to the interface
IData structure. It takes ATO_LINE_REF as the input parameter and returns
ATO_LINE_ID.
getBillToSiteUseId is a transformer for mapping the business document to the
interface IData structure. It takes Address details for 'Bill To' as the input
parameter and returns SITE_USE_ID.
getCustomerTrxLineId is a transformer for mapping the business document to the
interface IData structure. It takes CREDIT_INVOICE_NUMBER and
ORGANIZATION_NAME as the input parameter and returns
CUSTOMER_TRX_LINE_ID.
getDeliveryId is a transformer for mapping the business document to the interface
IData structure. It takes DELIVERY_NAME as the input parameter and returns
DELIVERY_ID.
getDiscountId is a transformer for mapping the business document to the interface
IData structure. It takes DISCOUNT_NAME as the input parameter and returns
DISCOUNT_ID.
getFreightCostId is a transformer for mapping the business document to the
interface IData structure. It takes COST_TYPE, COST_UNIT_AMOUNT,
COST_QUANTITY, COST_AMOUNT, CURRENCY_CODE, and
FREIGHT_CODE as the input parameter and returns FREIGHT_COST_ID.
getHoldId is a transformer for mapping the business document to the interface
IData structure. It takes HOLD_NAME as the input parameter and returns
HOLD_ID.
getLineTypeId is a transformer for mapping the business document to the interface
IData structure. It takes LINE_TYPE as the input parameter and returns
LINE_TYPE_ID.
getListHeaderAndLineId is a transformer for mapping the business document to the
interface Idata structure. It takes LIST_LINE_NUMBER as the input parameter
and returns LIST_HEADER_ID and LIST_LINE_ID.
454 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 455
5 Order Management Predefined Transaction Services
importSalesOrder imports data to the production table from the interface table. This
then calls the execSalesOrderConcProg, checkSalesOrderImportStatus, and
getSalesOrderImport_ERR services to execute the corresponding concurrent program
that inserts data into the production table to generate the error/ acknowledgement
message. If the status of the execution is SUCCESS (returned by the service
execSalesOrderConcProg), it checks for the record that has the returned request ID in
the error interface table. If there are any errors, it specifies an error during the import
process. In this case, this service calls getSalesOrderImport_ERR to retrieve the errors.
If no record is found, it executes out of flow and processes the data import
successfully. If the status of the execution is FAILED it returns the appropriate error
message and discontinues execution.
execSalesOrderConcProg invokes the stored procedure
WM_ORDER_IMP_HANDLER_PKG.WM_HANDLE_ORDER_IMPORT that
then calls corresponding concurrent sub routine to execute the data import
process for Sales Order into Oracle Applications. This service gives Status ID,
Request ID, Execution Status Message for normal concurrent program completion
and a database Stored Procedure error message if an exception occurs in Stored
Procedure execution.
checkSalesOrderImportStatus checks if the above step has returned any stored
procedure exceptions. In case of stored procedure exceptions, the dbErrorMsg
record list captures the information. If there are no stored procedure
exceptions, it indicates normal completion of the concurrent program stored
procedure and the stores the returned message in concProgMsg record list.
getSalesOrderImport_ERR gets the error message that occurs during the data
import to the production table from interface table. Based on the parameter
PARENT_REQUEST_ID it scans table OE_HEADERS_IFACE_ALL,
FND_CONC_REQ_SUMMARY_V and OE_PROCESSING_MSGS to get the
corresponding message matches to the PARENT_REQUEST_ID.
For more details about receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
456 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
1.1.6 OE_LINE_ACTIONS
1.2 HEADER_PRICE_ATTRIB
1.3 HEADER_PRICE_ADJ
1.4 HEADER_SALES_CREDIT)
1.5 OE_ACTIONS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 457
5 Order Management Predefined Transaction Services
458 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 459
5 Order Management Predefined Transaction Services
460 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 461
5 Order Management Predefined Transaction Services
462 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 463
5 Order Management Predefined Transaction Services
464 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 465
5 Order Management Predefined Transaction Services
466 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 467
5 Order Management Predefined Transaction Services
468 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 469
5 Order Management Predefined Transaction Services
470 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 471
5 Order Management Predefined Transaction Services
472 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 473
5 Order Management Predefined Transaction Services
474 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 475
5 Order Management Predefined Transaction Services
476 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 477
5 Order Management Predefined Transaction Services
478 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 479
5 Order Management Predefined Transaction Services
480 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 481
5 Order Management Predefined Transaction Services
482 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 483
5 Order Management Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendASN service is ready for execution. That is, it
determines whether there is no other instance of this service already in process.
If lockTxnCtrl service returns False, it indicates that another instance of this service
is already in process. The service exits and waits for next scheduled execution.
484 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
If lockTxnCtrl service returns true, it indicates that the service is ready to execute.
The Advanced Shipping Notice row in the control table is locked and updated so
that the status is changed to INPROCESS. This prevents any other Advanced
Shipping Notice service from executing.
getASNTxn service queries the Oracle Applications database for any Advanced
Shipping Notice Transaction to be processed. The number of records returned
depends on the parameter value specified in the above map.
processBizDoc sends the business document to the trading partner. You must
customize this step to receive a Success or an Error status of the document transfer. If
an error in a particular Business document transfer occurs, then the error information
is sent back to the calling service; that is, sendASN, in this case. The error information
passed back should have the document identifiers. If a particular document is
transferred successfully to the trading partner, no information needs to be sent back
to the calling program (sendASN).
Based on the Debug Mode specified during execution, it either purges or updates the
records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, then based on the purge criteria the records in the
WM_TRACKCHANGES table are updated and the Processed Flag is set to Y. This
ensures that same set of records is not picked up during next polling interval. The
updateTrackChanges service updates the Processed Flag in the
WM_TRACKCHANGES table to Y so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, then based on the purge criteria the records in the
WM_TRACKCHANGES table are deleted. The purgeTrackChanges service purges
the records from the WM_TRACKCHANGES table.
The insertTransferERRInfo inserts a new record in the WM_TRACKCHANGES table if
an Error occurs when transferring the Business document, so that same document can
be picked up during the next polling interval.
unlockTxnCtrl releases the lock on the Custom Control table so that next polling
instance of sendASN service can begin.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 485
5 Order Management Predefined Transaction Services
SHIPPING_NOTICE
Oracle Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE Use ASN.
DOCUMENT_STATUS Use INSERT.
ORDER_LINE_ID WSH_DELIVERY_ SOURCE_LINE_I
DETAILS D
ORDER_NUMBER OE_ORDER_HEADE ORDER_NUMBE User–visible
RS_ALL R number of the
order.
ORDER_LINE_NUMBER WSH_DELIVERY_ SOURCE_LINE_ Line sequence
DETAILS NUMBER number within
the order.
PURCHASE_ORDER_ OE_ORDER_HEADE CUST_PO_ Customer
NUMBER RS_ALL NUMBER purchase order
number.
ORDER_DATE OE_ORDER_HEADE ORDERED_DATE
RS_ALL
ORDER_STATUS OE_ORDER_HEADE FLOW_STATUS_
RS_ALL CODE
FREIGHT_TERMS_CODE_ OE_ORDER_HEADE FREIGHT_TERMS
INT RS_ALL _CODE
FOB_CODE_INT OE_ORDER_HEADE FOB_POINT_ Free on Board
RS_ALL CODE point code.
SHIP_METHOD_INT OE_ORDER_HEADE SHIPPING_ Shipping
RS_ALL METHOD_CODE method.
CONVERSION_RATE OE_ORDER_HEADE CONVERSION_
RS_ALL RATE
CURRENCY_CODE OE_ORDER_HEADE TRANSACTIONA
RS_ALL L_CURR_CODE
ORGANIZATION_NAME HR_ALL_ NAME Operating unit
ORGANIZATION_ that performed
UNITS this transaction.
CUSTOMER_NUMBER HZ_CUST_ACCOUN ACCOUNT_
TS NUMBER
CUSTOMER_NAME HZ_PARTIES PARTY_NAME Name of
customer who
placed the order.
486 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INVOICE_CODE_INT HZ_CUST_ACCT_SIT ORIG_SYSTEM_ Invoice
ES_ALL REFERENCE recipient’s
location internal
code.
INVOICE_CODE_EXT HZ_CUST_ACCT_SIT ECE_TP_LOCATI Invoice
ES_ALL ON_CODE recipient’s
location external
code.
INVOICE_NAME HZ_CUST_SITE_USE LOCATION Invoice
S_ALL recipient’s
location name.
INVOICE_ADDRESS1 HZ_CUST_ACCT_SIT ADDRESS1 Invoice
ES_ALL recipient’s
address line 1.
INVOICE_ADDRESS2 HZ_CUST_ACCT_SIT ADDRESS2 Invoice
ES_ALL recipient’s
address line 2.
INVOICE_ADDRESS3 HZ_CUST_ACCT_SIT ADDRESS3 Invoice
ES_ALL recipient’s
address line 3.
INVOICE_ADDRESS4 HZ_CUST_ACCT_SIT ADDRESS4 Invoice
ES_ALL recipient’s
address line 4.
INVOICE_CITY HZ_CUST_ACCT_SIT CITY Invoice
ES_ALL recipient’s city.
INVOICE_POSTAL_CODE HZ_CUST_ACCT_SIT POSTAL_CODE Invoice
ES_ALL recipient’s postal
code.
INVOICE_COUNTRY_INT HZ_CUST_ACCT_SIT COUNTRY Invoice
ES_ALL recipient’s
country.
INVOICE_STATE_INT HZ_CUST_ACCT_SIT STATE Invoice
ES_ALL recipient’s state.
INVOICE_PROVINCE_INT HZ_CUST_ACCT_SIT PROVINCE Invoice
ES_ALL recipient’s
province.
INVOICE_COUNTY HZ_CUST_ACCT_SIT COUNTY Invoice
ES_ALL recipient’s
county.
INVOICE_CONTACT_LAS HZ_PARTIES PERSON_LAST_N Invoice
T_NAME AME recipient’s last
name.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 487
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
INVOICE_CONTACT_PER HZ_PARTIES PERSON_FIRST_ Invoice
SON_FIRST_NAME NAME recipient’s first
name.
INVOICE_CONTACT_JOB HZ_ORG_CONTACT JOB_TITLE Invoice
_TITLE S recipient’s job
title.
ORDER_BY_CODE_INT HZ_CUST_ACCT_SIT ORIG_SYSTEM_ Order recipient’s
ES_ALL REFERENCE location internal
code.
ORDER_BY_CODE_EXT HZ_CUST_ACCT_SIT ECE_TP_LOCATI Order recipient’s
ES_ALL ON_CODE location external
code.
ORDER_BY_ADDRESS1 HZ_CUST_ACCT_SIT ADDRESS1 Order recipient’s
ES_ALL address line 1.
ORDER_BY_ADDRESS2 HZ_CUST_ACCT_SIT ADDRESS2 Order recipient’s
ES_ALL address line 2.
ORDER_BY_ADDRESS3 HZ_CUST_ACCT_SIT ADDRESS3 Order recipient’s
ES_ALL address line 3.
ORDER_BY_ADDRESS4 HZ_CUST_ACCT_SIT ADDRESS4 Order recipient’s
ES_ALL address line 4.
ORDER_BY_CITY HZ_CUST_ACCT_SIT CITY Order recipient’s
ES_ALL city.
ORDER_BY_POSTAL_CO HZ_CUST_ACCT_SIT POSTAL_CODE Order recipient’s
DE ES_ALL postal code.
ORDER_BY_COUNTRY_I HZ_CUST_ACCT_SIT COUNTRY Order recipient’s
NT ES_ALL country.
ORDER_BY_STATE_INT HZ_CUST_ACCT_SIT STATE Order recipient’s
ES_ALL state.
ORDER_BY_PROVINCE_I HZ_CUST_ACCT_SIT PROVINCE Order recipient’s
NT ES_ALL province.
ORDER_BY_COUNTY HZ_CUST_ACCT_SIT COUNTY Order recipient’s
ES_ALL county.
ORDER_BY_CONTACT_L HZ_PARTIES PERSON_LAST_N Order recipient’s
AST_NAME AME last name.
ORDER_BY_CONTACT_FI HZ_PARTIES PERSON_FIRST_ Order recipient’s
RST_NAME NAME first name.
ORDER_BY_CONTACT_JO HZ_ORG_CONTACT JOB_TITLE Order recipient’s
B_TITLE S job title.
488 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
ORDER_SHIP_CODE_INT HZ_CUST_ACCT_SIT ORIG_SYSTEM_ Order recipient’s
ES_ALL REFERENCE internal location
code.
ORDER_SHIP_CODE_EXT HZ_CUST_ACCT_SIT ECE_TP_LOCATI Order recipient’s
ES_ALL ON_CODE external location
code.
ORDER_SHIP_NAME HZ_CUST_SITE_USE LOCATION Order recipient’s
S_ALL location name.
ORDER_SHIP_ADDRESS1 HZ_CUST_ACCT_SIT ADDRESS1 Order recipient’s
ES_ALL address line 1.
ORDER_SHIP_ADDRESS2 HZ_CUST_ACCT_SIT ADDRESS2 Order recipient’s
ES_ALL address line 2.
ORDER_SHIP_ADDRESS3 HZ_CUST_ACCT_SIT ADDRESS3 Order recipient’s
ES_ALL address line 3.
ORDER_SHIP_ADDRESS4 HZ_CUST_ACCT_SIT ADDRESS4 Order recipient’s
ES_ALL address line 4.
ORDER_SHIP_CITY HZ_CUST_ACCT_SIT CITY Order recipient’s
ES_ALL city.
ORDER_SHIP_POSTAL_C HZ_CUST_ACCT_SIT POSTAL_CODE Order recipient’s
ODE ES_ALL postal code.
ORDER_SHIP_COUNTRY_ HZ_CUST_ACCT_SIT COUNTRY Order recipient’s
INT ES_ALL country.
ORDER_SHIP_STATE_INT HZ_CUST_ACCT_SIT STATE Order recipient’s
ES_ALL state.
ORDER_SHIP_PROVINCE HZ_CUST_ACCT_SIT PROVINCE Order recipient’s
_INT ES_ALL province.
ORDER_SHIP_COUNTY HZ_CUST_ACCT_SIT COUNTY Order recipient’s
ES_ALL county.
ORDER_SHIP_CONTACT_ HZ_PARTIES PERSON_LAST_N Order recipient’s
LAST_NAME AME last name.
ORDER_SHIP_CONTACT_ HZ_PARTIES PERSON_FIRST_ Order recipient’s
FIRST_NAME NAME first name.
ORDER_SHIP_CONTACT_ HZ_ORG_CONTACT JOB_TITLE Order recipient’s
JOB_TITLE S job title.
LINE_CREATION_DATE OE_ORDER_LINES_ CREATION_DAT Order’s line
ALL E creation date.
LINE_MODIFIED_DATE OE_ORDER_LINES_ LAST_UPDATE_ Order line’s last
ALL DATE modified date.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 489
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
LINE_ACTUAL_SHIP_DA OE_ORDER_LINES_ ACTUAL_ Order line’s
TE ALL SHIPMENT_DAT actual shipment
E date.
LINE_REQUEST_DATE OE_ORDER_LINES_ REQUEST_DATE Order line’s
ALL request date.
LINE_PROMISE_DATE OE_ORDER_LINES_ PROMISE_DATE Date promised
ALL to customer to
receive item.
LINE_SCHEDULED_SHIP OE_ORDER_LINES_ SCHEDULE_SHIP Date scheduled
_DATE ALL _DATE to ship item.
LINE_SHIPMENT_METH OE_ORDER_LINES_ SHIPPING_
OD ALL METHOD_CODE
HOLD_CODE WSH_DELIVERY_ HOLD_CODE
DETAILS
LINE_SHIP_CODE_INT HZ_CUST_ACCT_SIT ORIG_SYSTEM_ Order line
ES_ALL REFERENCE shipment
recipient’s
location internal
code.
LINE_SHIP_CODE_EXT HZ_CUST_ACCT_SIT ECE_TP_LOCATI Order line
ES_ALL ON_CODE shipment
recipient’s
location external
code.
LINE_SHIP_NAME HZ_CUST_SITE_USE LOCATION Order line
S_ALL shipment
recipient’s
location name.
LINE_SHIP_ADDRESS1 HZ_CUST_ACCT_SIT ADDRESS1 Order line
ES_ALL shipment
recipient’s
address line 1.
LINE_SHIP_ADDRESS2 HZ_CUST_ACCT_SIT ADDRESS2 Order line
ES_ALL shipment
recipient’s
address line 2.
LINE_SHIP_ADDRESS3 HZ_CUST_ACCT_SIT ADDRESS3 Order line
ES_ALL shipment
recipient’s
address line 3.
490 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
LINE_SHIP_ADDRESS4 HZ_CUST_ACCT_SIT ADDRESS4 Order line
ES_ALL shipment
recipient’s
address line 4.
LINE_SHIP_CITY HZ_CUST_ACCT_SIT CITY Order line
ES_ALL shipment
recipient’s
address city.
LINE_SHIP_POSTAL_COD HZ_CUST_ACCT_SIT POSTAL_CODE Order line
E ES_ALL shipment
recipient’s postal
code.
LINE_SHIP_COUNTRY_IN HZ_CUST_ACCT_SIT COUNTRY Order line
T ES_ALL shipment
recipient’s
country.
LINE_SHIP_STATE_INT HZ_CUST_ACCT_SIT STATE Order line
ES_ALL shipment
recipient’s
address state.
LINE_SHIP_PROVINCE_I HZ_CUST_ACCT_SIT PROVINCE Order line
NT ES_ALL shipment
recipient’s
province.
LINE_SHIP_COUNTY HZ_CUST_ACCT_SIT COUNTY Order line
ES_ALL shipment
recipient’s
county.
LINE_SHIP_CONTACT_L HZ_PARTIES PERSON_LAST_N Order line
AST_NAME AME shipment
recipient’s last
name.
LINE_SHIP_CONTACT_FI HZ_PARTIES PERSON_FIRST_ Order line
RST_NAME NAME shipment
recipient’s first
name.
LINE_SHIP_CONTACT_JO HZ_ORG_CONTACT JOB_TITLE Order line
B_TITLE S shipment
recipient’s
contact job title.
NET_WEIGHT WSH_DELIVERY_ NET_WEIGHT
DETAILS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 491
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
GROSS_WEIGHT WSH_DELIVERY_ GROSS_WEIGHT
DETAILS
TARE_WEIGHT WSH_DELIVERY_ GROSS_WEIGHT
DETAILS _ NET_WEIGHT
WEIGHT_UOM WSH_DELIVERY_ WEIGHT_UOM_ Weight unit of
DETAILS CODE measure.
VOLUME WSH_DELIVERY_ VOLUME
DETAILS
VOLUME_UOM WSH_DELIVERY_ VOLUME_UOM_ Volume unit of
DETAILS CODE measure.
SHIP_QUANTITY1 WSH_DELIVERY_ SHIPPED_ Shipped
DETAILS QUANTITY quantity 1.
ORDERED_QUANTITY1 OE_ORDER_LINES_ ORDERED_ Ordered
ALL QUANTITY quantity 1.
QUANTITY1_UOM OE_ORDER_LINES_ ORDER_ Unit of measure
ALL QUANTITY_UO quantity 1.
M
SHIP_QUANTITY2 WSH_DELIVERY_ SHIPPED_ Shipped
DETAILS QUANTITY2 quantity 2.
ORDERED_QUANTITY2 OE_ORDER_LINES_ ORDERED_ Ordered
ALL QUANTITY2 quantity 2.
QUANTITY2_UOM OE_ORDER_LINES_ ORDERED_ Unit of measure
ALL QUANTITY_UO quantity 2.
M2
ITEM_DESCRIPTION WSH_DELIVERY_ ITEM_ Ordered item
DETAILS DESCRIPTION description.
ITEM MTL_SYSTEM_ITEM CONCATENATE Ordered item
S_B_KFV D_SEGMENTS code.
CUSTOMER_ITEM MTL_CUSTOMER_IT CUSTOMER_ITE
EMS M_NUMBER
FROM_WAREHOUSE MTL_PARAMETERS ORGANIZATION Warehouse code.
_CODE
FROM_WAREHOUSE_NA HR_ORGANIZATIO NAME Warehouse
ME N_UNITS name.
WAREHOUSE_ADDRESS1 HR_LOCATIONS_AL ADDRESS_LINE_ Warehouse
L 1 address line 1.
WAREHOUSE_ADDRESS2 HR_LOCATIONS_AL ADDRESS_LINE_ Warehouse
L 2 address line 2.
WAREHOUSE_ADDRESS3 HR_LOCATIONS_AL ADDRESS_LINE_ Warehouse
L 3 address line 3.
492 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
WAREHOUSE_CITY HR_LOCATIONS_AL TOWN_OR_CITY Warehouse city.
L
WAREHOUSE_POSTAL_ HR_LOCATIONS_AL POSTAL_CODE Warehouse
CODE L postal code.
WAREHOUSE_COUNTRY HR_LOCATIONS_AL COUNTRY Warehouse
_INT L country.
WAREHOUSE_REGION1_I HR_LOCATIONS_AL REGION_1 Warehouse
NT L region 1.
WAREHOUSE_REGION2_I HR_LOCATIONS_AL REGION_2 Warehouse
NT L region 2.
WAREHOUSE_REGION3_I HR_LOCATIONS_AL REGION_3 Warehouse
NT L region 3.
WAREHOUSE_TELEPHO HR_LOCATIONS_AL TELEPHONE_ Warehouse
NE_1 L NUMBER_1 telephone 1.
WAREHOUSE_TELEPHO HR_LOCATIONS_AL TELEPHONE_ Warehouse
NE_2 L NUMBER_2 telephone 2.
WAREHOUSE_TELEPHO HR_LOCATIONS_AL TELEPHONE_ Warehouse
NE_3 L NUMBER_3 telephone 3.
LIST_PRICE OE_ORDER_LINES_ UNIT_LIST_PRIC
ALL E
NET_TAX OE_ORDER_LINES_ TAX_VALUE
ALL
UNIT_PRICE OE_ORDER_LINES_ UNIT_SELLING_ Unit sales price.
ALL PRICE
EXTENDED_PRICE OE_ORDER_LINES_ UNIT_SELLING_
ALL PRICE_
PRICING_
QUANTITY
LOT_NUMBER WSH_DELIVERY_ LOT_NUMBER
DETAILS
SUBLOT_NUMBER WSH_DELIVERY_ SUBLOT_NUMBE
DETAILS R
SHIP_SET_NAME OE_SETS SET_NAME
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 493
5 Order Management Predefined Transaction Services
This service provides information about the inventory transfer when the item moves
from one location to another.
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendPickDetail service is ready for execution. That
is, it determines whether there is no other instance of this service already in process.
If lockTxnCtrl service returns False, it indicates that another instance of this service
is already in process. The service exits and waits for next scheduled execution.
494 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
If lockTxnCtrl service returns true, it indicates that the service is ready to execute,
the PICKDETAIL row in the control table is locked and updated, and the status is
changed to INPROCESS. This prevents any other PickDetail service from
executing.
getPickDetailTxn service queries the Oracle Applications database for any Pick Detail
Transaction to be processed. The number of records returned depends on the
parameter value specified in the above map.
processBizDoc is the customizable step that sends the business document to a trading
partner. You must customize this step to receive a Success or an Error status of the
document transfer. If an error occurs during a business document transfer, then the
error information is sent back to the sendPickDetail calling service. The error
information passed back should have the document identifiers. If a particular
document is transferred successfully to the trading partner, no information needs to
be sent back to the sendPickDetail calling service.
Based on the Debug Mode specified during execution, it either purges or updates the
records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, then based on the purge criteria, the records in the
WM_TRACKCHANGES table are updated and the PROCESSED_FLAG is set to
Y. This ensures that same set of records is not picked up during next polling
interval. The updateTrackChanges service updates the PROCESSED_FLAG in the
WM_TRACKCHANGES table to Y so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, then based on the purge criteria the records in the
WM_TRACKCHANGES table are deleted. purgeTrackChanges service purges the
records from the WM_TRACKCHANGES table.
insertTransferERRInfo service inserts a new record in the WM_TRACKCHANGES table
if an error occurs while transferring the business document, so this document can be
picked up during the next polling interval.
unlockTxnCtrl service releases the lock on the custom control table so that the next
polling instance of sendPickDetail service can begin.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 495
5 Order Management Predefined Transaction Services
PICK_DETAILS
Oracle Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_
ID
DOCUMENT_TYPE PICK_DETAILS will be
populated in this field.
DOCUMENT_STATUS INSERT will be
populated in this field.
TRANSACTION_ID MTL_MATERIAL TRANSACTION_ Transaction identifier.
_TRANSACTION SET_ID
S
MOVE_ORDER_NUMB MTL_TXN_ REQUEST_NUMB Number assigned to a
ER REQUEST_ ER move order on creation.
HEADERS
SCHEDULED_SHIP_D OE_ORDER_LINE SCHEDULE_SHIP Scheduled ship date.
ATE S_ALL _DATE
ACCT_PERIOD_NAME ORG_ACCT_ PERIOD_NAME Accounting period
PERIODS name.
ACTUAL_COST MTL_MATERIAL ACTUAL_COST
_TRANSACTION
S
COST_GROUP_NAME CST_COST_GRO COST_GROUP Cost group identifier.
UPS
COSTED_FLAG MTL_MATERIAL COSTED_FLAG Identifies whether the
_TRANSACTION transactions are costed.
S
CURRENCY_CODE MTL_MATERIAL CURRENCY_CO
_TRANSACTION DE
S
CURRENCY_ MTL_MATERIAL CURRENCY_
CONVERSION_DATE _TRANSACTION CONVERSION_
S DATE
CURRENCY_ MTL_MATERIAL CURRENCY_
CONVERSION_RATE _TRANSACTION CONVERSION_
S RATE
CURRENCY_ MTL_MATERIAL CURRENCY_
CONVERSION_TYPE _TRANSACTION CONVERSION_
S TYPE
DEPARTMENT_CODE BOM_ DEPARTMENT_ Department identifier.
DEPARTMENTS CODE
496 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
DISTRIBUTION_ GL_CODE_ CONCATENATE Distribution account
ACCOUNT_NUMBER COMBINATIONS D_SEGMENTS number.
_KFV
EMPLOYEE_CODE MTL_MATERIAL EMPLOYEE_COD
_TRANSACTION E
S
ENCUMBRANCE_ MTL_MATERIAL ENCUMBRANCE Encumbrance account
ACCOUNT _TRANSACTION _ACCOUNT identifier for purchase
S order transactions.
ENCUMBRANCE_ MTL_MATERIAL ENCUMBRANCE Total encumbrance
AMOUNT _TRANSACTION _AMOUNT amount.
S
EXPENDITURE_TYPE MTL_MATERIAL EXPENDITURE_ Oracle Projects
_TRANSACTION TYPE expenditure type.
S
FLOW_SCHEDULE MTL_MATERIAL FLOW_SCHEDUL Indicates whether the
_TRANSACTION E WIP transaction is a
S flow or a schedule type
transaction.
FREIGHT_CODE MTL_MATERIAL FREIGHT_CODE In-transit shipment
_TRANSACTION freight code.
S
INVENTORY_ITEM_ MTL_SYSTEM_ CONCATENATE Inventory item
CODE ITEMS_B_KFV D_SEGMENTS identifier.
INVOICED_FLAG MTL_MATERIAL INVOICED_FLAG Indicates whether the
_TRANSACTION transactions are
S invoiced.
TO_LOCATION_ MTL_ITEM_ DESCRIPTION Locator identifier.
DESCRIPTION LOCATIONS
LPN_NUMBER WMS_LICENSE_ LICENSE_PLATE_ License plate number.
PLATE_NUMBER NUMBER
S
MASTER_SCHEDULE_ MTL_MATERIAL MASTER_
UPDATE_CODE _TRANSACTION SCHEDULE_
S UPDATE_CODE
MATERIAL_ACCOUN MTL_MATERIAL MATERIAL_
T _TRANSACTION ACCOUNT
S
MATERIAL_OVERHEA MTL_MATERIAL MATERIAL_
D_ACCOUNT _TRANSACTION OVERHEAD_
S ACCOUNT
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 497
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
MOVE_ORDER_TYPE_ MFG_LOOKUPS MEANING
NAME
NEW_COST MTL_MATERIAL NEW_COST Item cost after the
_TRANSACTION transaction processing.
S
NUMBER_OF_ MTL_MATERIAL NUMBER_OF_
CONTAINERS _TRANSACTION CONTAINERS
S
OPERATION_SEQ_NU MTL_MATERIAL OPERATION_SEQ Operation sequence
M _TRANSACTION _NUM number in a routing.
S
TO_ORGANIZATION_ ORG_ ORGANIZATION Organization name to
NAME ORGANIZATION _NAME which the material
_DEFINITIONS transaction has taken
place.
OUTSIDE_PROCESSIN MTL_MATERIAL OUTSIDE_ Indicates the account to
G_ACCOUNT _TRANSACTION PROCESSING_ be charged for outside
S ACCOUNT processing.
OVERCOMPLETION_ MTL_MATERIAL OVERCOMPLETI Over completion
PRIMARY_QTY _TRANSACTION ON_PRIMARY_Q primary quantity.
S TY
PICKING_RULE_NAM MTL_PICKING_ PICKING_RULE_
E RULES NAME
PICK_SLIP_NUMBER MTL_MATERIAL PICK_SLIP_ Pick slip number for the
_TRANSACTION NUMBER transaction line.
S
PRIMARY_QUANTITY MTL_MATERIAL PRIMARY_ Transaction quantity in
_TRANSACTION QUANTITY terms of primary unit of
S measure of the item.
PRIOR_COST MTL_MATERIAL PRIOR_COST Item cost before the
_TRANSACTION transaction.
S
PRIOR_COSTED_ MTL_MATERIAL PRIOR_COSTED_ Costed quantity before
QUANTITY _TRANSACTION QUANTITY this transaction.
S
PROJECT_NAME PA_PROJECTS_A NAME
LL
QUANTITY_ADJUSTE MTL_MATERIAL QUANTITY_ Standard cost quantity
D _TRANSACTION ADJUSTED adjusted.
S
498 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
REASON_NAME MTL_ REASON_NAME Transaction reason
TRANSACTION_ name.
REASONS
RECEIVING_DOCUME MTL_MATERIAL RECEIVING_
NT _TRANSACTION DOCUMENT
S
RESOURCE_ACCOUN MTL_MATERIAL RESOURCE_
T _TRANSACTION ACCOUNT
S
REVISION MTL_MATERIAL REVISION Inventory item revision
_TRANSACTION code.
S
SHIPMENT_COSTED MTL_MATERIAL SHIPMENT_ Indicates if the
_TRANSACTION COSTED shipment transaction
S has been processed by
the cost worker.
SHIPMENT_NUMBER MTL_MATERIAL SHIPMENT_ In-transit shipment
_TRANSACTION NUMBER identifier.
S
TO_SUBINVENTORY_ MTL_MATERIAL SUBINVENTORY Transaction secondary
CODE _TRANSACTION _CODE inventory to which the
S material transaction has
taken place.
TASK_NAME PA_TASKS TASK_NAME
TO_PROJECT_NAME PA_PROJECTS_A NAME
LL
TO_TASK_NAME PA_TASKS TASK_NAME
TRANSACTION_ACTI MFG_LOOKUPS MEANING Use values such as
ON_NAME subinventory transfer or
staging transfer.
TRANSACTION_COST MTL_MATERIAL TRANSACTION_ Cost entered by the use
_TRANSACTION COST during a transaction.
S
TRANSACTION_DATE MTL_MATERIAL TRANSACTION_
_TRANSACTION DATE
S
TRANSACTION_ MTL_MATERIAL TRANSACTION_
QUANTITY _TRANSACTION QUANTITY
S
TRANSACTION_ MTL_MATERIAL TRANSACTION_ Transaction reference
REFERENCE _TRANSACTION REFERENCE code.
S
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 499
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
TRANSACTION_ MTL_MATERIAL TRANSACTION_ Transaction source
SOURCE_NAME _TRANSACTION SOURCE_NAME identifier.
S
TRANSACTION_SOUR MTL_TXN_SOUR TRANSACTION_ Transaction source type
CE_TYPE_NAME CE_TYPES SOURCE_TYPE_ identifier.
NAME
TRANSACTION_TYPE MTL_MATERIAL TRANSACTION_ Transaction type
_NAME _TRANSACTION TYPE_NAME identifier.
S
TRANSACTION_UOM MTL_MATERIAL TRANSACTION_ Transaction unit of
_TRANSACTION UOM measure.
S
FROM_COST MTL_MATERIAL TRANSFER_COS Transfer cost specified
_TRANSACTION T for transfers between
S organizations.
FROM_COST_DIST_ MTL_MATERIAL TRANSFER_COS Transaction transfer cost
ACCOUNT _TRANSACTION T_DIST_ACCOU distribution account.
S NT
FROM_COST_GROUP_ CST_COST_GRO COST_GROUP Transfer cost group
NAME UPS identifier
FROM_LOCATION_ MTL_ITEM_LOC DESCRIPTION Subinventory locator
DESCRIPTION ATIONS identifier from which
the material transaction
takes place.
FROM_ORGANIZATIO ORG_ ORGANIZATION Organization name
N_NAME ORGANIZATION _NAME from which material
_DEFINITIONS transaction has taken
place.
FROM_SUBINVENTOR MTL_MATERIAL TRANSFER_ Subinventory code from
Y_CODE _TRANSACTION SUBINVENTORY which material transfer
S has been initiated.
TRANSPORTATION_ MTL_MATERIAL TRANSPORTATI Transfer transportation
COST _TRANSACTION ON_COST cost.
S
TRANSPORTATION_ MTL_MATERIAL TRANSPORTATI Transfer transportation
DIST_ACCOUNT _TRANSACTION ON_DIST_ACCO distribution account.
S UNT
USSGL_TRANSACTIO MTL_MATERIAL USSGL_ USSGL transaction
N_CODE _TRANSACTION TRANSACTION_ code.
S CODE
500 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Document Field Table/View Name Column Name Description
VALUE_CHANGE MTL_MATERIAL VALUE_CHANG Value change used for
_TRANSACTION E average cost update.
S
VARIANCE_AMOUNT MTL_MATERIAL VARIANCE_ Used for average cost
_TRANSACTION AMOUNT update transactions.
S
VENDOR_LOT_NUMB MTL_MATERIAL VENDOR_LOT_ Supplier lot number.
ER _TRANSACTION NUMBER
S
WAYBILL_AIRBILL MTL_MATERIAL WAYBILL_AIRBIL Air bill/waybill number.
_TRANSACTION L
S
Database Scripts
This service uses the following database scripts:
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 501
5 Order Management Predefined Transaction Services
For more information about using database scripts, see “Database Scripts” on page 27.
502 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the Send Sales Order service is ready for execution.
That is, it determines whether there is no other instance of this service already in
process.
If lockTxnCtrl service returns False, another instance of this service is already in
process. The service exits, and waits for next scheduled execution.
If lockTxnCtrl service returns True, the service is ready to execute. The SalesOrder
row in the control table is locked and updated so that the status is changed to
INPROCESS, which prevents other SalesOrder services from executing.
getSalesOrderTxn service queries the Oracle Applications database for any SalesOrder
Transaction to be processed. The number of records returned depends on the
parameter value specified in the above map.
processBizDoc is the customizable step which sends the business document to the
trading partner by looping against each document. You must customize this step to
receive a SUCCESS or an ERROR status of the document transfer along with the error
information. The transfer status and any error information are logged against each
document.
Loop against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that same sets of
records are not picked up during next polling interval. The updateTrackChanges
service updates the PROCESSED_FLAG in the WM_TRACKCHANGES table to Y
and PROCESSED_DATE to sysdate so that same information is not picked up
again during next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted. The purgeTrackChanges service purges the records from the
WM_TRACKCHANGES table.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 503
5 Order Management Predefined Transaction Services
504 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
1.0 ORDER_HEADERS
Oracle Applications
Field Name Table/View Name Column Name Description
WEB_TRANSACTION_
ID
DOCUMENT_TYPE Use ORDER.
DOCUMENT_STATUS Valid values are
INSERT, UPDATE
and DELETE.
HEADER_ID OE_ORDER_HEADE HEADER_ID
RS_ALL
FLOW_STATUS_CODE OE_ORDER_HEADE FLOW_STATUS_ Order flow status
RS_ALL CODE code.
ORDER_TYPE OE_TRANSACTION_ NAME
TYPES_TL
ORGANIZATION_NA HR_ALL_ NAME
ME ORGANIZATION_
UNITS
ORDER_NUMBER OE_ORDER_HEADE ORDER_NUMBER Unique number
RS_ALL assigned to the
order.
VERSION_NUMBER OE_ORDER_HEADE VERSION_NUMBE Order version
RS_ALL R number.
ORDERED_DATE OE_ORDER_HEADE ORDERED_DATE Date of the order.
RS_ALL
ORDER_CATEGORY OE_LOOKUPS MEANING
ORDER_SOURCE OE_ORDER_SOURCE NAME
S
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 505
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
PRICE_LIST QP_LIST_HEADERS_ NAME
TL
ORIG_SYS_DOCUMEN OE_ORDER_HEADE ORIG_SYS_ Original document
T_REF RS_ALL DOCUMENT_REF reference for the
order in the
external system.
CONVERSION_RATE OE_ORDER_HEADE CONVERSION_RA
RS_ALL TE
CONVERSION_RATE_ OE_ORDER_HEADE CONVERSION_RA
DATE RS_ALL TE_DATE
CONVERSION_TYPE_ OE_ORDER_HEADE CONVERSION_TYP
CODE RS_ALL E_CODE
CONVERSION_TYPE GL_DAILY_CONVER USER_CONVERSIO
SION_TYPES N_TYPE
TRANSACTIONAL_C OE_ORDER_HEADE TRANSACTIONAL Currency Code.
URR_CODE RS_ALL _CURR_CODE
SALESREP RA_SALESREPS_ALL NAME Sales
representative’s
name.
SALES_CHANNEL_CO OE_ORDER_HEADE SALES_CHANNEL Sales channel
DE RS_ALL _CODE through which
order was placed.
SALES_CHANNEL OE_LOOKUPS MEANING
RETURN_REASON_C OE_ORDER_HEADE RETURN_REASON
ODE RS_ALL _CODE
RETURN_REASON FND_LOOKUP_ MEANING
VALUES
TAX_POINT_CODE OE_ORDER_HEADE TAX_POINT_CODE
RS_ALL
TAX_POINT OE_LOOKUPS MEANING Tax point
description
TAX_EXEMPT_FLAG OE_ORDER_HEADE TAX_EXEMPT_FLA Use:
RS_ALL G
S for Standard
E for Exempt
R for Required
TAX_EXEMPT_NUMB OE_ORDER_HEADE TAX_EXEMPT_ Tax exemption
ER RS_ALL NUMBER number.
TAX_EXEMPT_REASO OE_ORDER_HEADE TAX_EXEMPT_ Tax exemption
N_CODE RS_ALL REASON_CODE reason code.
506 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
TAX_EXEMPT_REASO AR_LOOKUPS MEANING Tax exemption
N reason.
AGREEMENT OE_AGREEMENTS_T NAME
L
INVOICING_RULE RA_RULES NAME
ACCOUNTING_RULE RA_RULES NAME
PAYMENT_TERM RA_TERMS_TL NAME
DEMAND_CLASS_CO OE_ORDER_HEADE DEMAND_CLASS_
DE RS_ALL CODE
DEMAND_CLASS OE_FND_COMMON MEANING
_LOOKUPS_V
SHIPMENT_PRIORITY OE_ORDER_HEADE SHIPMENT_PRIORI
_ RS_ALL TY_CODE
CODE
SHIPMENT_PRIORITY OE_LOOKUPS MEANING
SHIPMENT_PRIORITY OE_ORDER_HEADE SHIPMENT_PRIORI
_CODE_INT RS_ALL TY_CODE
SHIPPING_METHOD_ OE_ORDER_HEADE SHIPPING_METHO
CODE RS_ALL D_CODE
SHIPPING_METHOD OE_SHIP_METHODS MEANING
_V
FREIGHT_CARRIER_ OE_ORDER_HEADE FREIGHT_CARRIE
CODE RS_ALL R_CODE
FREIGHT_CARRIER ORG_FREIGHT DESCRIPTION
FREIGHT_TERMS_CO OE_ORDER_HEADE FREIGHT_TERMS_
DE RS_ALL CODE
FREIGHT_TERMS OE_LOOKUPS MEANING
FOB_POINT_CODE OE_ORDER_HEADE FOB_POINT_CODE Free on Board
RS_ALL point code.
FOB_POINT AR_LOOKUPS MEANING
PARTIAL_SHIPMENTS OE_ORDER_HEADE PARTIAL_SHIPME
_ALLOWED RS_ALL NTS_ALLOWED
SHIP_TOLERANCE_ OE_ORDER_HEADE SHIP_TOLERANCE Over shipment or
ABOVE RS_ALL _ABOVE return tolerance.
SHIP_TOLERANCE_ OE_ORDER_HEADE SHIP_TOLERANCE Under shipment or
BELOW RS_ALL _BELOW return Tolerance.
SHIPPING_ OE_ORDER_HEADE SHIPPING_
INSTRUCTIONS RS_ALL INSTRUCTIONS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 507
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
PACKING_ OE_ORDER_HEADE PACKING_
NSTRUCTIONS RS_ALL INSTRUCTIONS
ORDER_DATE_TYPE_ OE_ORDER_HEADE ORDER_DATE_TYP
CODE RS_ALL E_CODE
EARLIEST_SCHEDULE OE_ORDER_HEADE EARLIEST_ Number of days
_LIMIT RS_ALL SCHEDULE_LIMIT earlier than the
requested date to
ship item.
LATEST_SCHEDULE_L OE_ORDER_HEADE LATEST_SCHEDUL Number of days
IMIT RS_ALL E_LIMIT later than the
requested date to
ship item.
CUST_PO_NUMBER OE_ORDER_HEADE CUST_PO_NUMBE
RS_ALL R
PAYMENT_TYPE_COD OE_ORDER_HEADE PAYMENT_TYPE_ Type of payment
E RS_ALL CODE for orders such as
cash, check, or
credit.
PAYMENT_AMOUNT OE_ORDER_HEADE PAYMENT_AMOU Amount of
RS_ALL NT payment.
CHECK_NUMBER OE_ORDER_HEADE CHECK_NUMBER Check number if
RS_ALL paid by check.
CREDIT_CARD_CODE OE_ORDER_HEADE CREDIT_CARD_ Credit card name
RS_ALL CODE if paid by credit
card.
CREDIT_CARD_HOLD OE_ORDER_HEADE CREDIT_CARD_ Credit card holder
ER_NAME RS_ALL HOLDER_NAME name if paid by
credit card.
CREDIT_CARD_NUMB OE_ORDER_HEADE CREDIT_CARD_ Credit card
ER RS_ALL NUMBER number if paid by
credit card.
CREDIT_CARD_EXPIR OE_ORDER_HEADE CREDIT_CARD_ Credit card
ATION_DATE RS_ALL EXPIRATION_DAT expiration date if
E paid by credit
card.
CREDIT_CARD_APPR OE_ORDER_HEADE CREDIT_CARD_ Credit card
OVAL_CODE RS_ALL APPROVAL_CODE approval code if
paid by credit
card.
SOLD_FROM_ORG HR_ALL_ NAME
ORGANIZATION_U
NITS
508 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
SOLD_TO_ORG HZ_PARTIES PARTY_NAME
SHIP_FROM_ORG HR_ALL_ NAME
ORGANIZATION_
UNITS
SHIP_TO_ORG HZ_CUST_SITE_USE LOCATION
S_ALL
SHIP_TO_ADDRESS1 HZ_CUST_ACCT_SIT ADDRESS1
ES_ALL
SHIP_TO_ADDRESS2 HZ_CUST_ACCT_SIT ADDRESS2
ES_ALL
SHIP_TO_ADDRESS3 HZ_CUST_ACCT_SIT ADDRESS3
ES_ALL
SHIP_TO_ADDRESS4 HZ_CUST_ACCT_SIT ADDRESS4
ES_ALL
SHIP_TO_CITY HZ_CUST_ACCT_SIT CITY
ES_ALL
SHIP_TO_COUNTY HZ_CUST_ACCT_SIT COUNTY
ES_ALL
SHIP_TO_STATE HZ_CUST_ACCT_SIT STATE
ES_ALL
SHIP_TO_POSTAL_CO HZ_CUST_ACCT_SIT POSTAL_CODE
DE ES_ALL
SHIP_TO_PROVINCE HZ_CUST_ACCT_SIT PROVINCE
ES_ALL
SHIP_TO_COUNTRY HZ_CUST_ACCT_SIT COUNTRY
ES_ALL
SHIP_TO_CUSTOMER HZ_CUST_ACCOUN ACCOUNT_ Ship To sales order
_NUMBER TS NUMBER number.
SHIP_TO_CUSTOMER HZ_PARTIES PARTY_NAME Ship To sales order
name.
INVOICE_TO_ORG HZ_CUST_SITE_USE LOCATION Invoice To
S_ALL organization.
INVOICE_ADDRESS1 HZ_CUST_ACCT_SIT ADDRESS1 Invoice To address
ES_ALL line 1.
INVOICE_ADDRESS2 HZ_CUST_ACCT_SIT ADDRESS2 Invoice To address
ES_ALL line 2.
INVOICE_ADDRESS3 HZ_CUST_ACCT_SIT ADDRESS3 Invoice To address
ES_ALL line 3.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 509
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
INVOICE_ADDRESS4 HZ_CUST_ACCT_SIT ADDRESS4 Invoice To address
ES_ALL line 4.
INVOICE_CITY HZ_CUST_ACCT_SIT CITY Invoice To city.
ES_ALL
INVOICE_COUNTY HZ_CUST_ACCT_SIT COUNTY Invoice To county.
ES_ALL
INVOICE_STATE HZ_CUST_ACCT_SIT STATE Invoice To state.
ES_ALL
INVOICE_POSTAL_CO HZ_CUST_ACCT_SIT POSTAL_CODE Invoice To postal
DE ES_ALL code.
INVOICE_PROVINCE_ HZ_CUST_ACCT_SIT PROVINCE Invoice To
INT ES_ALL province.
INVOICE_COUNTRY HZ_CUST_ACCT_SIT COUNTRY Invoice To country.
ES_ALL
INVOICE_CUSTOMER HZ_CUST_ACCOUN ACCOUNT_ Invoice’s sales
_NUMBER TS NUMBER order number.
INVOICE_CUSTOMER HZ_PARTIES PARTY_NAME Invoice’s sales
order name.
DELIVER_TO_ORG HZ_CUST_SITE_USE LOCATION Deliver To
S_ALL organization.
DELIVER_TO_CONTA OE_CONTACTS_V NAME Deliver To contact.
CT
DELIVER_TO_ HZ_CUST_ACCOUN ACCOUNT_ Deliver To sales
CUSTOMER_NUMBER TS NUMBER order number.
DELIVER_TO_ HZ_PARTIES PARTY_NAME Deliver To sales
CUSTOMER order name.
SOLD_TO_CONTACT HZ_ORG_CONTACT LAST_NAME ||
S FIRST_NAME ||
TITLE
SHIP_TO_CONTACT_ HZ_PARTIES PERSON_FIRST_N
FIRST_NAME AME
SHIP_TO_CONTACT_ HZ_PARTIES PERSON_LAST_NA
LAST_NAME ME
SHIP_TO_CONTACT HZ_ORG_CONTACT LAST_NAME ||
S FIRST_NAME||TIT
LE
INVOICE_TO_CONTA HZ_PARTIES PERSON_FIRST_N Invoice to contact
CT_FIRST_NAME AME first name.
INVOICE_TO_CONTA HZ_PARTIES PERSON_LAST_NA Invoice to contact
CT_LAST_NAME ME last name.
510 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
INVOICE_TO_CONTA HZ_ORG_CONTACT PERSON_LAST_NA Invoice to contact
CT S ME || name.
PERSON_FIRST_N
AME||TITLE
CREDIT_CARD_APPR OE_ORDER_HEADE CREDIT_CARD_
OVAL_DATE RS_ALL APPROVAL_DATE
BOOKED_FLAG OE_ORDER_HEADE BOOKED_FLAG Indicates order
RS_ALL was booked.
CANCELLED_FLAG OE_ORDER_HEADE CANCELLED_FLA Indicate orders
RS_ALL G was cancelled.
CHANGE_SEQUENCE OE_ORDER_HEADE CHANGE_SEQUEN
RS_ALL CE
CUSTOMER_NUMBER HZ_CUST_ACCOUN ACCOUNT_ Number of the
TS NUMBER sales order.
CUSTOMER_NAME HZ_PARTIES PARTY_NAME Name of the sales
order.
CHANGE_REQUEST_ Not used for
CODE outbound
transactions.
ORDERED_BY_CONT Not used for
ACT_PERSON_FIRST_ outbound
NAME transactions.
ORDERED_BY_CONT Not used for
ACT_PERSON_LAST_ outbound
NAME transactions.
HEADER_PO_CONTE Purchase order
XT context.Not used
for outbound
transactions.
PO_REVISION_DATE Purchase order
revision date. Not
used for outbound
transactions.
CHANGE_REASON Not used for
outbound
transactions.
CHANGE_COMMENT Not used for
outbound
transactions.
OPERATION_CODE Not used for
outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 511
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
CLOSED_FLAG Not used for
outbound
transactions.
REJECTED_FLAG Not used for
outbound
transactions.
READY_FLAG Not used for
outbound
transactions.
STATUS_FLAG Not used for
outbound
transactions.
FORCE_APPLY_FLAG Not used for
outbound
transactions.
1.1 ORDER_LINES
Oracle Applications
Field Name Table/View Name Column Name Description
LINE_ID OE_ORDER_LINE LINE_ID Order line identifier.
S_ALL
HEADER_ID OE_ORDER_LINE HEADER_ID Order header identifier
S_ALL that is the same
HEADER_ID as the one
on the order
LINE_NUMBER OE_ORDER_LINE LINE_NUMBER Line sequence number
S_ALL within the order.
FLOW_STATUS_COD OE_ORDER_LINE FLOW_STATUS_ Order line status flow.
E S_ALL CODE
CHANGE_SEQUENC Not used for outbound
E transactions.
CHANGE_REQUEST Not used for outbound
_CODE transactions.
ORDER_SOURCE OE_ORDER__SO NAME
URCES
ORIG_SYS_LINE_RE OE_ORDER_LINE ORIG_SYS_LINE_ Identifier of line from a
F S_ALL REF source system outside
Oracle Order
Management.
512 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
ORIG_SYS_SHIPMEN OE_ORDER_LINE ORIG_SYS_ Original shipment
T_REF S_ALL SHIPMENT_REF information for the order
line in the external
system.
SHIPMENT_NUMBE OE_ORDER_LINE SHIPMENT_ System-generated
R S_ALL NUMBER identifier of a shipment
within a line.
SPLIT_LINE_LINE_R OE_ORDER_LINE ORIG_SYS_LINE_ Split line identifier of line
EF S_ALL REF from a source system
outside Oracle Order
Management.
LINE_TYPE OE_TRANSACTI NAME Line transaction type.
ON_TYPES_TL
ITEM_TYPE_CODE OE_ORDER_LINE ITEM_TYPE_COD
S_ALL E
ITEM_TYPE OE_LOOKUPS MEANING
SOURCE_TYPE_COD OE_ORDER_LINE SOURCE_TYPE_
E S_ALL CODE
SOURCE_TYPE OE_LOOKUPS MEANING
SCHEDULE_STATUS OE_ORDER_LINE SCHEDULE_
__CODE S_ALL STATUS_CODE
SCHEDULE_STATUS OE_LOOKUPS MEANING
INVENTORY_ITEM MTL_SYSTEM_ CONCATENATE
ITEMS_B_KFV D_SEGMENTS
TOP_MODEL_LINE_ OE_ORDER_LINE ORIG_SYS_LINE_ Top parent line.
_REF S_ALL _REF
LINK_TO_LINE_REF OE_ORDER_LINE ORIG_SYS_LINE_ Immediate parent
S_ALL REF component line.
ATO_LINE_REF OE_ORDER_LINE ORIG_SYS_LINE_ ATO configuration top
S_ALL REF model line.
EXPLOSION_DATE OE_ORDER_LINE EXPLOSION_DAT Date when the included
S_ALL E items were exploded and
frozen.
COMPONENT_COD OE_ORDER_LINE COMPONENT_ Component within an
E S_ALL CODE exploded bill.
SORT_ORDER OE_ORDER_LINE SORT_ORDER Sorting sequence for a
S_ALL component in the ordered
bill.
MODEL_GROUP_NU OE_ORDER_LINE MODEL_GROUP_
MBER S_ALL NUMBER
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 513
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
OPTION_NUMBER OE_ORDER_LINE OPTION_NUMBE Option or class in a
S_ALL R model.
OPTION_FLAG OE_ORDER_LINE OPTION_FLAG
S_ALL
SHIP_MODEL_COM OE_ORDER_LINE SHIP_MODEL_ Indicates the line is in
PLETE_FLAG S_ALL COMPLETE_FLA ship–complete
G configuration.
SCHEDULE_SHIP_ OE_ORDER_LINE SCHEDULE_SHIP Date scheduled to ship
DATE S_ALL _DATE item.
SCHEDULE_ARRIVA OE_ORDER_LINE SCHEDULE_ Date scheduled for the
L_DATE S_ALL ARRIVAL_DATE item to arrive at the sales
order site.
ACTUAL_ARRIVAL_ OE_ORDER_LINE ACTUAL_ARRIV Date the item actually
DATE S_ALL AL_DATE arrived at sales order’s
site
REQUEST_DATE OE_ORDER_LINE REQUEST_DATE Ordered item request
S_ALL date.
PROMISE_DATE OE_ORDER_LINE PROMISE_DATE Date promised to sales
S_ALL order to receive item.
DELIVERY_LEAD_TI OE_ORDER_LINE DELIVERY_LEAD
ME S_ALL _TIME
ORDERED_QUANTI OE_ORDER_LINE ORDERED_
TY S_ALL QUANTITY
ORDER_QUANTITY_ OE_ORDER_LINE ORDER_QUANTI Ordered quantity unit of
UOM S_ALL TY_UOM measurement.
SHIPPING_QUANTI OE_ORDER_LINE SHIPPING_
TY S_ALL QUANTITY
SHIPPING_QUANTI OE_ORDER_LINE SHIPPING_ Shipping quantity unit of
TY_UOM S_ALL QUANTITY_UO measurement.
M
SHIPPED_QUANTIT OE_ORDER_LINE SHIPPED_
Y S_ALL QUANTITY
CANCELLED_QUAN OE_ORDER_LINE CANCELLED_
TITY S_ALL QUANTITY
FULFILLED_QUANT OE_ORDER_LINE FULFILLED_
ITY S_ALL QUANTITY
PRICING_QUANTIT OE_ORDER_LINE PRICING_
Y S_ALL QUANTITY
514 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
PRICING_QUANTIT OE_ORDER_LINE PRICING_ Pricing quantity unit of
Y_UOM S_ALL QUANTITY_UO measurement.
M
SOLD_FROM_ORG HR_ALL_ NAME
ORGANIZATION
_UNITS
SOLD_TO_ORG HZ_PARTIES PARTY_NAME Sales order to whom the
item is sold.
SHIP_FROM_ORG HR_ALL_ NAME Ship From organization
ORGANIZATION
_UNITS
DELIVERY_NAME Not used for outbound
transactions.
SHIP_TO_ORG HZ_CUST_SITE_ LOCATION Ship To organization.
USES_ALL
SHIP_TO_ADDRESS1 HZ_LOCATIONS ADDRESS1 Ship To address line 1.
SHIP_TO_ADDRESS2 HZ_LOCATIONS ADDRESS2 Ship To address line 2.
SHIP_TO_ADDRESS3 HZ_LOCATIONS ADDRESS3 Ship To address line 3.
SHIP_TO_ADDRESS4 HZ_LOCATIONS ADDRESS4 Ship To address line 4.
SHIP_TO_CITY HZ_LOCATIONS CITY
SHIP_TO_COUNTY HZ_LOCATIONS COUNTY
SHIP_TO_STATE HZ_LOCATIONS STATE
SHIP_TO_POSTAL_ HZ_LOCATIONS POSTAL_CODE
CODE
SHIP_TO_COUNTRY HZ_LOCATIONS COUNTRY
DELIVER_TO_ORG HZ_CUST_SITE_ LOCATION Deliver To organization.
USES_ALL
INVOICE_TO_ORG HZ_CUST_SITE_ LOCATION Invoice To organization.
USES_ALL
BILL_TO_ADDRESS1 HZ_LOCATIONS ADDRESS1 Bill To address line 1.
BILL_TO_ADDRESS2 HZ_LOCATIONS ADDRESS2 Bill To address line 2.
BILL_TO_ADDRESS3 HZ_LOCATIONS ADDRESS3 Bill To address line 3.
BILL_TO_ADDRESS4 HZ_LOCATIONS ADDRESS4 Bill To address line 4.
BILL_TO_CITY HZ_LOCATIONS CITY
BILL_TO_COUNTY HZ_LOCATIONS COUNTY
BILL_TO_STATE HZ_LOCATIONS STATE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 515
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
BILL_TO_POSTAL_C HZ_LOCATIONS POSTAL_CODE
ODE
BILL_TO_COUNTRY HZ_LOCATIONS COUNTRY
SHIP_TO_CONTACT HZ_PARTIES PERSON_FIRST_
_FIRST_NAME NAME
SHIP_TO_CONTACT HZ_PARTIES PERSON_LAST_
_LAST_NAME NAME
SHIP_TO_CONTACT HZ_ORG_CONTA JOB_TITLE
_JOB_TITLE CTS
SHIP_TO_CONTACT HZ_ORG_CONTA LAST_NAME||
CTS FIRST_NAME||
TITLE
DELIVER_TO_ OE_CONTACTS_ NAME
CONTACT V
INVOICE_TO_ OE_CONTACTS_ NAME
CONTACT V
DROP_SHIP_FLAG Not used for outbound
transactions.
VEH_CUS_ITEM_CU OE_ORDER_LINE VEH_CUS_ITEM_ Sales order item key.
M_KEY S_ALL CUM_KEY_ID
CUST_PRODUCTIO OE_ORDER_LINE CUST_ Sales order production
N_SEQ_NUM S_ALL PRODUCTION_S sequence number.
EQ_NUM
LOAD_SEQ_NUMBE Load sequence number.
R Not used for outbound
transactions.
OVER_SHIP_REASO OE_ORDER_LINE OVER_SHIP_
N_CODE S_ALL REASON_CODE
OVER_SHIP_RESOLV OE_ORDER_LINE OVER_SHIP_
ED_FLAG S_ALL RESOLVED_FLA
G
AUTHORIZED_TO_ OE_ORDER_LINE AUTHORIZED_T Indicates whether the
SHIP_FLAG S_ALL O_SHIP_FLAG demand lines are
authorized to ship.
SHIP_TOLERANCE_ OE_ORDER_LINE SHIP_TOLERAN Over shipment or return
ABOVE S_ALL CE_ABOVE tolerance.
SHIP_TOLERANCE_ OE_ORDER_LINE SHIP_TOLERAN Under shipment or return
BELOW S_ALL CE_BELOW tolerance.
SHIP_SET_NAME OE_SETS SET_NAME
516 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
ARRIVAL_SET_NAM OE_SETS SET_NAME
E
PRICE_LIST QP_LIST_HEADE NAME
RS_VL
PRICING_DATE OE_ORDER_LINE PRICING_DATE
S_ALL
UNIT_LIST_PRICE OE_ORDER_LINE UNIT_LIST_PRIC
S_ALL E
UNIT_LIST_PRICE_P OE_ORDER_LINE UNIT_LIST_PRIC
ER_PQTY S_ALL E_PER_PQTY
UNIT_SELLING_PRI OE_ORDER_LINE UNIT_SELLING_
CE S_ALL PRICE
UNIT_SELLING_PRI OE_ORDER_LINE UNIT_SELLING_
CE_PER_PQTY S_ALL PRICE_PER_PQT
Y
TAX_DATE OE_ORDER_LINE TAX_DATE
S_ALL
TAX_CODE OE_ORDER_LINE TAX_CODE
S_ALL
TAX_VALUE OE_ORDER_LINE TAX_VALUE
S_ALL
CALCULATED_PRIC Indicates if price is to be
E_FLAG calculated. Not used for
outbound transactions.
TAX_EXEMPT_FLAG OE_ORDER_LINE TAX_EXEMPT_ For the order line. Use:
S_ALL FLAG
S for Standard
E for Exempt
R for Required
TAX_EXEMPT_ OE_ORDER_LINE TAX_EXEMPT_ Tax exemption number.
NUMBER S_ALL NUMBER
TAX_EXEMPT_REAS OE_ORDER_LINE TAX_EXEMPT_ Tax exemption reason
ON_CODE S_ALL REASON_CODE code.
TAX_EXEMPT_REAS AR_LOOKUPS MEANING Tax exemption reason.
ON
TAX_POINT_CODE OE_ORDER_LINE TAX_POINT_CO
S_ALL DE
TAX_POINT OE_LOOKUPS MEANING
AGREEMENT OE_AGREEMENT NAME
S_TL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 517
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
ACCOUNTING_RUL RA_RULES MEANING
E
INVOICING_RULE RA_RULES MEANING
PAYMENT_TERM RA_TERMS_TL NAME
DEMAND_CLASS_ OE_ORDER_LINE DEMAND_CLASS
CODE S_ALL _CODE
DEMAND_CLASS OE_FND_COMM MEANING
ON_LOOKUPS_V
SHIPMENT_PRIORIT OE_ORDER_LINE SHIPMENT_
Y_CODE S_ALL PRIORITY_CODE
SHIPMENT_PRIORIT OE_LOOKUPS MEANING
Y
SHIPPING_METHOD OE_ORDER_LINE SHIPPING_
_CODE S_ALL METHOD_CODE
SHIPPING_METHOD OE_LOOKUPS MEANING
FREIGHT_CARRIER_ OE_ORDER_LINE FREIGHT_CARRI
CODE S_ALL ER_CODE
FREIGHT_CARRIER ORG_FREIGHT DESCRIPTION
FREIGHT_TERMS_ OE_ORDER_LINE FREIGHT_TERMS
CODE S_ALL _CODE
FREIGHT_TERMS OE_LOOKUPS MEANING
FOB_POINT_CODE OE_ORDER_LINE FOB_POINT_CO
S_ALL DE
FOB_POINT AR_LOOKUPS MEANING
SALESREP RA_SALESREPS_ NAME Sales representative’s
ALL name.
SHIPPING_ OE_ORDER_LINE SHIPPING_
INSTRUCTIONS S_ALL INSTRUCTIONS
PACKING_ OE_ORDER_LINE PACKING_
INSTRUCTIONS S_ALL INSTRUCTIONS
RETURN_REASON_ OE_ORDER_LINE RETURN_
CODE S_ALL REASON_CODE
RETURN_REASON FND_LOOKUP_ MEANING
VALUES
REFERENCE_TYPE OE_ORDER_LINE REFERENCE_TYP
S_ALL E
518 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
REFERENCE_HEAD OE_ORDER_ ORIG_SYS_ Sales order header that
ER HEADERS_ALL DOCUMENT_RE the return line references.
F
REFERENCE_LINE OE_ORDER_LINE ORIG_SYS_LINE_ Sales order line that the
S_ALL REF return line references.
CREDIT_INVOICE_ HZ_CUST_ACCO TRX_NUMBER
NUMBER UNT_TRX_ALL
CUSTOMER_LINE_ OE_ORDER_LINE CUSTOMER_LIN Sales order line number.
NUMBER S_ALL E_NUMBER
CUSTOMER_PO_ OE_ORDER_LINE CUST_PO_NUMB Sales order purchase
NUMBER S_ALL ER number.
CUSTOMER_ OE_ORDER_LINE CUSTOMER_ Sales order shipment
SHIPMENT_NUMBE S_ALL SHIPMENT_ number.
R NUMBER
CUSTOMER_ITEM_ MTL_CUSTOMER CUSTOMER_ITE Sales order item name.
NAME _ITEMS M_NUMBER
CUSTOMER_ITEM_R Sales order item
EVISION revision.Not used for
outbound transactions.
CUSTOMER_ITEM_ OE_ORDER_LINE CUSTOMER_ITE Sales order item net price.
NET_PRICE S_ALL M_NET_PRICE
DEMAND_BUCKET_ OE_ORDER_LINE DEMAND_BUCK Demand bucket type
TYPE_CODE S_ALL ET_TYPE_CODE code.
CUSTOMER_DOCK_ OE_ORDER_LINE CUSTOMER_DO Sales order dock code.
CODE S_ALL CK_CODE
CUSTOMER_JOB OE_ORDER_LINE CUSTOMER_JOB Sales order job.
S_ALL
CUSTOMER_ OE_ORDER_LINE CUSTOMER_ Sales order production
PRODUCTION_LINE S_ALL PRODUCTION_ line.
LINE
CUST_MODEL_SERI OE_ORDER_LINE CUST_MODEL_ Sales order model serial
AL_NUMBER S_ALL SERIAL_NUMBE number.
R
PROJECT PA_PROJECTS_A NAME Project name.
LL
TASK PA_TASKS TASK_NAME Task name.
FULFILLMENT_SET_ OE_SETS SET_NAME Fulfillment set name.
NAME
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 519
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
END_ITEM_UNIT_ OE_ORDER_LINE END_ITEM_UNIT Bill of material for
NUMBER S_ALL _NUMBER building a specific mode
or unit number controlled
item.
ITEM_REVISION OE_ORDER_LINE ITEM_REVISION Item revision for a return
S_ALL line.
SCHEDULE_DATE Not used for outbound
transactions.
SHIP_TO_CONTACT Ship To contact area 1.
_AREA_CODE1 Not used for outbound
transactions.
SHIP_TO_CONTACT Ship To contact area 2.
_AREA_CODE2 Not used for outbound
transactions.
SHIP_TO_CONTACT Ship To contact area 3.
_AREA_CODE3 Not used for outbound
transactions.
CUSTOMER_ITEM_I Sales order item type. Not
D_TYPE used for outbound
transactions.
INVOICE_SET_NAM Invoice set name. Not
E used for outbound
transactions.
TAX Not used for outbound
transactions.
SCHEDULE_ITEM_ Not used for outbound
DETAIL transactions.
DEMAND_STREAM Not used for outbound
transactions.
SERVICE_DURATIO OE_ORDER_LINE SERVICE_
N S_ALL DURATION
SERVICE_START_DA OE_ORDER_LINE SERVICE_START_
TE S_ALL DATE
SERVICE_END_DAT OE_ORDER_LINE SERVICE_END_
E S_ALL DATE
SERVICE_ OE_ORDER_LINE SERVICE_
COTERMINATE_FLA S_ALL COTERMINATE_
G FLAG
UNIT_SELLING_ OE_ORDER_LINE UNIT_SELLING_ Percent actually charged
PERCENT S_ALL PERCENT to sales order for percent-
based pricing.
520 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle Applications
Field Name Table/View Name Column Name Description
UNIT_LIST_PERCEN OE_ORDER_LINE UNIT_LIST_ Price list percentage of the
T S_ALL PERCENT item for percent–based
pricing.
UNIT_PERCENT_BA OE_ORDER_LINE UNIT_PERCENT_ Base price used for
SE_PRICE S_ALL BASE_PRICE percent-based pricing.
SERVICE_NUMBER OE_ORDER_LINE SERVICE_NUMB Unique number to
S_ALL ER identify the service line.
CANCELLED_FLAG OE_ORDER_LINE CANCELLED_FL Indicates whether the line
S_ALL AG was cancelled.
FULFILLED_FLAG OE_ORDER_LINE FULFILLED_FLA Indicates whether the line
S_ALL G was fulfilled.
SERVICE_TXN_ OE_ORDER_LINE SERVICE_TXN_ Service transaction reason
REASON_CODE S_ALL REASON_CODE code.
SERVICE_TXN_ OE_ORDER_LINE SERVICE_TXN_ Service transaction
COMMENTS S_ALL COMMENTS comments.
CLOSED_FLAG Indicates the line was
closed. Not used for
outbound transactions.
CONTRACT_PO_ Contract purchase order
NUMBER number. Not used for
outbound transactions.
LINE_PO_CONTEXT Line purchase order
context. Not used for
outbound transactions.
OPERATION_CODE Not used for outbound
transactions.
CHANGE_REASON Not used for outbound
transactions.
CHANGE_COMMEN Not used for outbound
TS transactions.
REJECTED_FLAG Not used for outbound
transactions.
STATUS_FLAG Not used for outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 521
5 Order Management Predefined Transaction Services
1.1.1 PRICE_ADJ
Oracle
Applications
Field Name Table/View Name Column Name Description
HEADER_ID OE_PRICE_ HEADER_ID Order header identifier
ADJUSTMENTS that is the same
HEADER_ID as the one
on the order.
LINE_ID OE_PRICE_ LINE_ID Order line identifier that
ADJUSTMENTS is the same LINE_ID as
the one on the order line.
ADJUSTED_AMOUNT OE_PRICE_ ADJUSTED_ Adjusted amount at the
ADJUSTMENTS AMOUNT adjustment level.
ADJUSTED_AMOUNT_ OE_PRICE_ ADJUSTED_ Adjusted amount per
PER_PQTY ADJUSTMENTS AMOUNT_PER quantity.
_PQTY
APPLIED_FLAG OE_PRICE_ APPLIED_FLAG Indicates whether the
ADJUSTMENTS adjustment has been
applied to the order line.
For string manual
discounts, which are not
yet applied by the user.
ARITHMETIC_OPERAT OE_PRICE_ ARITHMETIC_ Qualifies the value in
OR ADJUSTMENTS OPERATOR operand by using
percentage, amount, or
new price.
AUTOMATIC_FLAG OE_PRICE_ AUTOMATIC_ Indicates whether the
ADJUSTMENTS FLAG discount was applied
automatically.
CHANGE_REASON_CO OE_PRICE_ CHANGE_ Reason code for making a
DE ADJUSTMENTS REASON_COD change to the adjustment
E value.
CHANGE_REASON_TE OE_PRICE_ CHANGE_ Description of reason
XT ADJUSTMENTS REASON_TEXT code.
CHANGE_REQUEST_C Not used for outbound
ODE transactions.
CHANGE_SEQUENCE Not used for outbound
transactions.
CHARGE_TYPE_CODE OE_PRICE_ CHARGE_TYPE
ADJUSTMENTS _CODE
CHARGE_SUBTYPE_CO OE_PRICE_ CHARGE_
DE ADJUSTMENTS SUBTYPE_COD
E
522 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
COST_TYPE WSH_FREIGHT FREIGHT_COST Freight cost type.
_COST_TYPES _TYPE_CODE
COST_UNIT_AMOUNT WSH_FREIGHT UNIT_AMOUN Amount for freight costs
_COSTS T in unit.
COST_QUANTITY WSH_FREIGHT QUANTITY
_COSTS
COST_AMOUNT WSH_FREIGHT TOTAL_AMOU The total amount of
_COSTS NT freight cost is the freight
cost unit amount
multiplied by the freight
quantity.
COST_CURRENCY_COD WSH_FREIGHT CURRENCY_ Freight cost currency
E _COSTS CODE code.
CREDIT_OR_CHARGE_ OE_PRICE_ CREDIT_OR_ Indicates whether the
FLAG ADJUSTMENTS CHARGE_FLAG adjustment record is a
credit or charge to a sales
order.
DISCOUNT_NAME SO_DISCOUNT NAME
S
LINE_DISCOUNT_NAM SO_DISCOUNT NAME
E S
ESTIMATED_FLAG OE_PRICE_ ESTIMATED_ Indicates whether the
ADJUSTMENTS FLAG charge amount is
estimated or fixed.
INVOICED_FLAG OE_PRICE_ INVOICED_FLA Indicates whether the
ADJUSTMENTS G charge is invoiced.
INC_IN_SALES_ OE_PRICE_ INC_IN_SALES Indicates whether the
PERFORMANCE ADJUSTMENTS _PERFORMAN charge should be included
CE in sales performance
calculation.
INCLUDE_ON_RETURN OE_PRICE_ INCLUDE_ON_ Indicates whether the
S_FLAG ADJUSTMENTS RETURNS_FLA adjustment is returnable.
G
LIST_NAME QP_LIST_ NAME Name of modifier.
HEADERS_TL
LIST_LINE_TYPE_CODE OE_PRICE_ LIST_LINE_TYP Line type of the modifier.
ADJUSTMENTS E_CODE
LIST_LINE_NUMBER OE_PRICE_ LIST_LINE_NO
ADJUSTMENTS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 523
5 Order Management Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
MODIFIED_FROM OE_PRICE_ MODIFIED_FR Stores the value of the
ADJUSTMENTS OM upgraded item code.
MODIFIED_TO OE_PRICE_ MODIFIED_TO Stores the value of the
ADJUSTMENTS upgraded item code.
MODIFIER_MECHANIS OE_PRICE_ MODIFIER_
M_TYPE_CODE ADJUSTMENTS MECHANISM_
TYPE_CODE
OPERAND OE_PRICE_ OPERAND Stores the adjustment
ADJUSTMENTS value, qualified by an
arithmetic operator.
OPERAND_PER_PQTY OE_PRICE_ OPERAND_PER Operand per quantity.
ADJUSTMENTS _PQTY
OPERATION_CODE Not used for outbound
transactions.
ORDER_SOURCE OE_ORDER_ NAME Order source name that is
SOURCES the same as the one in the
order.
ORIG_SYS_DISCOUNT_ OE_PRICE_ ORIG_SYS_ Original system discount
REF ADJUSTMENTS DISCOUNT_RE reference.
F
PARENT_ADJUSTMENT QP_LIST_ NAME Parent adjustment name.
_NAME HEADERS_TL
PRICING_PHASE QP_PRICING_ NAME Pricing phase name.
PHASES
PERCENT OE_PRICE_ PERCENT Percentage.
ADJUSTMENTS
TAX_CODE OE_PRICE_ TAX_CODE Tax code for the charges.
ADJUSTMENTS
UPDATE_ALLOWED OE_PRICE_ UPDATE_ALLO Indicates whether this
ADJUSTMENTS WED adjustment can be
overridden.
UPDATED_FLAG OE_PRICE_ UPDATED_FLA Indicates whether the user
ADJUSTMENTS G has modified this row.
VERSION_NUMBER Not used for outbound
transactions.
STATUS_FLAG Not used for outbound
transactions.
FREIGHT_CODE COST_ID
524 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
1.1.2 PRICE_ATTRIBS
Oracle Applications
Field Name Table/View Name Column Name Description
HEADER_ID OE_ORDER_PRIC HEADER_ID Order header identifier
E_ATTRIBS that is the same as the
HEADER_ID in the
order.
LINE_ID OE_ORDER_PRIC LINE_ID Order line identifier that
E_ATTRIBS is the same as the
LINE_ID in the order
lines.
ORIG_SYS_ATTS_REF OE_ORDER_PRIC ORIG_SYS_ Original System
E_ATTRIBS ATTS_REF Attribute Reference.
ORDER_SOURCE OE_ORDER_ NAME Order source name that
SOURCES is the same as the one in
the order.
CHANGE_REQUEST_COD Not used for outbound
E transactions.
CHANGE_SEQUENCE Not used for outbound
transactions.
OPERATION_CODE Not used for outbound
transactions.
STATUS_FLAG Not used for outbound
transactions.
FLEX_TITLE OE_ORDER_LINE FLEX_TITLE Name of the pricing
S_ALL context’s flex structure.
PRICING_CONTEXT OE_ORDER_LINE PRICING_
S_ALL CONTEXT
1.1.3 LOTSERIALS
Oracle
Applications
Field Name Table/View Name Column Name Description
ORDER_SOURCE OE_ORDER_ NAME Order source name that is
SOURCES the same as the one in the
order.
ORIG_SYS_LOTSERIAL_REF OE_LOT_ ORIG_SYS_ Original system lot serial
SERIAL_ LOTSERIAL_ reference.
NUMBERS REF
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 525
5 Order Management Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
LOT_NUMBER OE_LOT_ LOT_NUMBE
SERIAL_NUM R
BERS
LINE_ID OE_LOT_ LINE_ID Order line identifier that
SERIAL_ is the same as the
NUMBERS LINE_ID in the order
lines.
FROM_SERIAL_NUMBER OE_LOT_ FROM_SERIA Serial number range
SERIAL_ L_NUMBER starting number. If
NUMBERS TO_SERIAL_NUMBER is
null, then the only serial
number is
FROM_SERIAL_
NUMBER.
TO_SERIAL_NUMBER OE_LOT_ TO_SERIAL_ Serial number range
SERIAL_ NUMBER ending number.
NUMBERS
QUANTITY OE_LOT_ QUANTITY Lot or serial number
SERIAL_ quantity. This should
NUMBERS match the serial number
range for serial number
controlled items.
CHANGE_REQUEST_CODE Not used for outbound
transactions.
CHANGE_SEQUENCE Not used for outbound
transactions.
OPERATION_CODE Not used for outbound
transactions.
STATUS_FLAG Not used for outbound
transactions.
526 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
1.1.4 SALES_CREDITS
Oracle
Applications
Field Name Table/View Name Column Name Description
HEADER_ID OE_SALES_ HEADER_ID Order header identifier
CREDITS that is the same as the
HEADER_ID in the order.
LINE_ID OE_SALES_ LINE_ID Order line identifier that
CREDITS is the same as the
LINE_ID in the order
lines.
ORIG_SYS_CREDIT_REF OE_SALES_ ORIG_SYS_ Original System Credit
CREDITS CREDIT_REF Reference.
ORDER_SOURCE OE_ORDER_ NAME Order source name that is
SOURCES the same as the one in the
order.
QUOTA_FLAG OE_SALES_ QUOTA_FLA Indicates revenue or
CREDITS G non-revenue based credit.
PERCENT OE_SALES_ PERCENT Indicates sales credit
CREDITS percentage for a sales
representative.
SALESREP RA_SALESRE NAME Sales representative’s
PS_ALL name.
SALES_CREDIT_TYPE OE_SALES_ NAME Sales credit type.
CREDIT_TYPE
S
CHANGE_REQUEST_CODE Not used for outbound
transactions.
CHANGE_SEQUENCE Not used for outbound
transactions.
OPERATION_CODE Not used for outbound
transactions.
STATUS_FLAG Not used for outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 527
5 Order Management Predefined Transaction Services
1.1.5 OE_RESERVTNS
Oracle Applications
Field Name Table/View Name Column Name Description
HEADER_ID MTL_RESERVATIO DEMAND_SOUR Order header identifier
NS CE_HEADER_ID that is the same as the
HEADER_ID in the
order.
LINE_ID MTL_RESERVATIO DEMAND_SOUR Order line identifier that
NS CE_LINE_ID is the same as the
LINE_ID in the order
lines.
ORDER_SOURCE OE_ORDER_ NAME Order source name that
SOURCES is the same the one in
the order.
REVISION MTL_RESERVATIO REVISION For revision controlled
NS reserved item.
ITEM_CODE MTL_SYSTEM_ CONCATENATE Reserved item.
ITEMS_B_KFV D_SEGMENTS
SUBINVENTORY_CO MTL_RESERVATIO SUBINVENTORY Subinventory where
DE NS _CODE reserved item resides.
LOCATOR MTL_ITEM_ CONCATENATE Locator where reserved
LOCATIONS_KFV D_SEGMENTS item resides.
LOT_NUMBER MTL_RESERVATIO LOT_NUMBER For lot controlled
NS reserved item.
QUANTITY MTL_RESERVATIO RESERVATION_ Quantity reserved.
NS QUANTITY
ORIG_SYS_ Original System
RESERVATION_REF Reservation Reference.
Not used for outbound.
CHANGE_SEQUENC Not used for outbound
E transactions.
OPERATION_CODE Not used for outbound
transactions.
528 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
5 Order Management Predefined Transaction Services
1.1.6 OE_LINE_ACTIONS
Oracle Applications
Field Name Table/View Name Column Name Description
HEADER_ID OE_ORDER_HEADE HEADER_ID Order header
RS_ALL identifier that is the
same as the
HEADER_ID in the
order.
LINE_ID OE_ORDER_LINES_ LINE_ID Order line identifier
ALL that is the same as the
LINE_ID in the order
lines.
ORDER_SOURCE Not used for
outbound
transactions.
CHANGE_SEQUENCE Not used for
outbound
transactions.
HOLD_NAME Not used for
outbound
transactions.
HOLD_TYPE_CODE Not used for
outbound
transactions.
HOLD_UNTIL_DATE Not used for
outbound
transactions.
RELEASE_REASON_C Not used for
ODE outbound
transactions.
COMMENTS Not used for
outbound
transactions.
CONTEXT Not used for
outbound
transactions.
OPERATION_CODE Not used for
outbound
transactions.
STATUS_FLAG Not used for
outbound
transactions.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 529
5 Order Management Predefined Transaction Services
530 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
Query Product Catalog Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
Query Purchase Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
Query Purchase Order Status Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
Query Request For Quotation Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
Query Supplier Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
Receive Purchase Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
Receive RCV Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Receive Requisition Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
Send Purchase Order Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584
Send Request For Quotation Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602
Send Supplier Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 531
6 Procurement Predefined Transaction Services
Overview
This chapter describes the predefined transaction services provided in the Oracle
Applications Adapter’s 12.0.6 Procurement package.
The table below shows the predefined transaction services organized by Oracle
Applications module. This chapter lists the transactions in alphabetical order.
Oracle Applications
Module Predefined Service
Purchasing “Query Product Catalog Service” on page 532
“Query Purchase Order Service” on page 539
“Query Purchase Order Status Service” on page 541
“Query Request For Quotation Service” on page 545
“Query Supplier Service” on page 547
“Receive Purchase Order Service” on page 548
“Receive RCV Service” on page 565
“Receive Requisition Service” on page 575
“Send Purchase Order Service” on page 584
“Send Request For Quotation Service” on page 602
“Send Supplier Service” on page 617
For more information about using the predefined transaction services, see Chapter 1,
“Predefined Transaction Services” on page 17.
This service retrieves Supplier Product/Item Catalog information to locate items and their
source information to create purchase order and requisition lines.
You can use the following parameters to query the Product Catalog:
ITEM_CATEGORY: Item category.
VENDOR_NAME: Vendor name.
VENDOR_SITE: Vendor site code for an item.
532 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_productcatalog.sql Runs the scripts listed below, except the
uninstall script.
wm_from_productcatalog_vw.sql Creates the following required view
components:
WM_PO_PRODUCT_CATALOG_QRY_VW
WM_PO_SOURCING_DOCS_VW
WM_PO_SOURCING_RULES_VW
WM_PO_PRIOR_PURCHASES_VW
WM_PO_NEGOTIATED_SOURCES_VW
wm_drop_from_productcatalog.sql Uninstalls all components created by
wm_install_from_productcatalog.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow queryProductCatalog executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryProductCatalogTxn service queries the Oracle Applications database for any
Product Catalog matching the parameter values. The parameters are defined as the
input to this service.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 533
6 Procurement Predefined Transaction Services
For more details on query transactions, see “Using Query Services” on page 37.
1.0. SUPPLIER_ITEMS
Oracle
Applications
Document Field Table/View Name Column Name Description
WEB_TRANSACTION_ID Not used Populated from a
sequence and used
internally in the IS Flow.
Will contain NULL
value for Queried
Product Catalog data.
DOCUMENT_TYPE Not used Use PRODUCTCAT.
DOCUMENT_STATUS Not used Use QUERY.
ORG_ID Organization ID.
ORGNIZATION_NAME
ITEM_CATEGORY MTL_ SEGMENT1||’.’ The Category ID stored
CATEGORIES ||SEGMENT2 in the PO_LINES_ALL
table joins with
Category ID in
MTL_CATEGORIES
table.
ITEM_NUM MTL_SYSTEM CONCATENAT The Item ID stored in
_ITEMS_B_KF ED_SEGMENTS the PO_LINES_ALL
V table joins with Item ID
in
MTL_SYSTEM_ITEMS_
B_
KFV table.
VENDOR_NAME AP_SUPPLIER VENDOR_NAM Supplier name.
S E
534 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
VENDOR_SITE AP_SUPPLIER VENDOR_SITE_ Supplier site.
_SITES_ALL CODE
ITEM_DESCRIPTION PO_LINES_AL ITEM_
L DESCRIPTION
ITEM_REVISION PO_LINES_AL ITEM_ Stored in
L REVISION PO_LINES_ALL.
SUPPLIER_ITEM PO_LINES_AL VENDOR_ Supplier product
L PRODUCT_NU number.
M
1.1. NEGOTIATED_SOURCES
Oracle
Applications
Field Name Table/View Name Column Name Description
VENDOR_NAME AP_SUPPLIER VENDOR_ Supplier name.
S NAME
VENDOR_SITE AP_SUPPLIER VENDOR_SIT Supplier site.
_SITES_ALL E_CODE
ITEM_NUM MTL_SYSTEM CONCATENA The Item ID stored in the
_ITEMS_B_ TED_SEGMEN PO_LINES_ALL table
KFV TS joins with Item ID in
MTL_SYSTEM_ITEMS_B
_KFV table.
ITEM_CATEGORY MTL_ SEGMENT1||’ The Category ID stored in
CATEGORIES .’||SEGMENT the PO_LINES_ALL table
2 joins with Category ID in
MTL_CATEGORIES table.
ITEM_DESCRIPTION PO_LINES_AL ITEM_
L DESCRIPTIO
N
ITEM_REVISION PO_LINES_AL ITEM_ Stored in
L REVISION PO_LINES_ALL.
LINE_UOM PO_LINES_AL UNIT_MEAS_ Unit of measure for the
L LOOKUP_CO line.
DE
LINE_PRICE PO_LINES_AL UNIT_PRICE Unit price for the line.
L
SUPPLIER_ITEM PO_LINES_AL VENDOR_ Supplier product number.
L PRODUCT_
NUM
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 535
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BREAK_QUANTITY PO_LINE_ QUANTITY - Quantity ordered or break
LOCATIONS_ NVL(QUANTI quantity for blanket
ALL TY_CANCELL purchase orders, Requests
ED,0) For Quotations (RFQs),
and quotations minus
quantity cancelled.
BREAK_PRICE PO_LINE_ PRICE_ Order shipment price or
LOCATIONS_ OVERRIDE break price for blanket
ALL purchase orders, RFQs,
and quotations.
1.2. PRIOR_PURCHASES
Oracle
Applications
Document Field Table/View Name Column Name Description
ORDER_DATE PO_HEADERS CREATION_ IF
_ALL DATE TYPE_LOOKUP_CODE =
Standard, use
PO_RELEASE
CREATION_DATE from
S_ALL
the PO_HEADERS_ALL
table.
If TYPE_LOOKUP_CODE
= Planned or Blanket, use
CREATION_DATE in the
table
PO_RELEASES_ALL.
VENDOR_NAME AP_SUPPLIER VENDOR_ Supplier name.
S NAME
VENDOR_SITE AP_SUPPLIER VENDOR_SIT Supplier site.
_SITES_ALL E_CODE
ITEM_NUM MTL_SYSTEM CONCATENA The Item ID stored in the
_ITEMS_B_ TED_SEGMEN PO_LINES_ALL table
KFV TS joins with Item ID in
MTL_SYSTEM_ITEMS_B
_KFV table.
ITEM_CATEGORY MTL_ SEGMENT1||’ The Category ID stored in
CATEGORIES .’||SEGMENT the PO_LINES_ALL table
2 joins with Category ID in
MTL_CATEGORIES table.
ITEM_DESCRIPTION PO_LINES_AL ITEM_
L DESCRIPTIO
N
536 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
ITEM_REVISION PO_LINES_AL ITEM_ Stored in
L REVISION PO_LINES_ALL.
UOM PO_LINES_AL UNIT_MEAS_ Unit of measure.
L LOOKUP_CO
DE
SUPPLIER_ITEM PO_LINES_AL VENDOR_ Supplier product number.
L PRODUCT_
NUM
QUANTITY PO_LINE_ QUANTITY - Quantity ordered or break
LOCATIONS_ NVL(QUANTI quantity for blanket
ALL TY_CANCELL purchase orders, RFQ,
ED,0) and quotations minus
quantity cancelled.
PRICE PO_LINES_AL PO_LINES_AL Unit price for standard
L/ PO_LINE_ L.UNIT_PRIC PO, or the price override
LOCATIONS_ E/PO_LINE_ for a planned or blanket
ALL LOCATIONS_ PO.
ALL.PRICE_
OVERRIDE
1.3. SOURCING_RULES
Oracle
Applications
Document Field Table/View Name Column Name Description
ORG_ID MRP_SOURC ORGANIZATI Organization identifier.
ES_V ON_ID
RULE MRP_SOURC SOURCING_ Rule name.
ES_V RULE_NAME
RULE_ID MRP_SOURC SOURCING_ Rule identifier.
ES_V RULE_ID
ITEM_NUM MTL_SYSTEM CONCATENA The item ID stored in the
_ITEMS_B_ TED_SEGMEN PO_LINES_ALL table
KFV TS joins with Item ID in
MTL_SYSTEM_ITEMS_B
_
KFV table.
ITEM_DESCRIPTION PO_LINES_AL ITEM_
L DESCRIPTIO
N
FROM_DATE MRP_SOURC EFFECTIVE_
ES_V DATE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 537
6 Procurement Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
TO_DATE MRP_SOURC DISABLE_DA
ES_V TE
VENDOR_NAME AP_SUPPLIER VENDOR_ Supplier name.
S NAME
VENDOR_SITE AP_SUPPLIER VENDOR_SIT Supplier site.
_SITES_ALL E_CODE
ORGANIZATION_CODE MTL_ ORGANIZATI
PARAMETERS ON_CODE
VENDOR_ID AP_SUPPLIER VENDOR_ID Vendor identifier.
S
1.3.1. SOURCING_DOCUMENTS
Oracle
Applications
Field Name Table/View Name Column Name Description
ITEM_NUM MTL_SYSTEM CONCATENA Item number.
_ITEMS_B_ TED_SEGME
KFV NTS
ITEM_CATEGORY MTL_CATEG SEGMENT1||’ The Category ID stored in
ORIES .’||SEGMENT the PO_LINES_ALL table
2 joins with Category ID in
MTL_CATEGORIES table.
VENDOR_ID AP_SUPPLIER VENDOR_ID Vendor identifier.
S
RULE_ID PO_ASL_ ASL_ID Rule identifier.
DOCUMENTS
SEQUENCE_NUM PO_ASL_ SEQUENCE_ Sequence number.
DOCUMENTS NUM
VENDOR_PRODUCT_NUM PO_LINES_AL VENDOR_ Vendor Product Number.
L PRODUCT_
NUM
LINE_UOM PO_LINES_AL UNIT_MEAS_ Unit of measure.
L LOOKUP_CO
DE
LINE_PRICE PO_LINES_AL UNIT_PRICE Unit price for the line.
L
538 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BREAK_QUANTITY PO_LINE_ QUANTITY - Quantity ordered or break
LOCATIONS_ NVL(QUANTI quantity for blanket
ALL TY_CANCELL purchase orders, RFQ and
ED,0) quotations minus
quantity cancelled.
BREAK_PRICE PO_LINE_ PRICE_ Order shipment price or
LOCATIONS_ OVERRIDE break price for blanket
ALL purchase orders, Requests
For Quotations (RFQs),
and quotations.
This service retrieves PO data. The following parameters are used for querying PO data:
AGENT_NAME
DOCUMENT_NUM
SHIP_TO_ADDRESS_LINE_1, SHIP_TO_ADDRESS_LINE_2,
SHIP_TO_ADDRESS_LINE_3
SHIP_TO_TOWN_OR_CITY
SHIP_TO_REGION_1, SHIP_TO_REGION_2, SHIP_TO_REGION_3
SHIP_TO_COUNTRY
SHIP_TO_POSTAL_CODE
BILL_TO_ADDRESS_LINE_1, BILL_TO_ADDRESS_LINE_2,
BILL_TO_ADDRESS_LINE_3
BILL_TO_TOWN_OR_CITY
BILL_TO_REGION_1, BILL_TO_REGION_2, BILL_TO_REGION_3
BILL_TO_COUNTRY
BILL_TO_POSTAL_CODE
ADDRESS_LINE1, ADDRESS_LINE2, ADDRESS_LINE3
CITY
STATE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 539
6 Procurement Predefined Transaction Services
ZIP
COUNTRY
VENDOR_NAME
ORGANIZATION_NAME
Database Scripts
This service uses the same database scripts as the Send Purchase Order service.
Note: If you use this service but you do not use the Send Purchase Order service, you
should run the wm_disable_from_po.sql script to disable the triggers installed by the
Send Purchase Order service.
For a detailed description of these database scripts, see “Send Purchase Order Service” on
page 584. For more information about using database scripts, see “Database Scripts” on
page 27.
Flow Control
The main flow queryPO executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryPOTxn queries the Oracle Applications database for any purchase order
information matching the parameter values. The parameters are defined as the input
to this service.
For more details on query transactions, see “Using Query Services” on page 37.
540 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
This service retrieves the purchase order status based on the following parameters:
BUYER_NAME
PO_DOCUMENT_NUM
ORGANIZATION_NAME
SHIP_TO_ADDRESS_LINE_1,SHIP_TO_ADDRESS_LINE_2,
SHIP_TO_ADDRESS_LINE_3
SHIP_TO_TOWN_OR_CITY
SHIP_TO_REGION_1, SHIP_TO_REGION_2, SHIP_TO_REGION_3
SHIP_TO_COUNTRY
SHIP_TO_POSTAL_CODE
BILL_TO_ADDRESS_LINE_1, BILL_TO_ADDRESS_LINE_2,
BILL_TO_ADDRESS_LINE_3
BILL_TO_TOWN_OR_CITY
BILL_TO_REGION_1, BILL_TO_REGION_2, BILL_TO_REGION_3
BILL_TO_COUNTRY
BILL_TO_POSTAL_CODE
SUPPLIER_ADDRESS_LINE1, SUPPLIER_ADDRESS_LINE2,
SUPPLIER_ADDRESS_LINE3
SUPPLIER_CITY
SUPPLIER_STATE
SUPPLIER_ZIP
SUPPLIER_COUNTRY
SUPPLIER_NAME
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 541
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_orderstatu Runs the scripts listed below, except the uninstall
s.sql script.
wm_from_orderstatus_vw.s Creates the required view component
ql WM_OS_QRY_VW.
wm_from_orderstatus_pkg. Installs the WM_ORDER_STATUS_PKG.get_po_status
sql procedure to retrieve the Purchase Order Status.
wm_drop_from_orderstatus Uninstalls all components created by
.sql wm_install_from_orderstatus.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
You can query order status data using the following flow steps:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryOrderStatusTxn service queries the Oracle Applications database for any Order
Status matching the parameter values. The parameters are defined as the input to this
service.
For more details on query transactions, see “Using Query Services” on page 37.
542 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
PURCHASE_ORDER
Oracle
Applications
Document Field Table/View Name Column Name Description
PO_DOCUMENT_NUM PO_HEADER SEGMENT1 Purchase order
S_ALL number.
REVISION_NUM PO_HEADER REVISION_ Purchase order
S_ALL NUM revision number.
TYPE_LOOKUP_CODE PO_HEADER TYPE_LOOK Purchase order type
S_ALL UP_CODE (e.g., STANDARD,
BLANKET,
PLANNED,
CONTRACT)
CREATION_DATE_DISP PO_HEADER CREATION_ Purchase order
S_ALL DATE creation date.
ORGANIZATION_NAME PO_HEADER ORG_ID Organization name
S_ALL for which the PO is
generated.
VENDOR_NAME PO_HEADER VENDOR_ID Supplier name.
S_ALL
VENDOR_SITE_CODE PO_HEADER VENDOR_SI Supplier site code.
S_ALL TE_ID
VENDOR_CONTACT PO_HEADER VENDOR_ Supplier contact
S_ALL CONTACT_I name.
D
CURRENCY_CODE PO_HEADER CURRENCY_
S_ALL CODE
AGENT_NAME PO_HEADER AGENT_ID Buyer name.
S_ALL
PO_STATUS PO_HEADER STATUS_ Purchase order status.
S_ALL LOOKUP_C
ODE
BLANKET_TOTAL_AMOU PO_HEADER BLANKET_ Amount agreed for
NT S_ALL TOTAL_ the purchase order.
AMOUNT
COMMENTS PO_HEADER COMMENTS
S_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 543
6 Procurement Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
SHIP_TO_ADDRESS_LINE_ PO_HEADER SHIP_TO_ Shipping location
1 S_ALL LOCATION_ details.
ID
SHIP_TO_ADDRESS_LINE_
2
SHIP_TO_ADDRESS_LINE_
3
SHIP_TO_TOWN_OR_CITY
SHIP_TO_REGION_1
SHIP_TO_REGION_2
SHIP_TO_REGION_3
SHIP_TO_COUNTRY
SHIP_TO_POSTAL_CODE
BILL_TO_ADDRESS_LINE_ PO_HEADER BILL_TO_ Billing location
1 S_ALL LOCATION_ details.
ID
BILL_TO_ADDRESS_LINE_
2
BILL_TO_ADDRESS_LINE_
3
BILL_TO_TOWN_OR_CITY
BILL_TO_REGION_1
BILL_TO_REGION_2
BILL_TO_REGION_3
BILL_TO_COUNTRY
BILL_TO_POSTAL_CODE
544 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Document Field Table/View Name Column Name Description
SUPPLIER_ADDRESS_LIN PO_HEADER VENDOR_SI Purchase order
E1 S_ALL TE_ID vendor site details.
SUPPLIER_ADDRESS_LIN
E2
SUPPLIER_ADDRESS_LIN
E3
SUPPLIER_CITY
SUPPLIER_STATE
SUPPLIER_ZIP
SUPPLIER_COUNTRY
This service retrieves all new and changed active Request For Quotation (RFQ) data.
Because RFQs cannot be deleted, the document status of DELETE does not apply in this
case.
You can use the following parameters to query RFQs:
RFQ_NUMBER
RFQ_STATUS
BUYER_NAME
DUE_DATE_FROM
DUE_DATE_TO
CLOSE_DATE_FROM
CLOSE_DATE_TO
EFFECTIVE_DATE_FROM
EFFECTIVE_DATE_TO
ITEM_NUMBER
SUPPLIER_NAME
SUPPLIER_ADDRESS_LINE1, SUPPLIER_ADDRESS_LINE2,
SUPPLIER_ADDRESS_LINE3
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 545
6 Procurement Predefined Transaction Services
SUPPLIER_CITY
SUPPLIER_STATE
SUPPLIER_COUNTRY
SUPPLIER_ZIP
Database Scripts
This service uses the same database scripts as the Send Request For Quotation service.
Note: If you use this service but you do not use the Send Request For Quotation
service, you should run the wm_disable_from_rfq.sql script to disable the triggers
installed by the Send Request For Quotation service.
For a detailed description of these database scripts, see “Send Request For Quotation
Service” on page 602. For more information about using database scripts, see “Database
Scripts” on page 27.
Flow Control
The main flow queryRFQ executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
queryRFQTxn queries the Oracle Applications database for any RFQ information
matching the parameter values. The parameters are defined as the input to this
service.
For more details on query transactions, see “Using Query Services” on page 37.
546 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
This service retrieves new or changed active supplier data. It extracts information for a
supplier only, and not for individual employees who are also set up as suppliers. Because
suppliers cannot be deleted, the document status of DELETE does not apply in this case.
You can use the following parameters to query supplier data:
SUPPLIER_NUMBER: Unique supplier identifier in Oracle Applications that is
assigned to the supplier upon creation.
SUPPLIER_SITE_CODE: Unique site identifier for a supplier. The same site name can
exist for multiple suppliers.
INACTIVE_DATE_FROM: Beginning date when the supplier is inactive.
INACTIVE_DATE_TO: Ending date when the supplier is inactive.
TAXPAYER_ID: Supplier taxpayer ID.
TAX_REGISTRATION_NUMBER: Tax registration number.
Database Scripts
This service uses the same database scripts as the Send Supplier service.
Note: If you use this service but you do not use the Send Supplier service, you should
run the wm_disable_from_supplier.sql script to disable the triggers installed by the
Send Supplier service.
For a detailed description of these database scripts, see “Send Supplier Service” on
page 617. For more information about using database scripts, see “Database Scripts” on
page 27.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 547
6 Procurement Predefined Transaction Services
Flow Control
The main flow querySupplier executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
querySupplierTxn queries the Oracle Applications database for any supplier matching
the parameter values. The parameters are defined as the input to this service.
For more details on query transactions, see “Using Query Services” on page 37.
This service loads purchase order documents into the Oracle Applications Production
tables. You can load three types of purchase orders: Standard Purchase Orders, Blanket
Agreements, and Catalog Quotations. This service handles multiple PO records in a
single document, and a single document can contain any combination of PO types.
Each record in the document is inserted, updated, or cancelled with respect to the
production data. The actual business operation (such as INSERT or UPDATE) is
determined by the underlying Oracle Applications APIs and the data in the individual
columns of the document.
A PO document that contains only a single PO type is assigned a single, unique batch ID
for all the records.
A PO document that contains multiple PO types is assigned multiple batch IDs, one for
each PO Type. The batch ID is used as a parameter in the Concurrent Program in order to
selectively process only those records in the interface table that match the parameter
value. Using a batch ID ensures that records of only one PO type are processed during a
single instance of flow.
548 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_po.sql Runs the scripts listed below, except the uninstall
script.
wm_into_po_pkg.sql Installs
WM_OPENPO_IMP_HANDLER_PKG.WM_HANDLE
_REQ, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT to
submit the PO Open Document interface concurrent
program.
wm_into_po_seq.sql Creates the WM_PO_BATCH_S component, which
creates the unique BATCH_ID sequence.
wm_drop_into_po.sql Uninstalls all components created by
wm_install_into_po.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import inventory transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
pickSequence generates sequence values for header sequence, line sequence,
distribution sequence, and custom batch sequence.
bizDocMapping maps the incoming business data structure to the required data
structure, which is similar to the interface table. This service uses the following
services internally to provide required data feed during the mapping:
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 549
6 Procurement Predefined Transaction Services
550 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
checkPOConcProgStatus checks for the status of the concurrent program execution for
the given request ID after the specified interval.
checkPOImportStatus checks for the status of the imported purchase order.
getPOImport_ERR gets the data import error for the specific request ID.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 551
6 Procurement Predefined Transaction Services
552 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 553
6 Procurement Predefined Transaction Services
554 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 555
6 Procurement Predefined Transaction Services
556 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 557
6 Procurement Predefined Transaction Services
558 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 559
6 Procurement Predefined Transaction Services
560 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 561
6 Procurement Predefined Transaction Services
562 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 563
6 Procurement Predefined Transaction Services
564 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
You can use this service to process and validate receipt data from sources other than the
Receipts window in Purchasing.
You can import the following types of receipt data:
Standard Receipts
Direct Receipts for receive and deliver transactions
This service does not support:
Serial numbering
Separate receive and deliver transactions
Corrections
Returns
Movement statistics
Dynamic locators
Receipt against Internal Orders
Receipt against Inter-Organization transfers
Receipt against Drop Ship Orders
Receipt against RMAs
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 565
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_rcv.sql Runs the scripts listed below, except the uninstall script.
wm_into_rcv_pkg.sql Installs
WM_RECEIVING_IMP_HANDLER_PKG.WM_HAND
LE_RECEIVING, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT to
submit the Receiving Transactions Import Concurrent
request program.
wm_into_rcv_seq.sql Create the WM_RCV_GROUP_S component, which
creates the unique GROUP_ID sequence.
wm_drop_into_rcv.sql Uninstalls all components created by
wm_install_into_rcv.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
This service uses the following flow steps to import inventory transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
pickSequence generates the group ID from the customer sequence
WM_RCV_GROUP_S.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures, which is similar to the interface tables.
566 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 567
6 Procurement Predefined Transaction Services
568 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 569
6 Procurement Predefined Transaction Services
570 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 571
6 Procurement Predefined Transaction Services
572 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 573
6 Procurement Predefined Transaction Services
574 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
This service loads requisition documents into Oracle Applications production tables. You
can load multiple types of requisition documents, such as Internal and Purchase. This
service handles multiple requisition records in a single document, and a single document
can contain any combination of requisition types.
Each record in the business document is inserted, updated, or cancelled according to the
production data. The actual business operation (such as INSERT or UPDATE) is
determined by the underlying Oracle Applications APIs and the data in the individual
columns of the business document.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 575
6 Procurement Predefined Transaction Services
Data is loaded into the interface tables for both single and multiple distributions. The
custom API calls the Oracle Applications API with a default parameter for multiple
distributions.
While submitting the Import Requisition concurrent program to load the requisition
records from interface tables to production tables, it is not possible to restrict the
processing to only those records uploaded by the IS flow instance. The program will
process all unprocessed records and error records from both the previous load and the
interface table at the time of execution. While showing errors, it might display an error
related to previously failed records, even if the current import process was successful. It
is suggested to keep the interface table free of error records to minimize ambiguity.
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_into_req.sql Runs the scripts listed below, except the uninstall script.
wm_into_req_pkg.sql Installs
WM_REQ_IMP_HANDLER_PKG.WM_HANDLE_
REQ, which calls the
WM_CONC_REQUEST.WM_REQUEST_SUBMIT
procedure to submit the Requisition import process.
wm_into_req_seq.sql Creates the following components:
WM_REQ_BATCH_S, which creates the
Req_Batch_sequence_id sequence
WM_REQ_DIST_S, which creates the
Req_Dist_sequence_id
wm_drop_into_req.sql Uninstalls all components created by
wm_install_into_req.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
576 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Flow Control
This service uses the following flow steps to import inventory transactions:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for concurrent
program execution. You should change these settings accordingly.
pickSequence generates a sequence value for header sequence.
bizDocMapping maps the incoming business data structure to the required data
structure, which is similar to the interface table. This service uses the following
services internally to provide required data feed during the mapping (each record of
PO_REQ_LINE becomes an entry of PO_REQUISITIONS_INTERFACE_ALL):
getOrgId is a transformer for mapping the business document IData structure to
the interface table IData structure. It takes ORGANIZATION_NAME as the input
parameter, queries the table ORG_ORGANIZATION_DEFINITIONS, and gets
the ORGANIZATION_ID corresponding to the ORGANIZATION_NAME.
getVendorSiteId is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ADDRESS_LINE1,
ADDRESS_LINE2, ADDRESS_LINE3, CITY, STATE, ZIP, COUNTRY,
VENDOR_NAME, and ORGANIZATION_NAME as the input parameters,
queries the AP_SUPPLIER_SITES_ALL, AP_SUPPLIERS, and
ORG_ORGANIZATION_DEFINITIONS tables, and gets the VENDOR_SITE_ID
corresponding to the passed values.
getCategoryId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes CATEGORY as the input parameter,
and returns the CATEGORY_ID.
getItemNumber is a transformer for mapping the business document IData
structure to the interface table IData structure. It takes ITEM as the input
parameter, and returns the ITEM_NUMBER.
getTaxCodeId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes TAX_NAME as the input parameter
queries the AP_TAX_CODE_ALL to get the TAX_ID.
getWIPEntityId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes WIP_ENTITY_NAME as the input
parameter, and gets the WIP_ENTITY_ID corresponding to the input values.
getWIPLineId is a transformer for mapping the business document IData structure
to the interface table IData structure. It takes WIP_LINE_CODE as the input
parameter, and gets the WIP_LINE_ID corresponding to the input values.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 577
6 Procurement Predefined Transaction Services
578 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
getRequisitionImport_ERR gets the data import error for the specific request ID. This
service takes request_id as an input, retrieves a data import error from
INTERFACE_ERROR table, and appends the errorsDoc record list.
For more details on receive transactions, see “Overview of Receive Service Transaction
Processing” on page 32.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 579
6 Procurement Predefined Transaction Services
580 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 581
6 Procurement Predefined Transaction Services
582 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 583
6 Procurement Predefined Transaction Services
This service retrieves all new or changed approved PO data, and presents it in a logical
structure (a business document) that can be sent to a trading partner.
POs, once defined in Oracle Applications, cannot be deleted. Thus, business documents
with the document status of INSERT or UPDATE (but not DELETE) will be created.
Approved POs may be updated and re-approved, and then closed or cancelled. The
combination of Document Status, Status (PO Status), and Authorization Status defines
the actual status of the PO at the polling instance. The decision to transfer the PO to a
trading partner or to an internal organization must be made at implementation, based on
the three statuses.
For example: A PO is created, approved, and then cancelled. One record of INSERT and
one record of UPDATE are added to the Track Changes table. The sendPO service will
retrieve the business document that has Autorization_status = APPROVED, Status =
APPROVED, CLOSED, CANCELLED, and Transaction_status = INSERT. This document
cannot be sent to the trading partner.
584 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_po.sql Runs the scripts listed below, except the uninstall script.
wm_from_po_vw.sql Creates the following required view components for PO
outbound transactions:
WM_PO_DISTRIBUTIONS_VW
WM_PO_LINE_LOCATIONS_VW
WM_PO_LINES_VW
WM_PO_HEADERS_VW
WM_PO_QRY_VW
wm_from_po_trg.sql Creates the following trigger component to be used for
writing to wm_trackchanges to indicate a new or
updated document:
WM_PO_HEADERS_ALL_IU_TRG
wm_disable_from_po.sql Disables the triggers installed by wm_from_po_trg.sql.
wm_enable_from_po.sql Re-enables the triggers installed by
wm_from_po_trg.sql.
wm_drop_from_po.sql Uninstalls all components created by
wm_install_from_po.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow sendPO executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 585
6 Procurement Predefined Transaction Services
lockTxnCtrl determines whether the sendPO service is ready for execution. That is, it
determines whether there is no other instance of this service already in process.
If lockTxnCtrl service returns False, that means another instance of this service is
already in progress. The service exits and waits for the next scheduled execution.
If lockTxnCtrl service returns True, that means the service is ready to execute. The
PO row in the control table is locked and updated so that the status is changed to
INPROCESS, which prevents other PO services from executing.
getPOTxn service queries the Oracle Applications database for any PO transaction to
be processed. The number of records returned depends on the parameter value
specified in the above map.
processBizDoc is the customizable step that sends the business document to the
trading partner by looping against each document. This step also needs to be
customized to receive a SUCCESS or an ERROR status of the document transfer,
along with the error information. The transfer status and any error information are
logged against each document.
Loops against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that the same sets of
records are not picked up during the next polling interval. The updateTrackChanges
service updates the PROCESSED_FLAG in the WM_TRACKCHANGES table to
Y, and updates the Processed_Date to sysdate so that same information is not
picked up again during next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted. The purgeTrackChanges service purges the records from the
WM_TRACKCHANGES table.
Loops against each document. Based on the transfer status, the insertTransferERRInfo
service inserts a new record in the WM_TRACKCHANGES table so that same
document can be picked up during the next polling interval.
unlockTxnCtrl service releases the lock on the Custom Control table so that the next
polling instance of sendVendor service can begin.
getLastError service logs any errors that occur in the above steps.
unlockTxnCtrl releases the lock on the Custom Control table.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
586 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
1.1. PO_LINES
1.1.1. PO_LINE_LOCATIONS
1.1.1.1. PO_DISTRIBUTIONS
1.0. PO_HEADERS
Oracle
Applications
Field Name Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE Use PO.
DOCUMENT_STATUS Use INSERT or UPDATE.
ORGANIZATION_NAME HR_ORGANI NAME Organization name for
ZATION_UNI which the PO is
TS generated.
DOC_SUBTYPE PO_ DOCUMENT_ PO document subtype.
DOCUMENT_ SUBTYPE
TYPES_ALL
DOCUMENT_NUM PO_HEADERS SEGMENT1 PO number.
_ALL
REVISION_NUM PO_HEADERS REVISION_ PO revision number.
_ALL NUM
CREATION_DATE PO_HEADERS CREATION_ Date PO was created.
_ALL DATE
VENDOR_NAME AP_SUPPLIER VENDOR_ Supplier’s name.
S NAME
STATUS PO_HEADERS AUTHORIZAT PO status.
_ALL ION_STATUS
AUTHORIZATION_STATUS PO_HEADERS AUTHORIZAT Approval status of the PO.
_ALL ION_STATUS
COMMENTS PO_HEADERS COMMENTS Comments for the PO.
_ALL
ACCEPTANCE_REQUIRED_ PO_HEADERS ACCEPTANC Indicates whether
FLAG _ALL E_REQUIRED acceptance from the
_FLAG supplier is required.
ACCEPTANCE_DUE_DATE PO_HEADERS ACCEPTANC Last date when the
_ALL E_DUE_DATE supplier should accept the
PO.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 587
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
FIRM_STATUS_LOOKUP_C PO_HEADERS FIRM_STATUS Indicates whether the PO
ODE _ALL _LOOKUP_CO should be prevented from
DE being automatically
rescheduled by the
manufacturing
application.
FROZEN_FLAG PO_HEADERS FROZEN_FLA Indicates whether the PO
_ALL G is frozen.
AMOUNT_LIMIT PO_HEADERS AMOUNT_ Maximum amount that
_ALL LIMIT can be released against
the PO.
MIN_RELEASE_AMOUNT PO_HEADERS MIN_RELEAS Minimum amount that
_ALL E_AMOUNT can be released against
the PO.
APPROVAL_REQUIRED_FL PO_HEADERS APPROVAL_ Indicates whether a PO
AG _ALL REQUIRED_ requires approval.
FLAG
CLOSED_CODE PO_HEADERS CLOSED_COD Indicates whether a PO
_ALL E has a closed status.
SHIP_VIA_LOOKUP_CODE PO_HEADERS SHIP_VIA_ Freight carrier.
_ALL LOOKUP_CO
DE
FREIGHT_TERMS_LOOKUP PO_HEADERS FREIGHT_ Type of freight terms for
_CODE _ALL TERMS_ the PO.
LOOKUP_CO
DE
RATE_TYPE PO_HEADERS RATE_TYPE Rate type for the PO.
_ALL
RATE PO_HEADERS RATE Rate for the PO.
_ALL
FROM_TYPE_LOOKUP_CO PO_HEADERS FROM_TYPE_ PO used to auto create.
DE _ALL LOOKUP_CO
DE
END_DATE PO_HEADERS END_DATE Expiration date of the
_ALL document.
REVISED_DATE PO_HEADERS REVISED_DA Date when the PO has
_ALL TE been revised.
NOTE_TO_VENDOR PO_HEADERS NOTE_TO_ Note sent to the vendor.
_ALL VENDOR
PRINT_COUNT PO_HEADERS PRINT_COUN
_ALL T
588 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
REPLY_DATE PO_HEADERS REPLY_DATE Date when the supplier
_ALL replied to the PO.
SHIP_TO_ADDRESS_LINE_ HR_ ADDRESS_LI Address that will receive
1 LOCATIONS NE_1 the PO items. Derives the
SHIP_TO_LOCATION_I
D.
SHIP_TO_ADDRESS_LINE_ HR_ ADDRESS_LI
2 LOCATIONS NE_2
SHIP_TO_ADDRESS_LINE_ HR_ ADDRESS_LI
3 LOCATIONS NE_3
SHIP_TO_TOWN_OR_CITY HR_ TOWN_OR_
LOCATIONS CITY
SHIP_TO_COUNTRY HR_ COUNTRY
LOCATIONS
SHIP_TO_POSTAL_CODE HR_ POSTAL_COD
LOCATIONS E
SHIP_TO_REGION_1 HR_ REGION_1
LOCATIONS
SHIP_TO_REGION_2 HR_ REGION_2
LOCATIONS
SHIP_TO_REGION_3 HR_ REGION_3
LOCATIONS
BILL_TO_ADDRESS_LINE_1 HR_ ADDRESS_LI Address that will receive
LOCATIONS NE_1 the bill for the PO items.
Derives the
BILL_TO_LOCATION_ID
.
BILL_TO_ADDRESS_LINE_2 HR_ ADDRESS_LI
LOCATIONS NE_2
BILL_TO_ADDRESS_LINE_3 HR_ ADDRESS_LI
LOCATIONS NE_3
BILL_TO_TOWN_OR_CITY HR_ TOWN_OR_
LOCATIONS CITY
BILL_TO_COUNTRY HR_ COUNTRY
LOCATIONS
BILL_TO_POSTAL_CODE HR_ POSTAL_COD
LOCATIONS E
BILL_TO_REGION_1 HR_ REGION_1
LOCATIONS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 589
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BILL_TO_REGION_2 HR_ REGION_2
LOCATIONS
BILL_TO_REGION_3 HR_ REGION_3
LOCATIONS
FOB_LOOKUP_CODE PO_HEADERS FOB_LOOKUP Type of free on board
_ALL _CODE terms for the shipment.
CURRENCY_CODE PO_HEADERS CURRENCY_
_ALL CODE
RATE_DATE PO_HEADERS RATE_DATE
_ALL
START_DATE PO_HEADERS START_DATE Effective date of the price
_ALL break.
BLANKET_TOTAL_AMOU PO_HEADERS BLANKET_ Agreed amount for the
NT _ALL TOTAL_ PO.
AMOUNT
APPROVED_DATE PO_HEADERS APPROVED_
_ALL DATE
NOTE_TO_RECEIVER PO_HEADERS NOTE_TO_
_ALL RECEIVER
PRINTED_DATE PO_HEADERS PRINTED_DA Date when the PO is
_ALL TE printed.
CONFIRMING_ORDER_FL PO_HEADERS CONFIRMING Indicates whether the PO
AG _ALL _ORDER_FLA is a confirmed order.
G
REPLY_METHOD_LOOKUP PO_HEADERS REPLY_ Method the supplier
_CODE _ALL METHOD_ should reply to the PO.
LOOKUP_CO
DE
TYPE_LOOKUP_CODE PO_HEADERS TYPE_LOOKU Required. Use
_ALL P_CODE STANDARD, BLANKET,
or QUOTATION. Maps
directly.
USSGL_TRANSACTION_CO PO_HEADERS USSGL_ USA standard general
DE _ALL TRANSACTIO ledger transaction code.
N_CODE
CLOSED_DATE PO_HEADERS CLOSED_DAT Date when the PO is
_ALL E closed.
RFQ_CLOSE_DATE PO_HEADERS RFQ_CLOSE_ Date when the Request
_ALL DATE For Quotation (RFQ)
closes.
590 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
QUOTE_WARNING_DELAY PO_HEADERS QUOTE_ Number of days before
_ALL WARNING_ the quotation expires.
DELAY
QUOTE_VENDOR_QUOTE_ VENDOR_ QUOTE_ Supplier document
NUMBER DOC_NUM VENDOR_ number.
QUOTE_
NUMBER
AGENT_NAME PER_ALL_ NAME Buyer’s name.
PEOPLE_F
ADDRESS_LINE1 AP_SUPPLIER ADDRESS_ Supplier’s address line 1.
_SITES_ALL LINE1
ADDRESS_LINE2 AP_SUPPLIER ADDRESS_ Supplier’s address line 2.
_SITES_ALL LINE2
ADDRESS_LINE3 AP_SUPPLIER ADDRESS_ Supplier’s address line 3.
_SITES_ALL LINE3
CITY AP_SUPPLIER CITY
_SITES_ALL
STATE AP_SUPPLIER STATE
_SITES_ALL
ZIP AP_SUPPLIER ZIP
_SITES_ALL
COUNTRY AP_SUPPLIER COUNTRY
_SITES_ALL
PHONE AP_SUPPLIER PHONE
_SITES_ALL
FAX AP_SUPPLIER FAX
_SITES_ALL
VENDOR_CONTACT PO_VENDOR_ PERSON_LAS Supplier’s contact name.
CONTACTS T_NAME,
PERSON_FIRS
T_NAME
PAYMENT_TERMS AP_TERMS NAME
PCARD_NUM AP_CARDS_ CARD_ Credit card number.
ALL NUMBER
PAY_ON_CODE PO_HEADERS PAY_ON_COD Indicates whether the PO
_ALL E will be paid on receipt.
RELEASE_NUM PO_RELEASE RELEASE_NU PO release number.
S_ALL M
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 591
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
INTERFACE_SOURCE_COD PO_HEADERS INTERFACE_ Indicates the source
E _ALL SOURCE_CO where Oracle
DE Applications gets the PO.
PO_HEADER_ID PO_HEADERS PO_HEADER_ Required for outbound
_ALL ID transactions. Unique
identifier for PO header.
1.1. PO_LINES
Oracle
Applications
Field Name Table/View Name Column Name Description
LINE_NUM PO_LINES_AL LINE_NUM PO line number.
L
LINE_TYPE PO_LINE_TYP LINE_TYPE PO line type.
ES
ITEM_REVISION PO_LINES_AL ITEM_ PO item revision.
L REVISION
ITEM_DESCRIPTION PO_LINES_AL ITEM_
L DESCRIPTION
UNIT_MEAS_LOOKUP_CO PO_LINES_AL UNIT_MEAS_ Unit of measure for the
DE L LOOKUP_CO items.
DE
COMMITTED_AMOUNT PO_LINES_AL COMMITTED Supplier’s agreed amount
L _AMOUNT for the items.
ALLOW_PRICE_OVERRIDE PO_LINES_AL ALLOW_PRIC Indicates whether the
_FLAG L E_OVERRIDE_ price can be changed for a
FLAG PO release.
NOT_TO_EXCEED_PRICE PO_LINES_AL NOT_TO_ Maximum price limit for a
L EXCEED_PRIC PO release.
E
LIST_PRICE_PER_UNIT PO_LINES_AL LIST_PRICE_
L PER_UNIT
UNIT_PRICE PO_LINES_AL UNIT_PRICE
L
QUANTITY PO_LINES_AL QUANTITY Quantity for each item
L ordered.
VENDOR_PRODUCT_NUM PO_LINES_AL VENDOR_ Supplier’s item number.
L PRODUCT_
NUM
592 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
UN_NUMBER PO_UN_ UN_NUMBER
NUMBERS
HAZARD_CLASS PO_HAZARD HAZARD_
_CLASSES CLASS
MIN_ORDER_QUANTITY PO_LINES_AL MIN_ORDER_ Minimum order quantity
L QUANTITY for the PO.
MAX_ORDER_QUANTITY PO_LINES_AL MAX_ORDER Maximum order quantity
L _QUANTITY for the PO.
QTY_RCV_TOLERANCE PO_LINES_AL QTY_RCV_ Maximum over-receipt
L TOLERANCE tolerance percentage for
the quantity of the items
received.
OVER_TOLERANCE_ERRO PO_LINES_AL OVER_ A shipment is
R_FLAG L TOLERANCE_ automatically closed for
ERROR_FLAG invoicing if this tolerance
percentage is reached
when billed.
MARKET_PRICE PO_LINES_AL MARKET_PRI Market price for the item
L CE ordered in the PO.
FIRM_STATUS_LOOKUP_ PO_LINES_AL FIRM_STATUS Indicates whether the PO
CODE L _LOOKUP_CO should be prevented from
DE being automatically
rescheduled by the
manufacturing
application.
NOTE_TO_VENDOR PO_LINES_AL NOTE_TO_ Note to the supplier.
L VENDOR
TAXABLE_FLAG PO_LINES_AL TAXABLE_ Indicates whether the
L FLAG item is taxable.
TAX_NAME AP_TAX_COD NAME Name of the tax applied to
ES_ALL the item.
TYPE_1099 PO_LINES_AL TYPE_1099 1099 type for the purchase
L order item.
CAPITAL_EXPENSE_FLAG PO_LINES_AL CAPITAL_ Indicates whether the
L EXPENSE_FL item cost is a capital
AG expense.
NEGOTIATED_BY_PREPAR PO_LINES_AL NEGOTIATED Indicates whether the
ER_FLAG L _BY_PREPARE buyer negotiated the
R_FLAG price.
MIN_RELEASE_AMOUNT PO_LINES_AL MIN_RELEAS Minimum release amount.
L E_AMOUNT
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 593
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
PRICE_TYPE_LOOKUP_CO PO_LINES_AL PRICE_TYPE_ Default price type for a
DE L LOOKUP_CO PO.
DE
PRICE_BREAK_LOOKUP_C PO_LINES_AL PRICE_BREA Default price break type
ODE L K_LOOKUP_C for catalog.
ODE
TRANSACTION_REASON_ PO_LINES_AL TRANSACTIO
CODE L N_REASON_
CODE
USSGL_TRANSACTION_CO PO_LINES_AL USSGL_ USA standard general
DE L TRANSACTIO ledger transaction code.
N_CODE
ITEM MTL_SYSTEM SEGMENT1
_ITEMS
UOM_CODE MTL_UNITS_ UOM_CODE Unit of measurement.
OF_MEASURE
CATEGORY MTL_ CONCATENA Category of the item in
CATEGORIES TED_SEGMEN the PO.
_B_KFV TS
FROM_HEADER_NUM PO_HEADERS SEGMENT1 Unique header number to
_ALL automatically create the
PO.
LINE_REFERENCE_NUM PO_LINES_AL LINE_ Unique PO line number to
L REFERENCE_ automatically create the
NUM PO.
UNIT_WEIGHT MTL_SYSTEM UNIT_WEIGH Units for weight.
_ITEMS T
WEIGHT_UOM_CODE MTL_SYSTEM WEIGHT_UO Weight unit of
_ITEMS M_CODE measurement.
VOLUME_UOM_CODE MTL_SYSTEM VOLUME_UO Volume unit of
_ITEMS M_CODE measurement.
UNIT_VOLUME MTL_SYSTEM UNIT_VOLU
_ITEMS ME
PRICE_UPDATE_TOLERAN PO_HEADERS PRICE_UPDA Maximum percentage
CE _ALL TE_TOLERAN increase without buyer
CE approval for price or sale
catalog update sent by
supplier.
TEMPLATE_NAME For inbound transactions.
594 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
SOURCING_RULE_NAME MRP_ SOURCING_ Name of the sourcing rule
SOURCING_ RULE_NAME created by purchasing
RULES documents.
ACTION Action to be completed on
the purchase order line for
inbound transactions.
Use:
NEW for a new PO
ADDED to add a line to
an existing PO.
PO_HEADER_ID PO_HEADERS PO_HEADER_ Required for outbound
_ALL ID transactions. Unique
identifier for PO headers.
PO_LINE_ID PO_LINES_AL PO_LINE_ID Required for outbound
L transactions. Unique
identifier for PO lines.
CANCEL_FLAG PO_LINES_AL CANCEL_FLA Indicates whether the PO
L G was cancelled.
CANCEL_REASON PO_LINES_AL CANCEL_
L REASON
CANCEL_DATE PO_LINES_AL CANCEL_DA
L TE
CLOSED_FLAG PO_LINES_AL CLOSED_FLA Indicates whether the PO
L G is closed.
CLOSED_REASON PO_LINES_AL CLOSED_
L REASON
CLOSED_DATE PO_LINES_AL CLOSED_DAT
L E
1.1.1. PO_LINE_LOCATIONS
Oracle
Applications
Field Name Table/View Name Column Name Description
SHIPMENT_NUM PO_LINE_ SHIPMENT_N PO shipment number.
LOCATIONS UM
SHIP_TO_ORGANIZATION HR_ DESCRIPTION Organization that will
_NAME LOCATIONS receive PO items.
SHIP_TO_LOCATION HR_ SHIP_TO_
LOCATIONS LOCATION
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 595
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
SHIP_TO_LOC_ADDRESS_L HR_ ADDRESS_LI Indicates where to ship
INE_1 LOCATIONS NE_1 the PO items.
SHIP_TO_LOC_ADDRESS_L HR_ ADDRESS_LI Indicates where to ship
INE_2 LOCATIONS NE_2 the PO items.
SHIP_TO_LOC_ADDRESS_L HR_ ADDRESS_LI Indicates where to ship
INE_3 LOCATIONS NE_3 the PO items.
SHIP_TO_LOC_TOWN_OR_ HR_ TOWN_OR_
CITY LOCATIONS CITY
SHIP_TO_LOCATION_ HR_ COUNTRY
COUNTRY LOCATIONS
SHIP_TO_LOCATION_POST HR_ POSTAL_COD
AL_CODE LOCATIONS E
SHIP_TO_LOCATION_REGI HR_ REGION_1
ON_1 LOCATIONS
SHIP_TO_LOCATION_REGI HR_ REGION_2
ON_2 LOCATIONS
SHIP_TO_LOCATION_REGI HR_ REGION_3
ON_3 LOCATIONS
NEED_BY_DATE PO_LINE_ NEED_BY_ Due date when the PO
LOCATIONS DATE item needs to be shipped.
PROMISED_DATE PO_LINE_ PROMISED_ Date promised by the
LOCATIONS DATE supplier when the item
would be delivered.
PRICE_DISCOUNT PO_LINE_ PRICE_ Discount percentage for
LOCATIONS DISCOUNT price break.
EFFECTIVE_START_DATE PO_LINE_ START_DATE Effective date for the price
LOCATIONS break.
EXPIRATION_END_DATE PO_LINE_ END_DATE Expiration date for the
LOCATIONS price break.
LEAD_TIME PO_LINE_ LEAD_TIME Lead time for the price
LOCATIONS break.
LEAD_TIME_UNIT PO_LINE_ LEAD_TIME_ Unit of measurement for
LOCATIONS UNIT the lead time.
INSPECTION_REQUIRED_ PO_LINE_ INSPECTION_ Indicates whether the
FLAG LOCATIONS REQUIRED_ shipment should be
FLAG inspected before the
invoice should be paid.
596 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
RECEIPT_REQUIRED_FLAG PO_LINE_ RECEIPT_ Indicates whether the
LOCATIONS REQUIRED_F shipment must be
LAG received before the
invoice is paid.
RECEIVE_CLOSE_TOLERA PO_LINE_ RECEIVE_ Percentage tolerance
NCE LOCATIONS CLOSE_ within which a shipment
TOLERANCE is automatically closed for
receiving.
INVOICE_CLOSE_TOLERA PO_LINE_ INVOICE_ Percentage tolerance
NCE LOCATIONS CLOSE_ within which a shipment
TOLERANCE is automatically closed for
invoicing before billing.
QTY_RCV_EXCEPTION_CO PO_LINE_ QTY_RCV_ Describes the action taken
DE LOCATIONS EXCEPTION_ when the quantity-
CODE received tolerance is
exceeded.
DAYS_EARLY_RECEIPT_ PO_LINE_ DAYS_EARLY Maximum acceptable
ALLOWED LOCATIONS _RECEIPT_ number of days that items
ALLOWED can be received early.
DAYS_LATE_RECEIPT_ PO_LINE_ DAYS_LATE_ Minimum acceptable
ALLOWED LOCATIONS RECEIPT_ number of days that items
ALLOWED can be received late.
ENFORCE_SHIP_TO_LOCA PO_LINE_ ENFORCE_SH Describes the action taken
TION_CODE LOCATIONS IP_TO_LOCAT when the receiving
ION_CODE location differs from the
Ship To location.
RECEIPT_DAYS_EXCEPTIO PO_LINE_ RECEIPT_DAY Describes the action taken
N_ LOCATIONS S_EXCEPTION when items are received
CODE _CODE earlier or later than the
allowed number of days.
ACCRUE_ON_RECEIPT_FL PO_LINE_ ACCRUE_ON Indicates whether items
AG LOCATIONS _RECEIPT_FL are accrued upon receipt.
AG
ALLOW_SUBSTITUTE_ PO_LINE_ ALLOW_ Indicates whether
RECEIPTS_FLAG LOCATIONS SUBSTITUTE_ substitute items can be
RECEIPTS_ received in place of
FLAG ordered items.
TAX_USER_OVERRIDE_FLA PO_LINE_ TAX_USER_ Indicates whether
G LOCATIONS OVERRIDE_ someone overrode the
FLAG default tax.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 597
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
LINE_LOCATION_ID PO_LINE_ LINE_ Required for outbound
LOCATIONS LOCATION_I transactions. Unique
D identifier for PO Line
Locations.
PO_LINE_ID PO_LINES_AL PO_LINE_ID Required for outbound
L transactions. Unique
identifier for PO lines.
CANCEL_FLAG PO_LINES_AL CANCEL_FLA Indicates whether the PO
L G was cancelled.
CANCEL_REASON PO_LINES_AL CANCEL_
L REASON
CANCEL_DATE PO_LINES_AL CANCEL_DA
L TE
CLOSED_FLAG PO_LINES_AL CLOSED_FLA Indicates whether the PO
L G was closed.
CLOSED_REASON PO_LINES_AL CLOSED_
L REASON
CLOSED_DATE PO_LINES_AL CLOSED_DAT
L E
1.1.1.1. PO_DISTRIBUTIONS
Oracle
Applications
Field Name Table/View Name Column Name Description
RATE_DATE PO_ RATE_DATE Currency conversion date.
DISTRIBUTIO
NS_ALL
AMOUNT_BILLED PO_ AMOUNT_ Amount invoiced against
DISTRIBUTIO BILLED distribution.
NS_ALL
ENCUMBERED_AMOUNT PO_ ENCUMBERE Distribution encumbered
DISTRIBUTIO D_AMOUNT amount.
NS_ALL
GL_ENCUMBERED_PERIO PO_ GL_ Period when the
D_NAME DISTRIBUTIO ENCUMBERE distribution was
NS_ALL D_PERIOD_N encumbered.
AME
WIP_RESOURCE_SEQ_NU PO_ WIP_RESOUR Work In Process resource
M DISTRIBUTIO CE_SEQ_NU sequence number.
NS_ALL M
598 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
DESTINATION_CONTEXT PO_ DESTINATIO Destination details
DISTRIBUTIO N_CONTEXT description.
NS_ALL
USSGL_TRANSACTION_CO PO_ USSGL_ USA standard general
DE DISTRIBUTIO TRANSACTIO ledger transaction code.
NS_ALL N_CODE
EXPENDITURE_TYPE PO_ EXPENDITUR Project accounting
DISTRIBUTIO E_TYPE expenditure type.
NS_ALL
PROJECT_ACCOUNTING_ PO_ PROJECT_ Project accounting
CONTEXT DISTRIBUTIO ACCOUNTIN context.
NS_ALL G_CONTEXT
GL_CLOSED_DATE PO_ GL_CLOSED_ Date when the
DISTRIBUTIO DATE distribution is closed.
NS_ALL
ACCRUE_ON_RECEIPT_FL PO_ ACCRUE_ON Indicates whether the
AG DISTRIBUTIO _RECEIPT_FL items are accrued on
NS_ALL AG receipt.
EXPENDITURE_ITEM_DAT PO_ EXPENDITUR Project accounting
E DISTRIBUTIO E_ITEM_DAT expenditure item date.
NS_ALL E
QUANTITY_ORDERED PO_ QUANTITY_O Quantity ordered on the
DISTRIBUTIO RDERED distribution.
NS_ALL
QUANTITY_DELIVERED PO_ QUANTITY_D Quantity delivered
DISTRIBUTIO ELIVERED against the distribution.
NS_ALL
QUANTITY_CANCELLED PO_ QUANTITY_ Quantity cancelled for the
DISTRIBUTIO CANCELLED distribution.
NS_ALL
QUANTITY_BILLED PO_ QUANTITY_ Quantity invoiced against
DISTRIBUTIO BILLED the distribution.
NS_ALL
REQ_HEADER_REFERENC PO_ REQ_HEADE Requisition number of the
E_NUM DISTRIBUTIO R_REFERENC requisition line placed on
NS_ALL E_NUM the distribution.
REQ_LINE_REFERENCE_N PO_ REQ_LINE_ Paper requisition line
UM DISTRIBUTIO REFERENCE_ number.
NS_ALL NUM
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 599
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
RATE PO_ RATE Currency conversion rate.
DISTRIBUTIO
NS_ALL
ACCRUED_FLAG PO_ ACCRUED_ Indicates whether
DISTRIBUTIO FLAG distribution was accrued.
NS_ALL
ENCUMBERED_FLAG PO_ ENCUMBERE Distribution encumbered
DISTRIBUTIO D_FLAG amount.
NS_ALL
UNENCUMBERED_QUANT PO_ UNENCUMBE Quantity unencumbered
ITY DISTRIBUTIO RED_QUANTI on the distribution.
NS_ALL TY
UNENCUMBERED_AMOU PO_ UNENCUMBE Amount unencumbered
NT DISTRIBUTIO RED_AMOUN on the distribution.
NS_ALL T
GL_ENCUMBERED_DATE PO_ GL_ Date the distribution was
DISTRIBUTIO ENCUMBERE encumbered.
NS_ALL D_DATE
GL_CANCELLED_DATE PO_ GL_ Date the distribution was
DISTRIBUTIO CANCELLED_ cancelled.
NS_ALL DATE
DESTINATION_TYPE_COD PO_ DESTINATIO Final destination name of
E DISTRIBUTIO N_TYPE_COD the purchase item.
NS_ALL E
DESTINATION_ PO_ DESTINATIO Final destination
SUBINVENTORY DISTRIBUTIO N_SUBINVEN subinventory for
NS_ALL TORY inventory purchases.
WIP_OPERATION_SEQ_NU PO_ WIP_ Work In Process
M DISTRIBUTIO OPERATION_ operations sequence
NS_ALL SEQ_NUM number.
DISTRIBUTION_NUM PO_ DISTRIBUTIO Document distribution
DISTRIBUTIO N_NUM number.
NS_ALL
PREVENT_ENCUMBRANC PO_ PREVENT_ Indicates whether
E_FLAG DISTRIBUTIO ENCUMBRAN distribution should be
NS_ALL CE_FLAG encumbered.
RECOVERABLE_TAX PO_ RECOVERABL Recoverable tax amount.
DISTRIBUTIO E_TAX
NS_ALL
600 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
NONRECOVERABLE_TAX PO_ NONRECOVE Non-recoverable tax
DISTRIBUTIO RABLE_TAX amount.
NS_ALL
RECOVERY_RATE PO_ RECOVERY_ Percentage of tax that can
DISTRIBUTIO RATE be recovered.
NS_ALL
TAX_RECOVERY_OVERRID PO_ TAX_ Indicates whether
E_ DISTRIBUTIO RECOVERY_ tax-recovery should be
FLAG NS_ALL OVERRIDE_ used.
FLAG
DELIVERY_TO_LOCATION HR_ LOCATION_ Location for the delivery.
LOCATIONS_ CODE
ALL
DELIVERY_TO_PERSON_F PER_PEOPLE_ FULL_NAME Person who will receive
ULL_NAME F delivery.
DESTINATION_ HR_ALL_ Organization that will
ORGANIZATION ORGANIZATI receive the distribution.
ON_UNITS
SET_OF_BOOKS GL_SET_OF_ NAME Set of General Ledger
BOOKS books.
CHARGE_ACCOUNT GL_CODE_ CONCATENA Charge account number.
COMBINATIO TED_SEGMEN
NS_KFV TS
BUDGET_ACCOUNT GL_CODE_ CONCATENA Budget account number.
COMBINATIO TED_SEGMEN
NS_KFV TS
ACCURAL_ACCOUNT GL_CODE_ CONCATENA Accrual account number.
COMBINATIO TED_SEGMEN
NS_KFV TS
VARIANCE_ACCOUNT GL_CODE_ CONCATENA Variance account number.
COMBINATIO TED_SEGMEN
NS_KFV TS
WIP_ENTITY WIP_ENTITIE WIP_ENTITY_ Work In Process job.
S NAME
WIP_REPETITIVE_SCHEDU WIP_ DESCRIPTIO Work In Process repetitive
LE REPETITIVE_ N schedule.
SCHEDULES
WIP_LINE_CODE WIP_LINES LINE_CODE Work In Process line.
BOM_RESOURCE BOM_ RESOURCE_ Bill of Material resource.
RESOURCES CODE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 601
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
PROJECT_NAME PA_PROJECTS NAME
_ALL
TASK_NAME PA_TASKS TASK_NAME
EXPENDITURE PA_ DESCRIPTIO Project accounting
EXPENDITUR N expenditure.
E_TYPES
EXPENDITURE_ORG_NAM HR_ALL_ NAME Project accounting
E ORGANIZATI expenditure organization
ON_UNITS name.
PROJECT_RELATED_FLAG PO_ EXPENDITUR Project accounting’s
DISTRIBUTIO E_TYPE project related flag that
NS_ALL uses N when NULL.
AWARD_FULL_NAME GMS_AWARD AWARD_FUL
S_ALL L_NAME
LINE_LOCATION_ID PO_LINE_ LINE_ Required for outbound
LOCATIONS_ LOCATION_I transactions. Unique
ALL D identifier for PO line
locations.
This service notifies and delivers Request For Quotation (RFQ) changes. Because RFQs
cannot be deleted, the document status of DELETE does not apply in this case.
602 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_rfq.sql Runs the scripts listed below, except the uninstall script.
wm_from_rfq_vw.sql Creates the following required view components for
RFQ outbound transactions:
WM_RFQ_HEADERS_VW
WM_RFQ_LINES_VW
WM_RFQ_PRICE_BREAKS_VW
WM_RFQ_QRY_VW
wm_from_rfq_trg.sql Creates the following trigger component to be used for
writing to wm_trackchanges to indicate a new or
updated document:
WM_PO_RFQ_VENDORS_IU_TRG
wm_disable_from_rfq.sql Disables the triggers installed by wm_from_rfq_trg.sql.
wm_enable_from_rfq.sql Re-enables the triggers installed by
wm_from_rfq_trg.sql.
wm_drop_from_rfq.sql Uninstalls all components created by
wm_install_from_rfq.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow sendRFQ executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl determines whether the sendRFQ service is ready for execution. That is, it
determines whether there is no other instance of this service already in process.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 603
6 Procurement Predefined Transaction Services
If lockTxnCtrl service returns False, that means another instance of this service is
already in progress. The service exits and waits for next scheduled execution.
If lockTxnCtrl service returns True, that means the service is ready to execute. The
RFQ row in the control table is locked and updated so that the status is changed to
INPROCESS, which prevents other RFQ services from executing.
getRFQTxn service queries the Oracle Applications database for any RFQ transaction
to be processed. The number of records returned depends on the parameter value
specified in the above map.
processBizDoc is the customizable step that sends the business document to the
trading partner by looping against each document. You must customize this step to
receive a SUCCESS or an ERROR status of the document transfer, along with the error
information. Transfer status and any error information are logged against each
document.
Loops against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, the records in the WM_TRACKCHANGES table are
updated and the PROCESSED_FLAG is set to Y. This ensures that same sets of
records are not picked up during the next polling interval. The updateTrackChanges
service updates the PROCESSED_FLAG in the WM_TRACKCHANGES table to
Y, and updates Processed_Date to sysdate so that same information is not picked
up again during the next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted. The purgeTrackChanges service purges the records from the
WM_TRACKCHANGES table.
Loops against each document. Based on the transfer status, the insertTransferERRInfo
service inserts a new record in the WM_TRACKCHANGES table so that the same
document can be picked up during the next polling interval.
getLastError service logs any errors so that the next polling instance of sendVendor
service can begin.
unlockTxnCtrl releases the lock on the Custom Control table.
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
604 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
1.0. RFQ_HEADERS
Oracle
Applications
Field Name Table/View Name Column Name Description
WEB_TRANSACTION_ID
DOCUMENT_TYPE Use RFQ.
DOCUMENT_STATUS Use INSERT or UPDATE.
RFQ_ID PO_HEADERS PO_HEADER_ Request For Quotation
_ALL ID (RFQ) identifier.
PO_RFQ_ PO_HEADER_
VENDORS ID
PO_HEADER_ID PO_HEADERS PO_HEADER_ Required for outbound
_ALL ID transactions. Unique
identifier for the RFQ
header.
RFQ_NUMBER PO_HEADERS SEGMENT1
_ALL
VENDOR_NAME PO_HEADERS VENDOR_
_ALL NAME
VENDOR_ADDRESS_LINE1 AP_SUPPLIER ADDRESS_
_SITES_ALL LINE1
VENDOR_ADDRESS_LINE2 AP_SUPPLIER ADDRESS_
_SITES_ALL LINE2
VENDOR_ADDRESS_LINE3 AP_SUPPLIER ADDRESS_
_SITES_ALL LINE3
VENDOR_CITY AP_SUPPLIER CITY
_SITES_ALL
VENDOR_STATE AP_SUPPLIER STATE
_SITES_ALL
VENDOR_ZIP AP_SUPPLIER ZIP
_SITES_ALL
VENDOR_COUNTRY AP_SUPPLIER COUNTRY
_SITES_ALL
VENDOR_PHONE AP_SUPPLIER AREA_CODE
_SITES_ALL + PHONE
VENDOR_FAX AP_SUPPLIER FAX_AREA_
_SITES_ALL CODE + FAX
VENDOR_CONTACT_NAM PO_VENDOR PERSON_LAS
E _CONTACTS T_NAME +
PERSON_FIRS
T_NAME
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 605
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
VENDOR_PRINT_FLAG PO_RFQ_ PRINT_FLAG
VENDORS
VENDOR_PRINT_COUNT PO_RFQ_ PRINT_COUN Vendor RFQ print count.
VENDORS T
VENDOR_PRINTED_DATE PO_RFQ_ PRINTED_DA RFQ printed date.
VENDORS TE
HOLD_FLAG AP_SUPPLIER HOLD_FLAG
S
DOCUMENT_TYPE_NAME PO_ NAME Name of the RFQ
DOCUMENT_ document type.
TYPES
CREATED PO_HEADERS CREATION_ Date the RFQ was created.
_ALL DATE
TYPE_LOOKUP_CODE PO_HEADERS TYPE_LOOKU Type of the document.
_ALL P_CODE
RFQ_STATUS PO_HEADERS STATUS_LOO Status of the RFQ: In
_ALL KUP_CODE Process, Active, or Closed.
REVISION_NUM PO_HEADERS REVISION_N RFQ revision number.
_ALL UM
SHIP_TO_LOCATION_ADD HR_ ADDRESS_LI Address where the PO
_LINE_1 LOCATIONS NE_1 items will be shipped.
Derives the
SHIP_TO_LOCATION_I
D.
SHIP_TO_LOCATION_ADD HR_ ADDRESS_LI
_LINE_2 LOCATIONS NE_2
SHIP_TO_LOCATION_ADD HR_ ADDRESS_LI
_LINE_3 LOCATIONS NE_3
SHIP_TO_LOCATION_TOW HR_ TOWN_OR_
N_OR_CITY LOCATIONS CITY
SHIP_TO_LOCATION_COU HR_ REGION_1
NTY LOCATIONS
SHIP_TO_LOCATION_STAT HR_ REGION_2
E LOCATIONS
SHIP_TO_LOCATION_REGI HR_ REGION_3
ON_3 LOCATIONS
SHIP_TO_LOCATION_POST HR_ POSTAL_COD
AL_CODE LOCATIONS E
606 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
SHIP_TO_LOCATION_ HR_ COUNTRY
COUNTRY LOCATIONS
BILL_TO_LOCATION_ADD HR_ ADDRESS_LI Address where the bill
_LINE_1 LOCATIONS NE_1 will be sent. Derives the
BILL_TO_LOCATION_ID
.
BILL_TO_LOCATION_ADD HR_ ADDRESS_LI
_LINE_2 LOCATIONS NE_2
BILL_TO_LOCATION_ADD HR_ ADDRESS_LI
_LINE_3 LOCATIONS NE_3
BILL_TO_LOCATION_TOW HR_ TOWN_OR_
N_OR_CITY LOCATIONS CITY
BILL_TO_LOCATION_COU HR_ REGION_1
NTY LOCATIONS
BILL_TO_LOCATION_STAT HR_ REGION_2
E LOCATIONS
BILL_TO_LOCATION_REGI HR_ REGION_3
ON_3 LOCATIONS
BILL_TO_LOCATION_POST HR_ POSTAL_COD
AL_CODE LOCATIONS E
BILL_TO_LOCATION_ HR_ COUNTRY
COUNTRY LOCATIONS
AGENT_NAME PER_ALL_ NAME Buyer’s name.
PEOPLE_F
COMMENTS PO_HEADERS COMMENTS Comments about the
_ALL RFQ.
QUOTE_VENDOR_QUOTE_ VENDOR_DO QUOTE_ Supplier document
NUMBER C_NUM VENDOR_ number.
QUOTE_
NUMBER
FROM_TYPE_LOOKUP_CO PO_HEADERS FROM_TYPE_
DE _ALL LOOKUP_CO
DE
FROM_RFQ_NUMBER PO_HEADERS SEGMENT1
_ALL
RFQ_CLOSE_DATE PO_HEADERS RFQ_CLOSE_
_ALL DATE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 607
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
REPLY_VIA PO_HEADERS REPLY_ Method the supplier
_ALL METHOD_ should use to reply to the
LOOKUP_CO RFQ.
DE
REPLY_DATE PO_HEADERS REPLY_DATE Due date of reply for the
_ALL RFQ.
START_DATE PO_HEADERS START_DATE Effective date for the RFQ.
_ALL
END_DATE PO_HEADERS END_DATE Expiration date for the
_ALL RFQ.
APPROVAL_REQUIRED_FL PO_HEADERS APPROVAL_ Indicates whether
AG _ALL REQUIRED_ approval is required for
FLAG the RFQ.
CURRENCY_CODE PO_HEADERS CURRENCY_ Currency code for the
_ALL CODE RFQ.
USER_CONVERSION_TYPE PO_HEADERS USER_ Conversion type used.
_ALL CONVERSIO
N_TYPE
RATE_TYPE PO_HEADERS RATE_TYPE Currency conversion rate
_ALL type.
RATE_DATE PO_HEADERS RATE_DATE Currency conversion rate
_ALL date.
RATE PO_HEADERS RATE Currency conversion rate.
_ALL
TERMS_NAME AP_TERMS NAME Payment terms for the
RFQ.
FREIGHT_TERMS PO_HEADERS FREIGHT_ Freight payment terms.
_ALL TERMS
SHIP_VIA_LOOKUP_CODE PO_HEADERS SHIP_VIA_ Code indicating the
_ALL LOOKUP_CO shipping medium, such as
DE UPS or FEDEX.
FOB PO_HEADERS FOB Type of Free On Board
_ALL terms for the document.
NOTE_TO_VENDOR PO_HEADERS NOTE_TO_
_ALL VENDOR
QUOTE_WARNING_DELAY PO_HEADERS QUOTE_ Number of days before
_ALL WARNING_ the expiration of the
DELAY quotation.
QUOTATION_CLASS_COD PO_HEADERS QUOTATION_
E _ALL CLASS_CODE
608 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
REVISED_DATE PO_HEADERS REVISED_DA Date the document was
_ALL TE last revised.
CLOSED_DATE PO_HEADERS CLOSED_DAT Date when the document
_ALL E was closed.
QUOTE_TYPE_LOOKUP_C PO_HEADERS QUOTE_TYPE
ODE _ALL _LOOKUP_C
ODE
1.1. RFQ_LINES
Oracle
Applications
Field Name Table/View Name Column Name Description
PO_LINE_ID PO_LINES_AL PO_LINE_ID Required for outbound
L transactions. Unique
identifier for RFQ line.
LINE_NUM PO_LINES_AL LINE_NUM Line number.
L
LINE_TYPE PO_LINES_AL LINE_TYPE
L
ITEM_NUMBER MTL_SYSTEM SEGMENT1
_ITEMS
ITEM_REVISION PO_LINES_AL ITEM_REVISI
L ON
ITEM_CATEGORY MTL_ CONCATENA
CATEGORIES TED_SEGMEN
_KFV TS
ITEM_DESCRIPTION PO_LINES_AL ITEM_
L DESCRIPTIO
N
UNIT_MEAS_LOOKUP_CO PO_LINES_AL UNIT_MEAS_ Unit of measurement for
DE L LOOKUP_CO the items.
DE
UOM_CLASS MTL_UNITS_ UOM_CLASS Unit of measurement
OF_MEASURE class.
_TL
UNIT_PRICE PO_LINES_AL UNIT_PRICE
L
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 609
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
VENDOR_PRODUCT_NUM PO_LINES_AL VENDOR_ Supplier’s item number
L PRODUCT_ ordered.
NUM
UN_NUMBER PO_LINES_AL UN_NUMBER
L
HAZARD_CLASS PO_LINES_AL HAZARD_
L CLASS
MIN_ORDER_QUANTITY PO_UN_ MIN_ORDER_ Minimum order quantity
NUMBERS QUANTITY for the RFQ.
MAX_ORDER_QUANTITY PO_HAZARD MAX_ORDER Maximum order quantity
_CLASSES _QUANTITY for the RFQ.
NOTE_TO_VENDOR PO_LINES_AL NOTE_TO_ Note to the supplier.
L VENDOR
FROM_RFQ_NUMBER PO_LINES_AL FROM_RFQ_
L NUMBER
FROM_LINE_NUMBER PO_LINES_AL FROM_LINE_
L NUMBER
TAXABLE_FLAG PO_LINES_AL TAXABLE_
L FLAG
QUANTITY PO_LINES_AL QUANTITY
L
ALLOW_ITEM_DESC_UPD MTL_ ALLOW_ITE Indicates whether item
ATE_FLAG CATEGORIES M_DESC_UPD description update is
_KFV ATE_FLAG allowed.
ALLOWED_UNITS_LOOKU MTL_ ALLOWED_ Code for allowed units of
P_CODE CATEGORIES UNITS_ the items in the RFQ.
_KFV LOOKUP_CO
DE
ORDER_TYPE_LOOKUP_C PO_LINE_TYP ORDER_TYPE
ODE ES _LOOKUP_CO
DE
OUTSIDE_OPERATION_FL PO_LINE_TYP OUTSIDE_
AG ES OPERATION_
FLAG
PROJECT_NAME PA_PROJECTS PROJECT_
_ALL NAME
TASK_NAME PA_TASKS TASK_NAME
QC_GRADE PO_LINES_AL QC_GRADE
L
610 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BASE_UOM PO_LINES_AL BASE_UOM Base unit of measurement.
L
BASE_QTY PO_LINES_AL BASE_QTY Base quantity.
L
SECONDARY_UOM PO_LINES_AL SECONDARY Stores the dual unit of
L _UOM measure for the item
ordered.
SECONDARY_QTY PO_LINES_AL SECONDARY Converted quantity from
L _QTY BASE unit of
measurement to DUAL
unit of measurement for
the item ordered.
1.1.1. RFQ_PRICE_BREAKS
Oracle
Applications
Field Name Table/View Name Column Name Description
SHIPMENT_TYPE PO_LINE_ SHIPMENT_ RFQ shipment type.
LOCATIONS_ TYPE
ALL
SHIP_TO_ORG_NAME ORG_ORGAN ORGANIZATI Organization that will
IZATION_ ON_NAME receive the shipped items.
DEFINITIONS
QUANTITY PO_LINE_ QUANTITY
LOCATIONS_
ALL
QUANTITY_ACCEPTED PO_LINE_ QUANTITY_
LOCATIONS_ ACCEPTED
ALL
QUANTITY_BILLED PO_LINE_ QUANTITY_
LOCATIONS_ BILLED
ALL
QUANTITY_CANCELLED PO_LINE_ QUANTITY_
LOCATIONS_ CANCELLED
ALL
QUANTITY_RECEIVED PO_LINE_ QUANTITY_
LOCATIONS_ RECEIVED
ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 611
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
QUANTITY_REJECTED PO_LINE_ QUANTITY_
LOCATIONS_ REJECTED
ALL
UOM PO_LINE_ UOM Unit of measurement.
LOCATIONS_
ALL
PRICE_OVERRIDE PO_LINE_ PRICE_
LOCATIONS_ OVERRIDE
ALL
UNIT_PRICE PO_LINES_AL UNIT_PRICE Unit price of the item in
L RFQ.
NOT_TO_EXCEED_PRICE PO_LINES_AL NOT_TO_ Maximum price of the
L EXCEED_PRI item.
CE
ALLOW_PRICE_OVERRIDE PO_LINES_AL ALLOW_PRIC Indicates whether price
_FLAG L E_OVERRIDE_ override is allowed.
FLAG
PRICE_BREAK_LOOKUP_C PO_LINES_AL PRICE_BREA
ODE L K_LOOKUP_C
ODE
PRICE PO_LINE_ PRICE Price of the item in the
LOCATIONS_ RFQ.
ALL
LAST_ACCEPT_DATE PO_LINE_ LAST_ACCEP Date when the item can be
LOCATIONS_ T_DATE last accepted.
ALL
NEED_BY_DATE PO_LINE_ NEED_BY_ Date by which the item in
LOCATIONS_ DATE the RFQ needs to be
ALL shipped.
PROMISED_DATE PO_LINE_ PROMISED_ Date promised by the
LOCATIONS_ DATE supplier when the item
ALL would be delivered.
FIRM_STATUS_LOOKUP_C PO_LINE_ FIRM_STATUS Firming status of the line.
ODE LOCATIONS_ _LOOKUP_CO
ALL DE
PRICE_DISCOUNT PO_LINE_ PRICE_ Discount percentage for
LOCATIONS_ DISCOUNT price break.
ALL
START_DATE PO_LINE_ START_DATE Effective date.
LOCATIONS_
ALL
612 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
END_DATE PO_LINE_ END_DATE Expiration date.
LOCATIONS_
ALL
LEAD_TIME PO_LINE_ LEAD_TIME Lead time for the price
LOCATIONS_ break.
ALL
LEAD_TIME_UNIT PO_LINE_ LEAD_TIME_
LOCATIONS_ UNIT
ALL
TERMS_NAME AP_TERMS NAME
FREIGHT_TERMS_LOOKUP PO_LINE_ FREIGHT_ Lookup code for freight
_CODE LOCATIONS_ TERMS_ terms.
ALL LOOKUP_CO
DE
FOB_LOOKUP_CODE PO_LINE_ FOB_LOOKUP Free on Board lookup
LOCATIONS_ _CODE code.
ALL
SHIP_VIA_LOOKUP_CODE PO_LINE_ SHIP_VIA_ Type of carrier for the
LOCATIONS_ LOOKUP_CO RFQ or quotation
ALL DE shipment.
TAX_NAME AP_TAX_COD NAME
ES_ALL
TAXABLE_FLAG PO_LINE_ TAXABLE_ Indicates whether the
LOCATIONS_ FLAG price break is taxable.
ALL
INSPECTION_REQUIRED_ PO_LINE_ INSPECTION_ Indicates whether
FLAG LOCATIONS_ REQUIRED_ shipment must be
ALL FLAG inspected before the
invoice is paid.
RECEIPT_REQUIRED_FLAG PO_LINE_ RECEIPT_ Indicates whether
LOCATIONS_ REQUIRED_ shipment must be
ALL FLAG received before the
invoice is paid.
RECEIVE_CLOSE_TOLERA PO_LINE_ RECEIVE_ Percentage tolerance
NCE LOCATIONS_ CLOSE_ within which the
ALL TOLERANCE shipment is automatically
closed for receiving.
INVOICE_CLOSE_TOLERA PO_LINE_ INVOICE_ Percentage tolerance
NCE LOCATIONS_ CLOSE_ within which the
ALL TOLERANCE shipment is automatically
closed for invoicing when
billed.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 613
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
QTY_RCV_EXCEPTION_CO PO_LINE_ QTY_RCV_ Describes the action taken
DE LOCATIONS_ EXCEPTION_ when the quantity
ALL CODE received tolerance is
exceeded.
DAYS_EARLY_RECEIPT_ PO_LINE_ DAYS_EARLY Maximum acceptable
ALLOWED LOCATIONS_ _RECEIPT_ number of days items can
ALL ALLOWED be received early.
DAYS_LATE_RECEIPT_ PO_LINE_ DAYS_LATE_ Maximum acceptable
ALLOWED LOCATIONS_ RECEIPT_ number of days items can
ALL ALLOWED be received late.
QTY_RCV_TOLERANCE PO_LINE_ QTY_RCV_ Maximum over–receipt
LOCATIONS_ TOLERANCE tolerance percentage.
ALL
ROUTING_NAME RCV_ROUTIN NAME
G_HEADERS
ENFORCE_SHIP_TO_ PO_LINE_ ENFORCE_SH Describes the action taken
LOCATION_CODE LOCATIONS_ IP_TO_LOCAT when the receiving
ALL ION_CODE location differs from the
Ship To location.
RECEIPT_DAYS_EXCEPTIO PO_LINE_ RECEIPT_DAY Describes what action is
N_CODE LOCATIONS_ S_EXCEPTIO taken when items are
ALL N_CODE received earlier or later
than the allowed number
of days specified.
ACCRUE_ON_RECEIPT_FL PO_LINE_ ACCRUE_ON Indicates whether items
AG LOCATIONS_ _RECEIPT_FL are accrued upon receipt.
ALL AG
ALLOW_SUBSTITUTE_ PO_LINE_ ALLOW_ Indicates whether
RECEIPTS_FLAG LOCATIONS_ SUBSTITUTE_ substitute items can be
ALL RECEIPTS_ received in place of the
FLAG ordered items.
FROM_PO_HEADER_NUM PO_HEADERS SEGMENT1 Unique identifier of the
_ALL RFQ to automatically
create the quotation.
FROM_PO_LINE_NUM PO_LINES_AL LINE_NUM Unique identifier of the
L RFQ line used to
automatically create the
quotation line.
ENCUMBERED_FLAG PO_LINE_ ENCUMBERE Indicates whether the
LOCATIONS_ D_FLAG shipment is encumbered.
ALL
614 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
ENCUMBERED_DATE PO_LINE_ ENCUMBERE Date of encumbrance for
LOCATIONS_ D_DATE the shipment.
ALL
APPROVED_FLAG PO_LINE_ APPROVED_ Indicates whether the
LOCATIONS_ FLAG shipment is approved.
ALL
CLOSED_CODE PO_LINE_ CLOSED_COD Closure status of the
LOCATIONS_ E shipment.
ALL
CANCEL_FLAG PO_LINE_ CANCEL_FLA Indicates whether the
LOCATIONS_ G shipment is cancelled.
ALL
CANCEL_DATE PO_LINE_ CANCEL_DA
LOCATIONS_ TE
ALL
CANCEL_REASON PO_LINE_ CANCEL_ Cancellation reason
LOCATIONS_ REASON provided by the
ALL employee.
CLOSED_BY_PERSON_NA PER_ALL_ PERSON_LAS Employee who closed the
ME PEOPLE_F T_NAME. shipment.
PERSON_FIRS
T_NAME
CLOSED_DATE PO_LINE_ CLOSED_DAT Date the shipment closed.
LOCATIONS_ E
ALL
CLOSED_REASON PO_LINE_ CLOSED_ Why the shipment closed.
LOCATIONS_ REASON
ALL
USSGL_TRANSACTION_CO PO_LINE_ USSGL_ United States standard
DE LOCATIONS_ TRANSACTIO general ledger transaction
ALL N_CODE code.
GOVERNMENT_CONTEXT PO_LINE_ GOVERNMEN United States standard
LOCATIONS_ T_CONTEXT general ledger descriptive
ALL flexfield context column.
LINE_TYPE PO_LINE_TYP LINE_TYPE Document line type.
ES
OUTSIDE_OPERATION_FL PO_LINE_TYP OUTSIDE_ Indicates whether the line
AG ES OPERATION_ type is an outside
FLAG operation.
RECEIVING_FLAG PO_LINE_TYP RECEIVING_ Default receipt required
ES FLAG flag.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 615
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
ITEM_NUMBER MTL_SYSTEM SEGMENT1
_ITEMS
ITEM_DESCRIPTION PO_LINE_ ITEM_
LOCATIONS_ DESCRIPTIO
ALL N
ITEM_REVISION PO_LINE_ ITEM_
LOCATIONS_ REVISION
ALL
PLANNING_CODE MTL_SYSTEM MRP_PLANNI
_ITEMS NG_CODE /
INVENTORY_
PLANNING_
CODE
STOCK_ENABLED_FLAG MTL_SYSTEM STOCK_ Indicates whether the
_ITEMS ENABLED_ item is in stock.
FLAG
OUTSIDE_OPERATION_UO MTL_SYSTEM OUTSIDE_OP Outside operation unit of
M_TYPE _ITEMS ERATION_UO measurement.
M_TYPE
CATEGORY_NAME MTL_ CONCATENA Item category name.
CATEGORIES TED_SEGMEN
_KFV TS
VENDOR_PRODUCT_NUM PO_LINES_AL VENDOR_ Supplier product number.
L PRODUCT_
NUM
COUNTRY_OF_ORIGIN_CO PO_LINE_ COUNTRY_O Country of manufacture
DE LOCATIONS_ F_ORIGIN_CO for this shipment.
ALL DE
TAX_USER_OVERRIDE_FL PO_LINE_ TAX_USER_ Indicates whether
AG LOCATIONS_ OVERRIDE_ someone overrode the
ALL FLAG default tax.
MATCH_OPTION PO_LINE_ MATCH_ Indicates whether the
LOCATIONS_ OPTION invoice for the shipment
ALL should be matched to the
purchase order or the
receipt.
CALCULATE_TAX_FLAG PO_LINE_ CALCULATE_ Indicates whether tax
LOCATIONS_ TAX_FLAG needs to be calculated.
ALL
NOTE_TO_RECEIVER PO_LINE_ NOTE_TO_
LOCATIONS_ RECEIVER
ALL
616 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
SECONDARY_UNIT_OF_ PO_LINES_AL SECONDARY Stores the dual unit of
MEASURE L _UNIT_OF_ measure for the item
MEASURE ordered.
SECONDARY_QUANTITY PO_LINE_ SECONDARY Stores the dual quantity
LOCATIONS_ _QUANTITY for the item ordered.
ALL
PREFERRED_GRADE PO_LINE_ PREFERRED_ Preferred grade of the
LOCATIONS_ GRADE item ordered.
ALL
SECONDARY_QUANTITY_ PO_LINE_ SECONDARY Stores the dual quantity
RECEIVED LOCATIONS_ _QUANTITY_ received for the item
ALL RECEIVED ordered.
SECONDARY_QUANTITY_ PO_LINE_ SECONDARY Stores the dual quantity
ACCEPTED LOCATIONS_ _QUANTITY_ accepted for the item
ALL ACCEPTED ordered.
SECONDARY_QUANTITY_ PO_LINE_ SECONDARY Stores the dual quantity
REJECTED LOCATIONS_ _QUANTITY_ rejected for the item
ALL REJECTED ordered.
SECONDARY_QUANTITY_ PO_LINE_ SECONDARY Stores the dual quantity
CANCELLED LOCATIONS_ _QUANTITY_ cancelled for the item
ALL CANCELLED ordered.
This service notifies and delivers supplier changes. It extracts information for a supplier
only, and not for individual employees who are also set up as suppliers. Because
suppliers cannot be deleted, the document status of DELETE does not apply in this case.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 617
6 Procurement Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
Script Description
wm_install_from_supplier.sql Runs the scripts listed below, except the uninstall
script.
wm_from_supplier_vw.sql Creates the following required view components for
PO outbound transactions:
WM_PO_SUPPLIER_VW
WM_PO_SUPPLIER_SITES_ALL_VW
WM_PO_SUPPLIER_CONTACTS_VW
WM_BANK_ACC_USE_SUPP_SITES_VW
WM_BANK_ACCOUNT_USES_SUPP_VW
WM_PO_SUPPLIER_QRY_VW
wm_from_supplier_trg.sql Creates the following triggers to be used for writing
to wm_trackchanges to indicate a new or updated
document:
WM_PO_SUPPLIER_IU_TRG
WM_PO_SUPP_SITES_ALL_IU_TRG
WM_PO_SUPP_CONTACTS_IUD_TRG
WM_AP_BK_SUP_AC_USE_ALL_IU_TRG
wm_disable_from_supplier.sql Disables the triggers installed by
wm_from_supplier_trg.sql.
wm_enable_from_supplier.sql Re-enables the triggers installed by
wm_from_supplier_trg.sql.
wm_drop_from_supplier.sql Uninstalls all components created by
wm_install_from_supplier.sql.
For more information about using database scripts, see “Database Scripts” on page 27.
618 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Flow Control
The main flow sendSupplier executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
lockTxnCtrl service checks whether another instance of this service is already in
process. If no instance is already in process, the service takes control of processing in
a single atomic action.
Specifies SUPPLIER as the value for the P_TRANSACTION_TYPE parameter.
If lockTxnCtrl returns FALSE, that means another instance of this service is already
in progress. The service exits, and waits for next scheduled execution.
If lockTxnCtrl returns TRUE, that means the service is ready to execute. The
Supplier row in the control table is locked and updated to INPROCESS, which
prevents other supplier services from executing. The $dbAlias, status (TRUE or
FALSE), and message are retained at this step.
getSupplierTxn service queries the Oracle Applications database for any supplier
transaction to be processed. The number of records returned depends on the
parameter value specified in the above map.
processBizDoc is the customizable step that sends the business document to the
trading partner by looping against each document. You must customize this step to
receive a SUCCESS or an ERROR status of the document transfer along with the error
information. The transfer status and any error information are logged against each
document.
Loops against each document. Based on the Debug Mode specified during execution,
it either purges or updates the records in the WM_TRACKCHANGES custom table.
If the Debug Mode is TRUE, the records in WM_TRACKCHANGES table are
updated, and the PROCESSED_FLAG is set to Y. This ensures that the same sets
of records are not picked up during the next polling interval. The
updateTrackChanges service updates the PROCESSED_FLAG in the
WM_TRACKCHANGES table to Y, and updates Processed_Date to sysdate so
that same information is not picked up again during the next polling instance.
If the Debug Mode is FALSE, the records in the WM_TRACKCHANGES table are
deleted. The purgeTrackChanges Service purges the records from the
WM_TRACKCHANGES table.
Loops against each document. Based on the transfer status, the insertTransferERRInfo
service inserts a new record in the WM_TRACKCHANGES table so that same
document can be picked up during the next polling interval.
unlockTxnCtrl service releases the lock on the Custom Control table so that next polling
instance of sendSupplier service can begin.
getLastError service logs any errors so that the next polling instance of sendVendor
service can begin.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 619
6 Procurement Predefined Transaction Services
For more details on send transactions, see “Overview of Send Service Transaction
Processing” on page 38.
1.0. SUPPLIER
Oracle
Applications
Field Name Table/View Name Column Name Description
WEB_TRANSACTION_ID Populated from a
sequence and used
internally in the IS flow.
Will contain NULL value
for queried supplier data.
DOCUMENT_TYPE Use SUPPLIER.
DOCUMENT_STATUS Use INSERT, UPDATE, or
QUERY.
VENDOR_ID AP_SUPPLIER VENDOR_ID Unique supplier identifier
S in Oracle Applications.
VENDOR_NUMBER AP_SUPPLIER SEGMENT1 Supplier number.
S
VENDOR_NAME AP_SUPPLIER VENDOR_ Name of the supplier.
S NAME
ALTERNATE_VENDOR_NA AP_SUPPLIER VENDOR_ Alternate name for the
ME S NAME_ALT supplier.
VENDOR_TYPE AP_SUPPLIER VENDOR_TYP Type of supplier.
S E_LOOKUP_
CODE
ACCOUNT_NUMBER AP_SUPPLIER ACCOUNT_ Customer number as set
S NUM up on supplier’s system.
ONE_TIME_FLAG AP_SUPPLIER ONE_TIME_ Indicates whether
S FLAG supplier is one time.
620 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
PARENT_VENDOR_NUMB AP_SUPPLIER SEGMENT1 Parent supplier number.
ER S
PARENT_VENDOR_NAME AP_SUPPLIER VENDOR_ Parent supplier name.
S NAME
MINIMUM_ORDER_AMOU AP_SUPPLIER MIN_ORDER_ Minimum order amount
NT S AMOUNT to order goods from the
supplier.
BILL_LOC_ADDRESS_LINE HR_ ADDRESS_LI REGION1 is the County,
1 LOCATIONS NE_1 REGION2 is the State
Code, BILL_LOC is the
BILL_LOC_ADDRESS_LINE HR_ ADDRESS_LI
Billing Location, and
2 LOCATIONS NE_2
SHIP_LOC is the
BILL_LOC_ADDRESS_LINE HR_ ADDRESS_LI Shipping Location.
3 LOCATIONS NE_3
BILL_LOC_TOWN_OR_CIT HR_ TOWN_OR_
Y LOCATIONS CITY
BILL_LOC_REGION2 HR_ REGION_2
LOCATIONS
BILL_LOC_POSTAL_CODE HR_ POSTAL_COD
LOCATIONS E
BILL_LOC_COUNTRY HR_ COUNTRY
LOCATIONS
BILL_LOC_REGION1 HR_ REGION_1
LOCATIONS
SHIP_LOC_ADDRESS_LINE HR_ ADDRESS_LI
1 LOCATIONS NE_1
SHIP_LOC_ADDRESS_LINE HR_ ADDRESS_LI
2 LOCATIONS NE_2
SHIP_LOC_ADDRESS_LINE HR_ ADDRESS_LI
3 LOCATIONS NE_3
SHIP_LOC_TOWN_OR_CIT HR_ TOWN_OR_
Y LOCATIONS CITY
SHIP_LOC_REGION2 HR_ REGION_2
LOCATIONS
SHIP_LOC_POSTAL_CODE HR_ POSTAL_COD
LOCATIONS E
SHIP_LOC_REGION1 HR_ REGION_1
LOCATIONS
SHIP_LOC_COUNTRY HR_ COUNTRY
LOCATIONS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 621
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
SHIP_VIA AP_SUPPLIER SHIP_VIA_ Shipping code.
S LOOKUP_CO
DE
FREIGHT_TERMS AP_SUPPLIER FREIGHT_ Freight terms code.
S TERMS_
LOOKUP_CO
DE
FOB AP_SUPPLIER FOB_LOOKUP Free On Board code.
S _CODE
TERMS AP_TERMS_T NAME
L
SET_OF_BOOKS_NAME GL_SETS_OF_ NAME Set of books name as in
BOOKS Oracle Applications.
SET_OF_BOOKS_SHORT_ GL_SETS_OF_ SHORT_NAM Set of books short name.
NAME BOOKS E
CREDIT_STATUS AP_SUPPLIER CREDIT_ Credit status of the
S STATUS_ supplier.
LOOKUP_CO
DE
CREDIT_LIMIT AP_SUPPLIER CREDIT_LIMI Credit limit.
S T
ALWAYS_DISCOUNT_FLAG AP_SUPPLIER ALWAYS_TAK
S E_DISC_FLAG
PAY_DATE_BASIS AP_SUPPLIER PAY_DATE_ Type of payment date
S BASIS_LOOK basis.
UP_CODE
PAY_GROUP AP_SUPPLIER PAY_GROUP_
S LOOKUP_CO
DE
PAYMENT_PRIORITY AP_SUPPLIER PAYMENT_
S PRIORITY
INVOICE_CURRENCY_CO AP_SUPPLIER INVOICE_
DE S CURRENCY_
CODE
PAYMENT_CURRENCY_CO AP_SUPPLIER PAYMENT_
DE S CURRENCY_
CODE
INVOICE_AMOUNT_LIMIT AP_SUPPLIER INVOICE_
S AMOUNT_
LIMIT
622 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
EXCHANGE_DATE_CODE AP_SUPPLIER EXCHANGE_
S DATE_LOOK
UP_CODE
HOLD_ALL_PAYMENTS AP_SUPPLIER HOLD_ALL_
S PAYMENTS_
FLAG
HOLD_FUTURE_PAYMENT AP_SUPPLIER HOLD_FUTU
S S RE_PAYMENT
S_FLAG
HOLD_REASON AP_SUPPLIER HOLD_REAS
S ON
DISTRIBUTION_SET_NAME AP_ DISTRIBUTIO
DISTRIBUTIO N_SET_NAME
N_SETS
SUPPLIER_LIABILITY_ GL_CODE_ CONCATENA Concatenated general
ACCOUNT COMBINATIO TED_SEGMEN ledger code combination.
NS_KFV TS
NUMBER_1099 AP_SUPPLIER NUM_1099 Tax payer ID.
S
TYPE_1099 AP_SUPPLIER TYPE_1099 Type of 1099.
S
WITHHOLDING_STATUS AP_SUPPLIER WITHHOLDI
S NG_STATUS_
LOOKUP_CO
DE
WITHHOLDING_START_D AP_SUPPLIER WITHHOLDI
ATE S NG_START_D
ATE
IRS_ORGANIZATION_TYPE AP_SUPPLIER ORGANIZATI
S ON_TYPE_
LOOKUP_CO
DE
VAT_CODE AP_SUPPLIER VAT_CODE
S
START_DATE_ACTIVE AP_SUPPLIER START_DATE Active starting date.
S _ACTIVE
END_DATE_ACTIVE AP_SUPPLIER END_DATE_ Active ending date.
S ACTIVE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 623
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
MINORITY_GROUP AP_SUPPLIER MINORITY_
S GROUP_
LOOKUP_CO
DE
PAYMENT_METHOD AP_SUPPLIER PAYMENT_
S METHOD_
LOOKUP_CO
DE
BANK_ACCOUNT_NAME AP_SUPPLIER BANK_ Supplier’s bank account
S ACCOUNT_ name.
NAME
BANK_ACCOUNT_NUMBE AP_SUPPLIER BANK_ Supplier’s bank account
R S ACCOUNT_ number.
NUM
BANK_NUMBER AP_SUPPLIER BANK_NUM Supplier’s bank number.
S
BANK_ACCOUNT_TYPE AP_SUPPLIER BANK_ Type of bank account.
S ACCOUNT_
TYPE
WOMEN_OWNED AP_SUPPLIER WOMEN_ Indicates whether the
S OWNED_FLA supplier is a woman–
G owned business.
SMALL_BUSINESS AP_SUPPLIER SMALL_ Indicates whether the
S BUSINESS_ supplier is a small
FLAG business.
STANDARD_INDUSTRY_CL AP_SUPPLIER STANDARD_ Standard industry
ASS S INDUSTRY_ classification number.
CLASS
HOLD_FLAG AP_SUPPLIER HOLD_FLAG
S
PURCHASING_HOLD_ AP_SUPPLIER PURCHASIN Reason for placing the
REASON S G_HOLD_RE supplier on purchasing
ASON hold.
HOLD_BY_EMPLOYEE_ PER_ALL_ EMPLOYEE_
NUMBER PEOPLE_F NUMBER
PER_HOLD_BY_FULL_NA PER_ALL_ FULL_NAME
ME PEOPLE_F
HOLD_DATE AP_SUPPLIER HOLD_DATE Date the supplier was
S placed on purchasing
hold.
624 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
TERMS_DATE_BASIS AP_SUPPLIER TERMS_DATE Type of invoice payment
S _BASIS schedule basis.
PRICE_TOLERANCE AP_SUPPLIER PRICE_
S TOLERANCE
INSPECTION_REQUIRED AP_SUPPLIER INSPECTION_ Indicates whether
S REQUIRED_ inspection is required.
FLAG
RECEIPT_REQUIRED_FLAG AP_SUPPLIER RECEIPT_ Indicates whether
S REQUIRED_ shipment must be
FLAG received before the
invoice is paid.
QUANTITY_RECEIVED_ AP_SUPPLIER QTY_RCV_ Quantity received
TOLERANCE S TOLERANCE tolerance percentage.
DAYS_EARLY_RECEIPT_ AP_SUPPLIER DAYS_EARLY Maximum acceptable
ALLOWED S _RECEIPT_ number of days items can
ALLOWED be received early.
DAYS_LATE_RECEIPT_ AP_SUPPLIER DAYS_LATE_ Maximum acceptable
ALLOWED S RECEIPT_ number of days items can
ALLOWED be received late.
ALLOW_SUBSTITUTE_ AP_SUPPLIER ALLOW_ Indicates whether
RECEIPTS S SUBSTITUTE_ substitute items can be
RECEIPTS_ received instead of the
FLAG ordered items.
ALLOW_UNORDERED_ AP_SUPPLIER ALLOW_ Indicates whether
RECEIPTS S UNORDERED unordered receipts are
_RECEIPTS_ allowed.
FLAG
HOLD_UNMATCHED_ AP_SUPPLIER HOLD_ Indicates whether
INVOICES S UNMATCHE unmatched invoices
D_INVOICES_ should be put on hold.
FLAG
EXCLUSIVE_PAYMENT AP_SUPPLIER EXCLUSIVE_
S PAYMENT_
FLAG
TAX_VERIFICATION_DATE AP_SUPPLIER TAX_
S VERIFICATIO
N_DATE
STATE_REPORTABLE AP_SUPPLIER STATE_REPO
S RTABLE_FLA
G
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 625
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
FEDERAL_REPORTABLE AP_SUPPLIER FEDERAL_
S REPORTABLE
_FLAG
OFFSET_VAT AP_SUPPLIER OFFSET_VAT_ Offset VAT Code.
S CODE
VAT_REGISTRATION_NUM AP_SUPPLIER VAT_
BER S REGISTRATIO
N_NUM
AUTO_CALCULATE_INTER AP_SUPPLIER AUTO_ Indicates whether interest
EST S CALCULATE_ is automatically
INTEREST_ calculated.
FLAG
VALIDATION_NUMBER AP_SUPPLIER VALIDATION
S _NUMBER
EXCLUDE_FREIGHT_FROM AP_SUPPLIER EXCLUDE_ Indicates whether to
_DISCOUNT S FREIGHT_ exclude supplier freight
FROM_ from discount amount.
DISCOUNT
TAX_REPORTING_NAME AP_SUPPLIER TAX_ Tax reporting method
S REPORTING_ name.
NAME
CHECK_DIGITS AP_SUPPLIER CHECK_DIGI Check number used by
S TS the Accounts Payable
department.
BANK_NUM AP_SUPPLIER BANK_NUM Bank number for
S Accounts Payable
department.
AUTO_TAX_CALCULATIO AP_SUPPLIER AUTO_TAX_
N S CALC_FLAG
AUTO_TAX_CALCULATIO AP_SUPPLIER AUTO_TAX_ Allow calculation level
N_OVERRIDE S CALC_ override.
OVERRIDE
AMOUNT_INCLUDES_TAX AP_SUPPLIER AMOUNT_ Distribution amounts
S INCLUDES_T include tax.
AX_FLAG
BANK_CHARGE_BEARER AP_SUPPLIER BANK_ Indicates whether this
S CHARGE_ supplier bears bank
BEARER charges.
626 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BANK_BRANCH_TYPE AP_SUPPLIER BANK_ Identifies the list that
S BRANCH_TY contains the bank routing
PE number. Use ABA,
CHIPS, SWIFT, or
OTHER.
MATCH_OPTION AP_SUPPLIER MATCH_ Indicate whether to match
S OPTION invoices to the purchase
order or the receipt for
this supplier.
FUTURE_DATED_PAYMEN GL_CODE_ CONCATENA Accounting flexfield
TS_ACCOUNT COMBINATIO TED_SEGMEN identifier for the future
NS_KFV TS dated payment account.
CREATE_DEBIT_MEMO AP_SUPPLIER CREATE_ Indicates whether a debit
S DEBIT_MEMO memo should be created.
_FLAG
OFFSET_FLAG AP_SUPPLIER OFFSET_TAX_ Indicates whether the
S FLAG supplier uses offset taxes.
1.1. SUPPLIER_SITES
Oracle
Applications
Field Name Table/View Name Column Name Description
VENDOR_ID AP_SUPPLIER VENDOR_ID Unique vendor identifier
_SITES_ALL in Oracle Applications.
VENDOR_SITE_ID AP_SUPPLIER VENDOR_SIT Unique supplier site
_SITES_ALL E_ID unique identifier.
VENDOR_SITE_CODE AP_SUPPLIER VENDOR_SIT Supplier site name.
_SITES_ALL E_CODE
PURCHASING_SITE AP_SUPPLIER PURCHASIN Indicates whether you can
_SITES_ALL G_SITE_FLAG purchase from this site.
RFQ_ONLY_SITE AP_SUPPLIER RFQ_ONLY_ Indicates whether you can
_SITES_ALL SITE_FLAG only send RFQs to this
site.
PAY_SITE AP_SUPPLIER PAY_SITE_FL Indicates whether you can
_SITES_ALL AG send payments to this site.
ATTENTION_AR AP_SUPPLIER ATTENTION_ Indicates whether the
_SITES_ALL AR_FLAG payments should be sent
to the Account
Receivables department.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 627
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
ADDRESS_LINE1 AP_SUPPLIER ADDRESS_LI Supplier site address line
_SITES_ALL NE1 1.
ADDRESS_LINE2 AP_SUPPLIER ADDRESS_LI Supplier site address line
_SITES_ALL NE2 2.
ADDRESS_LINE3 AP_SUPPLIER ADDRESS_LI Supplier site address line
_SITES_ALL NE3 3.
CITY AP_SUPPLIER CITY
_SITES_ALL
STATE AP_SUPPLIER STATE
_SITES_ALL
ZIP AP_SUPPLIER ZIP
_SITES_ALL
PROVINCE AP_SUPPLIER PROVINCE
_SITES_ALL
COUNTRY AP_SUPPLIER COUNTRY
_SITES_ALL
AREA_CODE AP_SUPPLIER AREA_CODE
_SITES_ALL
PHONE AP_SUPPLIER PHONE
_SITES_ALL
ACCOUNT_NUMBER AP_SUPPLIER ACCOUNT_ Customer number with
_SITES_ALL NUMBER the supplier.
628 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BILL_TO_LOCATION_COD HR_ LOCATION_ REGION1 is the County,
E LOCATIONS CODE REGION2 is the State
Code, BILL_LOC is the
BILL_LOC_ADDRESS_LINE HR_ ADDRESS_LI
Billing Location, and
1 LOCATIONS NE_1
SHIP_LOC is the
BILL_LOC_ADDRESS_LINE HR_ ADDRESS_LI Shipping Location.
2 LOCATIONS NE_2
BILL_LOC_ADDRESS_LINE HR_ ADDRESS_LI
3 LOCATIONS NE_3
BILL_LOC_TOWN_OR_CIT HR_ TOWN_OR_
Y LOCATIONS CITY
BILL_LOC_REGION2 HR_ REGION_2
LOCATIONS
BILL_LOC_POSTAL_CODE HR_ POSTAL_COD
LOCATIONS E
BILL_LOC_COUNTRY HR_ COUNTRY
LOCATIONS
BILL_LOC_REGION1 HR_ REGION_1
LOCATIONS
SHIP_TO_LOCATION_COD HR_ LOCATION_
E LOCATIONS CODE
SHIP_LOC_ADDRESS_LINE HR_ ADDRESS_LI
1 LOCATIONS NE_1
SHIP_LOC_ADDRESS_LINE HR_ ADDRESS_LI
2 LOCATIONS NE_2
SHIP_LOC_ADDRESS_LINE HR_ ADDRESS_LI
3 LOCATIONS NE_3
SHIP_LOC_TOWN_OR_CIT HR_ TOWN_OR_
Y LOCATIONS CITY
SHIP_LOC_REGION2 HR_ REGION_2
LOCATIONS
SHIP_LOC_POSTAL_CODE HR_ POSTAL_COD
LOCATIONS E
SHIP_LOC_REGION1 HR_ REGION_1
LOCATIONS
SHIP_LOC_COUNTRY HR_ COUNTRY
LOCATIONS
SHIP_VIA AP_SUPPLIER SHIP_VIA_ Shipping code.
_SITES_ALL LOOKUP_CO
DE
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 629
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
FREIGHT_TERMS AP_SUPPLIER FREIGHT_ Freight terms code.
_SITES_ALL TERMS_
LOOKUP_CO
DE
FOB AP_SUPPLIER FOB_LOOKUP Default Free on Board
_SITES_ALL _CODE Type.
INACTIVE_DATE AP_SUPPLIER INACTIVE_ Inactive date for the
_SITES_ALL DATE record.
FAX AP_SUPPLIER FAX
_SITES_ALL
FAX_AREA_CODE AP_SUPPLIER FAX_AREA_
_SITES_ALL CODE
TELEX AP_SUPPLIER TELEX
_SITES_ALL
PAYMENT_METHOD AP_SUPPLIER PAYMENT_
_SITES_ALL METHOD_
LOOKUP_CO
DE
BANK_ACCOUNT_NAME AP_SUPPLIER BANK_ Supplier’s bank account
_SITES_ALL ACCOUNT_ name.
NAME
BANK_ACCOUNT_NUMBE AP_SUPPLIER BANK_ Supplier’s bank account
R _SITES_ALL ACCOUNT_ name number of the
NUMBER supplier bank.
BANK_NUM AP_SUPPLIER BANK_NUM Bank branch number.
_SITES_ALL
BANK_ACCOUNT_TYPE AP_SUPPLIER BANK_ Type of bank account.
_SITES_ALL ACCOUNT_
TYPE
TERMS_DATE_BASIS AP_SUPPLIER TERMS_DATE Type of payment date
_SITES_ALL _BASIS basis.
VAT_CODE AP_SUPPLIER VAT_CODE
_SITES_ALL
DISTRIBUTION_SET_NAME AP_ DISTRIBUTIO
DISTRIBUTIO N_SET_NAME
N_SETS
SUPPLIER_LIABILITY_ GL_CODE_ CONCATENA Concatenated general
ACCOUNT COMBINATIO TED_SEGMEN ledger code combination.
NS_KFV TS
630 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
PREPAY_ACCOUNT GL_CODE_ CONCATENA Concatenated general
COMBINATIO TED_SEGMEN ledger code combination.
NS_KFV TS
PAY_GROUP AP_SUPPLIER PAY_GROUP_
_SITES_ALL LOOKUP_CO
DE
PAYMENT_PRIORITY AP_SUPPLIER PAYMENT_
_SITES_ALL PRIORITY
TERMS AP_TERMS_T NAME
L
INVOICE_AMOUNT_LIMIT AP_SUPPLIER INVOICE_
_SITES_ALL AMOUNT_
LIMIT
PAY_DATE_BASIS AP_SUPPLIER PAY_DATE_ Type of payment date
_SITES_ALL BASIS_LOOK basis.
UP_CODE
ALWAYS_DISCOUNT_FLAG AP_SUPPLIER ALWAYS_TAK Indicates whether
_SITES_ALL E_DISC_FLAG discount is applicable for
the site.
INVOICE_CURRENCY_CO AP_SUPPLIER INVOICE_
DE _SITES_ALL CURRENCY_
CODE
PAYMENT_CURRENCY_CO AP_SUPPLIER PAYMENT_
DE _SITES_ALL CURRENCY_
CODE
HOLD_ALL_PAYMENTS AP_SUPPLIER HOLD_ALL_
_SITES_ALL PAYMENTS_
FLAG
HOLD_FUTURE_PAYMENT AP_SUPPLIER HOLD_FUTU
S _SITES_ALL RE_PAYMENT
S_FLAG
HOLD_REASON AP_SUPPLIER HOLD_REAS
_SITES_ALL ON
HOLD_UNMATCHED_ AP_SUPPLIER HOLD_ Indicates whether
INVOICES _SITES_ALL UNMATCHE unmatched invoices
D_INVOICES_ should be put on hold.
FLAG
EXCLUSIVE_PAYMENT AP_SUPPLIER EXCLUSIVE_
_SITES_ALL PAYMENT_
FLAG
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 631
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
TAX_REPORTING_SITE AP_SUPPLIER TAX_
_SITES_ALL REPORTING_
SITE_FLAG
VALIDATION_NUMBER AP_SUPPLIER VALIDATION
_SITES_ALL _NUMBER
EXCLUDE_FREIGHT_FROM AP_SUPPLIER EXCLUDE_ Indicates whether to
_DISCOUNT _SITES_ALL FREIGHT_ exclude supplier freight
FROM_ from discount amount.
DISCOUNT
VAT_REGISTRATION_NUM AP_SUPPLIER VAT_
BER _SITES_ALL REGISTRATIO
N_NUM
OFFSET_VAT AP_SUPPLIER OFFSET_VAT_ Offset VAT Code.
_SITES_ALL CODE
ORGANIZATION_NAME ORG_ORGAN ORGANIZATI Name of organization
IZATION_ ON_NAME corresponding to the
DEFINITIONS operating unit.
ORGANIZATION_CODE ORG_ORGAN ORGANIZATI Organization code for
IZATION_ ON_CODE operating unit.
DEFINITIONS
CHECK_DIGITS AP_SUPPLIER CHECK_DIGI Check number used by
_SITES_ALL TS Accounts Payable
department.
BANK_NUMBER AP_SUPPLIER BANK_NUM Supplier’s bank number.
_SITES_ALL
ADDRESS_LINE4 AP_SUPPLIER ADDRESS_
_SITES_ALL LINE4
COUNTY AP_SUPPLIER COUNTY
_SITES_ALL
ADDRESS_STYLE AP_SUPPLIER ADDRESS_
_SITES_ALL STYLE
ALLOW_AWT AP_SUPPLIER ALLOW_AWT Allow withholding tax.
_SITES_ALL _FLAG
WITHOLDING_TAX_GROU AP_AWT_ NAME Withholding tax group
P GROUPS name.
ALTERNATE_VENDOR_SIT AP_SUPPLIER VENDOR_SIT
E_CODE _SITES_ALL E_CODE_ALT
ALTERNATE_ADDRESS_LI AP_SUPPLIER ADDRESS_LI
NE _SITES_ALL NES_ALT
632 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
AP_TAX_ROUNDING_RUL AP_SUPPLIER AP_TAX_
E _SITES_ALL ROUNDING_
RULE
AUTO_TAX_CALCULATIO AP_SUPPLIER AUTO_TAX_
N _SITES_ALL CALC_FLAG
AUTO_TAX_CALCULATIO AP_SUPPLIER AUTO_TAX_
N_OVERRIDE _SITES_ALL CALC_
OVERRIDE
AMOUNT_INCLUDES_TAX AP_SUPPLIER AMOUNT_
_SITES_ALL INCLUDES_T
AX_FLAG
BANK_CHARGE_BEARER AP_SUPPLIER BANK_ Indicator of whether the
_SITES_ALL CHARGE_ supplier bears bank
BEARER charges.
BANK_BRANCH_TYPE AP_SUPPLIER BANK_ Identifies the list that
_SITES_ALL BRANCH_TY contains the bank routing
PE number. Use ABA,
CHIPS, SWIFT, or
OTHER.
PAY_ON_CODE AP_SUPPLIER PAY_ON_COD
_SITES_ALL E
PAY_ON_RECEIPT_SUMMA AP_SUPPLIER PAY_ON_ Identifies how to
RY_CODE _SITES_ALL RECEIPT_ consolidate receipts to
SUMMARY_ create invoices.
CODE
PCARD_SITE AP_SUPPLIER PCARD_SITE_ Indicates whether the site
_SITES_ALL FLAG allows use of PCard.
MATCH_OPTION AP_SUPPLIER MATCH_ Indicates whether the
_SITES_ALL OPTION invoice should be
matched to the purchase
order or the receipt.
COUNTRY_OF_ORIGIN AP_SUPPLIER COUNTRY_O Manufacturer’s country
_SITES_ALL F_ORIGIN_CO code.
DE
FUTURE_DATED_PAYMEN GL_CODE_ CONCATENA Accounting flexfield for
T_ACCOUNT COMBINATIO TED_SEGMEN future dated payment.
NS_KFV TS
CREATE_DEBIT_MEMO AP_SUPPLIER CREATE_DEBI Indicates whether the
_SITES_ALL T_MEMO_FL debit memo should be
AG created.
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 633
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
OFFSET_TAX AP_SUPPLIER OFFSET_TAX_ Indicates whether the
_SITES_ALL FLAG offset tax should be used.
SELLING_COMPANY_ AP_SUPPLIER SELLING_CO
IDENTIFIER _SITES_ALL MPANY_IDE
NTIFIER
GAPLESS_INV_NUM_FLAG AP_SUPPLIER GAPLESS_IN
_SITES_ALL V_NUM_FLA
G
1.1.1. SUPPLIER_CONTACTS
Oracle
Applications
Field Name Table/View Name Column Name Description
VENDOR_SITE_ID PO_VENDOR_ VENDOR_SIT Unique vendor site
CONTACTS E_ID identifier.
INACTIVE_DATE PO_VENDOR_ INACTIVE_ Date from which the
CONTACTS DATE contact is inactive.
PERSON_FIRST_NAME PO_VENDOR_ PERSON_FIRS
CONTACTS T_NAME
MIDDLE_NAME PO_VENDOR_ MIDDLE_NA
CONTACTS ME
PERSON_LAST_NAME PO_VENDOR_ PERSON_LAS
CONTACTS T_NAME
PREFIX PO_VENDOR_ PREFIX
CONTACTS
TITLE PO_VENDOR_ TITLE
CONTACTS
MAIL_STOP PO_VENDOR_ MAIL_STOP
CONTACTS
AREA_CODE PO_VENDOR_ AREA_CODE Contact’s area code.
CONTACTS
PHONE PO_VENDOR_ PHONE Contact’s phone number.
CONTACTS
ALTERNATE_CONTACT_ PO_VENDOR_ CONTACT_ Contact’s alternate name.
NAME CONTACTS NAME_ALT
EMAIL_ADDRESS PO_VENDOR_ EMAIL_ADDR Contact’s e-mail address.
CONTACTS ESS
634 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
URL PO_VENDOR_ URL Contact’s URL.
CONTACTS
ALTERNATE_AREA_CODE PO_VENDOR_ ALT_AREA_C Alternate area code for the
CONTACTS ODE contact.
ALTERNATE_PHONE PO_VENDOR_ ALT_PHONE Alternate phone number
CONTACTS for the contact.
1.1.2. SITE_BANK_ACCOUNTS
Oracle
Applications
Field Name Table/View Name Column Name Description
ROW_ID Unique row identifier.
VENDOR_ID AP_BANK_ VENDOR_ID Unique vendor identifier
ACCOUNTS_ in Oracle Applications.
ALL
VENDOR_SITE_ID AP_BANK_ VENDOR_SIT Vendor site unique
ACCOUNT_ E_ID identifier.
USES_ALL
BANK_ACCOUNT_NAME AP_BANK_ BANK_
ACCOUNTS_ ACCOUNT_
ALL NAME
BANK_ACCOUNT_NUM AP_BANK_ BANK_ Bank account number.
ACCOUNTS_ ACCOUNT_
ALL NUM
CURRENCY_CODE AP_BANK_ CURRENCY_
ACCOUNTS_ CODE
ALL
BANK_NAME AP_BANK_ BANK_NAME
BRANCHES
BANK_NUMBER AP_BANK_ BANK_
BRANCHES NUMBER
BANK_BRANCH_NAME AP_BANK_ BANK_
BRANCHES BRANCH_
NAME
BANK_NUM AP_BANK_ BANK_NUM
BRANCHES
END_DATE AP_BANK_ START_DATE
ACCOUNT_
USES_ALL
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 635
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
START_DATE AP_BANK_ END_DATE
ACCOUNT_
USES_ALL
PRIMARY AP_BANK_ PRIMARY_ Indicates primary bank
ACCOUNT_ FLAG account.
USES_ALL
ORG_ID AP_BANK_ ORG_ID Organization identifier.
ACCOUNT_
USES_ALL
ORGANIZATION_CODE ORG_ORGAN ORGANIZATI
IZATION_ ON_CODE
DEFINITIONS
ORGANIZATION_NAME ORG_ORGAN ORGANIZATI
IZATION_ ON_NAME
DEFINITIONS
1.2. BANK_ACCOUNTS
Oracle
Applications
Field Name Table/View Name Column Name Description
ROW_ID ROW_ID Unique row identifier.
VENDOR_ID AP_BANK_ VENDOR_ID Unique vendor identifier
ACCOUNTS_ in Oracle Applications.
ALL
VENDOR_SITE_ID AP_BANK_ VENDOR_SIT Unique vendor site
ACCOUNT_ E_ID identifier.
USES_ALL
BANK_ACCOUNT_NAME AP_BANK_ BANK_
ACCOUNTS_ ACCOUNT_
ALL NAME
BANK_ACCOUNT_NUM AP_BANK_ BANK_ Bank Account Number.
ACCOUNTS_ ACCOUNT_
ALL NUM
CURRENCY_CODE AP_BANK_ CURRENCY_
ACCOUNTS_ CODE
ALL
BANK_NAME AP_BANK_ BANK_NAME
BRANCHES
BANK_NUMBER AP_BANK_ BANK_
BRANCHES NUMBER
636 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
6 Procurement Predefined Transaction Services
Oracle
Applications
Field Name Table/View Name Column Name Description
BANK_BRANCH_NAME AP_BANK_ BANK_BRAN
BRANCHES CH_NAME
BANK_NUM AP_BANK_ BANK_NUM
BRANCHES
END_DATE AP_BANK_ END_DATE
ACCOUNTS_
USES_ALL
START_DATE AP_BANK_ START_DATE
ACCOUNTS_
USES_ALL
PRIMARY AP_BANK_ PRIMARY_ Indicates primary bank
ACCOUNT_ FLAG account.
USES_ALL
ORG_ID AP_BANK_A ORG_ID Organization identifier.
CCOUNT_US
ES_ALL
ORGANIZATION_CODE ORG_ORGAN ORGANIZATI Organization code to
IZATION_ ON_CODE identify the organization.
DEFINITIONS
ORGANIZATION_NAME ORG_ORGAN ORGANIZATI Name of the organization.
IZATION_DEF ON_NAME
INITIONS
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 637
6 Procurement Predefined Transaction Services
638 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
7 Project Predefined Transaction Services
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Receive Labor Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 639
7 Project Predefined Transaction Services
Overview
This chapter describes the predefined transaction services provided in the Oracle
Applications Adapter’s 12.0.6 Project package.
The table below shows the predefined transaction services organized by Oracle
Applications module. This chapter presents the transactions in alphabetical order.
Oracle Applications
Module Predefined Transactions
Project Accounting “Receive Labor Service” on page 640
For more information about using the predefined transaction services, see Chapter 1,
“Predefined Transaction Services” on page 17.
640 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
7 Project Predefined Transaction Services
Database Scripts
This service uses the following database scripts:
For more information about using database scripts, see “Database Scripts” on page 27.
Flow Control
The main flow executes as follows:
specifyDefaultSettings specifies the default parameter settings required for service
execution. You should change these settings accordingly.
specifyConcProgParams specifies the default parameter settings required for
concurrent program execution. You should change these settings accordingly.
generateBatchName gets the BATCH_NAME for the current set of Labor records.
pickSequence generates the current sequence number from the sequence,
WM_PA_GROUP_S.
bizDocMapping maps the incoming business document structure to the required Oracle
Applications data structures (the interface tables).
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 641
7 Project Predefined Transaction Services
642 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
7 Project Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 643
7 Project Predefined Transaction Services
644 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
7 Project Predefined Transaction Services
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 645
7 Project Predefined Transaction Services
646 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Index
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 647
Index
G L
General Ledger Balance, query service 56 Labor, receive service 640
General Ledger Budget, receive service 118 location of database scripts 27
General Ledger Module (OA)
General Ledger Balance, query service 56 M
General Ledger Budget, receive service 118 Manufacturing package, list of services 242
Journal Mass Additions, receive service 125
query service 60 Master Scheduling Module (OA)
receive service 120 Forecast, receive service 305
send service 207 list of services 242
list of services 50 Master Schedule, receive service 340
modifying
H business documents 30
Human Resource Module (OA) transaction definitions 26
Employee, receive service 232 Move Transaction, receive service 343
list of services 232
Human Resources package, list of services 232 N
naming conventions, for predefined transaction
I services 23
installing Oracle Applications components for
predefined transaction services 28 O
Inventory Module (OA) On-hand Quantity, query service 259
Customer Item Cross Reference, receive service optimizing, receive services 34
283 Oracle Applications Adapter, package summary 20
Customer Item, receive service 278 Oracle Applications Module
Cycle Count Entry, receive service 287 database scripts, description of 27
Inventory Transaction, receive service 308 folder location of 23
Item services for
query service 255 Advanced Pricing 430
receive service 318 Bills of Material 242
send service 389 Cash Management 50
Item Category, query service 256 Cost Management 242
list of services 242 Engineering 242
On-Hand Quantity, query service 259 Fixed Assets 50
Replenishment, receive service 357 General Ledger 50
Inventory Transaction, receive service 308 Human Resources 232
Item Inventory 242
query service 255 Master Scheduling 242
receive service 318 Order Management 430
send service 389 Payables 50
Item Category, query service 256 Project Accounting 640
Purchasing 532
J Quality Collection 243
Journal Receivables 51
query service 60 Release Management 243
receive service 120 Shipping 430
send service 207 Work in Progress 243
648 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Index
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 649
Index
650 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide
Index
T
tables, custom, for send services 44
transaction definitions
description of 26
installation location 26
modifying 26
transaction processing
for query services 36
for receive services 32
for send services 38
transaction services. See predefined transaction
services
typeDoc variable, defined 23
types of predefined transaction services 21
U
uninstalling Oracle Applications components for
predefined transaction services 30
updating transaction definitions 26
V
Vendor
query service 62
send service 212
W
WM_CONTROL table, description of 47
WM_TRACKCHANGES table, description of 44
webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide Version 6.0 651
Index
652 webMethods Oracle Applications Adapter 12.0.6 Predefined Transaction Services User’s Guide