Вы находитесь на странице: 1из 340

Oracler Self-Service Purchasing 5

..........................................................................................

Technical Reference Manual


..........................................................................................

..........................................................................................

Release 11i
..........................................................................................

..........................................................................................

..........................................................................................

..........................................................................................

..........................................................................................

..........................................................................................

..........................................................................................

CAUTION!
See back cover for important information.

..........................................................................................

This document contains proprietary, confidential information that is the exclusive property of Oracle Corporation.

..........................................................................................

..........................................................................................

..........................................................................................

..........................................................................................

..........................................................................................

Oracler Self Service Purchasing 5 Technical Reference Manual


RELEASE 11i

March 2000

Oracler Self Service Purchasing 5 Technical Reference Manual Release 11i To order this book, ask for Part No. A85281_01 Copyright E 2000. Oracle Corporation. All rights reserved. Major Contributors: Raghav Keshav, Eddy So, Aamir Ahmad, James Zhang, Shilpa Kotwal Contributors: Zoe Mitchell This Technical Reference Manual (TRM) in any form, software or printed matter, contains proprietary information of Oracle Corporation; it is provided under an Oracle Corporation agreement containing restrictions on use and disclosure and is also protected by copyright, patent, and other intellectual property law. Restrictions applicable to this TRM include, but are not limited to: (a) exercising either the same degree of care to safeguard the confidentiality of this TRM as you exercise to safeguard the confidentiality of your own most important Confidential Information or a reasonable degree of care, whichever is greater; (b) maintaining agreements with your employees and agents that protect the Confidential Information of third parties such as Oracle Corporation and instructing such employees and agents of these requirements for this TRM; (c) restricting disclosure of this TRM to those of your employees who have a need to know consistent with the purposes for which this TRM was disclosed to you; (d) maintaining this TRM at all times on your premises; (e) not removing or destroying any proprietary or confidential legends or markings placed upon this TRM in whatever form, software or printed matter; and (f) not reproducing or transmitting this TRM in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation. You should not use this TRM in any form, software or printed matter, to create software that performs the same or similar functions as any Oracle Corporation products. The information in this TRM is subject to change without notice. If you find any problems in the TRM in any form, software or printed matter, please report them to us in writing. Oracle Corporation does not warrant that this TRM is errorfree. This TRM is provided to customer asis with no warranty of any kind. This TRM does not constitute Documentation as that term is defined in Oracles agreements. Reverse engineering of the Programs (software and documentation) associated with this TRM are prohibited. The Programs associated with this TRM are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be licensees responsibility to take all appropriate failsafe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle disclaims liability for any damages caused by such use of the Programs. Restricted Rights Legend This TRM and the Programs associated with this TRM delivered subject to the DOD FAR Supplement are commercial computer software and use, duplication and disclosure of the TRM and the Programs associated with this TRM shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, this TRM and the Programs associated with this TRM delivered subject to the Federal Acquisition Regulations are restricted computer software and use, duplication and disclosure of the TRM and the Programs associated with this TRM shall be subject to the restrictions in FAR 52.22714, Rights in Data General, including Alternate III (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. Oracle is a registered trademark, and CASE*Exchange, Enabling the Information Age, Hyper*SQL, NLS*Workbench, Oracle7, Oracle8, Oracle 8i, Oracle Access, Oracle Application Object Library, Oracle Discoverer, Oracle Financials, Oracle Quality, Oracle Web Customers, Oracle Web Employees, Oracle Work in Process, Oracle Workflow, PL/SQL, Pro*Ada, Pro*C, Pro*COBOL, Pro*FORTRAN, Pro*Pascal, Pro*PL/I, SmartClient, SQL*Connect, SQL*Forms, SQL*Loader, SQL*Menu, SQL*Net, SQL*Plus, and SQL*Report are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners.

CAUTION

his Technical Reference Manual in any form software or printed matter contains proprietary, confidential information that is the exclusive property of Oracle Corporation. If you do not have a valid contract with Oracle for the use of this Technical Reference Manual or have not signed a nondisclosure agreement with Oracle covering this Technical Reference Manual, then you received this document in an unauthorized manner and are not legally entitled to possess or read it. Use, duplication, and disclosure are subject to restrictions stated in your contract with Oracle Corporation.

Chapter 1

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1

Chapter 2

HighLevel Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview of HighLevel Design . . . . . . . . . . . . . . . . . . . . . . . . . . . Public Table List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Web View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forms and Table View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21 22 27 2 12 2 14 2 15 2 16

Chapter 3

Detailed Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1 Overview of Detailed Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Table and View Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 Index

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Contents v

Oracle Proprietary, Confidential InformationUse Restricted by Contract


vi Oracle SefService Purchasing 5 Technical Reference Manual

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Contents vii

Oracle Proprietary, Confidential InformationUse Restricted by Contract


viii Oracle SefService Purchasing 5 Technical Reference Manual

CHAPTER

Introduction

he Oracle SelfService Purchasing 5 Technical Reference Manual provides the information you need to understand the underlying structure of Oracle SelfService Purchasing 5. After reading this manual, you should be able to convert your existing applications data, integrate your existing applications with your Oracle SelfService Purchasing application, and write custom reports for your Oracle SelfService Purchasing application, as well as read data that you need to perform other tasks. This chapter introduces you to the Oracle SelfService Purchasing 5 Technical Reference Manual, and explains how to use it.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Introduction 11

Introduction
At Oracle, we design and build applications using Oracle Designer, our systems design technology that provides a complete environment to support developers through all stages of a systems life cycle. Because we use a repositorybased design toolset, all the information regarding the underlying structure and processing of our applications is available to us online. Using Oracle Designer, we can present this information to you in the form of a technical reference manual. This Oracle SelfService Purchasing 5 Technical Reference Manual contains detailed, uptodate information about the underlying structure of Oracle SelfService Purchasing 5. As we design and build new releases of Oracle SelfService Purchasing applications, we update our Oracle Designer repository to reflect our enhancements. As a result, we can always provide you with an Oracle SelfService Purchasing 5 Technical Reference Manual that contains the latest technical information as of the publication date. Note that after the publication date we may have added new indexes to Oracle SelfService Purchasing 5 to improve performance. About this Manual This manual describes the Oracle Applications Release 11i data model, as used by SelfService Purchasing 5; it discusses the database we include with a fresh install of Oracle Applications Release 11i. If you have not yet upgraded to Release 11i, your database may differ from the database we document in this book. If you have upgraded from a previous release, you might find it helpful to use this manual with the appropriate Oracle Applications Product Update Notes manual. The product update notes list database changes and seed data changes in Oracle SelfService Purchasing 5 between releases. The Oracle Applications Product Update Notes Release 11 manual describes the changes between Release 10.7 and Release 11, and the Oracle Applications Product Update Notes Release 11i manual describes the changes between Release 11 and Release 11i. You can contact your Oracle representative to confirm that you have the latest technical information for SelfService Purchasing 5. You can also use OracleMetaLink which is accessible through Oracles Support Web Center (http://www.oracle.com/support/elec_sup).

Oracle Proprietary, Confidential InformationUse Restricted by Contract


12 Oracle SefService Purchasing 5 Technical Reference Manual

Finding the Latest Information


The Oracle SelfService Purchasing 5 Technical Reference Manual contains the latest information as of the publication date. For the latest information we encourage you to use OracleMetaLink which is accessible through Oracles Support Web Center (http://www.oracle.com/support/elec_sup).

Audience
The Oracle SelfService Purchasing 5 Technical Reference Manual provides useful guidance and assistance to: Technical End Users Consultants Systems Analysts System Administrators Other MIS professionals This manual assumes that you have a basic understanding of structured analysis and design, and of relational databases. It also assumes that you are familiar with Oracle Application Object Library and your Oracle SelfService Purchasing application. If you are not familiar with the above products, we suggest that you attend one or more of the training classes available through Oracle Education (see: Other Information Sources: page 1 8).

How This Manual is Organized


This manual contains two major sections, HighLevel Design and Detailed Design. HighLevel Design This section, Chapter 2, contains database diagrams and lists each database table and view that SelfService Purchasing 5 uses. This chapter also has a list of modules.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Introduction 13

Detailed Design This section, Chapter 3, contains a detailed description of the SelfService Purchasing 5 database design, including information about each database table and view you might need for your custom reporting or other data requirements.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


14 Oracle SefService Purchasing 5 Technical Reference Manual

How to Use This Manual


The Oracle SelfService Purchasing 5 Technical Reference Manual is a single, centralized source for all the information you need to know about the underlying structure and processing of your Oracle SelfService Purchasing application. For example, you can use this manual when you need to: Convert existing application data Integrate your SelfService Purchasing 5 application with your other applications systems Write custom reports Define alerts against Oracle Applications tables Configure your Oracle SelfService Web Applications Create views for decision support queries using query tools Create business views for Oracle Discoverer You need not read this manual cover to cover. Use the table of contents and index to quickly locate the information you need.

How Not To Use This Manual


Do not use this manual to plan modifications You should not use this manual to plan modifications to your Oracle SelfService Purchasing application. Modifying Oracle SelfService Purchasing 5 limits your ability to upgrade to future releases of your SelfService Purchasing 5 application. In addition, it interferes with our ability to give you the highquality support you deserve. We have constructed your Oracle SelfService Purchasing application so that you can customize it to fit your needs without programming, and you can integrate it with your existing applications through interface tables. However, should you require program modifications, you should contact our support team (see: Other Information Sources: page 1 8). They can put you in touch with Oracle Services, the professional consulting organization of Oracle. Their team of experienced applications professionals can make the modifications you need while ensuring upward compatibility with future product releases.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Introduction 15

Do not write data into noninterface tables Oracle reserves the right to change the structure of Oracle Applications tables, and to change the meaning of, add, or delete lookup codes and data in future releases. Do not write data directly into or change data in noninterface tables using SQL*Plus or other programming tools because you risk corrupting your database and interfering with our ability to support you. Moreover, this version of the Oracle SelfService Purchasing 5 Technical Reference Manual does not contain complete information about the dependencies between SelfService Purchasing 5 applications tables. Therefore, you should write data into only those tables we identify as interface tables. If you write data into other noninterface tables, you risk violating your data integrity since you might not fulfill all the data dependencies in your SelfService Purchasing 5 application. You are responsible for the support and upgrade of the logic within the procedures that you write, which may be affected by changes between releases of Oracle Applications. Do not rely on upward compatibility of the data model Oracle reserves the right to change the structure of Oracle SelfService Purchasing applications tables, and to change the meaning of, add, or delete lookup codes and other data in future releases. We do not guarantee the upward compatibility of the Oracle SelfService Purchasing applications data model. For example, if you write a report that identifies concurrent requests that end in Error status by selecting directly from Oracle Application Object Library tables, we do not guarantee that your report will work properly after an upgrade.

About Oracle Application Object Library


The Oracle SelfService Purchasing 5 Technical Reference Manual may contain references to tables that belong to Oracle Application Object Library. Oracle Application Object Library is a collection of prebuilt application components and facilities for building Oracle Applications and extensions to Oracle Applications. Oracle Application Coding Standards use the Oracle Application Object Library and contains shared components including but not limited to forms, subroutines, concurrent programs and reports, database tables and objects, messages, menus, responsibilities, flexfield definitions and online help.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


16 Oracle SefService Purchasing 5 Technical Reference Manual

Attention: Oracle does not support any customization of Oracle Application Object Library tables or modules, not even by Oracle consultants. (Oracle Application Object Library tables generally have names beginning with FND_%.) Accordingly, this manual does not contain detailed information about most Oracle Application Object Library tables used by your Oracle SelfService Purchasing application.

A Few Words About Terminology


The following list provides you with definitions for terms that we use throughout this manual: Relationship A relationship describes any significant way in which two tables may be associated. For example, rows in the Journal Headers table may have a onetomany relationship with rows in the Journal Lines table. Database Diagram A database diagram is a graphic representation of application tables and the relationships between them. Module A module is a program or procedure that implements one or more business functions, or parts of a business function, within an application. Modules include forms, concurrent programs and reports, and subroutines. Application Building Block An application building block is a set of tables and modules (forms, reports, and concurrent programs) that implement closelyrelated database objects and their associated processing. Said another way, an application building block is a logical unit of an application. QuickCodes QuickCodes let you define general purpose, static lists of values for window fields. QuickCodes allow you to base your program logic on lookup codes while displaying userfriendly names in a list of values
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Introduction 17

window. QuickCodes simplify name and language changes by letting you change the names your end users see, while the codes in your underlying programs remain the same. Form A form is a module comprised of closely related windows that are used together to perform a task. For example, the Enter Journals form in Oracle General Ledger includes the Enter Journals window, the Batch window, and the More Actions window among others. The Enter Journals window is the main window, and from it, you can use buttons to navigate to other windows in the form. The form name usually corresponds to the main window in the form, and is frequently a window you open directly from the Navigator.

Other Information Sources


There are additional information sources, including other documentation, training and support services, that you can use to increase your knowledge and understanding of Oracle Designer, Oracle Application Object Library, and your Oracle SelfService Purchasing application. We want to make these products easy for you and your staff to understand and use. Oracle Designer Online Documentation The online help for Oracle Designer describes how you can use Oracle Designer for your development needs. Oracle Applications Developers Guide This guide contains the coding standards followed by the Oracle Applications development staff. It describes the Oracle Application Object Library components needed to implement the Oracle Applications user interface described in the Oracle Applications User Interface Standards. It also provides information to help you build your custom Developer forms so that they integrate with Oracle Applications. Oracle Applications User Interface Standards This manual contains the user interface (UI) standards followed by the Oracle Applications development staff. It describes the UI for the
Oracle Proprietary, Confidential InformationUse Restricted by Contract
18 Oracle SefService Purchasing 5 Technical Reference Manual

Oracle Applications products and how to apply this UI to the design of an application built using Oracle Forms 6. Oracle SelfService Purchasing applications User Guide Your user guide provides you with all the information you need to use your Release 11i SelfService Purchasing 5 application. Each user guide is organized for fast, easy access to detailed information in a function and taskoriented organization. Oracle SelfService Web Applications Online Documentation This documentation describes how Oracle SelfService Web Applications enable companies to provide a selfservice and secure Web interface for employees, customers, and suppliers. Employees can change their personal status, submit expense reports, or request supplies. Customers can check on their orders, and suppliers can share production schedules with their trading partners. This documentation is available in HTML only. Oracle Applications Flexfields Guide This guide provides flexfields planning, setup and reference information for the SelfService Purchasing 5 implementation team, as well as for users responsible for the ongoing maintenance of Oracle Applications product data. This manual also provides information on creating custom reports on flexfields data. Oracle Workflow Guide This manual explains how to define new workflow business processes as well as customize existing Oracle Applicationsembedded workflow processes. You also use this guide to complete the setup steps necessary for any Oracle Applications product that includes workflowenabled processes. Oracle Alert User Guide This manual explains how to define periodic and event alerts to monitor the status of your Oracle Applications data. Multiple Reporting Currencies in Oracle Applications If you use the Multiple Reporting Currencies feature to report and maintain accounting records in more than one currency, use this
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Introduction 19

manual before implementing SelfService Purchasing 5. This manual details additional steps and setup considerations for implementing SelfService Purchasing 5 with this feature. Multiple Organizations in Oracle Applications If you use the Oracle Applications Multiple Organization Support feature to use multiple sets of books for one SelfService Purchasing 5 installation, use this guide to learn about setting up and using SelfService Purchasing 5 with this feature. This book describes the Oracle Applications organization model, which defines business units and the relationships between them in an arbitrarily complex enterprise. Functional and technical overviews of multiple organizations are presented, as well as information about how to set up and implement this feature set in the relevant Oracle Applications products. Oracle Manufacturing, Distribution, Sales and Service Open Interfaces Manual This manual contains uptodate information about integrating with other Oracle Manufacturing applications and with your other systems. This documentation includes open interfaces found in Oracle Manufacturing. Oracle Applications Messages Manual The Oracle Applications Messages Manual contains the text of numbered error messages in Oracle Applications. (Oracle Applications messages begin with the prefix APP.) It also provides information on the actions you take if you get a message. Note: This manual is available only in HTML format.

Installation and System Administration


Oracle Applications Installation Release Notes This manual contains a road map to the components of the release, including instructions about where to access the Release 11i documentation set.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


1 10 Oracle SefService Purchasing 5 Technical Reference Manual

Oracle Applications Concepts Designed to be the first book the user reads to prepare for an installation of Oracle Applications. It explains the technology stack, architecture, features and terminology for Oracle Applications Release 11i. This book also introduces the concepts behind and major uses of Applicationswide features such as MRC, BIS, languages and character sets (NLS, MLS), BIS, SelfService Web Applications and so on. Installing Oracle Applications Describes the OneHour Install process, the method by which Release 11i will be installed. This manual includes all howto steps, screen shots and information about Applicationswide postinstall tasks. Using the AD Utilities This manual contains howto steps, screen shots and other information required to run the various AD utilities such as AutoInstall, AutoPatch, AD Administration, AD Controller, Relink and so on. It also contains information about when and why you should use these utilities. Upgrading Oracle Applications This manual contains all the product specific pre and postupgrade steps that are required to upgrade products from Release 10.7 (NCA, SC and charactermode) or Release 11 of Oracle Applications. This manual also contains an overview chapter that describes all the tasks necessary to prepare and complete a upgrade of Oracle Applications. Oracle Applications System Administrators Guide This manual provides planning and reference information for the Oracle Applications System Administrator. It contains information on how to define security, customize menus and manage concurrent processing. Oracle Applications Product Update Notes This book contains a summary of each new feature we added since Release 11, as well as information about database changes and seed data changes that may affect your operations or any custom reports you have written. If you are upgrading from Release 10.7 you also need to read Oracle Applications Product Update Notes Release 11.
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Introduction 1 11

Oracle SelfService Web Applications Implementation Manual This manual describes the setup steps for Oracle SelfService Web Applications and the Web Applications Dictionary. Oracle Applications Implementation Wizard User Guide If you are implementing more than one Oracle product, you can use the Oracle Applications Implementation Wizard to coordinate your setup activities. This guide describes how to use the wizard.

Other Information
Training Oracle Education offers a complete set of training courses to help you and your staff master Oracle Applications. We can help you develop a training plan that provides thorough training for both your project team and your end users. We will work with you to organize courses appropriate to your job or area of responsibility. Training professionals can show you how to plan your training throughout the implementation process so that the right amount of information is delivered to key people when they need it the most. You can attend courses at any one of our many Educational Centers, or you can arrange for our trainers to teach at your facility. In addition, we can tailor standard courses or develop custom courses to meet your needs. Support From onsite support to central support, our team of experienced professionals provides the help and information you need to keep your Oracle SelfService Purchasing application working for you. This team includes your Technical Representative, Account Manager, and Oracles large staff of consultants and support specialists with expertise in your business area, managing an Oracle server, and your hardware and software environment.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


1 12 Oracle SefService Purchasing 5 Technical Reference Manual

About Oracle
Oracle Corporation develops and markets an integrated line of software products for database management, applications development, decision support, and office automation, as well as Oracle Applications, an integrated suite of more than 75 software modules for financial management, supply chain management, manufacturing, project systems, human resources, and sales and service management. Oracle products are available for mainframes, minicomputers, personal computers, network computers, and personal digital assistants, allowing organizations to integrate different computers, different operating systems, different networks, and even different database management systems, into a single, unified computing and information resource. Oracle is the worlds leading supplier of software for information management, and the worlds second largest software company. Oracle offers its database, tools, and applications products, along with related consulting, education, and support services, in over 145 countries around the world.

Thank You
Thanks for using Oracle SelfService Purchasing applications and this technical reference manual! We appreciate your comments and feedback. At the back of this manual is a Readers Comment Form that you can use to explain what you like or dislike about your Oracle SelfService Purchasing application or this technical reference manual. Mail your comments to the following address or call us directly at (650) 5067000. Oracle Applications Documentation Manager Oracle Corporation 500 Oracle Parkway Redwood Shores, California 94065 U.S.A. Or, send electronic mail to appsdoc@us.oracle.com.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Introduction 1 13

Oracle Proprietary, Confidential InformationUse Restricted by Contract


1 14 Oracle SefService Purchasing 5 Technical Reference Manual

CHAPTER

HighLevel Design

his chapter presents a highlevel design for Oracle SelfService Purchasing 5 that satisfies the business needs we specify during Strategy and Analysis. It contains database diagrams for Oracle SelfService Purchasing 5 application building blocks, lists of database tables and views, and a list of modules.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 21

Overview of HighLevel Design


During HighLevel Design, we define the application components (tables, views, and modules) we need to build our application. We specify what application components should do without specifying the details of how they should do it. You can refer to this HighLevel Design chapter to quickly acquaint yourself with the tables, views, and modules that comprise SelfService Purchasing 5 applications. And, you can prepare yourself to understand the detailed design and implementation of Oracle SelfService Purchasing 5.

Database Diagrams
The Database Diagrams section graphically represents all SelfService Purchasing 5 applications tables and the relationships between them, organized by building block. Use this section to quickly learn what tables each SelfService Purchasing 5 application building block uses, and how those tables interrelate. Then, you can refer to the Table and View Definitions sections of Chapter 3 for more detailed information about each of those tables.

Table Lists
The Table List sections list the SelfService Purchasing 5 applications tables. Because a product might not include at least one table for each type, this Technical Reference Manual might not include each of the following sections. Public Tables Use the Public Table List section to quickly identify the tables you are most interested in. Then, you can refer to the Table and View Definitions sections of Chapter 3 for more detailed information about those tables. In addition, this manual may contain full documentation for one or more of the following Application Object Library tables: FND_DUAL, FND_CURRENCIES, and FND_COMMON_LOOKUPS.
Oracle Proprietary, Confidential InformationUse Restricted by Contract
22 Oracle SefService Purchasing 5 Technical Reference Manual

Internal Tables This section includes a list of private, internal tables used by SelfService Purchasing 5; we do not provide additional documentation for these tables.

View Lists
The View List sections list the SelfService Purchasing 5 views, with one section for each type of view. Because a product might not include at least one view for each type, this Technical Reference Manual might not include each of the following sections. Use this section to quickly identify the views you are most interested in. Then, you can refer to the Table and View Definitions sections of Chapter 3 for more detailed information about those views. Public Views This section lists views that may be useful for your custom reporting or other data requirements. The list includes a description of the view, and the page in Chapter 3 that gives detailed information about the public view. Web Views This section lists views that you may need to configure your SelfService Web applications. The list includes a description of the view, and the page in Chapter 3 that gives detailed information about the web view. Internal Views This section includes each private, internal view that SelfService Purchasing 5 uses. Multiple Reporting Currency Views This list includes views that were created to support the Multiple Reporting Currencies feature.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 23

Module List
The Module List section briefly describes each of the SelfService Purchasing 5 applications modules. This section lists forms, reports, and concurrent programs. A form is a module comprised of closely related windows that are used together to perform a task. For example, the Enter Journals form in Oracle General Ledger includes the Enter Journals window, the Batch window, and the More Actions window. The Enter Journals window is the main window, and from it, you can use buttons to navigate to other windows in the form. The form name usually corresponds to the main window in the form, and is frequently a window you can open directly from the Navigator. The Reports and Concurrent Programs lists include processes you can submit from the Submit Requests window or other windows, as well as processes that are submitted automatically by SelfService Purchasing 5. Use your users guide to learn more about reports and concurrent processes.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


24 Oracle SefService Purchasing 5 Technical Reference Manual

Database Diagramming Conventions


We use the following notational conventions in our database diagrams:
Figure 2 1 Database Diagram Conventions

Server Model Diagram Elements and Notation

Recursive foreign key (Pig's Ear)

Title Bar Column/attribute details section Relational Table

Foreign key constraint

Arc

EMP
Primary key column (#*) Mandatory column (*)

# * EMPNO * DEPTNO

Delete rule indicator

DEPT
Values in the foreign key must match the primary key

# * DEPTNO * DNAME

Mandatory and Optional Foreign Keys


A value entered in the column in the foreign key must match a value in the primary key column. A value entered in the column in the foreign key must match either a value in the primary key column, or else it must be null.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 25

Tables are the basic unit of storage in the database. A hand symbol preceding the title in the tables title bar indicates that the table is not owned by this application but shared with another. Foreign key constraint is a type of referential integrity constraint for checking the integrity of data entered in a specific column or set of columns. This specified column or set of columns is known as the foreign key. Delete rule indicator determines the action to be taken when an attempt is made to delete a related row in a join table. A line through the foreign key constraint, as shown on the above diagram, indicates that this action is restricted. Arcs specify that, for any given row in a table, a value must be entered in one of the arc columns. The remaining columns within the arc must be null.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


26 Oracle SefService Purchasing 5 Technical Reference Manual

Public Table List


This section lists each public database table that Internet Commerce uses and provides a brief description of each of those tables. The page reference is to the table description in Chapter 3. Note that public tables are not necessarily intended for write access by custom code; Oracle Corporation supports write access using only standard Oracle Applications forms, reports, and programs, or any SQL write access to tables explicitly documented as API tables. For more information, see the How Not To Use This Manual section of this books Introduction. Internet Commerce uses the following Public tables: Table Name
FINANCIALS_SYSTEM_PARAMS_ALL

Description Oracle Financials system parameters and defaults (See page 3 23) Applications registered with Oracle Application Object Library (See page NO TAG) Functionality groupings (See page NO TAG) New menu table for Release 10SC (See page NO TAG) Responsibilities (See page NO TAG) Application users (See page NO TAG) Account combinations (See page 3 27) Set of books definitions (See page 3 31) Work location definitions. (See page 3 34) Translated location codes and descriptions. (See page 3 37) Setup information table (See page 3 49) Holds information about submitted batch jobs. (See page 3 50) Controls the look and feel of Bugseye. (See page 3 51) Table stores flags for BugsEye system. (See page 3 52) Stores information about the categories that exist within a catalog. (See page 3 53)

FND_APPLICATION

FND_FORM_FUNCTIONS FND_MENUS FND_RESPONSIBILITY FND_USER GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS HR_LOCATIONS_ALL HR_LOCATIONS_ALL_TL ICX_PARAMETERS ICX_POR_BATCH_JOBS

ICX_POR_BUGSEYE_CONFIG ICX_POR_BUGSEYE_FLAGS ICX_POR_CATEGORIES_TL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 27

ICX_POR_CATEGORY_DATA_SOURCES

This table stores a list of external category data sources. (See page 3 55) Stores category default values (See page 3 56) Intersection table creating a relationship between categories and all the items they contain. (See page 3 57) Mapping of internal categories to external categories. (See page 3 58) Stores configuration parameters. (See page 3 59) Store context policies. (See page 3 60) Stores information about descriptors associated with a given category. (See page 3 61) Stores named extended queries or a URL for an item. (See page 3 63) Maintains information about items/prices that the XML loader rejected during a load job. (See page 3 64) Maintains information about items/prices that the XML loader rejected during a load job. (See page 3 65) Stores information and root descriptors for each item in the catalog. (See page 3 66) Translation table for ICX_POR_ITEMS. (See page 3 68) Stroes the information about Item Constraint. (See page 3 70) his table tracks which of the 2 indexes is currently available. (See page 3 71) Stores information about item Site. (See page 3 72) Stores information about Catalog content sources. (See page 3 73) Translation table for ICX_POR_ITEM_SOURCES. (See page 3 74) Stores a single record with the setup data for the Extraction process. (See page 3 75)

ICX_POR_CATEGORY_DEFAULTS ICX_POR_CATEGORY_ITEMS

ICX_POR_CATEGORY_ORDER_MAP

ICX_POR_CONFIG_PARAMETERS ICX_POR_CONTEXT_POLICY ICX_POR_DESCRIPTORS_TL

ICX_POR_EXT_QUERY_TL

ICX_POR_FAILED_LINES

ICX_POR_FAILED_LINE_MESSAGES

ICX_POR_ITEMS

ICX_POR_ITEMS_TL ICX_POR_ITEM_CONSTRAINT

ICX_POR_ITEM_CTX_INDEX

ICX_POR_ITEM_SITE ICX_POR_ITEM_SOURCES

ICX_POR_ITEM_SOURCES_TL

ICX_POR_LOADER_VALUES

Oracle Proprietary, Confidential InformationUse Restricted by Contract


28 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_LOAD_ITEM_MATCH

Table defines criteria for determining item uniqueness. (See page 3 76) Internal audit table for editing tools. (See page 3 77) Stores Oraclespecific reference information about a Catalog item. (See page 3 78) Stores price lists information. (See page 3 79) Stores price list lines information. (See page 3 80) Stores information about realms. (See page 3 81) Translation table for ICX_POR_REALMS. (See page 3 82) Stores information about realm components. (See page 3 83) Stores search configuration information. (See page 3 84) Stores search configuration policy information. (See page 3 85) Stores site information. (See page 3 86) Stores the userdefined hierarchical relationship between navigational categories to create a more traditional hierarchical view of the catalog. (See page 3 87) Stores information fro template files. (See page 3 88) Stores information about the titles (supplier catalogs). (See page 3 89) Stores information about the titles (supplier catalogs). (See page 3 90) Stores title registry information. (See page 3 91) This table lets you associate units with a descriptor (like a UOM). (See page 3 92) Contains a complete listing of the UNSPSC commodity codes. (See page 3 93) Version tracking table for internal use. (See page 3 94) (See page 3 95)

ICX_POR_LOG ICX_POR_ORACLE_ITEM_SUBTABLE

ICX_POR_PRICE_LISTS ICX_POR_PRICE_LIST_LINES ICX_POR_REALMS ICX_POR_REALMS_TL ICX_POR_REALM_COMPONENTS

ICX_POR_SEARCH_CONFIG ICX_POR_SEARCH_CONFIG_POLICY

ICX_POR_SITE ICX_POR_TABLE_OF_CONTENTS_TL

ICX_POR_TEMPLATE_FILES ICX_POR_TITLE_ADMIN

ICX_POR_TITLE_ADMIN_TL

ICX_POR_TITLE_REGISTRY ICX_POR_UNIT

ICX_POR_UNSPSC_CODES

ICX_POR_VERSION_INFO ICX_PROCUREMENT_SERVER_SETUP

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 29

ICX_REQUISITIONER_INFO ICX_SESSIONS ICX_SESSION_ATTRIBUTES ICX_UNSPSC_CODES

TPN Requisitioner Parameters Table (See page 3 96) Session context table (See page 3 97) Session context table (See page 3 99) Contains information of the UNSPSC commodity codes. (See page 3 100) Code combinations table for item categories (See page 3 101) Category Sets (See page 3 103) Inventory item definitions (See page 3 105) DateTracked table holding personal information for employees, applicants and other people. (See page 3 124) Headers Table for implementing favorite lists (See page 3 155) Table for storing items added to favorite lists. (See page 3 156) SelfService Purchasing Information Template (See page 3 198) SelfService Purchasing Information Template Data (See page 3 201) Purchasing document approval list (See page 3 223) Purchasing doument lines approval list (See page 3 224) Archived distributions (See page 3 225) Archived purchase orders (See page 3 230) Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) (See page 3 236) Archived purchase order lines (See page 3 242) Archived purchase order location (See page 3 242) Archived releases (See page 3 254) Template lines for express requisitions (See page 3 259)

MTL_CATEGORIES_B

MTL_CATEGORY_SETS_B MTL_SYSTEM_ITEMS_B PER_ALL_PEOPLE_F

POR_FAVORITE_LIST_HEADERS

POR_FAVORITE_LIST_LINES

POR_TEMPLATE_ASSOC

POR_TEMPLATE_INFO

PO_APPROVAL_LIST_HEADERS PO_APPROVAL_LIST_LINES PO_DISTRIBUTIONS_ARCHIVE_ALL PO_HEADERS_ARCHIVE_ALL PO_LINES_ALL

PO_LINES_ARCHIVE_ALL PO_LINES_LOCATION_ARCHIVE_ALL PO_RELEASES_ARCHIVE_ALL PO_REQEXPRESS_LINES_ALL

PO_REQUISITION_HEADERS_ALL Requisition headers (See page 3 262) Oracle Proprietary, Confidential InformationUse Restricted by Contract
2 10 Oracle SefService Purchasing 5 Technical Reference Manual

PO_REQUISITION_LINES_ALL PO_REQ_DISTRIBUTIONS_ALL PO_VENDORS PO_VENDOR_CONTACTS PO_VENDOR_SITES_ALL

Requisition lines (See page 3 266) Requisition distributions (See page 3 273) Suppliers (See page 3 276) Supplier contacts (See page 3 283) Supplier sites (See page 3 285)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 11

Web View List


This section lists each view we created to simplify access from Oracle SelfService Web Applications, and it provides a brief description of each of those views. The page reference is to the view description in Chapter 3. SelfService Purchasing 5 uses the following Web views: View Name
POR_APPROVAL_STATUS_HEADER_V POR_APPROVAL_STATUS_LINES_V POR_APPROVER_LOV_V POR_ATTACHMENTS_SUMMARY_V POR_CATEGORY_LOV_V POR_DISTRIBUTIONS_V POR_EXPENDITURE_LOV_V POR_FAVORITE_LISTS_V

Description This view is obsolete. (See page 3 130) Approval Status Lines View (See page 3 131) List of Values for Approvers (See page 3 132) Attachments Summary View (See page 3 133) View for List of Values for Categories (See page 3 134) Distribution View (See page 3 135) List of Values for Expenditure (See page 3 138) View which lists the items which have been entered in a users Favorite Lists (See page 3 139) Requisition Header View (See page 3 158) Information Template View (See page 3 162) This view is obsolete. (See page 3 163) Requisition Line View (See page 3 164) List of Values for Locations (See page 3 170) List of Values for Manufacturers (See page 3 172) Preparer list of values view (See page 3 173) List of Values for Projects (See page 3 174) (See page 3 175) (See page 3 176) Receipts Summary View (See page 3 177) (See page 3 178)

POR_HEADER_V POR_INFO_TEMPLATE_V POR_INVOICES_SUMMARY_V POR_LINES_V POR_LOCATION_LOV_V POR_MANUFACTURER_LOV_V POR_PREPARER_LOV_V POR_PROJECT_LOV_V POR_PUBLIC_LISTS_V POR_PUBLIC_LIST_ITEMS_V POR_RECEIPTS_SUMMARY_V POR_RECEIVE_ORDERS_V

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 12 Oracle SefService Purchasing 5 Technical Reference Manual

POR_REQUESTER_LOV_V POR_SUBINVENTORY_LOV_V POR_SUPPLIER_LOV_V POR_TASK_LOV_V POR_TEMPLATES_V POR_TEMPLATE_ASSOC_V

List of Values for Requesters (See page 3 192) List of Values for Subinventories (See page 3 194) List of Values for Suppliers (See page 3 195) List of Values for Task (See page 3 196) Information Template View (See page 3 197) View for Information Template Association (See page 3 199) Information Template Attributes View (See page 3 200) List of Values for Unit of Measure (See page 3 202) View Requisition Header (See page 3 203) View Requisition Lines (See page 3 205) This view is obsolete (See page 3 207) View Requisition Autoquery (See page 3 212) This view is obsolete. (See page 3 214) View Requisition By Group (See page 3 216) Orders to Approve View (See page 3 219) View Requisition (See page 3 221)

POR_TEMPLATE_ATTRIBUTES_V POR_UNIT_OF_MEASURE_LOV_V POR_VIEW_HEADER_V POR_VIEW_LINES_V POR_VIEW_LINE_DETAILS_V POR_VIEW_REQS_AUTOQUERY_V POR_VIEW_REQS_BY_APPROVER_V POR_VIEW_REQS_BY_GROUP_V POR_VIEW_REQS_TO_APPR_V POR_VIEW_REQS_V

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 13

Forms and Table View List


This section lists supplementary views that are not essential to the Release 11i data model, but simplify coding or improve performance of Developer. For example, many of these views are used as base tables in SelfService Purchasing 5 forms. Warning: We do not recommend you query or alter data using these views. Furthermore, these views may change dramatically in subsequent minor or major releases of SelfService Purchasing 5. SelfService Purchasing 5 uses the following Forms and Table views: HR_LOCATIONS_NO_JOIN ORG_ORGANIZATION_DEFINITIONS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 14 Oracle SefService Purchasing 5 Technical Reference Manual

Internal View List


This section lists each private, internal view that SelfService Purchasing 5 uses. Warning: Oracle Corporation does not support access to Oracle Applications data using these views, except from standard Oracle Applications forms, reports, and programs. SelfService Purchasing 5 uses the following internal views: ICX_POR_CATEGORIES_VL ICX_POR_DESCRIPTORS_VL ICX_POR_ITEM_SOURCES_FORM_V ICX_POR_ITEM_SOURCES_VL ICX_POR_REALMS_FORM_V ICX_POR_REALMS_VL ICX_POR_REALM_COMP_FORM_V ICX_POR_REQ_ACTIVE_CONTRACTS ICX_POR_REQ_ASLS ICX_POR_REQ_CONTRACTS ICX_POR_REQ_INACTIVE_CONTRACTS ICX_POR_REQ_TEMPLATES ICX_POR_SEARCH_ASLS_V ICX_POR_SEARCH_CONTRACTS_V ICX_POR_SEARCH_ITEM_MASTER_V ICX_POR_SEARCH_TEMPLATES_V MTL_CATEGORIES_B_KFV MTL_SYSTEM_ITEMS_B_KFV POR_DUMMY_V

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 15

Module List
This section lists each form, report and concurrent program comprising Internet Commerce.

Concurrent Programs
ICXCSDBB ICXCSMRB ICXDLTMP ICXSTIDB

ICXCSDBB module populates ICX_PANEL_SUMMARY_TABLE ICXCSMRB module populates ICX_MARGIN_TABLE ICXDLTMP module deletes data from temporary tables ICXSTIDB module populates ICX_STORE_INDEX table

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 16 Oracle SefService Purchasing 5 Technical Reference Manual

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 17

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 18 Oracle SefService Purchasing 5 Technical Reference Manual

CHAPTER

Detailed Design

his chapter presents a detailed design for implementing Oracle SelfService Purchasing 5. It contains detailed definitions of tables and views that you may need to reference to write custom reports or use for other data extraction.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 31

Overview of Detailed Design


During Detailed Design, we specify in detail how each applications component should work. We prepare detailed definitions of tables and views. You can refer to this Detailed Design chapter to gain a detailed understanding of the underlying structure and processing of Oracle SelfService Purchasing 5 that enables you to: Convert existing application data Integrate your SelfService Purchasing 5 application with your other applications systems Write custom reports Define alerts against Oracle Applications tables Create views for decision support queries using query tools Configure your Oracle SelfService Web Applications

Table and View Definitions


The Table and View Definitions section contains a detailed definition of SelfService Purchasing 5 applications tables. For each table, it provides information about primary keys, foreign keys, QuickCodes, indexes, triggers, and sequences. It also gives you a detailed description of each column and its characteristics. In addition, it provides the SQL statement that defines each view. Review this section to get a detailed understanding of what tables your SelfService Purchasing 5 application contains, and how it uses them to hold and access the information it needs.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


32 Oracle SefService Purchasing 5 Technical Reference Manual

Table and View Definitions


This section contains a detailed description of each Oracle SelfService Purchasing 5 table and view that you may need to reference. For each table, it presents detailed information about: Primary keys Foreign keys Column descriptions Indexes Oracle sequences Triggers View derivations Because Oracle does not support customization of Oracle Application Object Library tables, we do not provide you with detailed information about them. Consequently, this section does not document all the FND_% tables your Oracle SelfService Purchasing application uses. The following sections appear in each table or view description:

Foreign Keys
To help you understand the relationships between tables, we list each foreign key contained in a table. For each foreign key in a table, we list the primary key table name (the table to which a foreign key refers), its corresponding primary key columns, and the foreign key columns that refer to those primary key columns. When the primary key table has a composite primary key, we list each column of the composite key sequentially. If a table contains two or more distinct foreign keys that refer to the same primary key table, we repeat the primary key table name and list each of the distinct foreign keys separately.

QuickCodes Columns
When a database column contains a QuickCodes value, which we implement using a foreign key to FND_LOOKUPS, MFG_LOOKUPS, or to some other lookup table, we list the QuickCodes type (lookup
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Detailed Design 33

type) to which the QuickCodes value must belong and a complete list of QuickCodes values and meanings. Some QuickCodes can be defined by you in the application. These values are designated as Userdefined.

Column Descriptions
We list the important characteristics of each column in a table or view. These characteristics include whether the column is part of the tables primary key, whether Oracle8i requires a value for this column, and the data type of the column. We also give you a brief description of how your Oracle SelfService Purchasing application uses the column. When a column is part of a tables primary key, we append the notation (PK) to the name of that column. To help you understand which columns your Oracle SelfService Purchasing application uses and which columns it does not use, we alert you to any unused column. When no module uses a database column, we show one of the following legends in the Description column: Not currently used No longer used Your Oracle SelfService Purchasing application does not use this column, although the column might be used in a future release. Your Oracle SelfService Purchasing application no longer uses this column. AutoInstall installs this column. Subsequent versions of your Oracle SelfService Purchasing application might not include this column. Your Oracle SelfService Purchasing application no longer uses this column. If you upgraded your software from an earlier version, you may still have this column, depending upon whether you chose to delete it during an upgrade process. If you install your Oracle SelfService Purchasing application, you do not have this column.

No longer installed

Standard Who Columns Most Oracle SelfService Purchasing applications tables contain standard columns to support \ Row Who. When your program or
Oracle Proprietary, Confidential InformationUse Restricted by Contract
34 Oracle SefService Purchasing 5 Technical Reference Manual

SQL*Plus command selects a row from a table, use these columns to determine who last updated the row. If your program or SQL*Plus command updates or inserts a row in an interface table, you must populate each of the five standard Who columns:
LAST_UPDATE_DATE LAST_UPDATED_BY

Date when a user last updated this row User who last updated this row (foreign key to FND_USER.USER_ID) Date when this row was created User who created this row (foreign key to FND_USER.USER_ID) Operating system login of user who last updated this row (foreign key to FND_LOGINS.LOGIN_ID). You should set this to NULL, or to 0 if NULL is not allowed

CREATION_DATE CREATED_BY

LAST_UPDATE_LOGIN

Since every table containing Who columns has several foreign keys to the tables FND_USER and FND_LOGINS, we do not include the foreign key columns LAST_UPDATED_BY, CREATED_BY, or LAST_UPDATE_LOGIN in a tables list of foreign keys. Additional Who Columns for Concurrent Programs Some Oracle SelfService Purchasing applications tables also contain several additional Who columns to distinguish between changes a user makes with a form and changes a concurrent program makes. When a concurrent program updates or inserts a row in a table, the concurrent program populates the following additional Who columns:
REQUEST_ID

Concurrent request ID of program that last updated this row (foreign key to FND_CONCURRENT_REQUESTS.REQUEST_ID) Application ID of program that last updated this row (foreign key to FND_APPLICATION.APPLICATION_ID) Program ID of program that last updated this row (foreign key to FND_CONCURRENT_PROGRAM.CONCURRENT_PROGRAM_ID) Date when a program last updated this row

PROGRAM_APPLICATION_ID

PROGRAM_ID

PROGRAM_UPDATE_DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 35

Since every table containing these additional Who columns has several foreign keys to the tables FND_CONCURRENT_REQUESTS, FND_APPLICATION, and FND_CONCURRENT_PROGRAM, we do not include the foreign key columns REQUEST_ID, PROGRAM_APPLICATION_ID, or PROGRAM_ID in a tables list of foreign keys.

Indexes
If an Oracle SelfService Purchasing applications table uses an Oracle8i index, we list the database columns that comprise that index, in sequential order. Note: The indexes we document in this manual correspond to unique keys we specified during product development and testing. In some cases, we may add additional indexes during the porting process to finetune performance on specific platforms; therefore, there may be minor differences between the indexes documented in this book and the indexes for production versions of SelfService Purchasing 5.

Sequences
Your Oracle SelfService Purchasing application uses Oracle8i sequence generators to generate unique integers. If any table column gets its value from an Oracle8i sequence generator, we list the name of the corresponding sequence generator and the name of the column that stores the unique integer.

Database Triggers
If a table has one or more active database triggers, we provide a brief explanation of each database trigger and when it fires.

View Derivation
For each Oracle SelfService Purchasing applications view you may need to reference, we include important elements from the SQL
Oracle Proprietary, Confidential InformationUse Restricted by Contract
36 Oracle SefService Purchasing 5 Technical Reference Manual

statement that defines or creates a view. By studying this view definition, you can understand exactly how a view derives its contents.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 37

AK_ATTRIBUTES
AK_ATTRIBUTES contains information about the attributes you define. You need one row for each attribute. Each attribute has a name, an application that owns the attribute, formatting properties, a default value, a prompt, and a data type (i.e., Number, Varchar2, Date, etc.).
QuickCodes Columns Column DATA_TYPE

QuickCodes Type DATA_TYPE BOOLEAN DATE DATETIME NUMBER URL VARCHAR2 HORIZONTAL_ALIGNMENT CENTER LEFT RIGHT VERTICAL_ALIGNMENT BOTTOM CENTER TOP

QuickCodes Table AK_LOOKUP_CODES Boolean Date Datetime Number URL Varchar2 AK_LOOKUP_CODES Center Left Right AK_LOOKUP_CODES Bottom Center Top

HORIZONTAL_ALIGNMENT

VERTICAL_ALIGNMENT

Column Descriptions Name ATTRIBUTE_CODE (PK) ATTRIBUTE_APPLICATION_ID ATTRIBUTE_LABEL_LENGTH ATTRIBUTE_VALUE_LENGTH BOLD ITALIC (PK)

Null? Type NOT NULL VARCHAR2(30) NOT NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1)

Description Attribute identifier Product teams application ID which the attribute belongs to Number of characters to be displayed for the attribute label Number of characters to be displayed for the attribute value Bold flag (Y Bold the attribute value, N Do not bold the attribute value) Italic flag (Y Italicize the attribute value, N Do not italicize the attribute value) Vertical Alignment for attribute Horizontal alignment for attribute Data type of attribute Flag to indicate whether the attribute should be in upper case (Y upper case, N not upper case)

VERTICAL_ALIGNMENT HORIZONTAL_ALIGNMENT DATA_TYPE UPPER_CASE_FLAG

NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(30) NULL VARCHAR2(1)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


38 Oracle SefService Purchasing 5 Technical Reference Manual

DEFAULT_VALUE_VARCHAR2 DEFAULT_VALUE_NUMBER DEFAULT_VALUE_DATE LOV_REGION_CODE LOV_REGION_APPLICATION_ID ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN ITEM_STYLE DISPLAY_HEIGHT CSS_CLASS_NAME POPLIST_VIEWOBJECT POPLIST_DISPLAY_ATTRIBUTE POPLIST_VALUE_ATTRIBUTE CSS_LABEL_CLASS_NAME Indexes Index Name AK_ATTRIBUTES_U1

NOT NOT NOT NOT NOT NOT

NULL VARCHAR2(240) Default value of attribute when the data type of the attribute is VARCHAR NULL NUMBER(15) Default value of attribute when the data type of the attribute is NUMBER NULL DATE Default value of attribute when the data type of the attribute is DATE or DATETIME NULL VARCHAR2(30) LOV Region identifier NULL NUMBER(15) Product teams application ID which the LOV Region belongs to NULL VARCHAR2(30) Descriptive flexfield structure defining column NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL NUMBER(15) Standard Who Column NULL DATE Standard Who Column NULL NUMBER(15) Standard Who Column NULL DATE Standard Who Column NULL NUMBER(15) Standard Who Column NULL VARCHAR2(30) NULL NUMBER NULL VARCHAR2(80) NULL VARCHAR2(240) NULL VARCHAR2(80) NULL VARCHAR2(80) NULL VARCHAR2(80)

Index Type UNIQUE

Sequence 4 6

Column Name ATTRIBUTE_CODE ATTRIBUTE_APPLICATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 39

AR_CREDIT_HISTORIES
This table stores information about a customers credit profile (changes made to AR_CUSTOMER_PROFILES). Each row can include changes to a customers credit status, credit limit, and outstanding balances. The primary key for this table is CREDIT_HISTORY_ID.
Foreign Keys Primary Key Table HZ_CUST_ACCOUNTS HZ_CUST_SITE_USES_ALL RA_SITE_USES_ALL Column Descriptions Name CREDIT_HISTORY_ID LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE CUSTOMER_ID ON_HOLD HOLD_DATE CREDIT_LIMIT CREDIT_RATING RISK_CODE OUTSTANDING_BALANCE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 (PK)

Primary Key Column CUST_ACCOUNT_ID SITE_USE_ID SITE_USE_ID

Foreign Key Column CUSTOMER_ID SITE_USE_ID SITE_USE_ID

Null? Type NOT NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL DATE NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL DATE NULL NUMBER(15) NULL VARCHAR2(1) NULL DATE NULL NULL NULL NULL NULL NUMBER VARCHAR2(30) VARCHAR2(30) NUMBER VARCHAR2(30)

Description Identifier of the credit history Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Identifier of the customer associated with this credit history Indicates whether this credit history is on hold Date this credit history put on hold Credit limit amount User defined credit rating User defined risk assessment Outstanding Receivables balance Descriptive Flexfield Structure Defining Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 10 Oracle SefService Purchasing 5 Technical Reference Manual

SITE_USE_ID ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CURRENCY_CODE TRX_CREDIT_LIMIT Indexes Index Name AR_CREDIT_HISTORIES_N1 AR_CREDIT_HISTORIES_U1 Sequences Sequence AR_CREDIT_HISTORIES_S

NULL NUMBER(15) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(15) NULL NUMBER

Identifier of the site use record associated with this credit history Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column The code for the currency used Customers credit limit

Index Type NOT UNIQUE UNIQUE

Sequence 1 1

Column Name CUSTOMER_ID CREDIT_HISTORY_ID

Derived Column CREDIT_HISTORY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 11

AR_PAYMENT_SCHEDULES_ALL
This table stores all transactions except adjustments and miscellaneous cash receipts. Oracle Receivables updates this table when activity occurs against an invoice, debit memo, chargeback, credit memo, on account credit, or receipt. Oracle Receivables groups different transactions by the column CLASS. These classes include invoice (INV), debit memos (DM), guarantees (GUAR), credit memos (CM), deposits (DEP), chargebacks (CB), and receipts (PMT). Transaction classes determine which columns in this table Oracle Receivables updates when a transaction occurs, and whether a transaction relates to either the RA_CUSTOMER_TRX_ALL table or the AR_CASH_RECEIPTS_ALL table. AR_PAYMENT_SCHEDULES_ALL joins to the RA_CUSTOMER_TRX_ALL table for nonpayment transaction entries such as the creation of credit memos, debit memos, invoices, chargebacks, or deposits. AR_PAYMENT_SCHEDULES_ALL uses the foreign key CUSTOMER_TRX_ID to join to the RA_CUSTOMER_TRX_ALL table for these transactions. AR_PAYMENT_SCHEDULES_ALL joins to the AR_CASH_RECEIPTS_ALL table for invoicerelated payment transactions using the foreign key CASH_RECEIPT_ID. When a receipt is applied, Oracle Receivables updates AMOUNT_APPLIED, STATUS and AMOUNT_DUE_REMAINING. STATUS changes from OP to CL for any transaction that has an AMOUNT_DUE_REMAINING value of 0. ACTUAL_DATE_CLOSED and GL_DATE_CLOSED are populated with the date of the latest transaction. For a receipt, the amount due remaining includes on account and unapplied amounts. Oracle Receivables stores debit items such as invoices, debit memos, chargebacks, deposits, and guarantees as positive numbers in the AMOUNT_DUE_REMAINING and AMOUNT_DUE_ORIGINAL columns. Credit items such as credit memos and receipts are stored as negative numbers. In Release 10, receipts can be confirmed or not confirmed as designated by the CONFIRMED_FLAG column. The sum o f the AMOUNT_DUE_REMAINING column for a customer for all confirmed payment schedules reflects the current customer balance. If this amount is negative, then this column indicates the credit balance amount currently available for this customer. For invoices with split terms, one record is created in RA_CUSTOMER_TRX_ALL and one record is stored in AR_PAYMENT_SCHEDULES_ALL for each installment. In AR_PAYMENT_SCHEDULES_ALL, DUE_DATE and AMOUNT_DUE_REMAINING can differ for each installment of a split term invoice. Each installment is differentiated by the TERMS_SEQUENCE_NUMBER column. If you create a debit memo reversal when you reverse a receipt, Oracle Receivables creates a new payment schedule record for the debit memo and fills in
Oracle Proprietary, Confidential InformationUse Restricted by Contract
3 12 Oracle SefService Purchasing 5 Technical Reference Manual

REVERSED_CASH_RECEIPT_ID with the CASH_RECEIPT_ID of the receipt that was reversed. Oracle Receivables creates a new payment schedule record when you create a chargeback in the Receipts window. ASSOCIATED_CASH_RECEIPT_ID is the cash receipt of the payment you entered when you created the chargeback in this window. GL_DATE_CLOSED indicates the general ledger date on which your transaction was closed. This column identifies which transactions Oracle Receivables selects when it displays current and overdue debit items in the aging reports. The aging reports also utilize the current balances in AMOUNT_DUE_REMAINING to display outstanding amounts for current and overdue debit items. ACTUAL_DATE_CLOSED gives the date on which you applied a payment or credit to an open transaction that set AMOUNT_DUE_REMAINING to 0 for that transaction. Oracle Receivables uses ACTUAL_DATE_CLOSED to determine which transactions to include when you print statements. The primary key for this table is PAYMENT_SCHEDULE_ID, which identifies the transaction that created the row.
Foreign Keys Primary Key Table AR_ADJUSTMENTS_ALL AR_CASH_RECEIPTS_ALL AR_CASH_RECEIPTS_ALL AR_CASH_RECEIPTS_ALL AR_CASH_RECEIPTS_ALL AR_COLLECTORS AR_RECEIVABLE_APPLICATIONS_ALL FND_CURRENCIES FND_CURRENCIES RA_CUSTOMERS_HZ RA_CUSTOMER_TRX_ALL RA_CUST_TRX_TYPES_ALL RA_SITE_USES_ALL RA_TERMS_B QuickCodes Columns Column CLASS

Primary Key Column ADJUSTMENT_ID CASH_RECEIPT_ID CASH_RECEIPT_ID CASH_RECEIPT_ID CASH_RECEIPT_ID COLLECTOR_ID RECEIVABLE_APPLICATION_ID CURRENCY_CODE CURRENCY_CODE CUSTOMER_ID CUSTOMER_TRX_ID CUST_TRX_TYPE_ID SITE_USE_ID TERM_ID

Foreign Key Column ADJUSTMENT_ID_LAST CASH_RECEIPT_ID ASSOCIATED_CASH_RECEIPT_ID REVERSED_CASH_RECEIPT_ID CASH_RECEIPT_ID_LAST COLLECTOR_LAST CASH_APPLIED_ID_LAST INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE CUSTOMER_ID CUSTOMER_TRX_ID CUST_TRX_TYPE_ID CUSTOMER_SITE_USE_ID TERM_ID

QuickCodes Type INV/CM CB CM DEP DM GUAR INV PMT FOLLOW_UP CALL BACK User defined

QuickCodes Table AR_LOOKUPS Chargeback Credit Memo Deposit Debit Memo Guarantee Invoice Receipt AR_LOOKUPS Call the customer again

FOLLOW_UP_CODE_LAST

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 13

VERIFY CHECK VERIFY SHIPMENT

Verify that a check has been received Verify that the shipment was sent

Column Descriptions Name PAYMENT_SCHEDULE_ID (PK) STAGED_DUNNING_LEVEL DUNNING_LEVEL_OVERRIDE_DATE LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN DUE_DATE AMOUNT_DUE_ORIGINAL AMOUNT_DUE_REMAINING NUMBER_OF_DUE_DATES STATUS INVOICE_CURRENCY_CODE CLASS CUST_TRX_TYPE_ID CUSTOMER_ID CUSTOMER_SITE_USE_ID CUSTOMER_TRX_ID CASH_RECEIPT_ID ASSOCIATED_CASH_RECEIPT_ID TERM_ID TERMS_SEQUENCE_NUMBER GL_DATE_CLOSED

Null? Type NOT NULL NUMBER(15) NULL NUMBER(2) NULL DATE NOT NOT NOT NOT NULL NULL NULL NULL NULL NOT NULL NOT NULL NOT NULL DATE NUMBER(15) DATE NUMBER(15) NUMBER(15) DATE NUMBER NUMBER

Description Identifies the payment schedule Dunning level of the item as printed on the dunning correspondence System date that user manually adjusted the dunning level of a debit item Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Due date of this installment The original amount due The current amount due remaining The total number of installments for this invoice Lookup code for the status of the item Lookup code for the currency of the invoice Lookup code for the class of the payment schedule Identifies the transaction type of the item Identifies the customer associated with the item Identifies the customer site associated with the customer. This must be a BILL_TO site. Identifies the item itself Identifies the payment (cash receipt) Identifies the payment (cash receipt) to which the item was applied Identifies the terms used in calculating the payment schedule The sequence number given to each installment for multiple payment terms The accounting date on which the schedule was closed; if the schedule is not closed, it is filled with largest date (V7db supports 31DEC4712) because we make this a not null column to improve performance of aging report.

NOT NULL NUMBER(15) NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(15) NOT NULL VARCHAR2(20) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NOT NULL DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 14 Oracle SefService Purchasing 5 Technical Reference Manual

ACTUAL_DATE_CLOSED

NOT NULL DATE

DISCOUNT_DATE AMOUNT_LINE_ITEMS_ORIGINAL AMOUNT_LINE_ITEMS_REMAINING AMOUNT_APPLIED AMOUNT_ADJUSTED AMOUNT_IN_DISPUTE AMOUNT_CREDITED RECEIVABLES_CHARGES_CHARGED RECEIVABLES_CHARGES_REMAINING FREIGHT_ORIGINAL FREIGHT_REMAINING TAX_ORIGINAL TAX_REMAINING DISCOUNT_ORIGINAL DISCOUNT_REMAINING DISCOUNT_TAKEN_EARNED DISCOUNT_TAKEN_UNEARNED IN_COLLECTION CASH_APPLIED_ID_LAST CASH_APPLIED_DATE_LAST CASH_APPLIED_AMOUNT_LAST CASH_APPLIED_STATUS_LAST CASH_GL_DATE_LAST CASH_RECEIPT_ID_LAST CASH_RECEIPT_DATE_LAST CASH_RECEIPT_AMOUNT_LAST CASH_RECEIPT_STATUS_LAST EXCHANGE_RATE_TYPE EXCHANGE_DATE EXCHANGE_RATE ADJUSTMENT_ID_LAST ADJUSTMENT_DATE_LAST ADJUSTMENT_GL_DATE_LAST ADJUSTMENT_AMOUNT_LAST FOLLOW_UP_DATE_LAST FOLLOW_UP_CODE_LAST

NULL DATE NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER DATE NUMBER VARCHAR2(30) DATE NUMBER(15) DATE NUMBER VARCHAR2(30) VARCHAR2(30) DATE NUMBER NUMBER(15) DATE DATE NUMBER DATE

NULL VARCHAR2(30)

The actual date on which the schedule was closed. When not closed, populate with large date (V7db supports31DEC4712) because we make it a not null column to improve performance of aging report. No longer used Original line amount of the item Remaining line amount of the item Amount applied to the item Amount adjusted against the item The amount in dispute against the item The amount credited against the item Amount of receivables charges incurred against the item Amount of receivables charges remaining Original freight amount for the item Remaining freight amount for the item Original tax amount for the item Remaining tax amount for the item No longer used No longer used Actual amount of earned discount taken for the item Actual amount of unearned discount taken for the item Y or N flag to indicate whether the item is in collection No longer used No longer used No longer used No longer used No longer used No longer used No longer used No longer used No longer used The exchange rate type used The exchange rate date used The exchange rate used No longer used No longer used No longer used No longer used Date the customer was last contacted with reference to the item Lookup code for the outcome of the last follow up with the customer

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 15

PROMISE_DATE_LAST PROMISE_AMOUNT_LAST COLLECTOR_LAST CALL_DATE_LAST TRX_NUMBER TRX_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 REVERSED_CASH_RECEIPT_ID AMOUNT_ADJUSTED_PENDING ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 GL_DATE ACCTD_AMOUNT_DUE_REMAINING PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE RECEIPT_CONFIRMED_FLAG REQUEST_ID SELECTED_FOR_RECEIPT_BATCH_ID

NULL DATE NULL NUMBER NULL NUMBER(15) NULL DATE NULL VARCHAR2(30) NULL DATE NULL VARCHAR2(30) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NUMBER(15) NULL NUMBER NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NOT NULL DATE NOT NULL NUMBER NULL NULL NULL NULL NUMBER(15) NUMBER(15) DATE VARCHAR2(1)

NULL NUMBER(15) NULL NUMBER(15)

The last date by which the customer promised to pay The amount the customer last promised to pay The last collector that called the customer The last date a collector called a customer The transaction number of the item The transaction date of the item Descriptive Flexfield Structure Defining column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Cash receipt identifier of reversed payment Amount of pending adjustment Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column General Ledger date Open amount of transaction in functional currency Standard Who column Standard Who column Standard Who column Y or N flag for a receipt to indicate whether the receipt has been confirmed Request ID number Automatic receipt batch ID. When this column is null, transaction is available for automatic receipt.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 16 Oracle SefService Purchasing 5 Technical Reference Manual

LAST_CHARGE_DATE

NULL DATE

SECOND_LAST_CHARGE_DATE

NULL DATE

DISPUTE_DATE

NULL DATE

ORG_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY CONS_INV_ID CONS_INV_ID_REV

NULL NUMBER(15) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(30) NULL NUMBER(15) NULL NUMBER(15)

This column is reserved for future use. RA_SITE_USES.LAST_CHARGE_DATE is being moved down to this level. This column is reserved for future use. RA_SITE_USES.SECOND_LAST_CHARGE _DATE is being moved down to this level. This column stores the last date that was inserted into the AR_DISPUTE_HISTORY table. It basically serves as a placeholder so that the database trigger knows what date to insert. Operating Unit Identifier Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Consolidated invoice ID that contains this transaction Identifies a consolidated billing number that includes a cash receipt reversal

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 17

EXCLUDE_FROM_DUNNING_FLAG MRC_CUSTOMER_TRX_ID MRC_EXCHANGE_RATE_TYPE

NULL VARCHAR2(1) NULL NULL

MRC_EXCHANGE_DATE

NULL

MRC_EXCHANGE_RATE

NULL

MRC_ACCTD_AMOUNT_DUE_REMAINING

NULL

Y or N indicates whether this customer should be excluded from the dunning process VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, item identifier pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, exchange rate type used for converting pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, exchange date for converting pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, exchange rate used for converting pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, open amount of transaction in reporting currency(s) pairs

Indexes Index Name AR_PAYMENT_SCHEDULES_N1 AR_PAYMENT_SCHEDULES_N10 AR_PAYMENT_SCHEDULES_N11 AR_PAYMENT_SCHEDULES_N12 AR_PAYMENT_SCHEDULES_N13 AR_PAYMENT_SCHEDULES_N2 AR_PAYMENT_SCHEDULES_N3 AR_PAYMENT_SCHEDULES_N4 AR_PAYMENT_SCHEDULES_N5 AR_PAYMENT_SCHEDULES_N6 AR_PAYMENT_SCHEDULES_N7 AR_PAYMENT_SCHEDULES_N9 AR_PAYMENT_SCHEDULES_U1 AR_PAYMENT_SCHEDULES_U2 AR_PAYMENT_SCHEDULES_U3 Sequences Sequence AR_PAYMENT_SCHEDULES_S

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT NOT NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 3 6 1 1 1 1 1 1 2 1 2 1 1 1 1 1

Column Name TRX_DATE ACTUAL_DATE_CLOSED CUSTOMER_ID TRX_NUMBER ASSOCIATED_CASH_RECEIPT_ID SELECTED_FOR_RECEIPT_BATCH_ID CUSTOMER_TRX_ID TRX_NUMBER DUE_DATE CUSTOMER_SITE_USE_ID STATUS CUSTOMER_ID STATUS TERM_ID GL_DATE_CLOSED PAYMENT_SCHEDULE_ID CASH_RECEIPT_ID REVERSED_CASH_RECEIPT_ID

NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE UNIQUE UNIQUE

Derived Column PAYMENT_SCHEDULE_ID

Database Triggers Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_PAYMENT_SCHEDULES_BRI BEFORE ROW INSERT

This trigger sets the gl_date_closed and actual_date_closed to a different value if these are left null.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 18 Oracle SefService Purchasing 5 Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AR_MRC_PAYMENT_SCHEDULES_BIUD BEFORE ROW INSERT, UPDATE, DELETE

This MRC trigger only exists when you install the Multiple Reporting Currencies feature. It is executed when you perform an insert, update, or delete statement on the table AR_PAYMENT_SCHEDULES_ALL. For each record being inserted/updated/deleted in AR_PAYMENT_SCHEDULES_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_PAYMENT_SCHEDULES. In addition, this trigger also populates the MRC VARCHAR2 columns in AR_PAYMENT_SCHEDULES_ALL. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_AR_OCC_DOCS_DUE_DATE_CHG AFTER ROW UPDATE

This trigger inserts a new record in JL_BR_AR_OCCURRENCE_DOCS_ALL after update of due date field of AR_PAYMENT_SCHEDULES_ALL table. This trigger is active only if Latin American Localizations is used. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_AR_PAYMENT_SCH_GBL BEFORE ROW INSERT

This trigger assigns values to global_attribute8, global_attribute9, global_attribute11 and global_attribute_category when payment schedules are created in AR_PAYMENT_SCHEDULES_ALL for a new transaction. This trigger is active only if Latin American Localizations is used. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_PAYMENT_SCHEDULES_BRU BEFORE ROW UPDATE

Whenever the amount_in_dispute is updated, this trigger inserts a record in AR_DISPUTE_HISTORY.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 19

CST_MARGIN_TEMP
CST_MARGIN_TEMP temporarily stores the detailed information that is used to build Margin Analysis Reports. Like CST_MARGIN_BUILD, Margin Analysis Load Run and Purge Margin Analysis Load Run requests populate and remove records from this table.
Foreign Keys Primary Key Table RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_LINES_ALL SO_HEADERS_ALL SO_LINES_ALL SO_LINES_ALL Column Descriptions Name LEGAL_ENTITY_ID BUILD_ID (PK) SOURCE ROW_TYPE ORIGIN INVOICE_SOURCE PARENT_ROWID ORDER_NUMBER ORG_ID HEADER_ID ORDER_TYPE_ID CUSTOMER_ID SOLD_TO_CUSTOMER_NAME PRIMARY_SALESREP_ID SALES_CHANNEL_CODE PARENT_INVENTORY_ITEM_ID PARENT_ORGANIZATION_ID PARENT_LINE_ID PARENT_LINE_NUMBER PARENT_ITEM_TYPE_CODE PARENT_ATO_FLAG INVENTORY_ITEM_ID ORGANIZATION_ID LINE_ID LINE_TYPE_CODE

Primary Key Column CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID HEADER_ID LINE_ID LINE_ID

Foreign Key Column CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID HEADER_ID LINE_ID PARENT_LINE_ID

Null? Type NULL NOT NULL NOT NULL NOT NULL NUMBER NUMBER VARCHAR2(15) NUMBER

Description Legal Entity Identifier Build identifier Identifies source of the record Identifies the type of a sales order line Identifies the origin of the record Source of the invoice Identifier of SO_ORDER_LINES Order number of the sales order Operating unit Order header identifier Order type identifier Customer identifier Customer name based on customer identifier Primary sales representative identifier Sales channel code identifier Parent inventory item identifier in case of a nonstandard item Organization identifier for the parent item Line identifier for the parent line Line number for the parent line Type identifier of the parent item, i.e. Standard, Model, Class, etc. Flag indicating if the order line is for ATO Inventory item identifier for the child line Organization identifier for the child line Line identifier for the child line Line type code for the child line

NOT NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) ROWID NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR2(50)

NULL NUMBER NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 20 Oracle SefService Purchasing 5 Technical Reference Manual

LINE_NUMBER SHIP_TO_SITE_USE_ID SHIP_TO_CUSTOMER_NAME INVOICE_TO_SITE_USE_ID BILL_TO_CUSTOMER_NAME CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID ORIGINAL_GL_DATE GL_DATE INVOICE_LINE_QUANTITY INVOICE_QUANTITY ORDER_LINE_QUANTITY SHIP_QUANTITY INVOICED_AMOUNT COGS_AMOUNT SALES_ACCOUNT COGS_ACCOUNT TERRITORY_ID CUSTOMER_CLASS_CODE MARGIN MARGIN_PCT RETURN_REFERENCE_TYPE_CODE RETURN_REFERENCE_ID LINK_TO_LINE_ID RMA_HEADER_ID RMA_NUMBER RMA_INVENTORY_ITEM_ID RMA_LINE_ID RMA_LINE_NUMBER RMA_ORGANIZATION_ID RMA_LINE_TYPE_CODE RMA_SHIP_TO_SITE_USE_ID RMA_INVOICE_INVENTORY_ITEM_ID CR_TRX_ID CR_TRX_LINE_ID PERIOD_NAME_YEAR PERIOD_NUM_YEAR PERIOD_NAME_QTR PERIOD_NUM_QTR

NULL NUMBER NULL NUMBER NULL VARCHAR2(50) NULL NUMBER NULL VARCHAR2(50) NULL NUMBER NULL NUMBER NULL DATE NULL DATE NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR2(30) NUMBER NUMBER VARCHAR2(30)

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(15) NULL NUMBER NULL VARCHAR2(15) NULL NUMBER

Line number for the child line Ship to site identifier Customer name based on SHIP_TO_SITE_USE_ID Site identifier for the invoiced site information Customer name based on the INVOICE_TO_SITE_USE_ID Identifier for RA_CUSTOMER_TRX Identifier for RA_CUSTOMER_TRX_LINES Original General ledger Date General ledger date Quantity invoiced for entire order line Quantity invoiced for invoice line Order quantity for order line Actual shipment quantity Invoiced amount Cost of goods sold amount Sales account identifier Cost of goods sold identifier Territory identifier Industry identifier Margin Margin percentage Return reference type identifier for the RMA lines Return reference identifier for the RMA lines Parent line identifier if RETURN_REFERENCE_TYPE_CODE is populated Header identifier for the RMA lines Order number for the RMA lines Inventory item identifier for the RMA lines Line identifier for the RMA lines Line number for the RMA lines Organization identifier for the RMA lines Line type code for the RMA lines Site identifier for the shipped site for the RMA lines Invoiced inventory item identifier for the RMA lines Credit memo identifier in RA_CUSTOMER_TRX Credit memo Identifier in RA_CUSTOMER_TRX_LINES Year name from General Ledger Periods Number identifier of Year in General Ledger Period Quarter name from General Ledger Periods Number identifier of Quarter in General Ledger Period

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 21

PERIOD_SEQ_QTR PERIOD_NAME_MONTH PERIOD_NUM_MONTH PERIOD_SEQ_MONTH OE_ITEM_CATEGORY_ID AREA_CODE COUNTRY_CODE REGION_CODE AREA_NAME COUNTRY_NAME REGION_NAME OPERATING_UNIT_NAME Indexes Index Name CST_MARGIN_TEMP_N1 CST_MARGIN_TEMP_N2 CST_MARGIN_TEMP_N3

NULL NUMBER NULL VARCHAR2(15) NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(2) NULL VARCHAR2(30) NULL NULL NULL NULL VARCHAR2(80) VARCHAR2(80) VARCHAR2(80) VARCHAR2(60)

Sequence of General Ledger Period Quarter Month name from General Ledger Periods Number identifier of Month in General Ledger Period Sequence of General Ledger Period Month Item Category Identifier based on the default category set of the OE functional area Identifier of Area level of the BIS geography dimension Identifier of Country level of the BIS geography dimension Identifier of Region level of the BIS geography dimension

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE

Sequence 2 4 2 4 5

Column Name BUILD_ID HEADER_ID BUILD_ID PARENT_INVENTORY_ITEM_ID LEGAL_ENTITY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 22 Oracle SefService Purchasing 5 Technical Reference Manual

FINANCIALS_SYSTEM_PARAMS_ALL
FINANCIALS_SYSTEM_PARAMETERS_ALL contains options and defaults you share between your Oracle Payables application, and your Oracle Purchasing and Oracle Assets applications. You can define these options and defaults according to the way you run your business. This table corresponds to the Financials Options window. There is only one row in this table. There is no primary key for this table.
Foreign Keys Primary Key Table AP_TERMS_TL FND_CURRENCIES FND_CURRENCIES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_ENCUMBRANCE_TYPES GL_ENCUMBRANCE_TYPES GL_ENCUMBRANCE_TYPES GL_SETS_OF_BOOKS HR_LOCATIONS_ALL HR_LOCATIONS_ALL QuickCodes Columns Column MANUAL_VENDOR_NUM_TYPE

Primary Key Column TERM_ID CURRENCY_CODE CURRENCY_CODE CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID ENCUMBRANCE_TYPE_ID ENCUMBRANCE_TYPE_ID ENCUMBRANCE_TYPE_ID SET_OF_BOOKS_ID LOCATION_ID LOCATION_ID

Foreign Key Column TERMS_ID INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE ACCTS_PAY_CODE_COMBINATION_ID PREPAY_CODE_COMBINATION_ID DISC_TAKEN_CODE_COMBINATION_ID RES_ENCUMB_CODE_COMBINATION_ID RATE_VAR_CODE_COMBINATION_ID RATE_VAR_GAIN_CCID RATE_VAR_LOSS_CCID FUTURE_DATED_PAYMENT_CCID EXPENSE_CLEARING_CCID REQ_ENCUMBRANCE_TYPE_ID PURCH_ENCUMBRANCE_TYPE_ID INV_ENCUMBRANCE_TYPE_ID SET_OF_BOOKS_ID BILL_TO_LOCATION_ID SHIP_TO_LOCATION_ID

QuickCodes Type MANUAL VENDOR NUMBER ALPHANUMERIC NUMERIC MATCH_OPTION P R PAYMENT METHOD CHECK CLEARING EFT WIRE PAY DATE BASIS DISCOUNT DUE TERMS DATE BASIS Current Goods Received Invoice Invoice Received

QuickCodes Table AP_LOOKUP_CODES Alphanumeric number Numeric number AP_LOOKUP_CODES Match to Purchase Order Match to Receipt AP_LOOKUP_CODES Check Clearing Electronic Wire AP_LOOKUP_CODES Pay on discount date Pay on due date AP_LOOKUP_CODES Current date Goods received date Invoice date Invoice received date

MATCH_OPTION

PAYMENT_METHOD_LOOKUP_CODE

PAY_DATE_BASIS_LOOKUP_CODE

TERMS_DATE_BASIS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 23

USER_DEFINED_VENDOR_NUM_CODE

VENDOR NUMBER ENTRY AUTOMATIC MANUAL HOME_OFFICE H O FOB

AP_LOOKUP_CODES Automatic entry of numbers Manual entry of numbers FND_COMMON_LOOKUPS Home Office AR_LOOKUPS

EXPENSE_CHECK_ADDRESS_FLAG

FOB_LOOKUP_CODE Column Descriptions Name LAST_UPDATE_DATE LAST_UPDATED_BY SET_OF_BOOKS_ID PAYMENT_METHOD_LOOKUP_CODE USER_DEFINED_VENDOR_NUM_CODE VENDOR_NUM_START_NUM SHIP_TO_LOCATION_ID BILL_TO_LOCATION_ID SHIP_VIA_LOOKUP_CODE FOB_LOOKUP_CODE TERMS_ID ALWAYS_TAKE_DISC_FLAG

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL DATE NUMBER(15) NUMBER(15) VARCHAR2(25)

Description Standard Who column Standard Who column Set of books identifier Payment method default used during supplier entry Method of entering supplier numbers Next automatic supplier number (Oracle Payables applications update as you enter suppliers) Shipto location identifier, default used during supplier entry Billto location identifier, default used during supplier entry Type of shipping method, default used during supplier entry Type of free on board, default used during supplier entry Payment terms identifier, default used during supplier entry Flag that indicates if available discount for a supplier will be taken, regardless of when the invoice is paid (Y or N), default used during supplier entry Basis Oracle Payables applications use for selecting invoices for payment (DUE or DISCOUNT), default used during supplier entry Currency code for invoices, default used during supplier entry Currency code for payments, default used during supplier entry Accounting Flexfield identifier for the accounts payable liability account, default used during supplier entry Accounting Flexfield identifier for the prepayment account, default used during supplier entry Accounting Flexfield identifier for the discount taken account Maximum number of future periods allowed

NULL VARCHAR2(25) NULL NUMBER NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(25) NULL VARCHAR2(25) NULL NUMBER(15) NULL VARCHAR2(1)

PAY_DATE_BASIS_LOOKUP_CODE

NULL VARCHAR2(25)

INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE ACCTS_PAY_CODE_COMBINATION_ID

NULL VARCHAR2(15) NULL VARCHAR2(15) NULL NUMBER(15)

PREPAY_CODE_COMBINATION_ID

NULL NUMBER(15)

DISC_TAKEN_CODE_COMBINATION_ID FUTURE_PERIOD_LIMIT

NULL NUMBER(15) NULL NUMBER(3)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 24 Oracle SefService Purchasing 5 Technical Reference Manual

RESERVE_AT_COMPLETION_FLAG

NULL VARCHAR2(1)

RES_ENCUMB_CODE_COMBINATION_ID REQ_ENCUMBRANCE_FLAG

NULL NUMBER(15) NULL VARCHAR2(1)

REQ_ENCUMBRANCE_TYPE_ID PURCH_ENCUMBRANCE_FLAG

NULL NUMBER(15) NULL VARCHAR2(1)

PURCH_ENCUMBRANCE_TYPE_ID INV_ENCUMBRANCE_TYPE_ID MANUAL_VENDOR_NUM_TYPE

NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(25)

INVENTORY_ORGANIZATION_ID LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY FREIGHT_TERMS_LOOKUP_CODE RFQ_ONLY_SITE_FLAG RECEIPT_ACCEPTANCE_DAYS BUSINESS_GROUP_ID EXPENSE_CHECK_ADDRESS_FLAG

NULL NUMBER(15) NULL NULL NULL NULL NULL NUMBER(15) DATE NUMBER(15) VARCHAR2(25) VARCHAR2(1)

NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(30)

TERMS_DATE_BASIS

NULL VARCHAR2(25)

USE_POSITIONS_FLAG

NULL VARCHAR2(1)

RATE_VAR_CODE_COMBINATION_ID HOLD_UNMATCHED_INVOICES_FLAG EXCLUSIVE_PAYMENT_FLAG

NULL NUMBER(15) NULL VARCHAR2(1) NULL VARCHAR2(1)

REVISION_SORT_ORDERING VAT_REGISTRATION_NUM

NULL NUMBER NULL VARCHAR2(20)

Flag that indicates if Oracle Purchasing creates an encumbrance journal entry when a requisition is entered (Y) or when the requisition is approved (N) Accounting Flexfield identifier for the reserve for encumbrance account Flag that indicates if Oracle Purchasing will create an encumbrance journal entry when a purchase requisition is created (Y or N) Requisition encumbrance type identifier Flag that indicates if Oracle Purchasing will create an encumbrance journal entry when a purchase order is created Purchase order encumbrance type identifier Identifier for encumbrance type assigned to invoice encumbrances Type of supplier number Oracle Payables uses for either automatic or manual supplier number entry Inventory organization identifier Standard Who column Standard Who column Standard Who column Freight terms Flag that indicates if supplier site is a RFQ only site Number of days in receipt acceptance period Business group identifier associated with Oracle Purchasing Employee address for expense checks (H for home or O for office), default used during employee entry Date Oracle Payables uses together with payment terms and invoice amount to create an invoice scheduled payment, default used during supplier entry Flag that indicates whether you use approval hierarchies that are based on the positions you define for employees Not used Default Hold Unmatched Invoices value for supplier (Y or N) Default Pay Alone value for suppliers; defaults from supplier to invoices for supplier Not used ValueAdded Tax registration number for your organization

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 25

VAT_COUNTRY_CODE RATE_VAR_GAIN_CCID

NULL VARCHAR2(15) NULL NUMBER(15)

RATE_VAR_LOSS_CCID

NULL NUMBER(15)

ORG_ID BANK_CHARGE_BEARER VAT_CODE MATCH_OPTION NON_RECOVERABLE_TAX_FLAG TAX_ROUNDING_RULE PRECISION MINIMUM_ACCOUNTABLE_UNIT DEFAULT_RECOVERY_RATE CASH_BASIS_ENC_NR_TAX

NULL NULL NULL NULL

NUMBER(15) VARCHAR2(1) VARCHAR2(15) VARCHAR2(25)

NULL VARCHAR2(1) NULL VARCHAR2(30) NULL NUMBER(1) NULL NUMBER NULL NUMBER NULL VARCHAR2(30)

FUTURE_DATED_PAYMENT_CCID

NULL NUMBER(15)

European Union (EU)) member state for your organization Accounting Flexfield identifier for account used to record exchange rate gains for invoices matched to purchase orders Accounting Flexfield identifier for account used to record exchange rate losses for invoices matched to purchase orders Organization identifier Bank charge bearer Valueadded tax code Flag to indicate whether to match invoices to purchase orders (P) or receipts (R) Y or N indicates if nonrecoverable tax is enabled or disabled in the system Default rounding rule for tax calculation (Up, Down, Nearest) Precision. Used for Automatic Tax Calculation Minimum accountable unit. Used for Automatic Tax Calculation Default recovery rate for tax codes. Only used if partially recoverable tax is enabled Flag that indicates if the recoverable portion of tax should be encumbered in the Cash set of books (Y or N) Accounting Flexfield identifier for future dated payment account default for Suppliers and Bank accounts

EXPENSE_CLEARING_CCID

NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 26 Oracle SefService Purchasing 5 Technical Reference Manual

GL_CODE_COMBINATIONS
GL_CODE_COMBINATIONS stores valid account combinations for each Accounting Flexfield structure within your Oracle General Ledger application. Associated with each account are certain codes and flags, including whether the account is enabled, whether detail posting or detail budgeting is allowed, and others. Segment values are stored in the SEGMENT columns. Note that each Accounting Flexfield structure may use different SEGMENT columns within the table to store the flexfield value combination. Moreover, the SEGMENT columns that are used are not guaranteed to be in any order. The Oracle Application Object Library table FND_ID_FLEX_SEGMENTS stores information about which column in this table is used for each segment of each Accounting Flexfield structure. Summary accounts have SUMMARY_FLAG = Y and TEMPLATE_ID not NULL. Detail accounts have SUMMARY_FLAG = N and TEMPLATE_ID NULL.
Foreign Keys Primary Key Table FND_ID_FLEX_STRUCTURES GL_SUMMARY_TEMPLATES QuickCodes Columns Column ACCOUNT_TYPE

Primary Key Column ID_FLEX_NUM TEMPLATE_ID

Foreign Key Column CHART_OF_ACCOUNTS_ID TEMPLATE_ID

QuickCodes Type ACCOUNT TYPE A E L O R YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y

QuickCodes Table GL_LOOKUPS A E L O R GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes

DETAIL_BUDGETING_ALLOWED_FLAG

DETAIL_POSTING_ALLOWED_FLAG

ENABLED_FLAG

PRESERVE_FLAG

REFRESH_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 27

SUMMARY_FLAG

YES/NO N Y

GL_LOOKUPS No Yes

Column Descriptions Name CODE_COMBINATION_ID LAST_UPDATE_DATE LAST_UPDATED_BY CHART_OF_ACCOUNTS_ID DETAIL_POSTING_ALLOWED_FLAG DETAIL_BUDGETING_ALLOWED_FLAG ACCOUNT_TYPE ENABLED_FLAG SUMMARY_FLAG SEGMENT1 SEGMENT2 SEGMENT3 SEGMENT4 SEGMENT5 SEGMENT6 SEGMENT7 SEGMENT8 SEGMENT9 SEGMENT10 SEGMENT11 SEGMENT12 SEGMENT13 SEGMENT14 SEGMENT15 SEGMENT16 SEGMENT17 SEGMENT18 SEGMENT19 SEGMENT20 SEGMENT21 SEGMENT22 SEGMENT23 SEGMENT24 SEGMENT25 SEGMENT26 SEGMENT27 SEGMENT28 SEGMENT29 SEGMENT30 DESCRIPTION TEMPLATE_ID ALLOCATION_CREATE_FLAG START_DATE_ACTIVE END_DATE_ACTIVE ATTRIBUTE1 (PK)

Null? Type NOT NULL NUMBER(15) NOT NOT NOT NOT NOT NOT NOT NOT

Description

Key flexfield combination defining column NULL DATE Standard Who column NULL NUMBER Standard Who column NULL NUMBER(15) Key flexfield structure defining column NULL VARCHAR2(1) Detail posting flag NULL VARCHAR2(1) Detail budgeting flag NULL VARCHAR2(1) Key flexfield combination type (Asset, Liability, etc) NULL VARCHAR2(1) Key flexfield enabled flag NULL VARCHAR2(1) Summary account flag NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(25) Key flexfield segment NULL VARCHAR2(240) Key flexfield description NULL NUMBER(15) Summary template defining column NULL VARCHAR2(1) Not currently used NULL DATE Date before which key flexfield combination is invalid NULL DATE Date after which key flexfield combination is invalid NULL VARCHAR2(150) Descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 28 Oracle SefService Purchasing 5 Technical Reference Manual

ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 CONTEXT SEGMENT_ATTRIBUTE1 SEGMENT_ATTRIBUTE2 SEGMENT_ATTRIBUTE3 SEGMENT_ATTRIBUTE4 SEGMENT_ATTRIBUTE5 SEGMENT_ATTRIBUTE6 SEGMENT_ATTRIBUTE7 SEGMENT_ATTRIBUTE8 SEGMENT_ATTRIBUTE9 SEGMENT_ATTRIBUTE10 SEGMENT_ATTRIBUTE11 SEGMENT_ATTRIBUTE12 SEGMENT_ATTRIBUTE13 SEGMENT_ATTRIBUTE14 SEGMENT_ATTRIBUTE15 SEGMENT_ATTRIBUTE16 SEGMENT_ATTRIBUTE17 SEGMENT_ATTRIBUTE18 SEGMENT_ATTRIBUTE19 SEGMENT_ATTRIBUTE20 SEGMENT_ATTRIBUTE21 SEGMENT_ATTRIBUTE22 SEGMENT_ATTRIBUTE23 SEGMENT_ATTRIBUTE24 SEGMENT_ATTRIBUTE25 SEGMENT_ATTRIBUTE26

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(60)

NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60)

Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flex context column Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 29

SEGMENT_ATTRIBUTE27 SEGMENT_ATTRIBUTE28 SEGMENT_ATTRIBUTE29 SEGMENT_ATTRIBUTE30 SEGMENT_ATTRIBUTE31 SEGMENT_ATTRIBUTE32 SEGMENT_ATTRIBUTE33 SEGMENT_ATTRIBUTE34 SEGMENT_ATTRIBUTE35 SEGMENT_ATTRIBUTE36 SEGMENT_ATTRIBUTE37 SEGMENT_ATTRIBUTE38 SEGMENT_ATTRIBUTE39 SEGMENT_ATTRIBUTE40 SEGMENT_ATTRIBUTE41 SEGMENT_ATTRIBUTE42 REFERENCE1 REFERENCE2 REFERENCE3 REFERENCE4 REFERENCE5 JGZZ_RECON_FLAG JGZZ_RECON_CONTEXT PRESERVE_FLAG REFRESH_FLAG

NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL NULL NULL NULL NULL NULL VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1)

NULL VARCHAR2(30) NULL VARCHAR2(1) NULL VARCHAR2(1)

Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reporting attribute key flexfield segment Reserved for localization use Reserved for localization use Reserved for localization use Reserved for localization use Reserved for localization use Global reconciliation descriptive flexfield segment Global reconciliation descriptive flexfield context column Preserve segment value attributes flag Refresh segment value attributes flag

Indexes Index Name GL_CODE_COMBINATIONS_N31 GL_CODE_COMBINATIONS_U1 Sequences Sequence GL_CODE_COMBINATIONS_S

Index Type NOT UNIQUE UNIQUE

Sequence 1 1

Column Name TEMPLATE_ID CODE_COMBINATION_ID

Derived Column CODE_COMBINATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 30 Oracle SefService Purchasing 5 Technical Reference Manual

GL_SETS_OF_BOOKS
GL_SETS_OF_BOOKS stores information about the sets of books you define in your Oracle General Ledger application. Each row includes the set of books name, description, functional currency, and other information. This table corresponds to the Set of Books form.
Foreign Keys Primary Key Table FND_CURRENCIES FND_ID_FLEX_STRUCTURES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_TYPES GL_PERIOD_SETS GL_PERIOD_TYPES GL_TRANSACTION_CALENDAR QuickCodes Columns Column ALLOW_INTERCOMPANY_POST_FLAG

Primary Key Column CURRENCY_CODE ID_FLEX_NUM CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CONVERSION_TYPE PERIOD_SET_NAME PERIOD_TYPE TRANSACTION_CALENDAR_ID

Foreign Key Column CURRENCY_CODE CHART_OF_ACCOUNTS_ID CUM_TRANS_CODE_COMBINATION_ID RET_EARN_CODE_COMBINATION_ID RES_ENCUMB_CODE_COMBINATION_ID NET_INCOME_CODE_COMBINATION_ID ROUNDING_CODE_COMBINATION_ID DAILY_TRANSLATION_RATE_TYPE PERIOD_SET_NAME ACCOUNTED_PERIOD_TYPE TRANSACTION_CALENDAR_ID

QuickCodes Type YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO N Y YES/NO

QuickCodes Table GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS

CONSOLIDATION_SOB_FLAG

ENABLE_AUTOMATIC_TAX_FLAG

ENABLE_AVERAGE_BALANCES_FLAG

ENABLE_BUDGETARY_CONTROL_FLAG

ENABLE_JE_APPROVAL_FLAG

REQUIRE_BUDGET_JOURNALS_FLAG

SUSPENSE_ALLOWED_FLAG

TRACK_ROUNDING_IMBALANCE_FLAG

TRANSLATE_EOD_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 31

N Y TRANSLATE_QATD_FLAG YES/NO N Y YES/NO N Y

No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes

TRANSLATE_YATD_FLAG

Column Descriptions Name SET_OF_BOOKS_ID (PK)

Null? Type NOT NULL NUMBER(15) NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(20) NOT NULL NUMBER(15) NOT NOT NOT NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(15) VARCHAR2(15) VARCHAR2(15) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1)

Description Accounting books defining column Accounting books name Accounting books short name Key flexfield structure defining column Currency Accounting calendar name Accounting period type Suspense posting allowed flag Allow intercompany posting Track rounding imbalances flag Enable average balances flag Enable budgetary control flag Journal required for budget flag Enable journal entry approval flag Enable automatic tax flag Consolidation set of books flag Translate EOD balances flag Translated QATD balances flag Translate YATD balances flag MRC set of books type (Parent, Reporting, None) No longer used (defaults to N) Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Number of future enterable periods Latest opened accounting period Latest open year for encumbrances Retained earnings key flexfield defining column Cumulative translation adjustment key flexfield defining column Reserve for encumbrance key flexfield defining column Net income key flexfield defining column Rounding imbalances key flexfield defining column

NAME SHORT_NAME CHART_OF_ACCOUNTS_ID CURRENCY_CODE PERIOD_SET_NAME ACCOUNTED_PERIOD_TYPE SUSPENSE_ALLOWED_FLAG ALLOW_INTERCOMPANY_POST_FLAG TRACK_ROUNDING_IMBALANCE_FLAG ENABLE_AVERAGE_BALANCES_FLAG ENABLE_BUDGETARY_CONTROL_FLAG REQUIRE_BUDGET_JOURNALS_FLAG ENABLE_JE_APPROVAL_FLAG ENABLE_AUTOMATIC_TAX_FLAG CONSOLIDATION_SOB_FLAG TRANSLATE_EOD_FLAG TRANSLATE_QATD_FLAG TRANSLATE_YATD_FLAG MRC_SOB_TYPE_CODE ALLOW_POSTING_WARNING_FLAG LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN FUTURE_ENTERABLE_PERIODS_LIMIT LATEST_OPENED_PERIOD_NAME LATEST_ENCUMBRANCE_YEAR RET_EARN_CODE_COMBINATION_ID CUM_TRANS_CODE_COMBINATION_ID RES_ENCUMB_CODE_COMBINATION_ID NET_INCOME_CODE_COMBINATION_ID ROUNDING_CODE_COMBINATION_ID

NOT NULL VARCHAR2(1) NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1)

NOT NULL VARCHAR2(1) NOT NULL DATE NOT NULL NUMBER(15) NULL DATE NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NOT NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 32 Oracle SefService Purchasing 5 Technical Reference Manual

TRANSACTION_CALENDAR_ID DAILY_TRANSLATION_RATE_TYPE EARLIEST_UNTRANS_PERIOD_NAME DESCRIPTION ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CONTEXT GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10

NULL NUMBER(15) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(15) VARCHAR2(240) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(30)

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Transaction Calendar defining column The rate type to be used for translation of average balances No longer used Accounting books description Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield context Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality

Indexes Index Name GL_SETS_OF_BOOKS_U1 GL_SETS_OF_BOOKS_U2 Sequences Sequence GL_SETS_OF_BOOKS_S

Index Type UNIQUE UNIQUE

Sequence 1 1

Column Name NAME SET_OF_BOOKS_ID

Derived Column SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 33

HR_LOCATIONS_ALL
HR_LOCATIONS_ALL holds information about specific work locations defined for an enterprise, including address details.
QuickCodes Columns Column BILL_TO_SITE_FLAG

QuickCodes Type YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y

QuickCodes Table FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes

IN_ORGANIZATION_FLAG

OFFICE_SITE_FLAG

RECEIVING_SITE_FLAG

SHIP_TO_SITE_FLAG

Column Descriptions Name LOCATION_ID (PK)

Null? Type NOT NULL NUMBER(15) NULL VARCHAR2(20) NULL NUMBER(15) NULL VARCHAR2(50) NULL NUMBER(15) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(15) NULL DATE NULL VARCHAR2(7) NULL VARCHAR2(60)

Description Systemgenerated primary key column. Location name. Business Group ID associated with location. Brief description of the location. Shipto location foreign key. Indicates whether items can be shipped to this location. Indicates whether this location can be used as a receiving site. Indicates whether you can bill items to this location. Indicates whether this location is an internal site. Indicates whether this location can be used as an office site. Person foreign key the contact person for this location. Inventory organization foreign key. Default tax code for this location. Date after which this location is no longer valid. Address style foreign key to FND_TERRITORIES. 1st line of location address.

LOCATION_CODE BUSINESS_GROUP_ID DESCRIPTION SHIP_TO_LOCATION_ID SHIP_TO_SITE_FLAG RECEIVING_SITE_FLAG BILL_TO_SITE_FLAG IN_ORGANIZATION_FLAG OFFICE_SITE_FLAG DESIGNATED_RECEIVER_ID INVENTORY_ORGANIZATION_ID TAX_NAME INACTIVE_DATE STYLE ADDRESS_LINE_1

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 34 Oracle SefService Purchasing 5 Technical Reference Manual

ADDRESS_LINE_2 ADDRESS_LINE_3 TOWN_OR_CITY COUNTRY POSTAL_CODE REGION_1 REGION_2 REGION_3 TELEPHONE_NUMBER_1 TELEPHONE_NUMBER_2 TELEPHONE_NUMBER_3 LOC_INFORMATION13 LOC_INFORMATION14 LOC_INFORMATION15 LOC_INFORMATION16 LOC_INFORMATION17 LOC_INFORMATION18 LOC_INFORMATION19 LOC_INFORMATION20 ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE16 ATTRIBUTE17 ATTRIBUTE18 ATTRIBUTE19 ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8

NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(60) VARCHAR2(60) VARCHAR2(30) VARCHAR2(60) VARCHAR2(30) VARCHAR2(70) VARCHAR2(70)

NULL VARCHAR2(70) NULL NULL NULL NULL VARCHAR2(60) VARCHAR2(60) VARCHAR2(60) VARCHAR2(150)

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

2nd line of location address. 3rd line of location address. Town or city. Country. Postal code. County (US, UK); Province (CA). State (US); Province of work (CA). Additional address segment not used by seeded address structures. Telephone number. Telephone number. Telephone number. Developer descriptive flexfield column. Developer descriptive flexfield column. Developer descriptive flexfield column. Developer descriptive flexfield column. Developer descriptive flexfield column.

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(30) Descriptive flexfield structure defining column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Descriptive flexfield column. VARCHAR2(150) Global descriptive flexlield structure defining colunm VARCHAR2(150) Descriptive flexfield column VARCHAR2(150) Descriptive flexfield colunm VARCHAR2(150) Descriptive flexfield column VARCHAR2(150) Descriptive flexfield column VARCHAR2(150) Descriptive flexfield column VARCHAR2(150) Descriptive flexfield column VARCHAR2(150) Descriptive flexfield column VARCHAR2(150) Descriptive flexfield column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 35

GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE ENTERED_BY TP_HEADER_ID ECE_TP_LOCATION_CODE OBJECT_VERSION_NUMBER

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) DATE NUMBER(15) NUMBER(15) NUMBER(15) DATE NUMBER(15)

NULL NUMBER NULL VARCHAR2(35) NULL NUMBER(9)

Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Descriptive flexfield column Standard Who column. Standard Who column. Standard Who column. Standard Who column. Standard Who column. Applications user who created this location; same as CREATED_BY. Unsupported in Oracle Human Resources. Used by Oracle EDI Gateway. Unsupported in Oracle Human Resources. Used by Oracle EDI Gateway. Systemgenerated version of row. Increments by one with each update.

Indexes Index Name HR_LOCATIONS_PK HR_LOCATIONS_UK2

Index Type UNIQUE UNIQUE

Sequence 1 1 3

Column Name LOCATION_ID LOCATION_CODE BUSINESS_GROUP_ID

Sequences Sequence HR_LOCATIONS_S

Derived Column LOCATION_ID

Database Triggers Trigger Trigger Trigger Trigger Name Time Level Event : : : : HR_LOCATIONS_ALL_OVN BEFORE ROW INSERT, UPDATE

This trigger maintains the object_version_number column when a record is modified via an interface which does not support the object_version_number explicitly. This ensures the object_version_number is maintained consistently.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 36 Oracle SefService Purchasing 5 Technical Reference Manual

HR_LOCATIONS_ALL_TL
HR_LOCATIONS_ALL_TL holds the translated location_code and description columns for the HR_LOCATIONS_ALL table. The rows are indexed by a primary key obtained by the combination of location_id and language.
Column Descriptions Name LOCATION_ID (PK) LANGUAGE (PK) SOURCE_LANG LOCATION_CODE DESCRIPTION LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE Indexes Index Name HR_LOCATIONS_ALL_TL_N2 HR_LOCATIONS_ALL_TL_PK

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(15) VARCHAR2(4) VARCHAR2(4) VARCHAR2(20) VARCHAR2(50) DATE NUMBER(15) NUMBER(15) NUMBER(15) DATE

Description Foreign key to HR_LOCATIONS_ALL Defined language Actual language Translated location name Translated description of the location. Standard who column Standard who column Standard who column Standard who column Standard who column

Index Type NOT UNIQUE UNIQUE

Sequence 1 5 5 10

Column Name LANGUAGE LOCATION_CODE LOCATION_ID LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 37

ICX_AP_CHECKS_V
The ICX_AP_CHECKS_V view is used in Payments Sent inquiry of Web Suppliers. This view returns supplier payment details information from the AP_CHECKS_ALL table.
View Definition CREATE VIEW ICX_AP_CHECKS_V as SELECT TO_CHAR(AC.AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AC.CURRENCY_CODE, 30)) AMOUNT , AC.CHECK_DATE CHECK_DATE , AC.CHECK_ID CHECK_ID , AC.CHECK_NUMBER CHECK_NUMBER , AC.CURRENCY_CODE CURRENCY_CODE , AC.BANK_ACCOUNT_NAME BANK_ACCOUNT_NAME , AC.VENDOR_SITE_CODE VENDOR_SITE_CODE , AC.VENDOR_SITE_ID VENDOR_SITE_ID , AC.VENDOR_ID VENDOR_ID , DECODE(AC.CLEARED_DATE, , , *) CLEARED , DECODE(AC.VOID_DATE, , , *) VOIDED , DECODE(AC.STOPPED_AT, , , DECODE(AC.RELEASED_AT, , *, )) STOPPED , AC.CLEARED_DATE CLEARED_DATE , AC.VOID_DATE VOID_DATE , AC.STOPPED_AT STOPPED_AT , AC.RELEASED_AT RELEASED_AT , AC.FUTURE_PAY_DUE_DATE FUTURE_PAY_DUE_DATE , AC.CITY || || AC.STATE ADDRESS /* URL DATA FOR IC */ , AC.ATTRIBUTE14 ADDRESS_URL , AC.ADDRESS_STYLE ADDRESS_STYLE , AC.ADDRESS_LINE1 ADDRESS_LINE1 , AC.ADDRESS_LINE2 ADDRESS_LINE2 , AC.ADDRESS_LINE3 ADDRESS_LINE3 , AC.ADDRESS_LINE4 ADDRESS_LINE4 , AC.CITY CITY , AC.COUNTY COUNTY , AC.STATE STATE , AC.PROVINCE PROVINCE , AC.ZIP ZIP , AC.COUNTRY COUNTRY , ICX_AP_CHECKS_PKG.GET_INVOICES_PAID( AC.CHECK_ID) INVOICES FROM AP_CHECKS AC

Column Descriptions Name AMOUNT CHECK_DATE CHECK_ID CHECK_NUMBER CURRENCY_CODE BANK_ACCOUNT_NAME

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL

Description to to to to to to base base base base base base table. table. table. table. table. table.

VARCHAR2(2000) Refer DATE Refer NUMBER(15) Refer NUMBER(15) Refer VARCHAR2(15) Refer VARCHAR2(30) Refer

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 38 Oracle SefService Purchasing 5 Technical Reference Manual

VENDOR_SITE_CODE VENDOR_SITE_ID VENDOR_ID CLEARED VOIDED STOPPED CLEARED_DATE VOID_DATE STOPPED_AT RELEASED_AT FUTURE_PAY_DUE_DATE ADDRESS ADDRESS_URL ADDRESS_STYLE ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3 ADDRESS_LINE4 CITY COUNTY STATE PROVINCE ZIP COUNTRY INVOICES

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(15) Refer to base table. NUMBER(15) Refer to base table. NUMBER(15) Refer to base table. VARCHAR2(1) Refer to base table. VARCHAR2(1) Refer to base table. VARCHAR2(1) Refer to base table. DATE Refer to base table. DATE Refer to base table. VARCHAR2(18) Refer to base table. VARCHAR2(18) Refer to base table. DATE Refer to base table. VARCHAR2(51) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(30) Refer to base table. VARCHAR2(35) Refer to base table. VARCHAR2(35) Refer to base table. VARCHAR2(35) Refer to base table. VARCHAR2(35) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(20) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(2000) Comma delimited list of paid invoices matched to this check

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 39

ICX_AP_EXPENSE_LINES_V
The ICX_AP_EXPENSE_LINES_V view is used in Expense Report History inquiry of Web Employees. This view retrieves expense reports line information from the AP_EXPENSE_REPORT_LINES view and imported expense reports line information from the AP_INVOICE_DISTRIBUTIONS view.
View Definition CREATE VIEW ICX_AP_EXPENSE_LINES_V as SELECT AID.INVOICE_ID REPORT_FOREIGN_KEY , AID.DISTRIBUTION_LINE_NUMBER DISTRIBUTION_LINE_NUMBER , AID.EXPENSE_GROUP EXPENSE_GROUP , AID.START_EXPENSE_DATE START_EXPENSE_DATE , AID.END_EXPENSE_DATE END_EXPENSE_DATE , NVL(AID. END_EXPENSE_DATE, AID.START_EXPENSE_DATE) AID.START_EXPENSE_DATE + 1 DAYS , TO_CHAR(AID.DAILY_AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) DAILY_AMOUNT , TO_CHAR(AID.RECEIPT_CURRENCY_AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) RECEIPT_CURRENCY_AMOUNT , AID.RECEIPT_CURRENCY_CODE RECEIPT_CURRENCY_CODE , AID.RECEIPT_CONVERSION_RATE RECEIPT_CONVERSION_RATE , TO_CHAR(AID.AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) AMOUNT , NVL(AERP.WEB_FRIENDLY_PROMPT, AID.DESCRIPTION) EXPENSE_TYPE , AID.JUSTIFICATION JUSTIFICATION , AID.RECEIPT_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG , AID.RECEIPT_MISSING_FLAG RECEIPT_MISSING_FLAG , AID.RECEIPT_VERIFIED_FLAG RECEIPT_VERIFIED_FLAG , INVOICE DOCUMENT_TYPE , AID.ADJUSTMENT_REASON ADJUSTMENT_REASON , AID.ATTRIBUTE_CATEGORY ATTRIBUTE_CATEGORY , AID.ATTRIBUTE1 ATTRIBUTE1 , AID.ATTRIBUTE2 ATTRIBUTE2 , AID.ATTRIBUTE3 ATTRIBUTE3 , AID.ATTRIBUTE4 ATTRIBUTE4 , AID.ATTRIBUTE5 ATTRIBUTE5 , AID.ATTRIBUTE6 ATTRIBUTE6 , AID.ATTRIBUTE7 ATTRIBUTE7 , AID.ATTRIBUTE8 ATTRIBUTE8 , AID.ATTRIBUTE9 ATTRIBUTE9 , AID.ATTRIBUTE10 ATTRIBUTE10 , AID.ATTRIBUTE11 ATTRIBUTE11 , AID.ATTRIBUTE12 ATTRIBUTE12 , AID.ATTRIBUTE13 ATTRIBUTE13 , AID.ATTRIBUTE14 ATTRIBUTE14 , AID.ATTRIBUTE15 ATTRIBUTE15 AP_INVOICE_DISTRIBUTIONS AID,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 40 Oracle SefService Purchasing 5 Technical Reference Manual

AP_EXPENSE_REPORT_PARAMS AERP WHERE AI.INVOICE_ID = AID.INVOICE_ID AND AID.WEB_PARAMETER_ID = AERP.PARAMETER_ID (+) UNION ALL SELECT AERL.REPORT_HEADER_ID, AERL.DISTRIBUTION_LINE_NUMBER, AERL.EXPENSE_GROUP, AERL.START_EXPENSE_DATE, AERL.END_EXPENSE_DATE, NVL(AERL.END_EXPENSE_DATE, AERL.START_EXPENSE_DATE) AERL.START_EXPENSE_DATE + 1, TO_CHAR(DECODE(AERL.DAILY_AMOUNT, 0, NULL, AERL.DAILY_AMOUNT), FND_CURRENCY.SAFE_GET_FORMAT_MASK( AERH.DEFAULT_CURRENCY_CODE, 30)), TO_CHAR(AERL.RECEIPT_CURRENCY_AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AERH.DEFAULT_CURRENCY_CODE, 30)), AERL.RECEIPT_CURRENCY_CODE, TRUNC(AERL.RECEIPT_CONVERSION_RATE, 8), TO_CHAR(NVL(AERL.AMOUNT, 0), FND_CURRENCY.SAFE_GET_FORMAT_MASK( AERH.DEFAULT_CURRENCY_CODE, 30)), NVL(AERP.WEB_FRIENDLY_PROMPT, AERL.ITEM_DESCRIPTION), AERL.JUSTIFICATION, FNDL1.MEANING, FNDL2.MEANING, FNDL3.MEANING, EXPENSE REPORT, AERL.ADJUSTMENT_REASON, AERL.ATTRIBUTE_CATEGORY ATTRIBUTE_CATEGORY, AERL.ATTRIBUTE1 ATTRIBUTE1, AERL.ATTRIBUTE2 ATTRIBUTE2, AERL.ATTRIBUTE3 ATTRIBUTE3, AERL.ATTRIBUTE4 ATTRIBUTE4, AERL.ATTRIBUTE5 ATTRIBUTE5, AERL.ATTRIBUTE6 ATTRIBUTE6, AERL.ATTRIBUTE7 ATTRIBUTE7, AERL.ATTRIBUTE8 ATTRIBUTE8, AERL.ATTRIBUTE9 ATTRIBUTE9, AERL.ATTRIBUTE10 ATTRIBUTE10, AERL.ATTRIBUTE11 ATTRIBUTE11, AERL.ATTRIBUTE12 ATTRIBUTE12, AERL.ATTRIBUTE13 ATTRIBUTE13, AERL.ATTRIBUTE14 ATTRIBUTE14, AERL.ATTRIBUTE15 ATTRIBUTE15 FROM AP_EXPENSE_REPORT_LINES AERL, AP_EXPENSE_REPORT_HEADERS AERH, AP_EXPENSE_REPORT_PARAMS AERP, FND_LOOKUPS FNDL1, FND_LOOKUPS FNDL2, FND_LOOKUPS FNDL3 WHERE FNDL1.LOOKUP_TYPE (+) = YES_NO AND FNDL1.LOOKUP_CODE (+)= AERL.RECEIPT_REQUIRED_FLAG AND FNDL2.LOOKUP_TYPE (+) = YES_NO

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 41

AND AND AND AND AND AND

FNDL2.LOOKUP_CODE (+) FNDL3.LOOKUP_TYPE (+) FNDL3.LOOKUP_CODE (+) AERL.WEB_PARAMETER_ID AERL.REPORT_HEADER_ID AERH.VOUCHNO|| = 0

= = = = =

AERL.RECEIPT_MISSING_FLAG YES_NO AERL.RECEIPT_VERIFIED_FLAG AERP.PARAMETER_ID (+) AERH.REPORT_HEADER_ID

Column Descriptions Name REPORT_FOREIGN_KEY

Null? Type NULL NUMBER

Description

DISTRIBUTION_LINE_NUMBER EXPENSE_GROUP START_EXPENSE_DATE END_EXPENSE_DATE DAYS DAILY_AMOUNT RECEIPT_CURRENCY_AMOUNT RECEIPT_CURRENCY_CODE RECEIPT_CONVERSION_RATE AMOUNT EXPENSE_TYPE JUSTIFICATION RECEIPT_REQUIRED_FLAG RECEIPT_MISSING_FLAG RECEIPT_VERIFIED_FLAG DOCUMENT_TYPE ADJUSTMENT_REASON ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Value comes from AP_INVOICES.INVOICES_ID or AP_EXPENSE_REPORT_HEADERS.REPOR T_HEADER_ID NUMBER Refer to base table. VARCHAR2(80) Refer to base table. DATE Refer to base table. DATE Refer to base table. NUMBER Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(15) Refer to base table. NUMBER Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(240) Refer to base table. VARCHAR2(240) Refer to base table. VARCHAR2(80) Refer to base table. VARCHAR2(80) Refer to base table. VARCHAR2(80) Refer to base table. VARCHAR2(14) Document type is INVOICE or EXPENSE REPORT VARCHAR2(240) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 42 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_AP_EXPENSE_REPORTS_V
The ICX_AP_EXPENSE_REPORTS_V view is used in Expense Report History inquiry of Web Employees. This view returns expense reports header information from the AP_EXPENSE_REPORT_HEADERS view and imported expense reports header information from the AP_INVOICES view.
View Definition CREATE VIEW ICX_AP_EXPENSE_REPORTS_V as SELECT AI.DESCRIPTION DESCRIPTION , TO_CHAR(AI.INVOICE_AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) INVOICE_AMOUNT , AI.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE , TO_CHAR( ICX_AP_INVOICES_PKG.GET_AMOUNT_WITHHELD( AI.INVOICE_ID)) || || AI.INVOICE_CURRENCY_CODE WITHHELD_AMOUNT_CURRENCY_CODE , AI.INVOICE_DATE INVOICE_DATE , AI.INVOICE_ID INVOICE_ID , AI.INVOICE_NUM INVOICE_NUM , APS.DUE_DATE DUE_DATE , TO_CHAR(APS.GROSS_AMOUNT , FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) GROSS_AMOUNT , TO_CHAR(APS.AMOUNT_REMAINING , FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) AMOUNT_REMAINING , APS.DISCOUNT_DATE DISCOUNT_DATE , TO_CHAR(APS.DISCOUNT_AMOUNT_AVAILABLE , FND_CURRENCY.SAFE_GET_FORMAT_MASK(AI.INVOICE_CURRENCY_CODE, 30)) DISCOUNT_AMOUNT_AVAILABLE , ALC1.DISPLAYED_FIELD INVOICE_TYPE , ALC2.DISPLAYED_FIELD PAYMENT_STATUS , ICX_AP_INVOICES_PKG.GET_PO_NUMBER_LIST( AI.INVOICE_ID) PO_NUMBER , ICX_AP_INVOICE_PAYMENTS_PKG.GET_PAID_BY_LIST( AI.INVOICE_ID, APS.PAYMENT_NUM) PAYMENT_NUMBER , PVS.VENDOR_SITE_CODE VENDOR_SITE_CODE , AI.VENDOR_SITE_ID VENDOR_SITE_ID , AI.VENDOR_ID VENDOR_ID , PV.EMPLOYEE_ID , AI.INVOICE_ID REPORT_PRIMARY_KEY , INVOICE DOCUMENT_TYPE , FNDLY.MEANING MANAGER_APPROVED , FNDLY.MEANING AP_APPROVED , AI.ATTRIBUTE_CATEGORY ATTRIBUTE_CATEGORY , AI.ATTRIBUTE1 ATTRIBUTE1 , AI.ATTRIBUTE2 ATTRIBUTE2 , AI.ATTRIBUTE3 ATTRIBUTE3 , AI.ATTRIBUTE4 ATTRIBUTE4 , AI.ATTRIBUTE5 ATTRIBUTE5 , AI.ATTRIBUTE6 ATTRIBUTE6 , AI.ATTRIBUTE7 ATTRIBUTE7 , AI.ATTRIBUTE8 ATTRIBUTE8

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 43

, , , , , , , ,

AI.ATTRIBUTE9 ATTRIBUTE9 AI.ATTRIBUTE10 ATTRIBUTE10 AI.ATTRIBUTE11 ATTRIBUTE11 AI.ATTRIBUTE12 ATTRIBUTE12 AI.ATTRIBUTE13 ATTRIBUTE13 AI.ATTRIBUTE14 ATTRIBUTE14 AI.ATTRIBUTE15 ATTRIBUTE15 P.FULL_NAME

AP_PAYMENT_SCHEDULES APS, AP_LOOKUP_CODES ALC1, AP_LOOKUP_CODES ALC2, FND_LOOKUPS FNDLN, FND_LOOKUPS FNDLY, PO_VENDORS PV, PO_VENDOR_SITES PVS, PER_PEOPLE_X P WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID AND AI.VENDOR_ID = PV.VENDOR_ID AND ALC1.LOOKUP_TYPE = INVOICE TYPE AND ALC1.LOOKUP_CODE = AI.INVOICE_TYPE_LOOKUP_CODE AND ALC2.LOOKUP_TYPE = INVOICE PAYMENT STATUS AND ALC2.LOOKUP_CODE = AI.PAYMENT_STATUS_FLAG AND AI.INVOICE_TYPE_LOOKUP_CODE|| = EXPENSE REPORT AND FNDLY.LOOKUP_TYPE = YES_NO AND FNDLY.LOOKUP_CODE = Y AND FNDLN.LOOKUP_TYPE = YES_NO AND FNDLN.LOOKUP_CODE = N AND P.PERSON_ID = PV.EMPLOYEE_ID UNION SELECT AERH.DESCRIPTION, TO_CHAR(AERH.TOTAL, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AERH.DEFAULT_CURRENCY_CODE, 30)), AERH.DEFAULT_CURRENCY_CODE, , AERH.WEEK_END_DATE, 1, AERH.INVOICE_NUM, TO_DATE(), TO_CHAR(AERH.TOTAL, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AERH.DEFAULT_CURRENCY_CODE, 30)), TO_CHAR(AERH.TOTAL, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AERH.DEFAULT_CURRENCY_CODE, 30)), TO_DATE(), , ALC1.DISPLAYED_FIELD INVOICE_TYPE , ALC2.DISPLAYED_FIELD PAYMENT_STATUS , , , ,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 44 Oracle SefService Purchasing 5 Technical Reference Manual

1, 1, AERH.EMPLOYEE_ID, AERH.REPORT_HEADER_ID, EXPENSE REPORT, DECODE(AERH.WORKFLOW_APPROVED_FLAG, Y, FNDLY.MEANING, A, FNDLY.MEANING, M, FNDLY.MEANING, FNDLN.MEANING), DECODE(AERH.WORKFLOW_APPROVED_FLAG, Y, FNDLY.MEANING, A, FNDLY.MEANING, P, FNDLY.MEANING, FNDLN.MEANING), AERH.ATTRIBUTE_CATEGORY ATTRIBUTE_CATEGORY, AERH.ATTRIBUTE1 ATTRIBUTE1, AERH.ATTRIBUTE2 ATTRIBUTE2, AERH.ATTRIBUTE3 ATTRIBUTE3, AERH.ATTRIBUTE4 ATTRIBUTE4, AERH.ATTRIBUTE5 ATTRIBUTE5, AERH.ATTRIBUTE6 ATTRIBUTE6, AERH.ATTRIBUTE7 ATTRIBUTE7, AERH.ATTRIBUTE8 ATTRIBUTE8, AERH.ATTRIBUTE9 ATTRIBUTE9, AERH.ATTRIBUTE10 ATTRIBUTE10, AERH.ATTRIBUTE11 ATTRIBUTE11, AERH.ATTRIBUTE12 ATTRIBUTE12, AERH.ATTRIBUTE13 ATTRIBUTE13, AERH.ATTRIBUTE14 ATTRIBUTE14, AERH.ATTRIBUTE15 ATTRIBUTE15, P.FULL_NAME FROM AP_EXPENSE_REPORT_HEADERS AERH, AP_LOOKUP_CODES ALC1, AP_LOOKUP_CODES ALC2, FND_LOOKUPS FNDLN, FND_LOOKUPS FNDLY, PER_PEOPLE_X P WHERE AERH.VOUCHNO||=0 AND AERH.SOURCE != NonValidatedWebExpense AND ALC1.LOOKUP_TYPE = INVOICE TYPE AND ALC1.LOOKUP_CODE = EXPENSE REPORT AND ALC2.LOOKUP_TYPE = INVOICE PAYMENT STATUS AND ALC2.LOOKUP_CODE = N AND FNDLY.LOOKUP_TYPE = YES_NO AND FNDLY.LOOKUP_CODE = Y AND FNDLN.LOOKUP_TYPE = YES_NO AND FNDLN.LOOKUP_CODE = N AND P.PERSON_ID = AERH.EMPLOYEE_ID

Column Descriptions Name DESCRIPTION INVOICE_AMOUNT INVOICE_CURRENCY_CODE

Null? Type

Description

NULL VARCHAR2(240) Refer to base table. NULL VARCHAR2(4000) Refer to base table. NULL VARCHAR2(15) Refer to base table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 45

WITHHELD_AMOUNT_CURRENCY_CODE INVOICE_DATE INVOICE_ID INVOICE_NUM DUE_DATE GROSS_AMOUNT AMOUNT_REMAINING DISCOUNT_DATE DISCOUNT_AMOUNT_AVAILABLE INVOICE_TYPE PAYMENT_STATUS PO_NUMBER PAYMENT_NUMBER VENDOR_SITE_CODE VENDOR_SITE_ID VENDOR_ID EMPLOYEE_ID REPORT_PRIMARY_KEY

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

DOCUMENT_TYPE MANAGER_APPROVED AP_APPROVED ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 FULL_NAME

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(56) Refer to base table. DATE Refer to base table. NUMBER Refer to base table. VARCHAR2(50) Refer to base table. DATE Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(4000) Refer to base table. DATE Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(25) Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(4000) Refer to base table. VARCHAR2(15) Refer to base table. NUMBER Refer to base table. NUMBER Refer to base table. NUMBER Refer to base table. NUMBER Value comes from AP_INVOICES.INVOICES_ID or AP_EXPENSE_REPORT_HEADERS.REPOR T_HEADER_ID VARCHAR2(14) Value is either Expense Report or Invoice VARCHAR2(80) Derived from AP_EXPENSE_REPORT_HEADERS.WORKF LOW_APPROVED_FLAG VARCHAR2(80) Derived from AP_EXPENSE_REPORT_HEADERS.WORKF LOW_APPROVED_FLAG VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(150) Refer to base table. VARCHAR2(240) Refer to base table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 46 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_AP_INVOICES_V
The ICX_AP_INVOICES_V view is used in Invoices Received inquiry of Web Suppliers. This view returns invoice details from the AP_INVOICES view. It also retrieves descriptive meaning for invoice type and payment status from the AP_LOOKUP_CODES table.
View Definition CREATE VIEW ICX_AP_INVOICES_V as SELECT AI.DESCRIPTION DESCRIPTION , TO_CHAR(AI.INVOICE_AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AI.INVOICE_CURRENCY_CODE, 30)) INVOICE_AMOUNT , AI.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE , TO_CHAR( ICX_AP_INVOICES_PKG.GET_AMOUNT_WITHHELD( AI.INVOICE_ID)) || || AI.INVOICE_CURRENCY_CODE WITHHELD_AMOUNT_CURRENCY_CODE , AI.INVOICE_DATE INVOICE_DATE , AI.INVOICE_ID INVOICE_ID , AI.INVOICE_NUM INVOICE_NUM , APS.DUE_DATE DUE_DATE , TO_CHAR(APS.GROSS_AMOUNT, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AI.INVOICE_CURRENCY_CODE, 30)) GROSS_AMOUNT , TO_CHAR(APS.AMOUNT_REMAINING, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AI.INVOICE_CURRENCY_CODE, 30)) AMOUNT_REMAINING , APS.DISCOUNT_DATE DISCOUNT_DATE , TO_CHAR(APS.DISCOUNT_AMOUNT_AVAILABLE, FND_CURRENCY.SAFE_GET_FORMAT_MASK( AI.INVOICE_CURRENCY_CODE, 30)) DISCOUNT_AMOUNT_AVAILABLE , ALC1.DISPLAYED_FIELD INVOICE_TYPE , ALC2.DISPLAYED_FIELD PAYMENT_STATUS , ICX_AP_INVOICES_PKG.GET_PO_NUMBER_LIST( AI.INVOICE_ID) PO_NUMBER , ICX_AP_INVOICE_PAYMENTS_PKG.GET_PAID_BY_LIST( AI.INVOICE_ID, APS.PAYMENT_NUM) PAYMENT_NUMBER , PVS.VENDOR_SITE_CODE VENDOR_SITE_CODE , AI.VENDOR_SITE_ID VENDOR_SITE_ID , AI.VENDOR_ID VENDOR_ID , PV.EMPLOYEE_ID FROM AP_INVOICES AI, AP_PAYMENT_SCHEDULES APS, AP_LOOKUP_CODES ALC1, AP_LOOKUP_CODES ALC2, PO_VENDORS PV, PO_VENDOR_SITES PVS WHERE AI.INVOICE_ID = APS.INVOICE_ID AND AI.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID AND AI.VENDOR_ID = PV.VENDOR_ID AND ALC1.LOOKUP_TYPE (+) = INVOICE TYPE AND ALC1.LOOKUP_CODE (+) = AI.INVOICE_TYPE_LOOKUP_CODE AND ALC2.LOOKUP_TYPE (+) = INVOICE PAYMENT STATUS AND ALC2.LOOKUP_CODE (+) = AI.PAYMENT_STATUS_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 47

Column Descriptions Name DESCRIPTION INVOICE_AMOUNT INVOICE_CURRENCY_CODE WITHHELD_AMOUNT_CURRENCY_CODE INVOICE_DATE INVOICE_ID INVOICE_NUM DUE_DATE GROSS_AMOUNT AMOUNT_REMAINING DISCOUNT_DATE DISCOUNT_AMOUNT_AVAILABLE INVOICE_TYPE PAYMENT_STATUS PO_NUMBER PAYMENT_NUMBER VENDOR_SITE_CODE VENDOR_SITE_ID VENDOR_ID EMPLOYEE_ID

Null? Type NULL NULL NOT NULL NULL NULL NOT NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL NOT NULL NULL

Description

VARCHAR2(240) Refer to base table. VARCHAR2(2000) Refer to base table. VARCHAR2(15) Refer to base table. VARCHAR2(56) Refer to base table. DATE Refer to base table. NUMBER(15) Refer to base table. VARCHAR2(50) Refer to base table. DATE Refer to base table. VARCHAR2(2000) Refer to base table. VARCHAR2(2000) Refer to base table. DATE Refer to base table. VARCHAR2(2000) Refer to base table. VARCHAR2(25) Invoice type VARCHAR2(25) Payment status VARCHAR2(2000) Comma delimited list of purchase order numbers matched to this invoice VARCHAR2(2000) Comma delimited list of payment numbers matched to this invoice VARCHAR2(15) Refer to base table. NUMBER(15) Refer to base table. NUMBER(15) Refer to base table. NUMBER Employee unique identifier if the supplier is an employee

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 48 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_PARAMETERS
ICX_PARAMETERS contains a single row of setup data.
Column Descriptions Name HOME_URL QUERY_SET (PK) NOT

Null? Type

Description

MAX_ROWS WEBMASTER_EMAIL SESSION_COOKIE_NAME WINDOW_COOKIE_NAME SESSION_COOKIE_DOMAIN SESSION_COOKIE CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN

NOT NOT NOT NOT

NULL VARCHAR2(240) The default URL when the user clicks on Exit NULL NUMBER The maximum number of rows to be displayed at one time. If the number of result rows is larger then the user has to be provided with a method to view next and previous sets of records. NULL NUMBER(15) NULL VARCHAR2(80) Email address of the sites Webmaster NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(240) NULL NUMBER Standard Who column NULL DATE Standard Who column NULL NUMBER Standard Who column NULL DATE Standard Who column NULL NUMBER Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 49

ICX_POR_BATCH_JOBS
Holds information about submitted batch jobs.
Column Descriptions Name JOB_NUMBER SUPPLIER_ID SUPPLIER_FILE_NAME EXCHANGE_FILE_NAME ITEMS_LOADED ITEMS_FAILED JOB_STATUS SUBMISSION_DATETIME START_DATETIME COMPLETION_DATETIME FAILURE_MESSAGE HOST_IP_ADDRESS EXCHANGE_OPERATOR_NAME Indexes Index Name ICX_POR_BATCH_JOBS_N1 ICX_POR_BATCH_JOBS_U1

Null? Type

Description

NOT NULL NUMBER Job number NOT NULL NUMBER Supplier ID NULL VARCHAR2(500) Supplier file name as supplied by the supplier at upload time NULL VARCHAR2(500) File name that Exchange uses to save the file NOT NULL NUMBER Number of items loaded successfully NOT NULL NUMBER Number of items failed NOT NULL VARCHAR2(240) Job status (PENDING, RUNNING, COMPLETED, FAILED) NOT NULL DATE Date of job submission NULL DATE Date job start loading NULL DATE Date job completed NULL VARCHAR2(4000) Failure message NULL VARCHAR2(15) Host IP Address NULL VARCHAR2(255) Exchange Operator Name

Index Type NOT UNIQUE UNIQUE

Sequence 5 5

Column Name SUPPLIER_ID JOB_NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 50 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_BUGSEYE_CONFIG
Controls the look and feel of Bugseye. Configuration information included in this table includes: Functions of ECM and the Java implementation class HTML color & font specifications URLS Anything else that can be described as a name/value pair!
Column Descriptions Name CONFIG_NAME NAME VALUE COMMENTS

Null? Type

Description

NOT NULL VARCHAR2(2000) Configuration name NOT NULL VARCHAR2(2000) Name NULL VARCHAR2(2000) Value NULL VARCHAR2(2000) Comments

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 51

ICX_POR_BUGSEYE_FLAGS
Table stores flags for BugsEye system.
Column Descriptions Name NAME VALUE

Null? Type

Description

NULL VARCHAR2(2000) Name NULL VARCHAR2(1) Value

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 52 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_CATEGORIES_TL
Stores information about the categories that exist within a catalog. Categories are used to classify items into groups of related items. This table uses a flattened version of the base table/translation table structure usually used to support multilingual data. This approach was chosen because the number and relative size of the translatable columns closely matches or exceeds that of the nontranslatable columns Language is included in the unique indexes on this table because ICX_POR_CATEGORIES_TL is a flattened _TL table with some denormalization of columns. Consequently, unique indexes on the denormalized columns must also be qualified by language.
Column Descriptions Name RT_CATEGORY_ID LANGUAGE SOURCE_LANG CATEGORY_NAME UPPER_CATEGORY_NAME DESCRIPTION TYPE

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NOT NULL

Description

KEY

NOT NULL

TITLE

NULL

ITEM_COUNT CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name ICX_POR_CATEGORIES_N1 ICX_POR_CATEGORIES_N2

NOT NOT NOT NOT

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

NUMBER Unique identifier for this row VARCHAR2(4) Defined language for the row VARCHAR2(4) Actual language for the row VARCHAR2(250) Category name VARCHAR2(250) Upper category name VARCHAR2(2000) Category Description NUMBER Indicates whether this category is : provided by Requisite (1); an Oracle Category (2); an Oracle Template (3) VARCHAR2(250) This is the primary key of the category in the originating system. For Oracle data it is either mtl_categories.category_id or po_reqexpress_headers.template_ name. VARCHAR2(500) ID of the originating system data source. Data extracted from Oracle has a Title named Oracle. NUMBER Item count NUMBER Standard Who columns DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER DATE

Index Type NOT UNIQUE NOT UNIQUE

Sequence 10 12 20 10 12 20

Column Name CATEGORY_NAME TYPE LANGUAGE UPPER_CATEGORY_NAME TYPE LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 53

ICX_POR_CATEGORIES_U1 ICX_POR_CATEGORIES_U2

UNIQUE UNIQUE

5 10 5 7 10

RT_CATEGORY_ID LANGUAGE KEY TYPE LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 54 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_CATEGORY_DATA_SOURCES
This table stores a list of external category data sources such as Requisition Templates and item categories from Oracle. This is updated during Catalog loading. It is also updated by the Category Merger admin utility.
Column Descriptions Name CATEGORY_KEY EXTERNAL_SOURCE

Null? Type

Description

EXTERNAL_SOURCE_KEY CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name ICX_POR_CATEGORY_DATA_SRCS_N1 ICX_POR_CATEGORY_DATA_SRCS_U1

NOT NULL VARCHAR2(250) We load the primary key of the category in the originating system NULL VARCHAR2(250) Original system data source/publishing entity. Set to Oracle for Oraclesource data. //or is this Oracle Category and Oracle Template? NULL VARCHAR2(250) This is the primary key of the category in the orginating system NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column NULL NUMBER Standard Who column NULL NUMBER NULL NUMBER NULL NUMBER NULL DATE

Index Type NOT UNIQUE UNIQUE

Sequence 5 5 6

Column Name CATEGORY_KEY EXTERNAL_SOURCE EXTERNAL_SOURCE_KEY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 55

ICX_POR_CATEGORY_DEFAULTS
Stores category default values
Column Descriptions Name RT_CATEGORY_ID RT_DESCRIPTOR_ID DEFAULTVALUE

Null? Type NOT NULL NUMBER

Description

Unique identifier for the category NOT NULL NUMBER Unique identifier for the descriptor NULL VARCHAR2(2000) Default Value

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 56 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_CATEGORY_ITEMS
Intersection table creating a relationship between categories and all the items they contain. A single item may belong to multiple categories.
Column Descriptions Name RT_ITEM_ID RT_CATEGORY_ID

Null? Type NULL NUMBER NULL NUMBER

Description Unique item identifier within the catalog Unique category identifier within the catalog

Indexes Index Name ICX_POR_CATEGORY_ITEMS_N1 ICX_POR_CATEGORY_ITEMS_N2 ICX_POR_CATEGORY_ITEMS_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 5 5 5 6

Column Name RT_CATEGORY_ID RT_ITEM_ID RT_ITEM_ID RT_CATEGORY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 57

ICX_POR_CATEGORY_ORDER_MAP
Mapping of internal categories to external categories, for example maps BugsEye categories to item categories in the Oracle Purchasing category set. This table is necessary because Oracle Purchasing requires an item category on the requisition and PO line. When an item is selected from the catalog, this table is used to determine which PO item category to use on the requisition.
Column Descriptions Name RT_CATEGORY_ID EXTERNAL_SOURCE EXTERNAL_SOURCE_KEY CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_CATEGORY_ORDER__MAP_U1

Null? Type

Description

NOT NULL NUMBER Category name NULL VARCHAR2(2000) //Oracle template, Oracle category or Oracle catalog group?? NULL VARCHAR2(2000) //category_id, catalog_group_id, or template_name?? NOT NULL NUMBER Standard Who Column NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column NULL NUMBER Standard Who column

Index Type UNIQUE

Sequence 1

Column Name RT_CATEGORY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 58 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_CONFIG_PARAMETERS
Stores configuration parameters.
Column Descriptions Name CONFIGURATION_NAME PARAMETER_NAME GROUP_NAME MESSAGE_NAME PARAMETER_TYPE LOCAL_PARAMETERS DESCRIPTION Indexes Index Name ICX_POR_CONFIG_PARAMETERS_U1

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL

Description

VARCHAR2(30) Configuration name VARCHAR2(30) Parameter name VARCHAR2(30) Group name VARCHAR2(30) Message name VARCHAR2(30) Parameter type VARCHAR2(2000) Local parameters VARCHAR2(2000) Description

Index Type UNIQUE

Sequence 1 2

Column Name CONFIGURATION_NAME PARAMETER_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 59

ICX_POR_CONTEXT_POLICY
Store context policies.
Column Descriptions Name NAME TABLENAME CATEGORY_TABLE SQL_TEXT POLICY_ID Indexes Index Name ICX_POR_CONTEXT_POLICY_U1

Null? Type NOT NULL NULL NULL NULL NULL

Description

VARCHAR2(2000) Name VARCHAR2(2000) Table name VARCHAR2(2000) Category table VARCHAR2(4000) SQL text NUMBER Policy identifier

Index Type UNIQUE

Sequence 5

Column Name NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 60 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_DESCRIPTORS_TL
Stores information about descriptors associated with a given category. Root descriptors are associated with the category ID of zero. The descriptor ID is used to generate the descriptor column names in the items (ICX_POR_ITEMS & ICX_POR_ITEMS_TL) and categories (Cxxxx) tables. Descriptor column names are generated by concatenating A and the descriptor ID. Sequence used for descriptors starts with a high number to reserve lower numbers for use by Oracle for seeded descriptors. Oracle currently seeds a set of root descriptors.
Column Descriptions Name RT_DESCRIPTOR_ID LANGUAGE SOURCE_LANG KEY DESCRIPTOR_NAME DESCRIPTION RT_CATEGORY_ID TYPE SEARCH_RESULTS_VISIBLE ITEM_DETAIL_VISIBLE REQUIRED REFINABLE SEARCHABLE VALIDATED SEQUENCE TITLE

Null? Type NOT NULL NUMBER NOT NULL NOT NULL NOT NULL NOT NULL NULL NOT NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL

Description

DEFAULTVALUE MULTI_VALUE_TYPE MULTI_VALUE_KEY CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name ICX_POR_DESCRIPTORS_N1

NOT NOT NOT NOT

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Descriptor unique identifier within the Catalog VARCHAR2(4) Defined language for the row VARCHAR2(4) Actual language for the row VARCHAR2(250) Unique identifier in external system VARCHAR2(250) Descriptor name VARCHAR2(2000) Description of the descriptor NUMBER Category unique identifier within the Catalog NUMBER 0 Root Descriptor (applies to all items) VARCHAR2(1) Search results visible or not VARCHAR2(1) Item Detail Visible or not NUMBER Required or not NUMBER Refinable or not NUMBER Searchable or not NUMBER Validated or not NUMBER Sequence VARCHAR2(500) ID of the Originating system data source/publishing entity set to Oracle for Oraclesourced data VARCHAR2(2000) Default value NUMBER Multi value type VARCHAR2(2000) Multi value key NUMBER Standard Who Column DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER NUMBER NUMBER DATE

Index Type NOT UNIQUE

Sequence 1 2

Column Name RT_CATEGORY_ID LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 61

ICX_POR_DESCRIPTORS_U1 ICX_POR_DESCRIPTORS_U2 ICX_POR_DESCRIPTORS_U3

UNIQUE UNIQUE UNIQUE

5 6 5 10 15 5 10 15

RT_DESCRIPTOR_ID LANGUAGE KEY RT_CATEGORY_ID LANGUAGE DESCRIPTOR_NAME RT_CATEGORY_ID LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 62 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_EXT_QUERY_TL
Stores named extended queries or a URL for an item. For example, you can create a query for Related Items. When this feature is enabled, an icon appears in the search results row for the item. Clicking on the icon executes the extended query. Currently not implemented in SelfService Purchasing 4.0 When implemented, either a label or a picture or both are required.
Column Descriptions Name RT_ITEM_ID LANGUAGE SOURCE_LANG QUERY TYPE LABEL PICTURE CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE

Null? Type NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Description

NOT NOT NOT NOT

NUMBER Item unique identifier VARCHAR2(4) Language VARCHAR2(4) Source language VARCHAR2(2000) BugsEye query or URL VARCHAR2(2000) QUERY or URL VARCHAR2(2000) Text displayed next to icon in results VARCHAR2(2000) Icon to use NUMBER Standard Who Column DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER NUMBER NUMBER DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 63

ICX_POR_FAILED_LINES
Maintains information about items/prices that the XML loader rejected during a load job.
Column Descriptions Name JOB_NUMBER LINE_NUMBER ACTION ROW_TYPE DESCRIPTOR_KEY DESCRIPTOR_VALUE Indexes Index Name ICX_POR_FAILED_LINES_U1

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL

Description

NUMBER Job number NUMBER Line number VARCHAR2(30) Action VARCHAR2(30) Row type VARCHAR2(250) Descriptor key VARCHAR2(2000) Descriptor value

Index Type UNIQUE

Sequence 5 10 15

Column Name JOB_NUMBER LINE_NUMBER DESCRIPTOR_KEY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 64 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_FAILED_LINE_MESSAGES
Maintains information about items/prices that the XML loader rejected during a load job.
Column Descriptions Name JOB_NUMBER LINE_NUMBER DESCRIPTOR_KEY MESSAGE_NAME Indexes Index Name ICX_POR_FAILED_LINE_MSGS_U1

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NUMBER NUMBER VARCHAR2(250) VARCHAR2(30)

Description Job number Line number Descriptor key Message name

Index Type UNIQUE

Sequence 5 10 15

Column Name JOB_NUMBER LINE_NUMBER DESCRIPTOR_KEY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 65

ICX_POR_ITEMS
Stores information and root descriptors for each item in the catalog. Root descriptor columns are in the format Axxxx where xxxx is a integer. Root descriptors from A1 through Ax are reserved for use by Oracle. Additional root descriptors created during catalog import begin with Ay.
Column Descriptions Name RT_ITEM_ID ORC_ITEM_ID ORC_ITEM_NUM TITLE

Null? Type NOT NULL NUMBER NULL NUMBER NULL VARCHAR2(700) NULL VARCHAR2(500)

Description Item unique identifier within the catalog Item unique identifier in Oracle Item number in Oracle ID of the Originating system data source/publishing entity set to Oracle for Oraclesourced data Supplier ID Batch Job Number Query Type Reserved for Supplier name Reserved for Supplier ID Reserved for Supplier Item Number Reserved for Manufactuer (Not used in WR4) Reserved for Manufactuer Part Number (Not used in WR4) Reserved for Price Create new Currency Code Reserved for Internal Item Number Reserved for Picture or Image file name (PICTURE) Reserved for Picture or image URL (PICTURE_URL) Reserved for Contract Number Reserved for Contract Line Reserved for Contract Price Reserved for Contract Currency Reserved for Contract Rate Type Reserved for Contract Rate Date Reserved for Contract Rate Reserved for attachment URL (ATTACHMENT_URL) Reserved for UNSPSC code (UNSPSC) Reserved for Availability Reserved for order lead time (LEAD_TIME). specified in days Reserved for Functional Currency Price Reserved for Functional Currency

SUPPLIER_ID BATCH_JOB_NUM QUERY TYPE A1 A2 A3 A4 A5 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A24 A25 A26 A27 A28

NULL NULL NULL NULL NULL NULL NULL

NUMBER NUMBER VARCHAR2(240) NUMBER VARCHAR2(700) VARCHAR2(700) VARCHAR2(700)

NULL VARCHAR2(700) NULL VARCHAR2(700) NULL VARCHAR2(700) NULL VARCHAR2(700) NULL VARCHAR2(700) NULL VARCHAR2(700) NULL VARCHAR2(700) NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(700) VARCHAR2(700) VARCHAR2(700) VARCHAR2(700) VARCHAR2(700) VARCHAR2(700) VARCHAR2(700) VARCHAR2(700)

NULL VARCHAR2(700) NULL VARCHAR2(700) NULL NUMBER NULL VARCHAR2(700) NULL VARCHAR2(700)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 66 Oracle SefService Purchasing 5 Technical Reference Manual

A29 CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name ICX_POR_ITEMS_N1 ICX_POR_ITEMS_N2 ICX_POR_ITEMS_N3 ICX_POR_ITEMS_N4 ICX_POR_ITEMS_U1 NOT NOT NOT NOT

NULL VARCHAR2(700) Reserved for (ITEM_TYPE) NULL NUMBER Standard Who NULL DATE Standard Who NULL NUMBER Standard Who NULL DATE Standard Who NULL NUMBER Standard Who NULL NUMBER NULL NUMBER NULL NUMBER NULL DATE

item type column column column column column

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 5 5 5 5 5

Column Name ORC_ITEM_ID A3 A1 SUPPLIER_ID RT_ITEM_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 67

ICX_POR_ITEMS_TL
Translation table for ICX_POR_ITEMS.
Column Descriptions Name RT_ITEM_ID (PK)

Null? Type NOT NULL NUMBER NOT NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Description

LANGUAGE (PK) SOURCE_LANG CTX_DESC A6 A7 A8 A9 A23 A30 CTX_AR CTX_BG CTX_CA CTX_CS CTX_D CTX_DK CTX_E CTX_EG CTX_EL CTX_ESA CTX_F CTX_FRC CTX_GB CTX_HR CTX_HU CTX_I CTX_IS CTX_IW CTX_JA CTX_KO CTX_LT CTX_N CTX_NL CTX_PL CTX_PT CTX_PTB CTX_RO CTX_RU CTX_S CTX_SF CTX_SK CTX_SL CTX_TH CTX_TR CTX_US

Item unique identifier within the Catalog VARCHAR2(4) Defined language for the row VARCHAR2(4) Actual language for the row VARCHAR2(4000) Text column used as the basis for the ConText query VARCHAR2(700) Reserved for Description VARCHAR2(700) Reserved forshort Item Description (DESCRIPTION) VARCHAR2(700) Reserved for comments (COMMENTS) VARCHAR2(700) Reserved for alias (ALIAS) VARCHAR2(2000) Reserved for extended item description (LONG_DESCRIPTION) VARCHAR2(240) Reserved for Supplier Site VARCHAR2(4000) Arabic VARCHAR2(4000) Bulgarian VARCHAR2(4000) Catalan VARCHAR2(4000) Czech VARCHAR2(4000) German VARCHAR2(4000) Danish VARCHAR2(4000) Spanish VARCHAR2(4000) Egytian VARCHAR2(4000) Greek VARCHAR2(4000) Latin American Spanish VARCHAR2(4000) French VARCHAR2(4000) Canadian French VARCHAR2(4000) English VARCHAR2(4000) Croatian VARCHAR2(4000) Hungarian VARCHAR2(4000) Italian VARCHAR2(4000) Icelandic VARCHAR2(4000) Hebrew VARCHAR2(4000) Japanese VARCHAR2(4000) Korean VARCHAR2(4000) Lithuanian VARCHAR2(4000) Norwegian VARCHAR2(4000) Dutch VARCHAR2(4000) Polish VARCHAR2(4000) Portuguese VARCHAR2(4000) Brazilian Portuguese VARCHAR2(4000) Romamian VARCHAR2(4000) Russian VARCHAR2(4000) Swedish VARCHAR2(4000) Finnish VARCHAR2(4000) Slovak VARCHAR2(4000) Slovenian VARCHAR2(4000) Thai VARCHAR2(4000) Turkish VARCHAR2(4000) American English

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 68 Oracle SefService Purchasing 5 Technical Reference Manual

CTX_ZHT CTX_ZHS REBUILD_CTX_JOBNO CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name ICX_POR_ITEMS_TL_N1 ICX_POR_ITEMS_TL_U1

NOT NOT NOT NOT

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(4000) Traditional Chinese VARCHAR2(4000) Simplified Chinese NUMBER Rebuild Context Job Number NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER NUMBER NUMBER DATE

Index Type NOT UNIQUE UNIQUE

Sequence 5 5 6

Column Name REBUILD_CTX_JOBNO RT_ITEM_ID LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 69

ICX_POR_ITEM_CONSTRAINT
Stroes the information about Item Constraint.
Column Descriptions Name NAME TYPE VALUE Indexes Index Name ICX_POR_ITEM_CONSTRAINT_N1

Null? Type

Description

NOT NULL VARCHAR2(2000) Name NOT NULL VARCHAR2(2000) Type NULL VARCHAR2(2000) Value

Index Type NOT UNIQUE

Sequence 5

Column Name NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 70 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_ITEM_CTX_INDEX
There are 2 ConText indexes associated with the CTX_DESC column in ICX_POR_ITEMS_TL; one is always available while the other is being rebuilt. This table tracks which of the 2 indexes is currently available.
Column Descriptions Name INDEX_NAME INDEX_NUMBER USED LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN

Null? Type NOT NULL VARCHAR2(30) NOT NULL NUMBER NOT NULL VARCHAR2(1) NOT NOT NOT NOT NULL NULL NULL NULL NULL DATE NUMBER DATE NUMBER NUMBER

Description Index name 1 or 2 Y or N indicating whether the index is currency used for ConText queries Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 71

ICX_POR_ITEM_SITE
Stores information about item Site.
Column Descriptions Name ITEMID KEY

Null? Type

Description

NULL NUMBER Item identity NULL VARCHAR2(2000) Key

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 72 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_ITEM_SOURCES
Stores information about Catalog content sources. Associated with the Item Source form.
Column Descriptions Name ITEM_SOURCE_ID TYPE URL IMAGE_URL LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_ITEM_SOURCES_U1 NOT NOT NOT NOT

Null? Type NOT NULL NUMBER NULL VARCHAR2(8) NULL NULL NULL NULL NULL NULL NULL

Description

Item source unique identifier Indicates whether this is an internal (Oracle) or external (such as TPN) source VARCHAR2(2000) URL for 3rd party catalog service VARCHAR2(2000) File and pathname for catalog logo DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Standard Who column

Index Type UNIQUE

Sequence 5

Column Name ITEM_SOURCE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 73

ICX_POR_ITEM_SOURCES_TL
Translation table for ICX_POR_ITEM_SOURCES.
Column Descriptions Name ITEM_SOURCE_ID (PK) LANGUAGE (PK) SOURCE_LANG ITEM_SOURCE_NAME DESCRIPTION LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_ITEM_SOURCES_TL_U1

Null? Type

Description

NOT NULL NUMBER Item source unique identifier NOT NULL VARCHAR2(4) Defined language for the row NOT NULL VARCHAR2(4) Actual language for the row NULL VARCHAR2(2000) Name NULL VARCHAR2(2000) Description NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NULL NUMBER Standard Who column

Index Type UNIQUE

Sequence 5 6

Column Name ITEM_SOURCE_ID LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 74 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_LOADER_VALUES
Stores a single record with the setup data for the Extraction process. This row is updated with last run dates each time the extractor runs.
Column Descriptions Name LOAD_ITEM_MASTER LOAD_CATEGORIES LOAD_TEMPLATE_HEADERS LOAD_TEMPLATE_LINES LOAD_CATALOG_GROUPS CATALOG_GROUPS_LAST_RUN_DATE CATEGORIES_LAST_RUN_DATE TEMPLATE_HEADERS_LAST_RUN_DATE TEMPLATE_LINES_LAST_RUN_DATE ITEM_MASTER_LAST_RUN_DATE CONTRACTS_LAST_RUN_DATE LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE NOT NOT NOT NOT

Null? Type NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL NULL NULL NULL NULL NULL NULL NULL NULL DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER NUMBER DATE

Description Flag indicating whether Item Master/ASL records should be extracted Flag indicating whether Item Categories should be extracted Flag indicating whether ReqExpress Template Headers should be extracted Flag indicating whether ReqExpress Template Lines should be extracted Not used in WebReqs 4 Not used in WebReq 4 (future) Date when extract program last extracted item Cage Date when extract program last extracted Template Headers Date when extract program last extracted Template Lines Date when extract program last extracted Item Master/ASL data Date when extract program last extracted Contract Lines Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 75

ICX_POR_LOAD_ITEM_MATCH
Table defines criteria for determining item uniqueness.
Column Descriptions Name SOURCENAME DESCRIPTOR SEQUENCE

Null? Type

Description

NULL VARCHAR2(2000) Source Name NULL VARCHAR2(2000) Descriptor NULL VARCHAR2(2000) Sequence

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 76 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_LOG
Internal audit table for editing tools. The basic idea is to provide Std WHO functionality within ECM.
Column Descriptions Name ID USERID TYPE DESCRIPTION REFERENCE_ID CREATE_DATE

Null? Type NOT NULL NULL NULL NOT NULL NULL NOT NULL NUMBER NUMBER NUMBER VARCHAR2(512) NUMBER DATE

Description Unique identifier User ID Type Description Reference ID Creation Date

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 77

ICX_POR_ORACLE_ITEM_SUBTABLE
Stores Oraclespecific reference information about a Catalog item.
Column Descriptions Name RT_ITEM_ID ORC_CONTRACT_ID ORC_CONTRACT_LINE_ID ORC_TEMPLATE_ID ORC_TEMPLATE_LINE_ID ORC_CATEGORY_ID ORC_ASL_ID ORC_SUPPLIER_SITE_ID ORC_OPERATING_UNIT_ID CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name ICX_POR_ORACLE_ITEM_SUBTAB_N1

Null? Type NOT NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER VARCHAR2(25) NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER DATE

Description Item unique identifier within the Catalog Contract header (Blanket Agreement or Catalog Quotation) Contract line Template header Template line Category ASL entry Supplier site Operating unit Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

NOT NOT NOT NOT

Index Type NOT UNIQUE

Sequence 5

Column Name RT_ITEM_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 78 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_PRICE_LISTS
Stores price lists information.
Column Descriptions Name HEADER_ID NAME SUPPLIER_ID BUYER_ID DESCRIPTION CURRENCY_CODE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_PRICE_LISTS_N1 ICX_POR_PRICE_LISTS_N2 ICX_POR_PRICE_LISTS_U1

Null? Type NOT NULL NUMBER NOT NULL NOT NULL NOT NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NULL

Description

Unique Identifier of Price List Header VARCHAR2(50) Price List Name NUMBER Supplier NUMBER Buyer VARCHAR2(2000) Description VARCHAR2(4) Currency Code DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Standard Who column

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 5 7 5 5

Column Name SUPPLIER_ID BUYER_ID BUYER_ID HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 79

ICX_POR_PRICE_LIST_LINES
Stores price list lines information.
Column Descriptions Name HEADER_ID SUPPLIER_ID BUYER_ID ITEM_ID UNIT_PRICE UOM CURRENCY_CODE BUYER_APPROVAL_STATUS BUYER_APPROVAL_DATE INACTIVE_DATE DESCRIPTION RATE RATE_TYPE RATE_DATE BUYER_FUNCTIONAL_CURRENCY CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN SUPPLIER_SITE Indexes Index Name ICX_POR_PRICE_LIST_LINES_N1 ICX_POR_PRICE_LIST_LINES_N2 ICX_POR_PRICE_LIST_LINES_N3 ICX_POR_PRICE_LIST_LINES_N4

Null? Type NOT NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Description

NOT NOT NOT NOT

NUMBER Price List Header NUMBER Supplier NUMBER Buyer NUMBER Item NUMBER Price VARCHAR2(30) Unit of Measure VARCHAR2(4) Currency Code VARCHAR2(30) Buyer Approval Status DATE Buyer Approval Date DATE Inactive Date VARCHAR2(2000) Description NUMBER Rate VARCHAR2(25) Rate Type DATE Rate Date VARCHAR2(4) Buyer Functional Currency DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Standard Who column VARCHAR2(15) Supplier site

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 5 5 5 2 4 6

Column Name HEADER_ID SUPPLIER_ID BUYER_ID ITEM_ID SUPPLIER_ID BUYER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 80 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_REALMS
Stores information about realms. A realm is a set of access privileges to internal catalogs, external catalogs, or categories within internal categories. Used by the Realms form.
Column Descriptions Name REALM_ID AK_ATTRIBUTE_CODE LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_REALMS_U1

Null? Type NOT NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL NULL NUMBER VARCHAR2(30) DATE NUMBER DATE NUMBER NUMBER

Description Realm unique AK attribute Standard Who Standard Who Standard Who Standard Who Standard Who identifier code column column column column column

Index Type UNIQUE

Sequence 5

Column Name REALM_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 81

ICX_POR_REALMS_TL
Translation table for ICX_POR_REALMS.
Column Descriptions Name REALM_ID (PK) REALM_NAME REALM_DESCRIPTION LANGUAGE (PK) SOURCE_LANG LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_REALMS_TL_U1 ICX_POR_REALMS_TL_U2

Null? Type NOT NULL NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NULL

Description

NUMBER Realm unique identifier VARCHAR2(2000) Name VARCHAR2(2000) Description VARCHAR2(4) Defined language for the row VARCHAR2(4) Actual language for the row DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Standard Who column

Index Type UNIQUE UNIQUE

Sequence 5 6 5 10

Column Name REALM_ID LANGUAGE REALM_NAME LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 82 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_REALM_COMPONENTS
Stores information about realm components.
Column Descriptions Name REALM_COMPONENT_ID

Null? Type NOT NULL NUMBER

Description Realm component unique identifier. Indicates whether this is an item source or category type Realm unique identifier The value of the item source or category to include in the realm Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

REALM_ID REALM_COMPONENT_VALUE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_REALM_COMPONENTS_N1 ICX_POR_REALM_COMPONENTS_U1

NOT NULL NUMBER NOT NULL NUMBER NOT NOT NOT NOT NULL NULL NULL NULL NULL DATE NUMBER DATE NUMBER NUMBER

Index Type NOT UNIQUE UNIQUE

Sequence 5 5

Column Name REALM_ID REALM_COMPONENT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 83

ICX_POR_SEARCH_CONFIG
Stores search configuration information.
Column Descriptions Name SEARCH_CONFIG_ID NAME DESCRIPTION Indexes Index Name ICX_POR_SEARCH_CONFIG_U1 ICX_POR_SEARCH_CONFIG_U2

Null? Type

Description

NOT NULL NUMBER Search config identity NOT NULL VARCHAR2(2000) Name NULL VARCHAR2(4000) Description

Index Type UNIQUE UNIQUE

Sequence 5 5

Column Name SEARCH_CONFIG_ID NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 84 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_SEARCH_CONFIG_POLICY
Stores search configuration policy information.
Column Descriptions Name SEARCH_CONFIG_ID POLICY_ID SEQUENCE SEARCH_TYPE Indexes Index Name ICX_POR_SEARCH_CONFIG_POLIC_N1

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER

Description Search config identity Policy identity Sequence Search type

Index Type NOT UNIQUE

Sequence 5

Column Name SEARCH_CONFIG_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 85

ICX_POR_SITE
Stores site information.
Column Descriptions Name SITE_ID NAME DESCRIPTION Indexes Index Name ICX_POR_SITE_U1

Null? Type

Description

NULL NUMBER Site identity NULL VARCHAR2(2000) Name NULL VARCHAR2(2000) Description

Index Type UNIQUE

Sequence 5

Column Name NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 86 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_TABLE_OF_CONTENTS_TL
Stores the userdefined hierarchical relationship between navigational categories to create a more traditional hierarchical view of the catalog. In Requisite s base system the table name is ?_NAVIGATION instead of ?_TABLE_OF_CONTENTS. Navigation could not be used because it clashed with an existing ICX table.
Column Descriptions Name RT_CATEGORY_ID CHILD TYPE NAME QUERY DESCRIPTION LANGUAGE SOURCE_LANG SEQUENCE CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN Indexes Index Name ICX_POR_TABLE_OF_CONTENTS_N1 ICX_POR_TABLE_OF_CONTENTS_N2

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER VARCHAR2(128) VARCHAR2(500) VARCHAR2(500) VARCHAR2(4) VARCHAR2(4) NUMBER NUMBER DATE NUMBER DATE NUMBER

Description Category unique identifier Child Type Name Query Description Defined language for the row Actual language for the row Sequence Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

NOT NOT NOT NOT NOT NOT

Index Type NOT UNIQUE NOT UNIQUE

Sequence 5 7 5

Column Name RT_CATEGORY_ID CHILD CHILD

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 87

ICX_POR_TEMPLATE_FILES
Stores information fro template files.
Column Descriptions Name FILENAME USAGE DESCRIPTION TEMPLATE_TYPE Indexes Index Name ICX_POR_TEMPLATE_FILES_U1

Null? Type NULL NULL NULL NULL

Description

VARCHAR2(250) File name VARCHAR2(25) Usage VARCHAR2(2000) Description VARCHAR2(25) Template type

Index Type UNIQUE

Sequence 10

Column Name FILENAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 88 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_TITLE_ADMIN
Stores information about the titles (supplier catalogs) that have been loaded in the internal catalog. This table maps to the ADMIN section of the XML file. This table is used more extensively in v2.5 and beyond.

Column Descriptions Name TITLE_ID TITLE SOURCE CREATIONDATE UPDATEDATE CONNECTSTRING DOMAIN DESCRIPTION TYPE PICTURE PRELOAD

Null? Type

Description

NOT NULL NUMBER Populate from sequence NULL VARCHAR2(2000) Title name NULL VARCHAR2(2000) Document author (it could be a tool or a user, for example) NULL DATE Creation date NULL DATE Update date NULL VARCHAR2(2000) Connect string NULL VARCHAR2(2000) Represents the type of content in the catalog NULL VARCHAR2(2000) Title description NULL VARCHAR2(2000) Type NULL VARCHAR2(2000) Logo associated with the title NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 89

ICX_POR_TITLE_ADMIN_TL
Stores information about the titles (supplier catalogs) that have been loaded in the internal catalog. This table maps to the ADMIN section of the XML file. This table is used more extensively in v2.5 and beyond.

Column Descriptions Name TITLE_ID (PK) LANGUAGE (PK) SOURCE_LANG TITLE SOURCE DOMAIN DESCRIPTION TYPE IMAGE CREATED_BY CREATION_DATE LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN

Null? Type

Description

NOT NULL NUMBER Title identifier NOT NULL VARCHAR2(4) Defined language for the row NOT NULL VARCHAR2(4) Actual language for the row NULL VARCHAR2(2000) Title name NULL VARCHAR2(2000) Document author (it could be a tool or a user, for example) NULL VARCHAR2(2000) Represents the type of content in the catalog NULL VARCHAR2(2000) Title description NULL VARCHAR2(2000) Type NULL VARCHAR2(2000) Image NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NULL NUMBER Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 90 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_TITLE_REGISTRY
Stores title registry information.
Column Descriptions Name CATALOG LANGUAGE DBDRIVER DBURL DBUSER DBPASSWORD MINCONNS MAXCONNS MAXCONNTIME CLEANUPSEC PRELOAD

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Description

VARCHAR2(2000) Catalog VARCHAR2(40) Language VARCHAR2(2000) DB Driver VARCHAR2(2000) DB URL VARCHAR2(2000) DB User VARCHAR2(2000) DB password NUMBER Minimum connections NUMBER Maximum Connections NUMBER Maximum connection time NUMBER cleanup seconds NUMBER preload

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 91

ICX_POR_UNIT
This table lets you associate units with a descriptor (like a UOM). This functionality is extended in later versions of the catalog. You can also define some types of conversion for display purposes.
Column Descriptions Name UNIT_ID RT_DESCRIPTOR_ID NAME MULT ADDER

Null? Type NOT NULL NUMBER NOT NULL NUMBER NOT NULL VARCHAR2(256) NULL NUMBER NULL NUMBER

Description Unit unique identifier Descriptor Name Muliplier Adder

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 92 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_POR_UNSPSC_CODES
Contains a complete listing of the UNSPSC commodity codes, including the codes that represent the various nodes of the commodity hierarchy
Column Descriptions Name COMMODITY LANGUAGE SOURCE_LANG NAME SEGMENT FAMILY CLASS EXTENDED_COMMODITY Indexes Index Name ICX_POR_UNSPSC_CODES_U1 ICX_POR_UNSPSC_CODES_U2

Null? Type NOT NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(8) VARCHAR2(4) VARCHAR2(4) VARCHAR2(100) VARCHAR2(2) VARCHAR2(4) VARCHAR2(6) VARCHAR2(10)

Description Commodity Language Source Language Name Segment Family Class Extended commodity

Index Type NOT UNIQUE NOT UNIQUE

Sequence 5 10 5 10

Column Name COMMODITY LANGUAGE NAME LANGUAGE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 93

ICX_POR_VERSION_INFO
Version tracking table for internal use. Should be maintained so you can determine the version of bugseye being used (and the associated schema). This is not always updated so may not be correct.
Column Descriptions Name VERSION LASTUPDATEBY LASTUPDATEDATE NOTES

Null? Type NOT NULL VARCHAR2(10) NOT NULL VARCHAR2(30) NOT NULL DATE NULL VARCHAR2(100)

Description Version Last updated by Last update date Notes

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 94 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_PROCUREMENT_SERVER_SETUP
Stores connection information for an external Catalog source. Used by the Define Catalog Server for External Suppliers form.
Column Descriptions Name ITEM_SOURCE_ID COMPANY AUTHENTICATION_URL CALLBACK_URL LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN

Null? Type

Description

NOT NULL NUMBER Item source unique identifier NOT NULL VARCHAR2(240) Company name known to the buyer service NOT NULL VARCHAR2(2000) URL for the Oracle Application Server that resides outside the firewall NOT NULL VARCHAR2(2000) URL called by external catalog to reach SelfService Purchasing NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column NOT NULL NUMBER Standard Who column NULL NUMBER Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 95

ICX_REQUISITIONER_INFO
ICX_POR_REQUISITIONER table contains parameters that is send to TPN
Column Descriptions Name SESSION_ID LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ENCRYPTED_SESSION_ID REQ_TOKEN SHIP_TO DELIVER_TO OPERATING_UNIT HTTP_HOST

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Description

NUMBER Session Id DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Standard Who column NUMBER Encrypted session id VARCHAR2(2000) Requisition token VARCHAR2(2000) Ship to location VARCHAR2(2000) Deliver to location VARCHAR2(15) Operating unit unique identifier NULL VARCHAR2(250) Return URL from TPN

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 96 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_SESSIONS
ICX_SESSIONS is a temporary table that contains session context information of a SelfService Web Applications session. Each user session is represented by a row in this table. It contains information based on user preferences and actions taken during the session. This table has rows regularly removed based on their age.

Foreign Keys Primary Key Table FND_FORM_FUNCTIONS FND_MENUS FND_RESPONSIBILITY FND_USER QuickCodes Columns Column PSEUDO_FLAG

Primary Key Column FUNCTION_ID MENU_ID RESPONSIBILITY_ID USER_ID

Foreign Key Column FUNCTION_ID MENU_ID RESPONSIBILITY_ID USER_ID

QuickCodes Type YES_NO N Y

QuickCodes Table FND_LOOKUPS No Yes

Column Descriptions Name SESSION_ID WINDOW_ID USER_ID MODE_CODE HOME_URL (PK)

Null? Type NOT NULL NUMBER NULL NUMBER NOT NULL NUMBER NULL NULL

Description Identifier for each session created by a user login

RESPONSIBILITY_APPLICATION_ID RESPONSIBILITY_ID SECURITY_GROUP_ID ORG_ID MENU_ID FUNCTION_ID FUNCTION_TYPE NLS_LANGUAGE LANGUAGE_CODE DATE_FORMAT_MASK COUNTER FIRST_CONNECT LAST_CONNECT NLS_DATE_LANGUAGE

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Identifier of the user logged in for this session VARCHAR2(30) Type code for the session; WEBAPPS for full access and SLAVE for function calling. VARCHAR2(240) Home URL address. If it is not null, it overrides HOME_URL in ICX_PARAMETERS when exit icon clicked NUMBER NUMBER Identifier of current Responsibility NUMBER NUMBER(15) Identifier of current Organization NUMBER Identifier of current Menu NUMBER Identifier of current Function VARCHAR2(30) VARCHAR2(30) Language preference VARCHAR2(30) VARCHAR2(100) Date format preference NUMBER How many hits a User has made DATE Date and time of login DATE Date and time of last hit VARCHAR2(30) Date Language preference

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 97

NLS_NUMERIC_CHARACTERS NLS_SORT NLS_TERRITORY LIMIT_TIME LIMIT_CONNECTS DISABLED_FLAG PSEUDO_FLAG

NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(1)

Numeric Characters preference Collating sequence for order by clauses Time limit for this session Number of hits allowed in this session Indicates whether this is a valid session Indicates whether this session was created due to an access external to Oracle Applications, for example email. Identifier for each session created by a user login Standard Who column Standard Who column Standard Who column Standard Who column

PAGE_ID CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN Indexes Index Name ICX_SESSIONS_N1 ICX_SESSIONS_U1 Sequences Sequence ICX_SESSIONS_S ICX_SESSIONS_S

NULL NUMBER NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NOT NULL DATE NULL NUMBER

Index Type NOT UNIQUE UNIQUE

Sequence 1 1

Column Name USER_ID SESSION_ID

Derived Column SESSION_ID CREATED_BY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 98 Oracle SefService Purchasing 5 Technical Reference Manual

ICX_SESSION_ATTRIBUTES
ICX_SESSION_ATTRIBUTES is a table which contains session context information.
Column Descriptions Name SESSION_ID NAME VALUE (PK) (PK)

Null? Type NOT NULL NUMBER

Description

Identifier for each session created by a user login NOT NULL VARCHAR2(30) User defined descriptive name of information within a session NULL VARCHAR2(4000) Corresponding value of User defined Name column.

Indexes Index Name ICX_SESSION_ATTRIBUTES_U1

Index Type NOT UNIQUE

Sequence 1 5

Column Name SESSION_ID NAME

Sequences Sequence ICX_SESSIONS_S

Derived Column SESSION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 99

ICX_UNSPSC_CODES
Contains information of the UNSPSC commodity codes.
Column Descriptions Name UNSPSC_CODE DESCRIPTION Indexes Index Name ICX_UNSPSC_CODES_U1

Null? Type

Description

NOT NULL VARCHAR2(30) UNSPSC Code NULL VARCHAR2(2000) Description

Index Type UNIQUE

Sequence 5

Column Name UNSPSC_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 100 Oracle SefService Purchasing 5 Technical Reference Manual

MTL_CATEGORIES_B
MTL_CATEGORIES_B is the code combinations table for item categories. Items are grouped into categories within the context of a category set to provide flexible grouping schemes. The item category is a key flexfield with a flex code of MCAT. The flexfield structure identifier is also stored in this table to support the ability to define more than one flexfield structure (multiflex). Item categories now support multilingual category description. MLS is implemented with a pair of tables: MTL_CATEGORIES_B and MTL_CATEGORIES_TL. MTL_CATEGORIES_TL table holds translated Description for Categories.

Column Descriptions Name CATEGORY_ID (PK) STRUCTURE_ID DESCRIPTION DISABLE_DATE SEGMENT1 SEGMENT2 SEGMENT3 SEGMENT4 SEGMENT5 SEGMENT6 SEGMENT7 SEGMENT8 SEGMENT9 SEGMENT10 SEGMENT11 SEGMENT12 SEGMENT13 SEGMENT14 SEGMENT15 SEGMENT16 SEGMENT17 SEGMENT18 SEGMENT19 SEGMENT20 SUMMARY_FLAG ENABLED_FLAG START_DATE_ACTIVE END_DATE_ACTIVE

Null? Type

Description

NOT NULL NUMBER Category identifier NOT NULL NUMBER Flexfield structure identifier NULL VARCHAR2(240) Dummy column to accomodate kff view. NULL DATE Disable date NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NOT NULL VARCHAR2(1) Flag indicating whether segment combination includes a summary segment NOT NULL VARCHAR2(1) Flag indicating whether segment combination is enabled NULL DATE Date segment combination becomes active NULL DATE Date segment combination becomes inactive

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 101

ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name MTL_CATEGORIES_B_N1 MTL_CATEGORIES_B_U1 Sequences Sequence MTL_CATEGORIES_B_S

NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER NUMBER DATE

NOT NOT NOT NOT

Descriptive flexfield defining column Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

structure segment segment segment segment segment segment segment segment segment segment segment segment segment segment segment

Index Type NOT UNIQUE UNIQUE

Sequence 1 1

Column Name SEGMENT1 CATEGORY_ID

Derived Column CATEGORY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 102 Oracle SefService Purchasing 5 Technical Reference Manual

MTL_CATEGORY_SETS_B
MTL_CATEGORY_SETS_B contains the entity definition for category sets. A category set is a categorization scheme for a group of items. Items may be assigned to different categories in different category sets to represent the different groupings of items used for different purposes. An item may be assigned to only one category within a category set, however. STRUCTURE_ID identifies the flexfield structure associated with the category set. Only categories with the same flexfield structure may be grouped into a category set. CONTROL_LEVEL defines whether the category set is controlled at the item or the item/organization level. When an item is assigned to an item level category set within the item master organization, the category set assignment is propagated to all other organizations to which the item is assigned. VALIDATE_FLAG defines whether a list of valid categories is used to validate category usage within the set. Validated category sets will not allow item assignment to the category set in categories that are not in a predefined list of valid categories. Category Sets now support multilingual category set name and description. MLS is implemented with a pair of tables: MTL_CATEGORY_SETS_B and MTL_CATEGORY_SETS_TL. MTL_CATEGORY_SETS_TL table holds translated Name and Description for Category Sets.

Foreign Keys Primary Key Table MTL_CATEGORIES_B QuickCodes Columns Column VALIDATE_FLAG

Primary Key Column CATEGORY_ID

Foreign Key Column DEFAULT_CATEGORY_ID

QuickCodes Type YES_NO N Y

QuickCodes Table FND_LOOKUPS No Yes

Column Descriptions Name CATEGORY_SET_ID STRUCTURE_ID (PK)

Null? Type NOT NULL NUMBER NOT NULL NUMBER

Description Category set identifier Flexfield structure identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 103

VALIDATE_FLAG CONTROL_LEVEL DEFAULT_CATEGORY_ID LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE Indexes Index Name MTL_CATEGORY_SETS_B_U1 Sequences Sequence MTL_CATEGORY_SETS_S

NOT NULL VARCHAR2(1) NOT NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL NULL NULL NULL NULL NULL NUMBER NUMBER DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER NUMBER DATE

Flag indicating category validation required Item or item/org control level Default category identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Index Type UNIQUE

Sequence 1

Column Name CATEGORY_SET_ID

Derived Column CATEGORY_SET_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 104 Oracle SefService Purchasing 5 Technical Reference Manual

MTL_SYSTEM_ITEMS_B
MTL_SYSTEM_ITEMS_B is the definition table for items. This table holds the definitions for inventory items, engineering items, and purchasing items. You can specify itemrelated information in fields such as: Bill of Material, Costing, Purchasing, Receiving, Inventory, Physical attributes, General Planning, MPS/MRP Planning, Lead times, Work in Process, Order Management, and Invoicing. You can set up the item with multiple segments, since it is implemented as a flexfield. Use the standard System Items flexfield that is shipped with the product to configure your item flexfield. The flexfield code is MSTK. The primary key for an item is the INVENTORY_ITEM_ID and ORGANIZATION_ID. Therefore, the same item can be defined in more than one organization. Each item is initially defined in an item master organization. The user then assigns the item to other organizations that need to recognize this item; a row is inserted for each new organization the item is assigned to. Many columns such as MTL_TRANSACTIONS_ENABLED_FLAG and BOM_ENABLED_FLAG correspond to item attributes defined in the MTL_ITEM_ATTRIBUTES table. The attributes that are available to the user depend on which Oracle applications are installed. The table MTL_ATTR_APPL_DEPENDENCIES maintains the relationships between item attributes and Oracle applications. Two unit of measure columns are stored in MTL_SYSTEM_ITEMS table. PRIMARY_UOM_CODE is the 3character unit that is used throughout Oracle Manufacturing. PRIMARY_UNIT_OF_MEASURE is the 25character unit that is used throughout Oracle Purchasing. Items now support multilingual description. MLS is implemented with a pair of tables: MTL_SYSTEM_ITEMS_B and MTL_SYSTEM_ITEMS_TL. Translations table (MTL_SYSTEM_ITEMS_TL) holds item descriptions in multiple languages. DESCRIPTION column in the base table (MTL_SYSTEM_ITEMS_B) is for backward compatibility and is maintained in the installation base language only.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 105

Foreign Keys Primary Key Table AP_TAX_CODES_ALL AR_VAT_TAX_ALL_B ENG_ENGINEERING_CHANGES FA_CATEGORIES_B GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS MRP_PLANNING_EXCEPTION_SETS MTL_ATP_RULES MTL_ITEM_CATALOG_GROUPS MTL_ITEM_LOCATIONS MTL_ITEM_STATUS MTL_PARAMETERS MTL_PARAMETERS MTL_PARAMETERS MTL_PICKING_RULES MTL_PLANNERS MTL_SECONDARY_INVENTORIES MTL_SECONDARY_INVENTORIES MTL_SYSTEM_ITEMS_B MTL_SYSTEM_ITEMS_B MTL_SYSTEM_ITEMS_B MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL PO_HAZARD_CLASSES_B PO_UN_NUMBERS_B RA_RULES RA_RULES RA_TERMS_B RCV_ROUTING_HEADERS QuickCodes Columns Column ALLOWED_UNITS_LOOKUP_CODE

Primary Key Column NAME TAX_CODE CHANGE_NOTICE ORGANIZATION_ID CATEGORY_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID EXCEPTION_SET_NAME RULE_ID ITEM_CATALOG_GROUP_ID INVENTORY_LOCATION_ID ORGANIZATION_ID INVENTORY_ITEM_STATUS_CODE ORGANIZATION_ID ORGANIZATION_ID ORGANIZATION_ID PICKING_RULE_ID PLANNER_CODE ORGANIZATION_ID SECONDARY_INVENTORY_NAME ORGANIZATION_ID SECONDARY_INVENTORY_NAME ORGANIZATION_ID INVENTORY_ITEM_ID ORGANIZATION_ID INVENTORY_ITEM_ID ORGANIZATION_ID INVENTORY_ITEM_ID ORGANIZATION_ID ORGANIZATION_ID INVENTORY_ITEM_ID UNIT_OF_MEASURE UOM_CODE UOM_CODE UNIT_OF_MEASURE UOM_CODE UOM_CODE HAZARD_CLASS_ID UN_NUMBER_ID RULE_ID RULE_ID TERM_ID ROUTING_HEADER_ID

Foreign Key Column PURCHASING_TAX_CODE TAX_CODE ENGINEERING_ECN_CODE ORGANIZATION_ID ASSET_CATEGORY_ID COST_OF_SALES_ACCOUNT SALES_ACCOUNT EXPENSE_ACCOUNT ENCUMBRANCE_ACCOUNT PLANNING_EXCEPTION_SET ATP_RULE_ID ITEM_CATALOG_GROUP_ID WIP_SUPPLY_LOCATOR_ID ORGANIZATION_ID INVENTORY_ITEM_STATUS_CODE ORGANIZATION_ID SOURCE_ORGANIZATION_ID DEFAULT_SHIPPING_ORG PICKING_RULE_ID PLANNER_CODE ORGANIZATION_ID SOURCE_SUBINVENTORY SOURCE_ORGANIZATION_ID WIP_SUPPLY_SUBINVENTORY ORGANIZATION_ID ENGINEERING_ITEM_ID ORGANIZATION_ID BASE_ITEM_ID ORGANIZATION_ID BASE_WARRANTY_SERVICE_ID ORGANIZATION_ID ORGANIZATION_ID PRODUCT_FAMILY_ITEM_ID PRIMARY_UNIT_OF_MEASURE VOLUME_UOM_CODE WEIGHT_UOM_CODE UNIT_OF_ISSUE PRIMARY_UOM_CODE SERVICE_DURATION_PERIOD_CODE HAZARD_CLASS_ID UN_NUMBER_ID ACCOUNTING_RULE_ID INVOICING_RULE_ID PAYMENT_TERMS_ID RECEIVING_ROUTING_ID

QuickCodes Type MTL_CONVERSION_TYPE 1 2 3 YES_NO N

QuickCodes Table MFG_LOOKUPS Item specific Standard Both standard and item specific FND_LOOKUPS No

ALLOW_EXPRESS_DELIVERY_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 106 Oracle SefService Purchasing 5 Technical Reference Manual

Y ALLOW_ITEM_DESC_UPDATE_FLAG YES_NO N Y YES_NO N Y YES_NO N Y MRP_ATO_FORECAST_CONTROL 1 2 3 YES_NO N Y YES_NO N Y YES_NO N Y MRP_AUTO_REDUCE_MPS 1 2 3 4 YES_NO N Y YES_NO N Y BOM_ITEM_TYPE 1 2 3 4 5 YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y

Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Consume Consume and derive None FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS None Past due Within demand time fence Within planning time fence FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Model Option class Planning Standard Product Family FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes

ALLOW_SUBSTITUTE_RECEIPTS_FLAG

ALLOW_UNORDERED_RECEIPTS_FLAG

ATO_FORECAST_CONTROL

ATP_COMPONENTS_FLAG

ATP_FLAG

AUTO_CREATED_CONFIG_FLAG

AUTO_REDUCE_MPS

BACK_ORDERABLE_FLAG

BOM_ENABLED_FLAG

BOM_ITEM_TYPE

BUILD_IN_WIP_FLAG

CATALOG_STATUS_FLAG

CHECK_SHORTAGES_FLAG

COLLATERAL_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 107

COMMS_ACTIVATION_REQD_FLAG

YES_NO N Y YES_NO N Y YES_NO N Y CONTAINER_ITEM_TYPE YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y MTL_TIME_FENCE 1 2 3 4

FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_COMMON_LOOKUPS FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Cumulative total lead time Cumulative manufacturing lead time Total lead time Userdefined time fence FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS Full Pegging End Assembly/Full Pegging Net by Project/Ignore Excess None Net by Project/Net Excess End Assembly Pegging

COMMS_NL_TRACKABLE_FLAG

CONTAINER_ITEM_FLAG

CONTAINER_TYPE_CODE COSTING_ENABLED_FLAG

COUPON_EXEMPT_FLAG

CUSTOMER_ORDER_ENABLED_FLAG

CUSTOMER_ORDER_FLAG

CYCLE_COUNT_ENABLED_FLAG

DEFAULT_INCLUDE_IN_ROLLUP_FLAG

DEFECT_TRACKING_ON_FLAG

DEMAND_TIME_FENCE_CODE

DOWNLOADABLE_FLAG

YES_NO N Y YES_NO N Y YES_NO N Y ASSEMBLY_PEGGING_CODE A B I N X Y

ELECTRONIC_FLAG

ENABLED_FLAG

END_ASSEMBLY_PEGGING_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 108 Oracle SefService Purchasing 5 Technical Reference Manual

ENG_ITEM_FLAG

YES_NO N Y SYS_YES_NO 1 2 YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y MTL_MATERIAL_PLANNING 1 2 6 YES_NO N Y YES_NO N Y ITEM_TYPE AOC ATO BMW FG I K M OC OO OP P PF

FND_LOOKUPS No Yes MFG_LOOKUPS Yes No FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Reorder point planning Minmax planning Not planned FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_COMMON_LOOKUPS ATO Option Class ATO Model BMW Type Finished Good Inventory Type Kit Model Option Class Outside Operation Outside Processing Item Purchased item Product Family

EQUIPMENT_TYPE

EVENT_FLAG

EXPENSE_BILLABLE_FLAG

INDIVISIBLE_FLAG

INSPECTION_REQUIRED_FLAG

INTERNAL_ORDER_ENABLED_FLAG

INTERNAL_ORDER_FLAG

INVENTORY_ASSET_FLAG

INVENTORY_ITEM_FLAG

INVENTORY_PLANNING_CODE

INVOICEABLE_ITEM_FLAG

INVOICE_ENABLED_FLAG

ITEM_TYPE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 109

PH PL POC PTO REF SA SI LOCATION_CONTROL_CODE MTL_LOCATION_CONTROL 1 2 3 4 5 LOT_CONTROL_CODE MTL_LOT_CONTROL 1 2 MTL_SERVICE_BILLABLE_FLAG E L M YES_NO N Y MRP_PLANNING_CODE 3 4 6 7 8 9 MTL_SAFETY_STOCK_TYPE 1 2 YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y MTL_PLANNING_MAKE_BUY 1 2

Phantom item Planning PTO Option Class PTO model Reference item Subassembly Supply item MFG_LOOKUPS No locator control Prespecified locator control Dynamic entry locator control Locator control determined at subinventory level Locator control determined at item level MFG_LOOKUPS No lot control Full lot control CS_LOOKUPS Expense Labor Material FND_LOOKUPS No Yes MFG_LOOKUPS MRP planning MPS planning Not planned MRP and DRP planning MPS and DRP planning DRP planning MFG_LOOKUPS NonMRP planned MRP planned percent FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Make Buy

MATERIAL_BILLABLE_FLAG

MRP_CALCULATE_ATP_FLAG

MRP_PLANNING_CODE

MRP_SAFETY_STOCK_CODE

MTL_TRANSACTIONS_ENABLED_FLAG

MUST_USE_APPROVED_VENDOR_FLAG

ORDERABLE_ON_WEB_FLAG

OUTSIDE_OPERATION_FLAG

PICK_COMPONENTS_FLAG

PLANNING_MAKE_BUY_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 110 Oracle SefService Purchasing 5 Technical Reference Manual

PLANNING_TIME_FENCE_CODE

MTL_TIME_FENCE 1 2 3 4

MFG_LOOKUPS Cumulative total lead time Cumulative manufacturing lead time Total lead time Userdefined time fence FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Cumulative total lead time Cumulative manufacturing lead time Item total lead time Userdefined time fence No not autorelease Kanban Item (Do Not Release) FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Reservable Not reservable MFG_LOOKUPS Locators restricted to pre defined list Locators not restricted to predefined list MFG_LOOKUPS Subinventories restricted to predefined list Subinventories not restricted to predefined list FND_LOOKUPS No Yes MFG_LOOKUPS Inspection required Inspection not required

PREVENTIVE_MAINTENANCE_FLAG

YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y MTL_RELEASE_TIME_FENCE 1 2 3 4 5 6

PRORATE_SERVICE_FLAG

PURCHASING_ENABLED_FLAG

PURCHASING_ITEM_FLAG

RECEIPT_REQUIRED_FLAG

RELEASE_TIME_FENCE_CODE

REPETITIVE_PLANNING_FLAG

YES_NO N Y YES_NO N Y MTL_RESERVATION_CONTROL 1 2 MTL_LOCATOR_RESTRICTIONS 1 2

REPLENISH_TO_ORDER_FLAG

RESERVABLE_TYPE

RESTRICT_LOCATORS_CODE

RESTRICT_SUBINVENTORIES_CODE

MTL_SUBINVENTORY_RESTRICTIONS 1 2

RETURNABLE_FLAG

YES_NO N Y MTL_RETURN_INSPECTION 1 2

RETURN_INSPECTION_REQUIREMENT

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 111

REVISION_QTY_CONTROL_CODE

MTL_ENG_QUANTITY 1 2

MFG_LOOKUPS Not under revision quantity control Under revision quantity control FND_LOOKUPS No Yes MFG_LOOKUPS Round order quantities Do not round order quantities MFG_LOOKUPS No serial number control Predefined serial numbers Dynamic entry at inventory receipt Dynamic entry at sales order issue FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS No shelf life control Item shelf life days Userdefined expiration date FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Inventory Supplier FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS

RFQ_REQUIRED_FLAG

YES_NO N Y MTL_ROUNDING 1 2 MTL_SERIAL_NUMBER 1 2 5 6

ROUNDING_CONTROL_TYPE

SERIAL_NUMBER_CONTROL_CODE

SERVICEABLE_COMPONENT_FLAG

YES_NO N Y YES_NO N Y YES_NO N Y MTL_SHELF_LIFE 1 2 4 YES_NO N Y YES_NO N Y MTL_SOURCE_TYPES 1 2 YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y YES_NO

SERVICEABLE_PRODUCT_FLAG

SERVICE_ITEM_FLAG

SHELF_LIFE_CODE

SHIPPABLE_ITEM_FLAG

SHIP_MODEL_COMPLETE_FLAG

SOURCE_TYPE

SO_TRANSACTIONS_FLAG

STOCK_ENABLED_FLAG

SUMMARY_FLAG

TAXABLE_FLAG

TIME_BILLABLE_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 112 Oracle SefService Purchasing 5 Technical Reference Manual

N Y USAGE_ITEM_FLAG YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y WIP_SUPPLY 1 2 3 4 5 6 7 RECEIVING CONTROL LEVEL NONE REJECT WARNING OUTSIDE_OPERATION_UOM_TYPE OUTSIDE OPERATION UOM TYPE ASSEMBLY RESOURCE RECEIVING CONTROL LEVEL NONE REJECT WARNING RECEIPT_DAYS_EXCEPTION_CODE RECEIVING CONTROL LEVEL NONE REJECT WARNING Column Descriptions Name INVENTORY_ITEM_ID (PK) ORGANIZATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN SUMMARY_FLAG ENABLED_FLAG

No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Push Assembly Pull Operation Pull Bulk Supplier Phantom Based on Bill PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message PO_LOOKUP_CODES Assembly Unit of Measure Resource Unit of Measure PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message

VEHICLE_ITEM_FLAG

VENDOR_WARRANTY_FLAG

VOL_DISCOUNT_EXEMPT_FLAG

WIP_SUPPLY_TYPE

ENFORCE_SHIP_TO_LOCATION_CODE

QTY_RCV_EXCEPTION_CODE

Null? Type NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NOT NULL NOT NULL NUMBER NUMBER DATE NUMBER DATE NUMBER NUMBER VARCHAR2(1) VARCHAR2(1)

Description Inventory item identifier Organization identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Flexfield summary flag Flexfield segment enabled flag

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 113

START_DATE_ACTIVE END_DATE_ACTIVE DESCRIPTION

BUYER_ID ACCOUNTING_RULE_ID INVOICING_RULE_ID SEGMENT1 SEGMENT2 SEGMENT3 SEGMENT4 SEGMENT5 SEGMENT6 SEGMENT7 SEGMENT8 SEGMENT9 SEGMENT10 SEGMENT11 SEGMENT12 SEGMENT13 SEGMENT14 SEGMENT15 SEGMENT16 SEGMENT17 SEGMENT18 SEGMENT19 SEGMENT20 ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 PURCHASING_ITEM_FLAG SHIPPABLE_ITEM_FLAG CUSTOMER_ORDER_FLAG INTERNAL_ORDER_FLAG SERVICE_ITEM_FLAG INVENTORY_ITEM_FLAG ENG_ITEM_FLAG

NOT NOT NOT NOT NOT NOT NOT

NULL DATE Flexfield segment start date NULL DATE Flexfield segment end date NULL VARCHAR2(240) Item description is maintained in the installation base language only. Translations table (MTL_SYSTEM_ITEMS_TL) holds item descriptions in multiple languages NULL NUMBER(9) Buyer identifier NULL NUMBER Accounting rule identifier NULL NUMBER Invoicing rule identifier NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(40) Key flexfield segment NULL VARCHAR2(30) Descriptive flexfield structure defining column NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(1) Flag indicating purchasing item NULL VARCHAR2(1) Flag indicating shippable item NULL VARCHAR2(1) Flag indicating customer orderable item NULL VARCHAR2(1) Flag indicating internally orderable item NULL VARCHAR2(1) Flag indicating service item NULL VARCHAR2(1) Flag indicating inventory item NULL VARCHAR2(1) Flag indicating engineering item

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 114 Oracle SefService Purchasing 5 Technical Reference Manual

INVENTORY_ASSET_FLAG PURCHASING_ENABLED_FLAG CUSTOMER_ORDER_ENABLED_FLAG INTERNAL_ORDER_ENABLED_FLAG SO_TRANSACTIONS_FLAG MTL_TRANSACTIONS_ENABLED_FLAG STOCK_ENABLED_FLAG BOM_ENABLED_FLAG BUILD_IN_WIP_FLAG REVISION_QTY_CONTROL_CODE ITEM_CATALOG_GROUP_ID CATALOG_STATUS_FLAG RETURNABLE_FLAG DEFAULT_SHIPPING_ORG COLLATERAL_FLAG TAXABLE_FLAG QTY_RCV_EXCEPTION_CODE ALLOW_ITEM_DESC_UPDATE_FLAG INSPECTION_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG MARKET_PRICE HAZARD_CLASS_ID RFQ_REQUIRED_FLAG QTY_RCV_TOLERANCE LIST_PRICE_PER_UNIT UN_NUMBER_ID PRICE_TOLERANCE_PERCENT ASSET_CATEGORY_ID ROUNDING_FACTOR UNIT_OF_ISSUE ENFORCE_SHIP_TO_LOCATION_CODE ALLOW_SUBSTITUTE_RECEIPTS_FLAG ALLOW_UNORDERED_RECEIPTS_FLAG

NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(1)

Flag indicating item is an inventory asset Flag indicating item is purchasable Flag indicating item is customer orderable Flag indicating item is internally orderable Sales order transactions flag Flag indicating item is transactable Flag indicating item is stockable Flag indicating item may appear on a BOM Flag indicating item may be built in WIP Revision quantity control code Item catalog group identifier Flag indicating item catalog complete Flag indicating whether item is returnable Default shipping organization Flag indicating item is collateral item Flag indicating whether item is taxable Over tolerance receipts processing method code Allow item description updates on PO lines Flag indicating whether inspection is required upon receipt Flag indicating supplier receipt is required before payment Purchasing market price Purchasing hazard identifier Flag indicating whether an RFQ (request for quotation) is required Maximum acceptable overreceipt percentage Unit list price purchasing Purchasing UN (United Nations) number Purchase price tolerance percentage Fixed asset category identifier (foreign key FA asset category flexfield) Rounding factor used to determine order quantity Unit of issue Require receipt location to match shipto location Flag indicating substitute receipts allowed Flag indicating unordered receipts allowed

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 115

ALLOW_EXPRESS_DELIVERY_FLAG DAYS_EARLY_RECEIPT_ALLOWED DAYS_LATE_RECEIPT_ALLOWED RECEIPT_DAYS_EXCEPTION_CODE RECEIVING_ROUTING_ID INVOICE_CLOSE_TOLERANCE RECEIVE_CLOSE_TOLERANCE AUTO_LOT_ALPHA_PREFIX START_AUTO_LOT_NUMBER LOT_CONTROL_CODE SHELF_LIFE_CODE SHELF_LIFE_DAYS SERIAL_NUMBER_CONTROL_CODE START_AUTO_SERIAL_NUMBER AUTO_SERIAL_ALPHA_PREFIX SOURCE_TYPE SOURCE_ORGANIZATION_ID SOURCE_SUBINVENTORY EXPENSE_ACCOUNT ENCUMBRANCE_ACCOUNT RESTRICT_SUBINVENTORIES_CODE UNIT_WEIGHT WEIGHT_UOM_CODE VOLUME_UOM_CODE UNIT_VOLUME RESTRICT_LOCATORS_CODE LOCATION_CONTROL_CODE SHRINKAGE_RATE ACCEPTABLE_EARLY_DAYS PLANNING_TIME_FENCE_CODE DEMAND_TIME_FENCE_CODE LEAD_TIME_LOT_SIZE STD_LOT_SIZE CUM_MANUFACTURING_LEAD_TIME OVERRUN_PERCENTAGE MRP_CALCULATE_ATP_FLAG ACCEPTABLE_RATE_INCREASE ACCEPTABLE_RATE_DECREASE CUMULATIVE_TOTAL_LEAD_TIME PLANNING_TIME_FENCE_DAYS

NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER VARCHAR2(30) VARCHAR2(30) NUMBER NUMBER NUMBER NUMBER VARCHAR2(30)

NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL VARCHAR2(10) NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER

NULL VARCHAR2(3) NULL VARCHAR2(3) NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER

NULL NUMBER NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER

Flag indicating express delivery allowed Days before planned receipt that item may be received Days after the planned receipt that item may be received Exception processing for early/late receipts Default receipt routing Invoice close tolerance Receipt close tolerance Itemlevel prefix for lot numbers Next auto assigned lot number Lot control code Shelf life code Length of shelf life days Serial number control code Next auto assigned serial number Itemlevel alpha prefix for serial numbers Inventory or supplier source type Organization to source items from Subinventory to source items from Expense account Encumbrance account Subinventory restrictions type Conversion between weight unit of measure and base unit of measure Weight unit of measure code Volume unit of measure code Conversion between volume unit of measure and base unit of measure Locators restrictions type Stock locator control code Planned shrinkage rate Days an order may be early before rescheduling is recommended Planning time fence code Demand time fence code Lead time lot size Standard lot size Cumulative manufacturing lead time MRP repetitive acceptable overrun rate Calculate ATP flag (y/n) for MRP planning routine MRP repetitive acceptable rate increase MRP repetitive acceptable rate decrease Cumulative total lead time Planning time fence days

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 116 Oracle SefService Purchasing 5 Technical Reference Manual

DEMAND_TIME_FENCE_DAYS END_ASSEMBLY_PEGGING_FLAG REPETITIVE_PLANNING_FLAG PLANNING_EXCEPTION_SET BOM_ITEM_TYPE PICK_COMPONENTS_FLAG REPLENISH_TO_ORDER_FLAG BASE_ITEM_ID ATP_COMPONENTS_FLAG ATP_FLAG FIXED_LEAD_TIME VARIABLE_LEAD_TIME WIP_SUPPLY_LOCATOR_ID WIP_SUPPLY_TYPE WIP_SUPPLY_SUBINVENTORY PRIMARY_UOM_CODE PRIMARY_UNIT_OF_MEASURE ALLOWED_UNITS_LOOKUP_CODE COST_OF_SALES_ACCOUNT SALES_ACCOUNT DEFAULT_INCLUDE_IN_ROLLUP_FLAG INVENTORY_ITEM_STATUS_CODE INVENTORY_PLANNING_CODE PLANNER_CODE PLANNING_MAKE_BUY_CODE FIXED_LOT_MULTIPLIER ROUNDING_CONTROL_TYPE CARRYING_COST POSTPROCESSING_LEAD_TIME PREPROCESSING_LEAD_TIME FULL_LEAD_TIME ORDER_COST MRP_SAFETY_STOCK_PERCENT MRP_SAFETY_STOCK_CODE MIN_MINMAX_QUANTITY MAX_MINMAX_QUANTITY MINIMUM_ORDER_QUANTITY FIXED_ORDER_QUANTITY FIXED_DAYS_SUPPLY MAXIMUM_ORDER_QUANTITY ATP_RULE_ID PICKING_RULE_ID RESERVABLE_TYPE

NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(10) NOT NULL NUMBER NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NULL NUMBER NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(10) NULL VARCHAR2(3) NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(10) NUMBER VARCHAR2(10) NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER

NULL NUMBER NULL NUMBER

Demand time fence days End assembly pegging flag for MRP Flag indicating item to be planned as repetitive schedule Exception control set Type of item Flag indicating whether all shippable components should be picked Assemble to Order flag Base item identifier Flag indicating whether item may have components requiring ATP check Flag indicating ATP must be checked when item is ordered Fixed portion of the assemblys lead time Variable portion of an assemblys lead time Supply locator for WIP transactions Source of WIP material supply Supply subinventory for WIP transactions Primary unit of measure code Primary stocking unit of measure for the item Allowed unit of measure conversion type Cost of sales account Sales account Default value for include in cost rollup Material status code Inventory planning code Planner code Indicates whether item is planned as manufactured or purchased Fixed lot size multiplier Rounding control code Annual carrying cost Postprocessing lead time Preprocessing lead time Full lead time Order cost Safety stock percentage Safety stock code Minimum minmax order quantity Maximum minmax order quantity Minimum order quantity Fixed order quantity Fixed days supply Maximum order quantity Available to promise rule to be used for this item Picking rule code Hard reservations allowed flag

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 117

POSITIVE_MEASUREMENT_ERROR NEGATIVE_MEASUREMENT_ERROR ENGINEERING_ECN_CODE ENGINEERING_ITEM_ID ENGINEERING_DATE SERVICE_STARTING_DELAY VENDOR_WARRANTY_FLAG SERVICEABLE_COMPONENT_FLAG

NULL NUMBER NULL NUMBER NULL VARCHAR2(50) NULL NUMBER NULL DATE NULL NUMBER NOT NULL VARCHAR2(1) NULL VARCHAR2(1)

SERVICEABLE_PRODUCT_FLAG

NOT NULL VARCHAR2(1)

BASE_WARRANTY_SERVICE_ID PAYMENT_TERMS_ID PREVENTIVE_MAINTENANCE_FLAG PRIMARY_SPECIALIST_ID SECONDARY_SPECIALIST_ID SERVICEABLE_ITEM_CLASS_ID TIME_BILLABLE_FLAG MATERIAL_BILLABLE_FLAG EXPENSE_BILLABLE_FLAG PRORATE_SERVICE_FLAG COVERAGE_SCHEDULE_ID SERVICE_DURATION_PERIOD_CODE SERVICE_DURATION WARRANTY_VENDOR_ID MAX_WARRANTY_AMOUNT RESPONSE_TIME_PERIOD_CODE RESPONSE_TIME_VALUE NEW_REVISION_CODE INVOICEABLE_ITEM_FLAG TAX_CODE INVOICE_ENABLED_FLAG MUST_USE_APPROVED_VENDOR_FLAG REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE

NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(30) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER NULL VARCHAR2(10) NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL NUMBER NULL VARCHAR2(30) NOT NULL VARCHAR2(1) NULL VARCHAR2(50) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE

Percent error above measured quantity Percent error below measured quantity Engineering ECN code Engineering implemented item identifier Engineering implementation date Days after shipment that service begins Flag indicating service for the item is provided by a supplier Indicates whether the item is serviceable by other servicetype items and whether it can be referenced as the component of another item Indicates whether the item is serviceable by other servicetype items and can have service requests reported against it Base warranty identifier Payment terms identifier Flag indicating whether item can be a preventive maintenance service item Primary service specialist Secondary service specialist Serviceable item class identifier Flag indicating service labor hours are billable Flag indicating service material is billable Flag indicating service expenses are billable Flag indicating cost of service may be prorated Coverage schedule identifier Period code for default service duration Default service duration Service supplier identifier Monetary value of service costs covered by the item Period code for service response time Default response time Indicates how to notify customers of new revisions of the item Flag indicating item may appear on invoices Tax code Indicates whether the item can be invoiced Flag indicating purchases restricted to approved supplier Standard Who column Standard Who column Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 118 Oracle SefService Purchasing 5 Technical Reference Manual

OUTSIDE_OPERATION_FLAG OUTSIDE_OPERATION_UOM_TYPE SAFETY_STOCK_BUCKET_DAYS AUTO_REDUCE_MPS COSTING_ENABLED_FLAG AUTO_CREATED_CONFIG_FLAG CYCLE_COUNT_ENABLED_FLAG ITEM_TYPE MODEL_CONFIG_CLAUSE_NAME SHIP_MODEL_COMPLETE_FLAG MRP_PLANNING_CODE RETURN_INSPECTION_REQUIREMENT ATO_FORECAST_CONTROL RELEASE_TIME_FENCE_CODE RELEASE_TIME_FENCE_DAYS CONTAINER_ITEM_FLAG VEHICLE_ITEM_FLAG MAXIMUM_LOAD_WEIGHT

NOT NULL VARCHAR2(1) NULL VARCHAR2(25) NULL NUMBER NULL NUMBER(22) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NULL VARCHAR2(30) NULL VARCHAR2(10) NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER

MINIMUM_FILL_PERCENT CONTAINER_TYPE_CODE INTERNAL_VOLUME

NULL NUMBER NULL VARCHAR2(30) NULL NUMBER

WH_UPDATE_DATE

NULL DATE

PRODUCT_FAMILY_ITEM_ID

NULL NUMBER

GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Flag indicating item may appear on outside operation purchase order Outside operation unit of measure Safety stock bucket days Automatically deletes MPS entries within a time period Flag indicating cost information is maintained Flag indicating configuration item automatically created Flag indicating item may be cycle counted Userdefined item type (not currently used) Flag indicating model must be complete to ship MRP Planning option RMA inspection requirement Type of forecast control for ATO Flag to indicate if this item is auto releasable by MRP Number of days within which this item should be auto released Flag indicating if the item is a container. Used for shipping sales orders Indicates if the item is a vehicle or not. Used for shipping sales orders Maximum load weight of a container or a vehicle that can be used for shipping sales orders Minimum fill condition under which the container or vehicle should be used Container type code for container items. Container types are user defineable Internal volume for container items. Used by Shipping to calculate container capacity restrictions Warehouse update date for tracking changes relevant to data collected in Data Warehouse If the item is product family member, stores the product family identifier. Used in Production Planning Global descriptive flexfield structure defining column Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 119

GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 PURCHASING_TAX_CODE OVERCOMPLETION_TOLERANCE_TYPE OVERCOMPLETION_TOLERANCE_VALUE EFFECTIVITY_CONTROL

CHECK_SHORTAGES_FLAG OVER_SHIPMENT_TOLERANCE UNDER_SHIPMENT_TOLERANCE OVER_RETURN_TOLERANCE UNDER_RETURN_TOLERANCE EQUIPMENT_TYPE RECOVERED_PART_DISP_CODE

DEFECT_TRACKING_ON_FLAG USAGE_ITEM_FLAG

EVENT_FLAG ELECTRONIC_FLAG DOWNLOADABLE_FLAG VOL_DISCOUNT_EXEMPT_FLAG COUPON_EXEMPT_FLAG

COMMS_NL_TRACKABLE_FLAG ASSET_CREATION_CODE COMMS_ACTIVATION_REQD_FLAG ORDERABLE_ON_WEB_FLAG

BACK_ORDERABLE_FLAG

NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(50) Purchasing tax code NULL NUMBER Overcompletion tolerance type NULL NUMBER Overcompletion tolerance value NULL NUMBER Effectivity control code. Indicates if the item is under Date Effectivity or Model/Unit Number Effectivity control. NULL VARCHAR2(1) Flag indicating material shortages should be checked for this item NULL NUMBER Over shipment tolerance NULL NUMBER Under shipment tolerance NULL NUMBER Over return tolerance NULL NUMBER Under return tolerance NULL NUMBER Flag indicating item is equipment NULL VARCHAR2(30) Indicates return is required for recovered pars, scrap in field, which is used for spare parts NULL VARCHAR2(1) Specifies whether a defect or bug can be filed against the product NULL VARCHAR2(1) Flag indicating an item represents usage. Usage items can be sold as a use of something NULL VARCHAR2(1) Identifies item as an event NULL VARCHAR2(1) Flag indicating an item exists only in electronic format and not physical NULL VARCHAR2(1) Flag indicating an item is downloadable NULL VARCHAR2(1) Indicates an item does not contribute to volume discount for any order NULL VARCHAR2(1) Indicates an item is excluded from coupons even if it is part of the group that any coupon applies NULL VARCHAR2(1) Identifies an item as network logistics trackable NULL VARCHAR2(30) Used to specify when an asset should be created NULL VARCHAR2(1) Indicates an item requires activation on a network NULL VARCHAR2(1) Indicates whether an item is orderable on the web or not. iStore will only sell items with this flag to be true NULL VARCHAR2(1) If ATP failed, can item be back ordered

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 120 Oracle SefService Purchasing 5 Technical Reference Manual

WEB_STATUS INDIVISIBLE_FLAG Indexes Index Name MTL_SYSTEM_ITEMS_B_N1 MTL_SYSTEM_ITEMS_B_N2 MTL_SYSTEM_ITEMS_B_N3 MTL_SYSTEM_ITEMS_B_N4 MTL_SYSTEM_ITEMS_B_N5 MTL_SYSTEM_ITEMS_B_N6 MTL_SYSTEM_ITEMS_B_N7 MTL_SYSTEM_ITEMS_B_U1

NULL VARCHAR2(30) NULL VARCHAR2(1)

Specifies item web status, which can be web enabled, web published, or neither Item unit is indivisible

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 2 1 2 1 1 2 2 2 4 2 4 1 2

Column Name ORGANIZATION_ID SEGMENT1 ORGANIZATION_ID DESCRIPTION INVENTORY_ITEM_STATUS_CODE ORGANIZATION_ID AUTO_CREATED_CONFIG_FLAG WH_UPDATE_DATE ITEM_CATALOG_GROUP_ID CATALOG_STATUS_FLAG PRODUCT_FAMILY_ITEM_ID ORGANIZATION_ID INVENTORY_ITEM_ID ORGANIZATION_ID

Sequences Sequence MTL_SYSTEM_ITEMS_B_S

Derived Column INVENTORY_ITEM_ID

Database Triggers Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_B_T2_IBE AFTER ROW DELETE

This trigger calls iStore procedures to update relationships, sectionitems and search tables that depend on MTL_SYSTEM_ITEMS_B table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_B_T3_IBE AFTER ROW UPDATE

This trigger calls iStore procedures to update relationships and sectionitems tables that depend on MTL_SYSTEM_ITEMS_B table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T6_BOM AFTER ROW INSERT

This trigger creates categories corresponding to product family items being created. It also assigns product family items to their corresponding categories. The trigger uses data that has been stored in the BOM_PFI_PVT package PL/SQL tables by the row level trigger.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 121

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

MTL_SYSTEM_ITEMS_T1_BOM BEFORE ROW INSERT

This trigger stores product family item identifier used later by the statement level trigger for creation of the corresponding category when a new product family item is defined. It makes calls to the BOM_PFI_PVT package procedures. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_B_T2_BOM BEFORE ROW DELETE

This trigger stores corresponding category identifier that is used later by the statement level trigger for deletion of the category when the product family item is deleted. It makes calls to BOM_PFI_PVT package procedures. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T3_BOM BEFORE ROW UPDATE

This trigger performs the following functions depending on conditions: 1. Creates product family category when item attribute BOM_ITEM_TYPE is updated to 5. 2. When the item attribute BOM_ITEM_TYPE is changed from 5 to any other value, the trigger stores corresponding category identifier for later deletion of the category by the statement level trigger. 3. Removes an item assignment to the corresponding product family category when the PRODUCT_FAMILY_ITEM_ID column of that item is changed. 4. When the PRODUCT_FAMILY_ITEM_ID column is changed to nonnull, stores category ID in the BOM_PFI_PVT package PL/SQL table for an item assignment to that category later by the statementlevel trigger. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T4_BOM AFTER STATEMENT UPDATE

This trigger performs the following functions depending on updates of the BOM_ITEM_TYPE and PRODUCT_FAMILY_ITEM_ID columns: 1. Creates categories corresponding to product family items. 2. Assigns new product family items to their corresponding categories. 3. Deletes product family categories. The trigger uses data that has been stored in the BOM_PFI_PVT package PL/SQL tables by the row level trigger. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T5_BOM AFTER ROW DELETE

This trigger deletes categories corresponding to product family items being deleted. The trigger uses data that has been stored in the BOM_PFI_PVT package PL/SQL tables by the row level trigger. Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T1 BEFORE ROW UPDATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 122 Oracle SefService Purchasing 5 Technical Reference Manual

The trigger is executed when the COSTING_ENABLED_FLAG field in the MTL_SYSTEM_ITEMS table is modified from Yes to No or vice versa. Before updating COSTING_ENABLED_FLAG field, the trigger performs the following tasks for each record that is modified:

Insert a record into CST_ITEM_COSTS table if COSTING_ENABLED_FLAG field is changed from No to Yes. Delete a record from CST_ITEM_COSTS table if COSTING_ENABLED_FLAG field is changed from Yes to No.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 123

PER_ALL_PEOPLE_F
PER_ALL_PEOPLE_F is the DateTracked table that holds personal information for employees, applicants, exemployees, exapplicants, contacts and other people. The columns START_DATE, EFFECTIVE_START_DATE and EFFECTIVE_END_DATE are all maintained by DateTrack. The START_DATE is the date when the first record for this person was created. The earliest EFFECTIVE_START_DATE for a person is equal to the START_DATE. NOTE: Users must not enter information into the Developer Descriptive Flexfield columns. These are reserved for the use of localization and verticalization teams, for entry and maintenance of legislative or industryspecific data.
Foreign Keys Primary Key Table HR_ALL_ORGANIZATION_UNITS PER_PERSON_TYPES QuickCodes Columns Column BACKGROUND_CHECK_STATUS

Primary Key Column ORGANIZATION_ID PERSON_TYPE_ID

Foreign Key Column BUSINESS_GROUP_ID PERSON_TYPE_ID

QuickCodes Type YES_NO N Y BLOOD_TYPE HOME_OFFICE H O YES_NO N Y MAR_STATUS M S NATIONALITY YES_NO N Y YES_NO N Y YES_NO N Y YES_NO N Y SEX F

QuickCodes Table FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS FND_COMMON_LOOKUPS Home Office FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS Married Single FND_COMMON_LOOKUPS FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS No Yes FND_COMMON_LOOKUPS Female

BLOOD_TYPE EXPENSE_CHECK_SEND_TO_ADDRESS

FAST_PATH_EMPLOYEE

MARITAL_STATUS

NATIONALITY ON_MILITARY_SERVICE

REHIRE_RECOMMENDATION

RESUME_EXISTS

SECOND_PASSPORT_EXISTS

SEX

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 124 Oracle SefService Purchasing 5 Technical Reference Manual

M STUDENT_STATUS TITLE STUDENT_STATUS TITLE DR. MISS MR. MRS. MS. WORK_SCHEDULE

Male FND_COMMON_LOOKUPS FND_COMMON_LOOKUPS Doctor Miss Mr. Mrs. Ms. FND_COMMON_LOOKUPS

WORK_SCHEDULE Column Descriptions Name PERSON_ID (PK)

Null? Type NOT NULL NUMBER(10) NOT NOT NOT NOT NOT NOT

Description

EFFECTIVE_START_DATE (PK) EFFECTIVE_END_DATE (PK) BUSINESS_GROUP_ID PERSON_TYPE_ID LAST_NAME START_DATE APPLICANT_NUMBER BACKGROUND_CHECK_STATUS BACKGROUND_DATE_CHECK BLOOD_TYPE COMMENT_ID CORRESPONDENCE_LANGUAGE CURRENT_APPLICANT_FLAG CURRENT_EMP_OR_APL_FLAG CURRENT_EMPLOYEE_FLAG DATE_EMPLOYEE_DATA_VERIFIED DATE_OF_BIRTH EMAIL_ADDRESS EMPLOYEE_NUMBER EXPENSE_CHECK_SEND_TO_ADDRESS FAST_PATH_EMPLOYEE FIRST_NAME FTE_CAPACITY FULL_NAME

HOLD_APPLICANT_DATE_UNTIL HONORS INTERNAL_LOCATION KNOWN_AS LAST_MEDICAL_TEST_BY LAST_MEDICAL_TEST_DATE MAILSTOP

System generated person primary key from PER_PEOPLE_S. NULL DATE Effective start date. NULL DATE Effective end date. NULL NUMBER(15) Foreign key to HR_ORGANIZATION_UNITS. NULL NUMBER(15) Foreign key to PER_PERSON_TYPES. NULL VARCHAR2(40) Last name of the person, (surname, family name). NULL DATE Start date for the person (not the DateTrack attribute). NULL VARCHAR2(30) Number assigned to person if ever classed as an applicant. NULL VARCHAR2(30) Background check status. NULL DATE Background date check. NULL VARCHAR2(30) Blood group. NULL NUMBER(15) Foreign key reference to remark. NULL VARCHAR2(30) Correspondence Language validated against FND_LANGUAGES. NULL VARCHAR2(30) Yes or null. NULL VARCHAR2(30) Yes or null. NULL VARCHAR2(30) Yes or null. NULL DATE Date when the employee last verified the data. NULL DATE Date of birth. NULL VARCHAR2(240) Holds actual email identifier. NULL VARCHAR2(30) Number assigned to a person if they have been an employee. NULL VARCHAR2(30) Mailing address. NULL VARCHAR2(30) Currently unsupported. NULL VARCHAR2(20) First name of person. NULL NUMBER(5,2) Fulltime employment capacity. NULL VARCHAR2(240) Concatenation of last name, title, first name, middle names and the name the person is known by. NULL DATE Hold applicant until. NULL VARCHAR2(30) Honors. NULL VARCHAR2(30) Internal location. NULL VARCHAR2(80) Preferred name, if different from first name. NULL VARCHAR2(60) Last medical test by. NULL DATE Last medical test date. NULL VARCHAR2(30) Internal mail location.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 125

MARITAL_STATUS MIDDLE_NAMES NATIONALITY NATIONAL_IDENTIFIER OFFICE_NUMBER ON_MILITARY_SERVICE ORDER_NAME PRE_NAME_ADJUNCT PREVIOUS_LAST_NAME PROJECTED_START_DATE REHIRE_AUTHORIZOR REHIRE_REASON REHIRE_RECOMMENDATION RESUME_EXISTS RESUME_LAST_UPDATED REGISTERED_DISABLED_FLAG SECOND_PASSPORT_EXISTS SEX STUDENT_STATUS SUFFIX TITLE VENDOR_ID WORK_SCHEDULE WORK_TELEPHONE COORD_BEN_MED_PLN_NO COORD_BEN_NO_CVG_FLAG DPDNT_ADOPTION_DATE DPDNT_VLNTRY_SVCE_FLAG RECEIPT_OF_DEATH_CERT_DATE USES_TOBACCO_FLAG BENEFIT_GROUP_ID REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11

NULL NULL NULL NULL

VARCHAR2(30) VARCHAR2(60) VARCHAR2(30) VARCHAR2(30)

NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(240) NULL VARCHAR2(30) NULL VARCHAR2(40) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL DATE VARCHAR2(30) VARCHAR2(60) VARCHAR2(30) VARCHAR2(30) DATE VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) NUMBER(15) VARCHAR2(30) VARCHAR2(60) VARCHAR2(30)

NULL VARCHAR2(30) NULL DATE NULL VARCHAR2(30) NULL DATE NULL VARCHAR2(30) NULL NUMBER(15) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(15) NUMBER(15) NUMBER(15) DATE VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Marital status. Middle names. Nationality. Number by which a person is identified in a given legislation. Office number. On military service. Concatenated name used for ordering on select. Name prefix. Previous last name of person (if applicable). Currently unsupported. Currently unsupported. Reason for rehiring. Rehire recommendation. Resume exists. Date resume last updated. Flag indicating whether person is classified as disabled. Second passport available flag. Legal gender. Student status. Suffix after the surname e.g. Sr., Jr., III Title e.g. Mr, Mrs, Dr. Not used. Work schedule. Unsupported. Coordination of benefits medical group plan number. Coordination of benefits no other coverage flag Dependent adoption date Dependent voluntary service flag Receipt of death certificate date Uses tabacco flag Foreign key to benefits group table. Standard Who Column. Standard Who column. Standard Who Column. Standard Who column. Descriptive flexfield structure defining column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column. Descriptive flexfield column.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 126 Oracle SefService Purchasing 5 Technical Reference Manual

ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE16 ATTRIBUTE17 ATTRIBUTE18 ATTRIBUTE19 ATTRIBUTE20 ATTRIBUTE21 ATTRIBUTE22 ATTRIBUTE23 ATTRIBUTE24 ATTRIBUTE25 ATTRIBUTE26 ATTRIBUTE27 ATTRIBUTE28 ATTRIBUTE29 ATTRIBUTE30 LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE PER_INFORMATION_CATEGORY PER_INFORMATION1 PER_INFORMATION2 PER_INFORMATION3 PER_INFORMATION4 PER_INFORMATION5 PER_INFORMATION6 PER_INFORMATION7 PER_INFORMATION8 PER_INFORMATION9 PER_INFORMATION10 PER_INFORMATION11 PER_INFORMATION12 PER_INFORMATION13 PER_INFORMATION14 PER_INFORMATION15 PER_INFORMATION16 PER_INFORMATION17

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) DATE NUMBER(15) NUMBER(15) NUMBER(15) DATE VARCHAR2(30)

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Descriptive flexfield Standard Who column. Standard Who column. Standard Who column. Standard Who column. Standard Who column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column. Developer descriptive column.

column. column. column. column. column. column. column. column. column. column. column. column. column. column. column. column. column. column. column.

flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 127

PER_INFORMATION18 PER_INFORMATION19 PER_INFORMATION20 PER_INFORMATION21 PER_INFORMATION22 PER_INFORMATION23 PER_INFORMATION24 PER_INFORMATION25 PER_INFORMATION26 PER_INFORMATION27 PER_INFORMATION28 PER_INFORMATION29 PER_INFORMATION30 OBJECT_VERSION_NUMBER DATE_OF_DEATH ORIGINAL_DATE_OF_HIRE TOWN_OF_BIRTH REGION_OF_BIRTH COUNTRY_OF_BIRTH GLOBAL_PERSON_ID Indexes Index Name PER_PEOPLE_F_FK1 PER_PEOPLE_F_FK2 PER_PEOPLE_F_N50 PER_PEOPLE_F_N51 PER_PEOPLE_F_N52 PER_PEOPLE_F_N53 PER_PEOPLE_F_N54 PER_PEOPLE_F_PK

NULL VARCHAR2(150) Developer descriptive flexfield column. NULL VARCHAR2(150) Developer descriptive flexfield column. NULL VARCHAR2(150) Developer descriptive flexfield column. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL VARCHAR2(150) Developer descriptive flexfield. NULL NUMBER(9) Systemgenerated version of row. Increments by one with each update. NULL DATE Date of death. NULL DATE Original date of hire. NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(60) NULL VARCHAR2(30)

Index Type NOT NOT NOT NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1 1 1 1 2 3

Column Name BUSINESS_GROUP_ID PERSON_TYPE_ID LAST_NAME EMPLOYEE_NUMBER APPLICANT_NUMBER NATIONAL_IDENTIFIER FULL_NAME PERSON_ID EFFECTIVE_START_DATE EFFECTIVE_END_DATE

Sequences Sequence PER_PEOPLE_S

Derived Column PERSON_ID

Database Triggers

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 128 Oracle SefService Purchasing 5 Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

SSP_PER_T1 AFTER ROW UPDATE

((new.date_of_death is not null and old.date_of_death != Recalculate SSP/SMP if the person dies or their date of birth is changed. new.date_of_death) or (new.date_of_birth is not null and old.date_of_birth != new.date_of_birth)) Trigger Trigger Trigger Trigger Name Time Level Event : : : : PER_ALL_PEOPLE_F_OVN BEFORE ROW INSERT, UPDATE

This trigger maintains the object_version_number column when a record is modified via an interface which does not support the object_version_number explicitly. This ensures the object_version_number is maintained consistently.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 129

POR_APPROVAL_STATUS_HEADER_V

View Definition CREATE VIEW POR_APPROVAL_STATUS_HEADER_V as SELECT dummy requisition_header_id, dummy req_num, dummy po_number, dummy requestor, dummy status, dummy creation_date, dummy requisition_total FROM sys.dual

Column Descriptions Name REQUISITION_HEADER_ID REQ_NUM PO_NUMBER REQUESTOR STATUS CREATION_DATE REQUISITION_TOTAL

Null? Type NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240)

Description Refer Refer Refer Refer Refer Refer Refer to to to to to to to base base base base base base base table. table. table. table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 130 Oracle SefService Purchasing 5 Technical Reference Manual

POR_APPROVAL_STATUS_LINES_V
The POR_APPROVAL_STATUS_LINES_V provides approval status information on View Requisition Detail pages.
View Definition CREATE VIEW POR_APPROVAL_STATUS_LINES_V as SELECT pah.object_id, por_view_reqs_pkg.get_approver_name(PAH.EMPLOYEE_ID), pah.sequence_num, nvl(pah.action_code, PENDING), plc_status.displayed_field, to_char(pah.action_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)) FROM po_action_history pah, po_lookup_codes plc_status WHERE plc_status.lookup_code = nvl(pah.action_code, PENDING) and plc_status.lookup_type in ( APPROVER ACTIONS, CONTROL ACTIONS) and pah.object_type_code = REQUISITION and pah.object_sub_type_code = PURCHASE UNION ALL SELECT aplh.document_id, por_view_reqs_pkg.get_approver_name(apll.approver_id), apll.sequence_num, null, null, to_char(apll.response_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)) FROM po_approval_list_headers aplh, po_approval_list_lines apll WHERE apll.approval_list_header_id = aplh.approval_list_header_id and apll.sequence_num > aplh.current_sequence_num and aplh.latest_revision = Y and aplh.document_type = REQUISITION and aplh.document_subtype = PURCHASE

Column Descriptions Name DOCUMENT_ID APPROVER SEQUENCE_NUM APPROVAL_STATUS APPROVAL_STATUS_LABEL APPROVAL_DATE

Null? Type NULL NULL NULL NULL NULL NULL NUMBER VARCHAR2(240) NUMBER VARCHAR2(30) VARCHAR2(25) DATE

Description Document Approver Sequence Approver Approver Approval identifier name number status status label date

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 131

POR_APPROVER_LOV_V
The POR_APPROVER_LOV_V view returns a list of approver that allows the user to choose who will give approval on the purchasing item.
View Definition CREATE VIEW POR_APPROVER_LOV_V as SELECT HRE.FULL_NAME , HRE.EMAIL_ADDRESS , HRE.EMPLOYEE_NUM , HRE.EMPLOYEE_ID , HRU.NAME FROM HR_EMPLOYEES_CURRENT_V HRE, HR_EMPLOYEES_CURRENT_V HRE2, HR_ORGANIZATION_UNITS HRU, FND_USER FWU WHERE FWU.USER_ID = FND_GLOBAL.USER_ID AND HRE2.EMPLOYEE_ID = FWU.EMPLOYEE_ID AND HRE2.ORGANIZATION_ID = HRE.ORGANIZATION_ID AND HRE2.ORGANIZATION_ID = HRU.ORGANIZATION_ID AND TRUNC(SYSDATE) BETWEEN HRU.DATE_FROM AND NVL(HRU.DATE_TO, SYSDATE+1)

Column Descriptions Name FULL_NAME EMAIL_ADDRESS EMPLOYEE_NUM EMPLOYEE_ID ORGANIZATION_NAME

Null? Type NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(30) NUMBER(9) VARCHAR2(60)

Description Approver Full Name Approver Email Address Approver Employee Number Approver Employee ID Organization Name

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 132 Oracle SefService Purchasing 5 Technical Reference Manual

POR_ATTACHMENTS_SUMMARY_V
The POR_ATTACHMENTS_SUMMARY_V provides Attachments Summary information on Requisition Detail and Requisition Line Detail pages.
View Definition CREATE VIEW POR_ATTACHMENTS_SUMMARY_V as SELECT seq_num, category_description, datatype_id, datatype_name, document_description, function_name, entity_name, pk1_value, pk2_value, attached_document_id, media_id, file_name, FROM fnd_attached_docs_form_vl

Column Descriptions Name SEQ_NUM DIRECT_TO TYPE_ID TYPE DESCRIPTION FUNCTION_NAME ENTITY_NAME

Null? Type NULL NUMBER NULL VARCHAR2(255) NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(255) NULL VARCHAR2(30) NULL VARCHAR2(40)

Description Userentered sequence number for displaying attachments in order Username for the category (languagedependent) Datatype identifier Username for the datatype (language specific) Document description Developer name for the function Foreign key to FND_DOCUMENT_ENTITIES indicating which application entity the document is related to Part of the related entitys foreign key Part of the related entitys foreign key Attached document identifier Identifier of the subtable in which the document is stored File name of the document Database Connection Descriptor Name

PK1_VALUE PK2_VALUE ATTACHED_DOC_ID MEDIA_ID FILE_NAME DCD_NAME

NULL VARCHAR2(100) NULL VARCHAR2(100) NULL NUMBER NULL NUMBER NULL VARCHAR2(255) NULL VARCHAR2(240)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 133

POR_CATEGORY_LOV_V
The POR_CATEGORY_LOV_V view returns a list of categories that allows the user to choose to be the category that the purchasing item belongs to. This will be used in adding a noncatalog item.
View Definition CREATE VIEW POR_CATEGORY_LOV_V as SELECT MCK.CATEGORY_ID , MCK.CONCATENATED_SEGMENTS , MCK.DESCRIPTION , MCK.STRUCTURE_ID , MCS.CATEGORY_SET_ID FROM MTL_CATEGORIES_KFV MCK, MTL_CATEGORY_SETS MCS, MTL_DEFAULT_CATEGORY_SETS MDCS WHERE MCK.ENABLED_FLAG = Y AND SYSDATE BETWEEN NVL(MCK.START_DATE_ACTIVE, SYSDATE) AND NVL(MCK.END_DATE_ACTIVE, SYSDATE) AND MCS.CATEGORY_SET_id=mdcs.category_set_id AND MDCS.FUNCTIONAL_AREA_ID=2 AND MCK.STRUCTURE_ID=MCS.STRUCTURE_ID AND (MCS.VALIDATE_FLAG=Y AND NVL(mck.DISABLE_DATE, SYSDATE + 1) > SYSDATE AND mck.CATEGORY_ID IN (SELECT MCSV.CATEGORY_ID FROM MTL_CATEGORY_SET_VALID_CATS MCSV WHERE MCSV.CATEGORY_SET_ID=MCS.CATEGORY_SET_ID) OR MCS.VALIDATE_FLAG <> Y)

Column Descriptions Name CATEGORY_ID CONCATENATED_SEGMENTS DESCRIPTION STRUCTURE_ID CATEGORY_SET_ID

Null? Type NULL NULL NULL NULL NULL NUMBER VARCHAR2(81) VARCHAR2(50) NUMBER NUMBER

Description Category Identifier Concatenated Segments Description Structure Identifier Category Set Identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 134 Oracle SefService Purchasing 5 Technical Reference Manual

POR_DISTRIBUTIONS_V
The POR_DISTRIBUTIONS_V returns account information that is assocated with each requisition line. It is used in displaying line details and billing information.
View Definition CREATE VIEW POR_DISTRIBUTIONS_V as SELECT dist.distribution_id, dist.requisition_line_id, dist.code_combination_id, dist.req_line_quantity, dist.encumbered_flag, dist.gl_encumbered_date, dist.gl_encumbered_period_name, dist.gl_cancelled_date, dist.failed_funds_lookup_code, dist.encumbered_amount, dist.budget_account_id, dist.accrual_account_id, dist.ORG_ID , dist.variance_account_id, dist.prevent_encumbrance_flag, dist.USSGL_TRANSACTION_CODE , dist.project_id, dist.task_id, dist.expenditure_type, dist.project_accounting_context, dist.expenditure_organization_id, dist.GL_CLOSED_DATE , dist.source_req_distribution_id, dist.distribution_num, dist.project_related_flag, dist.expenditure_item_date, dist.set_of_books_id, Nvl(dist.allocation_type, QUANTITY) ALLOCATION_TYPE, Nvl(dist.allocation_value, req_line_quantity) ALLOCATION_VALUE, (req_line_quantity/line.quantity*100) PERCENTAGE, req_line_quantity QUANTITY, req_line_quantity*line.unit_price AMOUNT, dist.attribute1, dist.attribute2, dist.attribute3, dist.attribute4, dist.attribute5, dist.attribute6, dist.attribute7, dist.attribute8, dist.attribute9, dist.attribute10, dist.attribute11, dist.attribute12, dist.attribute13, dist.attribute14,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 135

dist.attribute15 FROM po_req_distributions dist ,po_requisition_lines line WHERE dist.requisition_line_id= line.requisition_line_id

Column Descriptions Name DISTRIBUTION_ID REQUISITION_LINE_ID CODE_COMBINATION_ID REQ_LINE_QUANTITY ENCUMBERED_FLAG GL_ENCUMBERED_DATE GL_ENCUMBERED_PERIOD_NAME GL_CANCELLED_DATE FAILED_FUNDS_LOOKUP_CODE ENCUMBERED_AMOUNT BUDGET_ACCOUNT_ID ACCRUAL_ACCOUNT_ID ORG_ID VARIANCE_ACCOUNT_ID PREVENT_ENCUMBRANCE_FLAG USSGL_TRANSACTION_CODE PROJECT_ID TASK_ID EXPENDITURE_TYPE PROJECT_ACCOUNTING_CONTEXT EXPENDITURE_ORGANIZATION_ID GL_CLOSED_DATE SOURCE_REQ_DISTRIBUTION_ID

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER VARCHAR2(1)

Description Distribution Identifier Requisition Line Identifier GL Charge Account Identifier Quantity for Distribution Indicates whether the distribution is encumbered Date the distribution was encumbered Period in which the distribution was encumbered Date the distribution was cancelled Type of approval failure for the distribution Encumbered amount for distribution GL budget account unique identifier GL accrual account unique identifier Operating unit unique identifier GL variance account unique identifier Indicates whether the distribution requires encumbrance or not United States standard general ledger transaction code Project accounting project unique identifier Project accounting task unique identifier Project accounting expenditure type Project accounting descriptive flexfield context column Project accounting expenditure organization unique identifier Date the distribution was finalclosed Distribution unique identifier that indicates whether the distribution is encumbered when it is cancelled Distribution number Indicates whether the distribution is project related

NULL DATE NULL VARCHAR2(15) NULL DATE NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(2) NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NUMBER NULL DATE NULL NUMBER

DISTRIBUTION_NUM PROJECT_RELATED_FLAG

NULL NUMBER NULL VARCHAR2(1)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 136 Oracle SefService Purchasing 5 Technical Reference Manual

EXPENDITURE_ITEM_DATE SET_OF_BOOKS_ID ALLOCATION_TYPE ALLOCATION_VALUE PERCENTAGE QUANTITY AMOUNT ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

NULL DATE NULL NUMBER NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Project accounting expenditure item date Set of books unique identifier Specifies the method of allocation across distributions. Can be PERCENT Allocation split value Allocation Percentage Quantity Amount Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 137

POR_EXPENDITURE_LOV_V
The POR_EXPENDITURE_LOV_V view returns a list of expenditure that allows the user to choose to be the expenditure the purchasing item belongs to.
View Definition CREATE VIEW POR_EXPENDITURE_LOV_V as SELECT expenditure_type , description, sys_link_start_date_active, sys_link_end_date_active from pa_expenditure_types_expend_v et Where system_linkage_function = VI

Column Descriptions Name EXPENDITURE_TYPE DESCRIPTION START_DATE_ACTIVE END_DATE_ACTIVE

Null? Type NULL NULL NOT NULL NULL VARCHAR2(30) VARCHAR2(250) DATE DATE

Description Refer Refer Refer Refer to to to to base base base base table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 138 Oracle SefService Purchasing 5 Technical Reference Manual

POR_FAVORITE_LISTS_V
View which drives off the por_favorite_list_headers and por_favorite_list_lines table and retrieves the latest information from the documents to which each item refers. In other words it captures a dynamic view of item information. For instance if a blanket is expired or if pricing information is changed, this view captures the latest information.
View Definition CREATE VIEW POR_FAVORITE_LISTS_V as SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , PFLL.SOURCE_DOC_HEADER_ID, PH.SEGMENT1 SOURCE_DOC_NUM , PH.TYPE_LOOKUP_CODE SOURCE_DOC_TYPE_CODE , PDT.TYPE_NAME SOURCE_DOC_TYPE , PH.CURRENCY_CODE SOURCE_DOC_CURRENCY , PH.RATE SOURCE_DOC_RATE , PH.RATE_TYPE SOURCE_DOC_RATE_TYPE , DCT.USER_CONVERSION_TYPE SOURCE_DOC_RATE_TYPE_DSP , PH.RATE_DATE SOURCE_DOC_RATE_DATE , GSB.CURRENCY_CODE SOURCE_DOC_FUNCTIONAL_CURRENCY , PFLL.SOURCE_DOC_LINE_ID, PL.LINE_NUM SOURCE_DOC_LINE_NUM, PL.UNIT_PRICE SOURCE_DOC_CURRENCY_PRICE , ROUND(NVL(PL.UNIT_PRICE, 0) * NVL(PH.RATE, 1), 5) SOURCE_DOC_BASE_PRICE , PFLL.ITEM_ID, PL.ITEM_DESCRIPTION, DECODE(ROUND(NVL(PL.UNIT_PRICE, 0) * NVL(PH.RATE, 1), 5), 0, NVL(PL.UNIT_PRICE, 0),ROUND(NVL(PL.UNIT_PRICE, 0) * NVL(PH.RATE, 1), 5)) UNIT_PRICE , PL.LINE_TYPE_ID, PLT.LINE_TYPE , PL.ITEM_REVISION , PL.CATEGORY_ID, PFLL.CATEGORY, PL.UNIT_MEAS_LOOKUP_CODE UOM ,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 139

PH.VENDOR_ID SUGGESTED_SUPPLIER_ID , PV.VENDOR_NAME SUPPLIER_NAME , PH.VENDOR_SITE_ID SUGGESTED_SUPPLIER_SITE_ID , PVS.VENDOR_SITE_CODE SUPPLIER_SITE_CODE , PH.VENDOR_CONTACT_ID SUGGESTED_SUPPLIER_CONTACT_ID , DECODE(PH.VENDOR_CONTACT_ID, NULL, NULL, PVC.LAST_NAME|| , ||PVC.FIRST_NAME) SUGG_SUPPL_CONTACT_NAME , PFLL.SUGGESTED_VENDOR_CONTACT_PHONE, TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , PH.AGENT_ID , HRE.FULL_NAME BUYER_NAME , PFLL.RFQ_REQUIRED_FLAG , PLT.ORDER_TYPE_LOOKUP_CODE , PLC.DISPLAYED_FIELD ORDER_TYPE_LOOKUP_DSP , MSI.CONCATENATED_SE GMENTS ITEM_NUMBER , MSI.ORGANIZATION_ID , PV.ATTRIBUTE14 SUPPLIER_URL , NVL(PL.ATTRIBUTE14, MSI.ATTRIBUTE14) SUPPLIER_ITEM_URL , MSI.ATTRIBUTE14 ITEM_URL, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PFLL.SUPPLIER_ITEM_NUM, PFLL.NEW_SUPPLIER, NULL, TO_NUMBER(NULL), TO_NUMBER(NULL) FROM HR_EMPLOYEES_CURRENT_V HRE , PO_DOCUMENT_TYPES PDT , MTL_SYSTEM_ITEMS_KFV MSI , PO_LINE_TYPES PLT , PO_VENDORS PV , GL_DAILY_CONVERSION_TYPES DCT , PO_VENDOR_SITES PVS , PO_VENDOR_CONTACTS PVC , PO_LOOKUP_CODES PLC, PO_HEADERS PH , PO_LINES PL , GL_SETS_OF_BOOKS GSB , FINANCIALS_SYSTEM_PARAMETERS FSP, POR_FAVORITE_LIST_HEADERS PFLH , POR_FAVORITE_LIST_LINES PFLL , FND_USER FWU Where FWU.USER_ID = FND_GLOBAL.USER_ID AND FWU.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 140 Oracle SefService Purchasing 5 Technical Reference Manual

PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND FSP.SET_OF_BOOKS_ID = GSB.SET_OF_BOOKS_ID AND PFLL.SOURCE_DOC_HEADER_ID = PH.PO_HEADER_ID AND PH.PO_HEADER_ID = PL.PO_HEADER_ID AND PFLL.SOURCE_DOC_LINE_ID = PL.PO_LINE_ID AND PH.TYPE_LOOKUP_CODE IN (BLANKET, QUOTATION) AND ((PH.APPROVED_DATE IS NOT NULL AND PH.APPROVED_FLAG = Y AND NVL(PH.CANCEL_FLAG, N) <> Y AND NVL(PH.FROZEN_FLAG, N) <> Y AND NVL(PH.CLOSED_CODE, OPEN) <> FINALLY CLOSED AND NVL(PL.CLOSED_CODE, OPEN) <> FINALLY CLOSED AND NVL(PL.CANCEL_FLAG, N) <> Y) OR (PH.STATUS_LOOKUP_CODE = A AND PH.QUOTATION_CLASS_CODE = CATALOG)) AND ((SYSDATE BETWEEN NVL(PH.START_DATE, SYSDATE1) AND NVL(PH.END_DATE, SYSDATE+1)) OR TRUNC(SYSDATE) <= NVL(TRUNC(PH.START_DATE), TRUNC(SYSDATE))) AND DECODE(PH.TYPE_LOOKUP_CODE, QUOTATION, QUOTATION, BLANKET, PA, PLANNED, PO) = PDT.DOCUMENT_TYPE_CODE AND DECODE(PH.TYPE_LOOKUP_CODE, QUOTATION, PH.QUOTE_TYPE_LOOKUP_CODE, BLANKET, BLANKET, PLANNED, PLANNED) = PDT.DOCUMENT_SUBTYPE AND PH.VENDOR_ID = PV.VENDOR_ID (+) AND PH.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND PH.VENDOR_CONTACT_ID = PVC.VENDOR_CONTACT_ID (+) AND PH.AGENT_ID = HRE.EMPLOYEE_ID AND PH.RATE_TYPE = DCT.CONVERSION_TYPE (+) AND PLT.LINE_TYPE_ID = PL.LINE_TYPE_ID AND PLT.ORDER_TYPE_LOOKUP_CODE = PLC.LOOKUP_CODE AND NVL(PLT.OUTSIDE_OPERATION_FLAG,N) = N AND PLC.LOOKUP_TYPE = ORDER TYPE AND PFLL.item_id IS NOT NULL AND PFLL.ITEM_ID = MSI.INVENTORY_ITEM_ID AND MSI.PURCHASING_ENABLED_FLAG = Y AND FSP.INVENTORY_ORGANIZATION_ID = MSI.organization_id UNION ALL SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORI TE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , PFLL.SOURCE_DOC_HEADER_ID, PH.segment1 SOURCE_DOC_NUM , PH.type_lookup_code SOURCE_DOC_TYPE_CODE , PDT.TYPE_NAME SOURCE_DOC_TYPE , PH.CURRENCY_CODE SOURCE_DOC_CURRENCY , PH.RATE SOURCE_DOC_RATE , PH.RATE_TYPE SOURCE_DOC_RATE_TYPE , DCT.USER_CONVERSION_TYPE SOURCE_DOC_RATE_TYPE_DSP , PH.RATE_DATE SOURCE_DOC_RATE_DATE , GSB.CURRENCY_CODE SOURCE_DOC_FUNCTIONAL_CURRENCY , PFLL.SOURCE_DOC_LINE_ID, PL.LINE_NUM SOURCE_DOC_LINE_NUM, PL.UNIT_PRICE SOURCE_DOC_CURRENCY_PRICE , ROUND(NVL(PL.UNIT_PRICE, 0) * NVL(PH.RATE, 1), 5) SOURCE_DOC_BASE_PRICE , PFLL.ITEM_ID, PL.ITEM_DESCRIPTION, DECODE(ROUND(NVL(PL.UNIT_PRICE, 0) * NVL(PH.RATE, 1), 5), 0, NVL(PL.UNIT_PRICE,0),ROUND(NVL(PL.UNIT_PRICE, 0) * NVL(PH.RATE, 1), 5)) UNIT_PRICE ,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 141

PL.LINE_TYPE_ID, PLT.LINE_TYPE , PL.ITEM_REVISION , PL.CATEGORY_ID, PFLL.CATEGORY, PL.UNIT_MEAS_LOOKUP_CODE UOM , PH.VENDOR_ID, PV.VENDOR_NAME SUPPLIER_NAME , PH.VENDOR_SITE_ID, PVS.VENDOR_SITE_CODE SUPPLIER_SITE_CODE , PH.VENDOR_CONTACT_ID SUGGESTED_SUPPLIER_CONTACT_ID , DECODE(PH.VENDOR_CONTACT_ID, NULL, NULL, PVC.LAST_NAME|| , ||PVC.FIRST_NAME) SUGG_SUPPL_CONTACT_NAME , PFLL.SUGGESTED_VENDOR_CONTACT_PHONE, TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , PFLL.SUGGESTED_BUYER_ID , HRE.FULL_NAME BUYER_NAME , PFLL.RFQ_REQUIRED_FLAG , PLT.ORDER_TYPE_LOOKUP_CODE , PLC.DISPLAYED_FIELD ORDER_TYPE_LOOKUP_DSP , NULL, TO_NUMBER(NULL), PV.ATTRIBUTE14 SUPPLIER_URL , PL.ATTRIBUTE14 SUPPLIER_ITEM_URL , NULL, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PFLL.SUPPLIER_ITEM_NUM, PFLL.NEW_SUPPLIER, NULL, TO_NUMBER(NULL), TO_NUMBER(NULL) FROM HR_EMPLOYEES_CURRENT_V HRE , PO_DOCUMENT_TYPES PDT , PO_LINE_TYPES PLT , PO_VENDORS PV , GL_DAILY_CONVERSION _TYPES DCT , PO_VENDOR_SITES PVS , PO_VENDOR_CONTACTS PVC , PO_LOOKUP_CODES PLC, PO_HEADERS PH , PO_LINES PL , GL_SETS_OF_BOOKS GSB , FINANCIALS_SYSTEM_PARAMETERS FSP, POR_FAVORITE_LIST_HEADERS PFLH , POR_FAVORITE_LIST_LINES PFLL , FND_USER FWU WHERE FWU.USER_ID = FND_GLOBAL.USER_ID AND FWU.employee_id = PFLH.EMPLOYEE_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND SYSDATE < NVL(PL.EXPIRATION_DATE, SYSDATE+1) AND PH.PO_HEADER_ID = PL.PO_HEADER_ID AND PH.TYPE_LOOKUP_CODE IN (BLANKET, QUOTATION) AND

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 142 Oracle SefService Purchasing 5 Technical Reference Manual

NOT NULL AND PH.APPROVED_FLAG = Y AND N) <> Y AND NVL(PH.FROZEN_FLAG, N) <> Y AND OPEN) <> FINALLY CLOSED AND OPEN) <> FINALLY CLOSED AND N) <> Y) OR (PH.STATUS_LOOKUP_CODE = A AND PH.QUOTATION_CLASS_CODE = CATALOG)) AND (SYSDATE BETWEEN NVL(PH.START_DATE, SYSDATE1) AND NVL(PH.END_DATE, SYSDATE+1) OR TRUNC(SYSDATE) <= NVL(TRUNC(PH.START_DATE), TRUNC(SYSDATE))) AND FSP.SET_OF_BOOKS_ID = GSB.SET_OF_BOOKS_ID AND PFLL.SOURCE_DOC_HEADER_ID = PH.PO_HEADER_ID AND PH.PO_HEADER_ID = PL.PO_HEADER_ID AND PFLL.SOURCE_DOC_LINE_ID = PL.PO_LINE_ID AND DECODE(PH.TYPE_LOOKUP_CODE, QUOTATION, QUOTATION, BLANKET, PA, PLANNED, PO) = PDT.DOCUMENT_TYPE_CODE AND DECODE(PH.TYPE_LOOKUP_CODE, QUOTATION, PH.QUOTE_TYPE_LOOKUP_CODE, BLANKET, BLANKET, PLANNED, PLANNED) = PDT.DOCUMENT_SUBTYPE AND PH.VENDOR_ID = PV.VENDOR_ID (+) AND PH.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND PH.VENDOR_CONTACT_ID = PVC.VENDOR_CONTACT_ID (+) AND PH.AGENT_ID = HRE.EMPLOYEE_ID AND PH.RATE_TYPE = DCT.CONVERSION_TYPE (+) AND PLT.LINE_TYPE_ID = PL.LINE_TYPE_ID AN D PLT.ORDER_TYPE_LOOKUP_CODE = PLC.LOOKUP_CODE AND NVL(PLT.OUTSIDE_OPERATION_FLAG,N) = N AND PLC.lookup_type = ORDER TYPE AND (PFLL.ITEM_ID IS NULL AND PFLL.SOURCE_DOC_LINE_ID IS NOT NULL) UNION ALL SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , PFLL.SOURCE_DOC_HEADER_ID, NULL SOURCE_DOC_NUM , NULL SOURCE_DOC_TYPE_CODE , NULL SOURCE_DOC_TYPE , NULL SOURCE_DOC_CURRENCY , TO_NUMBER(NULL) SOURCE_DOC_RATE , NULL SOURCE_DOC_RATE_TYPE , NULL SOURCE_DOC_RATE_TYPE_DSP , TO_DATE(NULL) SOURCE_DOC_RATE_DATE , GSB.CURRENCY_CODE SOURCE_DOC_FUNCTIONAL_CURRENCY , PFLL.SOURCE_DOC_LINE_ID, TO_NUMBER(NULL) SOURCE_DOC_LINE_NUM, TO_NUMBER(NULL) SOURCE_DOC_CURRENCY_PRICE , TO_NUMBER(NULL) SOURCE_DOC_BASE_PRICE , PFLL.ITEM_ID, PFLL.ITEM_DESCRIPTION, PFLL.UNIT_PRICE UNIT_PRICE , PFLL.LINE_TYPE_ID, PLT.LINE_TYPE ,

((PH.APPROVED_DATE IS NVL(PH.CANCEL_FLAG, NVL(PH.CLOSED_CODE, NVL(PL.CLOSED_CODE, NVL(PL.CANCEL_FLAG,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 143

PFLL.ITEM_REVISION , PFLL.CATEGORY_ID, PFLL.CATEGORY, PFLL.UNIT_MEAS_LOOKUP_CODE UOM , PFLL.SUGGESTED_VENDOR_ID SUGGESTED_SUPPLIER_ID , PFLL.SUGGESTED_VENDOR_NAME SUPPLIER_NAME , PFLL.SUGGESTED_VENDOR_SITE_ID SUGGESTED_SUPPLIER_SITE_ID , PFLL.SUGGESTED_VENDOR_SITE SUPPLIER_SITE_CODE , PFLL.SUGGESTED_VENDOR_CONTACT_ID SUGGESTED_SUPPLIER_CONTACT_ID , PFLL.SUGGESTED_VENDOR_CONTACT SUGG_SUPPL_CONTACT_NAME , PFLL.SUGGESTED_VENDOR_CONTACT_PHONE, TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , PFLL.SUGGESTED_BUYER_ID , HRE.FULL_NAME BUYER_NAME , PFLL.RFQ_REQUIRED_FLAG , PLT.ORDER_TYPE_LOOKUP_CODE , PLC.DISPLAYED_FIELD ORDER_TYPE_LOOKUP_DSP , NULL ITEM_NUMBER , TO_NUMBER(NULL), PFLL.SUPPLIER_URL , PFLL.ATTRIBUTE14 SUPPLIER_ITEM_URL , NULL ITEM_URL, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PFLL.SUPPLIER_ITEM_NUM, PFLL.NEW_SUPPLIER, NULL, TO_NUMBER(NULL), TO_NUMBER(NULL) FROM HR_EMPLOYEES_CURRENT_V HRE , PO_LINE_TYPES PLT , PO_LOOKUP_CODES PLC, GL_SETS_OF_BOOKS GSB , FINANCIALS_SYSTEM_PARAMETERS FSP, POR_FAVORITE_LIST_HEADERS PFLH , POR_FAVORITE_LIST_LINES PFLL , FND_USER FWU WHERE FWU.employee_id =PFLH.EMPLOYEE_ID AND FWU.USER_ID = FND_GLOBAL.USER_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND HRE.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND FSP.SET_OF_BOOKS_ID = GSB.SET_OF_BOOKS_ID AND PLT.ORDER_TYPE_LOOKUP_CODE = PLC.lookup_code AND PLC.lookup_type = ORDER TYPE AND PLT.line_type_id = PFLL.LINE_TYPE_ID AND ((PFLL.ITEM_ID IS NULL AND PFLL.SOURCE_DOC_LINE_ID IS NULL AND PFLL.TEMPLATE_NAME IS NULL AND PFLL.ASL_ID IS NULL)) UNION ALL SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION ,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 144 Oracle SefService Purchasing 5 Technical Reference Manual

PFLL.SOURCE_DOC_HEADER_ID, NULL SOURCE_DOC_NUM , NULL SOURCE_DOC_TYPE_CODE , NULL SOURCE_DOC_TYPE , NULL SOURCE_DOC_CURRENCY , TO_NUMBER(NULL) SOURCE_DOC_RATE , NULL SOURCE_DOC_RATE_TYPE , NULL SOURCE_DOC_RATE_TYPE_DSP , TO_DATE(NULL) SOURCE_DOC_RATE_DATE , GSB.currency_code SOURCE_DOC_FUNCTIONAL_CURRENCY , PFLL.SOURCE_DOC_LINE_ID, TO_NUMBER(NULL) SOURCE_DOC_LINE_NUM, TO_NUMBER(NULL) SOURCE_DOC_CURRENCY_PRICE , TO_NUMBER(NULL) SOURCE_DOC_BASE_PRICE , PFLL.ITEM_ID, PFLL.ITEM_DESCRIPTION, PFLL.UNIT_PRICE UNIT_PRICE , PFLL.LINE_TYPE_ID, PLT.LINE_TYPE , PFLL.ITEM_REVISION , PFLL.CATEGORY_ID, PFLL. CATEGORY, PFLL.UNIT_MEAS_LOOKUP_CODE UOM , PFLL.SUGGESTED_VENDOR_ID SUGGESTED_SUPPLIER_ID , PFLL.SUGGESTED_VENDOR_NAME SUPPLIER_NAME , PFLL.SUGGESTED_VENDOR_SITE_ID SUGGESTED_SUPPLIER_SITE_ID , PFLL.SUGGESTED_VENDOR_SITE SUPPLIER_SITE_CODE , PFLL.SUGGESTED_VENDOR_CONTACT_ID SUGGESTED_SUPPLIER_CONTACT_ID , PFLL.SUGGESTED_VENDOR_CONTACT SUGG_SUPPL_CONTACT_NAME , PFLL.SUGGESTED_VENDOR_CONTACT_PHONE, NULL SUGG_SUPPL_RODUCT_CODE, PFLL.SUGGESTED_BUYER_ID , HRE.FULL_NAME BUYER_NAME , PFLL.RFQ_REQUIRED_FLAG , PLT.ORDER_TYPE_LOOKUP_CODE , PLC.DISPLAYED_FIELD ORDER_TYPE_LOOKUP_DSP , MSI.CONCATENATED_SEGMENTS ITEM_NUMBER , MSI.ORGANIZATION_ID , PFLL.SUPPLIER_URL , PFLL.ATTRIBUTE14 SUPPLIER_ITEM_URL , MSI.ATTRIBUTE14 ITEM_URL, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PFLL.SUPPLIER_ITEM_NUM, PFLL.NEW_SUPPLIER, NULL, TO_NUMBER(NULL), TO_NUMBER(NULL) FROM HR_EMPLOYEES_CURRENT_V HRE , PO_LINE_TYPES PLT , PO_LOOKUP_CODES PLC, GL_SETS_OF_BOOKS GSB , FINANCIALS_SYSTEM_PARAMETERS FSP, MTL_SYSTEM_ITEMS_KFV MSI, POR_FAVORITE_LIST_HEADERS PFLH ,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 145

POR_FAVORITE_LIST_LINES PFLL , FND_USER FWU WHERE FWU.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND FWU.USER_ID = FND_GLOBAL.USER_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND HRE.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND FSP.SET_OF_BOOKS_ID = GSB.SET_OF_BOOKS_ID AND PLT.ORDER_TYPE_LOOKUP_CODE = PLC.lookup_code AND PLC.lookup_type = ORDER TYPE AND PLT.LINE_TYPE_ID = PFLL.LINE_TYPE_ID AND ((PFLL.ITEM_ID IS NOT NULL AND PFLL.SOURCE_DOC_LINE_ID IS NULL AND PFLL.TEMPLATE_NAME IS NULL AND PFLL.ASL_ID IS NULL)) AND PFLL.ITEM_ID = MSI.INVENTORY_ITEM_ID AND MSI.PURCHASING_ENABLED_ FLAG = Y AND FSP.INVENTORY_ORGANIZATION_ID = MSI.ORGANIZATION_ID UNION ALL SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , TO_NUMBER(NULL), NULL, NULL, NULL, NULL, TO_NUMBER(NULL), NULL, NULL, TO_DATE(NULL), NULL, TO_NUMBER(NULL), TO_NUMBER(NULL), PRL.UNIT_PRICE, TO_NUMBER(NULL), PRL.ITEM_ID, PRL.ITEM_DESCRIPTION, PRL.UNIT_PRICE , PRL.LINE_TYPE_ID, PLT.LINE_TYPE , PRL.ITEM_REVISION , PRL.CATEGORY_ID, MCK.concatenated_segments, PRL.unit_meas_lookup_code, PRL.SUGGESTED_VENDOR_ID, pv.VENDOR_NAME, PRL.SUGGESTED_VENDOR_SITE_ID, PVS.vendor_site_code, PRL.suggested_vendor_contact_id, DECODE(PRL.SUGGESTED_VENDOR_CONTACT_ID, NULL, NULL, DECODE(PVC.FIRST_NAME, NULL, PVC.LAST_NAME, PVC.LAST_NAME||, ||PVC.FIRST_NAME)), PVC.phone, TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , PRL.SUGGESTED_BUYER_ID,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 146 Oracle SefService Purchasing 5 Technical Reference Manual

NULL, TEMPLS.POR_BUYER_NAME, PFLL.RFQ_REQUIRED_FLAG , PLT.order_type_lookup_code, PLCL.displayed_field, MSIK.concatenated_segments, TO_NUMBER(NULL), PV.attribute14, PRL.attribute14, MSIK.attribute14, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PRL.suggested_vendor_product_code, PFLL.NEW_SUPPLIER, PFLL.TEMPLATE_NAME, PFLL.TEMPLATE_LINE_NUM, TO_NUMBER(NULL) FROM HR_EMPLOYEES_CURRENT_V HRE, PO_VENDOR_CONTACTS PVC, PO_VENDOR_SITES PVS, PO_VENDORS PV, MTL_CATEGORIES_KFV MCK, MTL_SYSTEM_ITEMS_KFV MSIK, PO_LOOKUP_CODES PLCL, PO_LINE_TYPES PLT, PO_REQEXPRESS_HEADERS PRH, PO_REQEXPRESS_LINES PRL, POR_FAVORITE_LIST_HEADERS PFLH, POR_FAVORITE_LIST_LINES PFLL, GL_SETS_OF_BOOKS GSB, FINANCIALS_SYSTEM_PARAMETERS FSP, FND_USER FWU WHERE FWU.EMPLOYEE_ID = PFLH.EMPL OYEE_ID AND FWU.USER_ID = fnd_global.USER_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND HRE.EMPLOYEE_ID = PFLH.employee_id AND PFLL.TEMPLATE_NAME = PRH.EXPRESS_NAME AND PFLL.TEMPLATE_LINE_NUM = PRL.SEQUENCE_NUM AND PRL.item_id IS NOT NULL AND PRL.SOURCE_TYPE_CODE = VENDOR AND PRH.EXPRESS_NAME = PRL.EXPRESS_NAME AND SYSDATE < NVL(PRH.INACTIVE_DATE, SYSDATE+1) AND PLT.LINE_TYPE_ID = PRL.LINE_TYPE_ID AND PLT.ORDER_TYPE_LOOKUP_CODE = PLCL.LOOKUP_CODE AND PLCL.LOOKUP_TYPE = ORDER TYPE AND MCK.CATEGORY_ID = PRL.CATEGORY_ID AND GSB.SET_OF_BOOKS_ID = FSP.SET_OF_BOOKS_ID AND MSIK.ORGANIZATION_ID = FSP.INVENTORY_ORGANIZATION_ID AND MSIK.INVENTORY_ITEM_ID = PRL.ITEM_ID AND PRL.SUGGESTED_VENDOR_ID = PV.VENDOR_ID (+) AND PRL.SUGGESTED_VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND PRL.SUGGESTED_VENDOR_CONTACT_ID = PVC.VENDOR_CONTACT_ID (+) UNION ALL SELECT PFLH.EMPLOYEE_ID,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 147

PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , TO_NUMBER(NULL), NULL, NULL, NULL, NULL, TO_NUMBER(NULL), NULL, NULL, TO_DATE(NULL), NULL, TO_NUMBER(NULL), TO_NUMBER(NULL), PRL.UNIT_PRICE, TO_NUMBER(NULL), PRL.ITEM_ID, PRL.ITEM_DESCRIPTION, PRL.UNIT_PRICE , PRL.LINE_TYPE_ID, PLT.LINE_TYPE , PRL.ITEM_REVISION , PRL.CATEGORY_ID, MCK.concatenated_segments, PRL.unit_meas_lookup_code, PRL.SUGGESTED_VENDOR_ID, pv.VENDOR_NAME, PRL.SUGGESTED_VENDOR_SITE_ID, PVS.vendor_site_code, PRL.suggested_vendor_contact_id, DECODE(PRL.SUGGESTED_VENDOR_CONTACT_ID, NULL, NULL, DECODE(PVC.FIRST_NAME, NULL, PVC.LAST_NAME, PVC.LAST_NAME||, ||PVC.FIRST_NAME)), PVC.phone, TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , PRL.SUGGESTED_BUYER_ID, NULL, PFLL.RF Q_REQUIRED_FLAG , PLT.order_type_lookup_code, PLCL.displayed_field, NULL item_num, TO_NUMBER(NULL), PV.attribute14, PRL.attribute14, NULL, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PRL.suggested_vendor_product_code, PFLL.NEW_SUPPLIER, PFLL.TEMPLATE_NAME, PFLL.TEMPLATE_LINE_NUM, TO_NUMBER(NULL) FROM PO_REQEXPRESS_HEADERS PRH, PO_REQEXPRESS_LINES PRL,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 148 Oracle SefService Purchasing 5 Technical Reference Manual

POR_FAVORITE_LIST_HEADERS PFLH, POR_FAVORITE_LIST_LINES PFLL, PO_VENDOR_CONTACTS PVC, PO_VENDOR_SITES PVS, PO_VENDORS PV, GL_SETS_OF_BOOKS GSB, FINANCIALS_SYSTEM_PARAMETERS FSP, MTL_CATEGORIES_KFV MCK, PO_LOOKUP_CODES PLCL, PO_LINE_TYPES PLT, HR_EMPLOYEES_CURRENT_V HRE, FND_USER FWU WHERE FWU.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND FWU.USER_ID = fnd_global.USER_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND HRE.EMPLOYEE_ID = PFLH.employee_id AND PRL.ITEM_ID IS NULL AND PRL.SOURCE_TYPE_CODE = VENDOR AND PFLL.TEMPLATE_NAME = PRH.EXPRESS_NAME AND PFLL.TEMPLATE_LINE_NUM = PRL.SEQUENCE_NUM AND PRH.EXPRESS_NAME = PRL.EXPRESS_NAME AND SYSDATE < NVL(PRH.INACTIVE_DATE, SYSDATE+1) AND PLT.LINE_TYPE_ID = PRL.LINE_TYPE_ID AND PLT.ORDER_TYPE_LOOKUP_CODE = PLCL.LOOKUP_CODE AND PLCL.LOOKUP_TYPE = ORDER TYPE AND MCK.CATEGORY_ID = PRL.CATEGORY_ID AND GSB.SET_OF_BOOKS_ID = FSP.SET_OF_BOOKS_ID AND PRL.SUGGESTED_VENDOR_ID = PV.VENDOR_ID (+) AND PRL.SUGGESTED_VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND PRL.SUGGESTED_VENDOR_CONTACT_ID = PVC.VENDOR_CONTACT_ID (+) UNION ALL SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , TO_NUMBER(NULL), NU LL, NULL, NULL, NULL, TO_NUMBER(NULL), NULL, NULL, TO_DATE(NULL), NULL, TO_NUMBER(NULL), TO_NUMBER(NULL), MSIK.LIST_PRICE_PER_UNIT, TO_NUMBER(NULL), PASL.ITEM_ID, MSIK.DESCRIPTION, MSIK.list_price_per_unit, TO_NUMBER(NULL) , TO_CHAR(NULL), TO_CHAR(NULL),

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 149

PASL.CATEGORY_ID, MCK.CONCATENATED_SEGMENTS, NVL(PAA.PURCHASING_UNIT_OF_MEASURE, MSIK.PRIMARY_UNIT_OF_MEASURE), PASL.vendor_id, PV.vendor_name, PASL.VENDOR_SITE_ID, PVS.VENDOR_SITE_CODE, TO_NUMBER(NULL), TO_CHAR(NULL), TO_CHAR(NULL), TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , to_NUMBER(NULL), to_char(NULL), PFLL.RFQ_REQUIRED_FLAG , to_char(NULL), to_char(NULL), MSIK.CONCATENATED_SEGMENTS, TO_NUMBER(NULL), PV.ATTRIBUTE14, TO_CHAR(NULL), MSIK.ATTRIBUTE14, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PASL.PRIMARY_VENDOR_ITEM, PFLL.NEW_SUPPLIER, NULL, TO_NUMBER(NULL), PFLL.asl_id FROM MTL_SYSTEM_ITEMS_KFV MSIK, PO_VENDOR_SITES PVS, PO_VENDORS PV, GL_SETS_OF_BOOKS GSB, FINANCIALS_SYSTEM_PARAMETERS FSP, MTL_CATEGORIES_KFV MCK, PO_ASL_ATTRIBUTES PAA, PO_APPROVED_SUPPLIER_LIST pasl, POR_FAVORITE_LIST_HEADERS PFLH, POR_FAVORITE_LIST_LINES PFLL, HR_EMPLOYEES_CURRENT_V HRE, FND_USER FWU WHERE FWU.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND FWU.USER_ID = FND_GLOBAL.USER_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND HRE.EMPLOYEE_ID = PFLH.employee_id AND PASL.item_id IS NOT NULL AND PASL.category_id IS NOT NULL AND PASL.ASL_ID = PFLL.asl_id AND PASL.ASL_ID = PAA.ASL_ID AND MCK.category_id = PASL.CATEGORY_ID AND GSB .SET_OF_BOOKS_ID = FSP.SET_OF_BOOKS_ID AND PASL.VENDOR_ID = PV.VENDOR_ID AND PASL.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND MSIK.ORGANIZATION_ID = PASL.OWNING_ORGANIZATION_ID AND MSIK.INVENTORY_ITEM_ID = PASL.item_id

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 150 Oracle SefService Purchasing 5 Technical Reference Manual

UNION

ALL SELECT PFLH.EMPLOYEE_ID, PFLH.FAVORITE_LIST_ID, PFLH.FAVORITE_LIST_NAME, PFLL.FAVORITE_LIST_LINE_ID, PFLH.DESCRIPTION , TO_NUMBER(NULL), NULL, NULL, NULL, NULL, TO_NUMBER(NULL), NULL, NULL, TO_DATE(NULL), NULL, TO_NUMBER(NULL), TO_NUMBER(NULL), MSIK.LIST_PRICE_PER_UNIT, TO_NUMBER(NULL), PASL.ITEM_ID, MSIK.DESCRIPTION, MSIK.list_price_per_unit, TO_NUMBER(NULL) , TO_CHAR(NULL), TO_CHAR(NULL), PFLL.CATEGORY_ID, PFLL.CATEGORY, NVL(PAA.PURCHASING_UNIT_OF_MEASURE, MSIK.PRIMARY_UNIT_OF_MEASURE), PASL.vendor_id, PV.vendor_name, PASL.VENDOR_SITE_ID, PVS.VENDOR_SITE_CODE, TO_NUMBER(NULL), TO_CHAR(NULL), TO_CHAR(NULL), TO_CHAR(NULL) SUGG_SUPPL_PRODUCT_CODE , to_NUMBER(NULL), to_char(NULL), PFLL.RFQ_REQUIRED_FLAG , to_char(NULL), to_char(NULL), MSIK.CONCATENATED_SEGMENTS, TO_NUMBER(NULL), PV.ATTRIBUTE14, TO_CHAR(NULL), MSIK.ATTRIBUTE14, PFLL.RT_CATEGORY_ID, PFLL.RT_ITEM_ID, PASL.PRIMARY_VENDOR_ITEM, PFLL.NEW_SUPPLIER, NULL, TO_NUMBER(NULL), PFLL.asl_id MTL_SYSTEM_ITEMS_KFV MSIK, PO_VENDOR_SITES PVS, PO_VENDORS PV, GL_SETS_OF_BOOKS GSB,

FROM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 151

FINANCIALS_SYSTEM_PARAMETERS FSP, PO_ASL_ATTRIBUTES PAA, PO_APPROVED_SUPPLIER_LIST pasl, POR_FAVORITE_LIST_HEADERS PFLH, POR_FAVORITE_LIST_LINES PFLL, HR_EMPLOYEES_CURRENT_V HRE, FND_USER FWU WHERE FWU.EMPLOYEE_ID = PFLH.EMPLOYEE_ID AND FWU.USER_ID = FND_GLOBAL.USER_ID AND PFLH.FAVORITE_LIST_ID = PFLL.FAVORITE_LIST_ID AND HRE.EMPLOYEE_ID = PFLH.employee_id AND PASL.item_id IS NOT NULL AND PASL.ASL_ID = PFLL.asl_id AND PASL.category_id IS NULL AND PASL.ASL_ID = PAA.ASL_ID AND GSB.SET_OF_BOOKS_ID = FSP.SET_OF_BOOKS_ID AND PASL.VENDOR_ID = PV.VENDOR_ID AND PASL.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND MSIK.ORGANIZATION_ID = PASL.OWNING_ORGANIZATION_ID AND MSIK.INVENTORY_ITEM_ID = PASL.item_id

Column Descriptions Name EMPLOYEE_ID FAVORITE_LIST_ID FAVORITE_LIST_NAME

Null? Type NULL NUMBER

Description

FAVORITE_LIST_LINE_ID DESCRIPTION SOURCE_DOC_HEADER_ID SOURCE_DOC_NUM SOURCE_DOC_TYPE_CODE SOURCE_DOC_TYPE SOURCE_DOC_CURRENCY SOURCE_DOC_RATE SOURCE_DOC_RATE_TYPE SOURCE_DOC_RATE_TYPE_DSP SOURCE_DOC_RATE_DATE SOURCE_DOC_FUNCTIONAL_CURRENCY

The id of the employee in whose favorite list this item exists. NULL NUMBER Primary key of table por_favorite_list_headers NULL VARCHAR2(80) Favorite list Name. Currently not being used. Will probably be used later when one user could have multiple favorite lists. NULL NUMBER primary key for por_favorite_list_lines table NULL VARCHAR2(240) Item Description NULL NUMBER Header Id of the source document such as blanket or quotation NULL VARCHAR2(20) Document number of blanket or quotation NULL VARCHAR2(25) Document code indicating if the source document is a blanket or quotation. NULL VARCHAR2(80) Type of Document(Blanket/Quotation) NULL VARCHAR2(15) currency specified on the source document NULL NUMBER Rate specified on the source document NULL VARCHAR2(30) Rate Type (corporate,spot etc) specified on the source document NULL VARCHAR2(30) Rate Display NULL DATE Rate Date NULL VARCHAR2(15) The functional currency in which the source document is created.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 152 Oracle SefService Purchasing 5 Technical Reference Manual

SOURCE_DOC_LINE_ID SOURCE_DOC_LINE_NUM SOURCE_DOC_CURRENCY_PRICE SOURCE_DOC_BASE_PRICE ITEM_ID ITEM_DESCRIPTION UNIT_PRICE LINE_TYPE_ID LINE_TYPE ITEM_REVISION CATEGORY_ID CATEGORY UNIT_MEAS_LOOKUP_CODE SUGG_SUPPLIER_ID SUPPLIER_NAME SUGG_SUPPLIER_SITE_ID SUPPLIER_SITE_CODE SUGG_SUPPLIER_CONTACT_ID SUGG_SUPPL_CONTACT_NAME SUGG_SUPPL_PRODUCT_CODE SUGG_BUYER_ID BUYER_NAME RFQ_REQUIRED_FLAG ORDER_TYPE ORDER_TYPE_DSP ITEM_NUMBER ORGANIZATION_ID SUPPLIER_URL SUPPLIER_ITEM_URL ITEM_URL RT_CATEGORY_ID

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(240) NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(3) NULL NUMBER NULL VARCHAR2(81) NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(80) NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(15) NUMBER VARCHAR2(37) VARCHAR2(240) NUMBER VARCHAR2(240) VARCHAR2(1) VARCHAR2(25)

NULL VARCHAR2(25) NULL VARCHAR2(40) NULL NUMBER NULL VARCHAR2(240) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(240)

RT_ITEM_ID

NULL VARCHAR2(240)

SUPPLIER_ITEM_NUM SUGG_SUPPL_CONTACT_PHONE NEW_SUPPLIER

NULL VARCHAR2(240) NULL VARCHAR2(15) NULL VARCHAR2(1)

Source document line id (ex po_line_id) Line number of the source document Not used not used Item Id as available in mtl_system_items table. Item Description Price of item Id based on the line type such as goods,amount based, rate based Goods, amount based or rate based. Item Revision Category id Category to which the item belongs Unit of measure in which the item has been ordered. Primary key to identify the vendor from the po_vendors table Vendor name Supplier Site Id as available from po_vendor_sites Supplier Site Vendor Contact Id Vendor Contact Name not used Buyer Id Name of the buyer Not Used Type of Order such as blanket etc. Order Type Display description indicating the type of the document Item Number as defined in mtl_system_items Inventory Organization Id Supplier Url giving additional information about the supplier Supplie Item Url providing more infromation about the Supplier Item Item Url. The category_id as defined in the catalog. Used to access item details from favorites list Item Id from the catalog. different from item_id which refers to an Item Master item. Used in conjuction with rt_category_id to retrieve item details. Item number used by the Supplier Phone Number of Supplier Flag indicating if it is a new supplier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 153

TEMPLATE_NAME TEMPLATE_LINE_NUM ASL_ID

NULL VARCHAR2(25) NULL NUMBER NULL NUMBER

Template Name as defined in Req Express Headers. Line number as defined in Req Express Lines Approved Supplier List Id to which this item refers.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 154 Oracle SefService Purchasing 5 Technical Reference Manual

POR_FAVORITE_LIST_HEADERS
This table is used for storing header level information about favorite lists such as employee_id, favorite_list_name and other who columns.
Column Descriptions Name EMPLOYEE_ID FAVORITE_LIST_ID FAVORITE_LIST_NAME

Null? Type NOT NULL NUMBER NOT NULL NUMBER NOT NULL VARCHAR2(80)

Description Employee Id Id generated from sequence which serves as primary key Favorite List Name,currently not used but potentially could be used to store different lists for a single user. Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Favorite List Description Currently not used Attribute Category Descriptive Flex Descriptive flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex

LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN DESCRIPTION INACTIVE_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 Indexes Index Name POR_FAVORITE_LIST_HEADERS_U1 POR_FAVORITE_LIST_HEADERS_U2

NOT NULL DATE NOT NULL NUMBER NULL DATE NULL NUMBER NULL NUMBER NULL VARCHAR2(240) NULL DATE NULL VARCHAR2(30) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Index Type UNIQUE NOT UNIQUE

Sequence 5 6 1

Column Name EMPLOYEE_ID FAVORITE_LIST_ID EMPLOYEE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 155

POR_FAVORITE_LIST_LINES
Table which stores all the items which are added to favorite lists. It stores the document ids to which the item refers so that the latest information can be retrieved from the document from which this item is sourced. The view por_favorite_lists_v drives of this table.
Column Descriptions Name FAVORITE_LIST_LINE_ID FAVORITE_LIST_ID LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN SOURCE_DOC_HEADER_ID

Null? Type NOT NULL NUMBER NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NULL DATE NULL NUMBER NULL NUMBER NULL NUMBER

Description Primary Key generated from a sequence Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column The header_id for the document to which this item is referring. (documents include blankets and quotations) Line Id of the blanket or quotation to which this item refers. The id for the item as available in the mtl_system_items_table Description of the Item Id which indicates the type (whether goods,amount or ratebased line) Item Revision Category Id Unit of Measure Price per unit Id identifying the vendor referred to in the favorites list. Obtained from po_vendors table. Name of the Supplier Supplier Site Id Supplier Site Supplier Contact Id Supplier Contact Name URL giving information about supplier Buyer Id Buyer Name Item Number used by the supplier. Currently Not used Not begin used Not being used Not Used Attribute Category Descriptive Flex Descriptive Flex

SOURCE_DOC_LINE_ID ITEM_ID ITEM_DESCRIPTION LINE_TYPE_ID ITEM_REVISION CATEGORY_ID UNIT_MEAS_LOOKUP_CODE UNIT_PRICE SUGGESTED_VENDOR_ID

NULL NUMBER NULL NUMBER NULL VARCHAR2(240) NULL NUMBER NULL NULL NULL NULL NULL VARCHAR2(3) NUMBER VARCHAR2(25) NUMBER NUMBER(9)

SUGGESTED_VENDOR_NAME SUGGESTED_VENDOR_SITE_ID SUGGESTED_VENDOR_SITE SUGGESTED_VENDOR_CONTACT_ID SUGGESTED_VENDOR_CONTACT SUPPLIER_URL SUGGESTED_BUYER_ID SUGGESTED_BUYER SUPPLIER_ITEM_NUM MANUFACTURER_ID MANUFACTURER_NAME MANUFACTURER_PART_NUMBER RFQ_REQUIRED_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2

NULL NULL NULL NULL NULL NULL

VARCHAR2(80) NUMBER(9) VARCHAR2(15) NUMBER(9) VARCHAR2(50) VARCHAR2(240)

NULL NUMBER(9) NULL VARCHAR2(80) NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL NUMBER VARCHAR2(30) NUMBER VARCHAR2(1) VARCHAR2(30) VARCHAR2(150) VARCHAR2(150)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 156 Oracle SefService Purchasing 5 Technical Reference Manual

ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CATEGORY RT_ITEM_ID RT_CATEGORY_ID SUGGESTED_VENDOR_CONTACT_PHONE NEW_SUPPLIER ASL_ID TEMPLATE_NAME TEMPLATE_LINE_NUM

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(81) NUMBER

NULL NUMBER NULL VARCHAR2(15) NULL VARCHAR2(1) NULL NUMBER NULL VARCHAR2(25) NULL NUMBER

Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Descriptive Flex Item Category Refers to the item id used in the catalog Category Id which is used in the catalog. Phone number of the Supplier Contact Flag indicating if it is a new supplier or not. Id for the approved supplier lists from which this item is sourced. Template name (REQ_EXPRESS_HEADERS) from which the item is sourced Template Line Num as obtained from REQ_EXPRESS_LINES table.

Indexes Index Name POR_FAVORITE_LIST_LINES_U1 POR_FAVORITE_LIST_LINES_U2

Index Type UNIQUE NOT UNIQUE

Sequence 5 1

Column Name FAVORITE_LIST_LINE_ID FAVORITE_LIST_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 157

POR_HEADER_V
The POR_HEADER_V provides requisition info like requisition header id, requisition number, preparer id, etc to ReqHeader java class
View Definition CREATE VIEW POR_HEADER_V as SELECT prh.requisition_header_id, prh.segment1, prh.preparer_id, hre.full_name, prh.type_lookup_code, plc_doctype.displayed_field, prh.emergency_po_num, prh.description, prh.note_to_authorizer, prh.authorization_status, plc_auth.displayed_field, prh.cancel_flag, plc_cancel.displayed_field, NVL(prh.closed_code,OPEN), plc_closed.displayed_field, prh.ussgl_transaction_code, prh.transferred_to_oe_flag, prh.org_id, prh.interface_source_code,

prh.interface_source_line_id, prh.wf_item_type, prh.wf_item_key, prh.summary_flag,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 158 Oracle SefService Purchasing 5 Technical Reference Manual

prh.enabled_flag, prh.start_date_active, prh.end_date_active, prh.attribute1, prh.attribute2, prh.attribute3, prh.attribute4, prh.attribute5, prh.attribute6, prh.attribute7, prh.attribute8, prh.attribute9, prh.attribute10, prh.attribute11, prh.attribute12, pr h.attribute13, prh.attribute14, prh.attribute15, prh.pcard_id, apc.card_number, apc.description, prl.urgent_flag, prl.note_to_agent, to_char( prh.last_update_date, MMDDYYYY HH24:MI:SS), to_char(prh.creation_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)) FROM po_lookup_codes plc_auth, po_lookup_codes plc_closed, po_lookup_codes plc_cancel,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 159

po_lookup_codes plc_doctype, hr_employees hre, ap_cards apc, po_requisition_headers prh, po_requisition_lines prl WHERE prh.preparer_id = hre.employee_id AND apc.card_id (+) = prh.pcard_id AND plc_auth.lookup_code = NVL(prh.authorization_status, INCOMPLETE) AND plc_auth.lookup_type = AUTHORIZATION STATUS AND plc_closed.lookup_code = NVL(prh.closed_code, OPEN) AND plc_closed.lookup_type = DOCUMENT STATE AND plc_cancel.lookup_code = NVL(prh.cancel_flag, N) AND plc_cancel.lookup_type = YES/NO AND plc_doctype.lookup_code = prh.type_lookup_code AND plc_doctype.lookup_type = REQUISITION TYPE AND prl.requisition_header_id(+) = prh.requisition_header_id

Column Descriptions Name REQUISITION_HEADER_ID SEGMENT1 PREPARER_ID PREPARER_NAME REQUISITION_TYPE DOCUMENT_TYPE EMERGENCY_PO_NUMBER DESCRIPTION NOTE_TO_APPROVER APPROVAL_STATUS_CODE APPROVAL_STATUS CANCEL_FLAG CANCEL_STATUS CLOSED_CODE CLOSED_STATUS USSGL_TRANSACTION_CODE TRANSFERRED_TO_OE_FLAG

Null? Type NOT NULL NUMBER

Description

Requisition header unique identifier NOT NULL VARCHAR2(20) Requistion number NULL NUMBER(9) Unique identifier of the employee who prepared the requisition NULL VARCHAR2(240) Name of the employee who prepared the requisition NULL VARCHAR2(25) Requisition type NULL VARCHAR2(25) Document type NULL VARCHAR2(20) Emergency PO number NULL VARCHAR2(240) Requisition description NULL VARCHAR2(240) Note to approver (Unused since release 8.0) NULL VARCHAR2(25) Authorization status code NULL VARCHAR2(25) Authorization status NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(25) Cancel Status NULL VARCHAR2(25) Closed Code NULL VARCHAR2(25) Close Status NULL VARCHAR2(30) United States standard general ledger transaction code NULL VARCHAR2(1) Indicates whether an internal requsition has been transferred to Order Entry

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 160 Oracle SefService Purchasing 5 Technical Reference Manual

ORG_ID INTERFACE_SOURCE_CODE INTERFACE_SOURCE_LINE_ID WORKFLOW_ITEM_TYPE WORKFLOW_ITEM_KEY SUMMARY_FLAG ENABLED_FLAG START_DATE_ACTIVE END_DATE_ACTIVE ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 PCARD_ID PCARD_NUMBER PCARD_DESCRIPTION URGENT_FLAG NOTE_TO_AGENT LAST_UPDATE_DATE CREATION_DATE

NULL NUMBER NULL VARCHAR2(25) NULL NUMBER NULL NULL NOT NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(8) VARCHAR2(240) VARCHAR2(1) VARCHAR2(1) DATE DATE VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER(15)

NULL VARCHAR2(80) NULL VARCHAR2(240) NULL VARCHAR2(1) NULL VARCHAR2(240) NULL DATE NULL DATE

Operating unit unique identifier Source of requisition from Requisition Import Source requisiton line identifier from Requisition Import Approval Workflow item type Approval Workflow item key Key flexfield summary flag Key flexfield enabled flag Key flexfield start date Key flexfield end date Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Unique identifier for Procurement Card(PCard) Procurement Card Number Procurement Card description Indicates whether the requisiton is urgent or not Note to buyer Standard Who Column Standard Who Column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 161

POR_INFO_TEMPLATE_V
The POR_INFO_TEMPLATE_V is used as a dummy view for the information template to be stored in the database. It requires a database object name as reference in ak_objects and ak_regions.
View Definition CREATE VIEW POR_INFO_TEMPLATE_V as SELECT dummy attribute1, dummy attribute2, dummy attribute3, dummy attribute4, dummy attribute5, dummy attribute6, dummy attribute7, dummy attribute8, dummy attribute9, dummy attribute10, dummy attribute11, dummy attribute12, dummy attribute13, dummy attribute14, dummy attribute15 FROM sys.dual

Column Descriptions Name ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1)

Description Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Dummy Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 162 Oracle SefService Purchasing 5 Technical Reference Manual

POR_INVOICES_SUMMARY_V

View Definition CREATE VIEW POR_INVOICES_SUMMARY_V as SELECT prl.requisition_line_id, prl.line_location_id, plc.displayed_field, rsh.invoice_num, rsh.invoice_date, to_char(rsh.invoice_amount, fnd_currency.safe_get_format_mask(sob.currency_code, 30)) FROM po_requisition_lines prl, po_line_locations pll, rcv_shipment_headers rsh, rcv_shipment_lines rsl, po_lookup_codes plc, gl_sets_of_books sob, financials_system_parameters fsp WHERE prl.line_location_id = pll.line_location_id and pll.line_location_id = rsl.po_line_location_id and rsh.shipment_header_id = rsl.shipment_header_id and plc.lookup_code = decode(rsh.invoice_num , null, N, Y) and plc.lookup_type = YES/NO and sob.set_of_books_id = fsp.set_of_books_id

Column Descriptions Name REQUISITION_LINE_ID LINE_LOCATION_ID INVOICED_FLAG INVOICE_NUMBER INVOICE_DATE PAID_AMOUNT

Null? Type NULL NULL NULL NULL NULL NULL NUMBER NUMBER VARCHAR2(1) VARCHAR2(50) DATE NUMBER

Description Refer Refer Refer Refer Refer Refer to to to to to to base base base base base base table. table. table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 163

POR_LINES_V
The POR_LINES_V returns all the data that is used to define a requisition line. It also includes manufacturer, delivery, organization, buyer information.
View Definition CREATE VIEW POR_LINES_V as SELECT PRL.REQUISITION_HEADER_ID, PRL.REQUISITION_LINE_ID, PRL.LINE_NUM, PRL.LINE_TYPE_ID, POL.LINE_TYPE, PRL.ITEM_DESCRIPTION, PRL.ITEM_ID, MSI.SEGMENT1 ITEM_NUMBER, PRL.ITEM_REVISION, PRL.CATEGORY_ID, MC.CONCATENATED_SEGMENTS CATEGORY , PRL.catalog_type, PRL.catalog_source, PRL.CURRENCY_CODE, PRL.CURRENCY_UNIT_PRICE, PRL.manufacturer_name, PRL.manufacturer_part_number, PRL.MUST_USE_SUGG_VENDOR_FLAG, PRL.DELIVER_TO_LOCATION_ID, HRL.LOCATION_CODE DELIVER_TO_LOCATION, PRL.DESTINATION_ORGANIZATION_ID DELIVER_TO_ORG_ID, OOD1.ORGANIZATION_CODE DELIVER_TO_ORG_CODE, PRL.DESTINATION_SUBINVENTORY, PRL.DESTINATION_TYPE_CODE, PLC1.DISPLAYED_FIELD DESTINATION_TYPE, PRL.requester_email, PRL.requester_fax, PRL.TO_PERSON_ID REQUESTER_ID, HRE1.FULL_NAME DELIVER_TO_REQUESTER, PRL.requester_phone, PRL.ENCUMBERED_FLAG, PRL.HAZARD_CLASS_ID, PHC.HAZARD_CLASS, PRL.JUSTIFICATION, PRL.MODIFIED_BY_AGENT_FLAG, PRL.NEED_BY_DATE, PRL.NOTE_TO_AGENT, PRL.NOTE_TO_RECEIVER, PRL.NOTE_TO_VENDOR, PRL.ON_RFQ_FLAG, PRL.ORG_ID, OOD2.ORGANIZATION_CODE ORG_CODE, PRL.PARENT_REQ_LINE_ID, PRL.LINE_LOCATION_ID, PRL.QUANTITY_CANCELLED, PRL.QUANTITY_DELIVERED,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 164 Oracle SefService Purchasing 5 Technical Reference Manual

PRL.QUANTITY, PRL.QUANTITY_RECEIVED, PRL.RATE, PRL.RATE_DATE, PRL.RATE_TYPE, PRL.RFQ_REQUIRED_FLAG, PRL.SOURCE_ORGANIZATION_ID, OOD3.ORGANIZATION_CODE, PRL.SOURCE_REQ_LINE_ID, PRL.SOURCE_SUBINVENTORY, PRL.SOURCE_TYPE_CODE, PLC2.LOOKUP_TYPE SOURCE_TYPE, PRL.unspsc_code, PRL.other_category_code, PRL.SUGGESTED_BUYER_ID, HRE2.FULL_NAME SUGGESTED_BUYER, PRL.BLANKET_PO_HEADER_ID, PH.SEGMENT1 DOCUMENT_NUM, PRL.BLANKET_PO_LINE_NUM, PRL.DOCUMENT_TYPE_CODE, PLC3.LOOKUP_TYPE DOCUMENT_TYPE, PRL.supplier_duns, PRL.SUGGESTED_VENDOR_PRODUCT_CODE SUPPLIER_ITEM_NUMBER, PRL.tax_status_indicator, PRL.pcard_flag, PRL.TRANSACTION_REASON_CODE, PRL.UNIT_MEAS_LOOKUP_CODE, PRL.UNIT_ PRICE, PRL.URGENT_FLAG, PRL.VENDOR_CONTACT_ID, PRL.SUGGESTED_VENDOR_CONTACT, PRL.SUGGESTED_VENDOR_PHONE, PRL.VENDOR_ID, PRL.SUGGESTED_VENDOR_NAME, PRL.SUGGESTED_VENDOR_LOCATION, PRL.VENDOR_SITE_ID, PVS.VENDOR_SITE_CODE, PRL.new_supplier_flag, PRL.auto_receive_flag, PRL.AGENT_RETURN_NOTE, PRL.CANCEL_DATE, PRL.CANCEL_FLAG, FLP.MEANING CANCEL_FLAG_DISPLAY, PRL.CANCEL_REASON, PRL.CLOSED_CODE, PLC4.DISPLAYED_FIELD CLOSED_CODE_DISPLAY, PRL.CLOSED_DATE, PRL.CLOSED_REASON, PRL.ATTRIBUTE1, PRL.ATTRIBUTE2, PRL.ATTRIBUTE3, PRL.ATTRIBUTE4, PRL.ATTRIBUTE5, PRL.ATTRIBUTE6, PRL.ATTRIBUTE7, PRL.ATTRIBUTE8,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 165

PRL.ATTRIBUTE9, PRL.ATTRIBUTE10, PRL.ATTRIBUTE11, PRL.ATTRIBUTE12, PRL.ATTRIBUTE13, PRL.ATTRIBUTE14, PRL.ATTRIBUTE15 FROM PO_LINE_TYPES POL, PO_REQUISITION_LINES PRL, MTL_SYSTEM_ITEMS MSI, MTL_CATEGORIES_KFV MC, HR_LOCATIONS HRL, ORG_ORGANIZATION_DEFINITIONS OOD1, PO_LOOKUP_CODES PLC1, HR_EMPLOYEES HRE1, PO_HAZARD_CLASSES PHC, ORG_ORGANIZATION_DEFINITIONS OOD2, ORG_ORGANIZATION_DEFINITIONS OOD3, PO_LOOKUP_CODES PLC2, HR_EMPLOYEES HRE2, PO_HEADERS PH, PO_LOOKUP_CODES PLC3, PO_VENDOR_SITES PVS, FND_LOOKUPS FLP, PO_LOOKUP_CODES PLC4 WHERE PRL.LINE_TYPE_ID = POL.LINE_TYPE_ID AND PRL.ITEM_ID = MSI.INVENTORY_ITEM_ID (+) AND PRL.DESTINATION_ORGANIZATION_ID = MSI.ORGANIZATION_ID (+) AND PRL.CATEGORY_ID = MC.CATEGORY_ID AND PRL.DELIVER_TO_LOCATION_ID = HRL.LOCATION_ID AND PRL.DESTINATION_ORGANIZATION_ID = OOD1.ORGANIZATION_ID (+) AND PLC1.LOOKUP_TYPE (+) = DESTINATION TYPE AND PRL.DESTINATION_TYPE_CODE = PLC1.LOOKUP_CODE (+) AND PRL.TO_PERSON_ID = HRE1.EMPLOYEE_ID AND PRL.HAZARD_CLASS_ID = PHC.HAZARD_CLASS_ID (+) AND PRL.ORG_ID = OOD2.ORGANIZATION_ID (+) AND PRL.SOURCE_ORGANIZATION_ID = OOD3.ORGANIZATION_ID (+) AND PLC2.LOOKUP_TYPE(+) = REQUISITION SOURCE TYPE AND PRL.SOURCE_TYPE_CODE = PLC2.LOOKUP_CODE (+) AND PRL.SUGGESTED_BUYER_ID = HRE2.EMPLOYEE_ID (+) AND PRL.BLANKET_PO_HEADER_ID = PH.PO_HEADER_ID (+) AND PLC3.LOOKUP_TYPE(+) = SOURCE DOCUMENT TYPE AND PRL.DOCUMENT_TYPE_CODE = PLC3.LOOKUP_CODE (+) AND PRL.VENDOR_ID = PVS.VENDOR_ID (+) AND PRL.VENDOR_SITE_ID = PVS.VENDOR_SITE_ID (+) AND PRL.CANCEL_FLAG = FLP.LOOKUP_CODE(+) AND FLP.LOOKUP_TYPE (+) = YES_NO AND PRL.CLOSED_CODE = PLC4.LOOKUP_CODE (+) AND PLC4.LOOKUP_TYPE (+) = DOCUMENT STATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 166 Oracle SefService Purchasing 5 Technical Reference Manual

Column Descriptions Name REQUISITION_HEADER_ID REQUISITION_LINE_ID LINE_NUM LINE_TYPE_ID LINE_TYPE ITEM_DESCRIPTION ITEM_ID ITEM_NUMBER ITEM_REVISION CATEGORY_ID CATEGORY CATALOG_TYPE CATALOG_SOURCE CURRENCY_CODE CURRENCY_UNIT_PRICE MANUFACTURER_NAME MANUFACTURER_PART_NUMBER MUST_USE_SUGG_VENDOR_FLAG DELIVER_TO_LOCATION_ID DELIVER_TO_LOCATION DELIVER_TO_ORG_ID DELIVER_TO_ORG_CODE DESTINATION_SUBINVENTORY DESTINATION_TYPE_CODE DESTINATION_TYPE REQUESTER_EMAIL REQUESTER_FAX REQUESTER_ID DELIVER_TO_REQUESTER REQUESTER_PHONE ENCUMBERED_FLAG

Null? Type NOT NULL NUMBER NOT NULL NUMBER NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NUMBER NUMBER VARCHAR2(25) VARCHAR2(240) NUMBER VARCHAR2(40) VARCHAR2(3) NUMBER VARCHAR2(40) VARCHAR2(30) VARCHAR2(30) VARCHAR2(15) NUMBER VARCHAR2(30) VARCHAR2(30) VARCHAR2(1) NUMBER

Description Requisition header unique identifier Requisition line unique identifier Line number Line type name Line type name Item description Item unique identifier Item number Item revision Item category unqiue identifier Item category Catalog type Catalog source Unique identifier for the currency Foreign currency unit price Manufacturer Name Manufacturer part number Unused since release 8.0 Deliver to location unique identifier Location code Destination organization unique identifier Destination organization code Destination subinventory name Destination type Destination type Requester email address Requester fax number Requester unique identifier Requester name Requester phone number Indicates whether the distribution is encumbered. When encumbrance is not enabled, the column will be used as an internal flag Hazard class unique identifier Hazard class Purchase justification Indicates whether a buyer modifies a line or not Date the requisiton is need internally Note to buyer Note to deliverer Note to vendor Indicates whether the requsition was places in an RFQ Operating unit unique identifier Organization code Unique identifier of the parent requisiton line for a modified requisiton line

NULL VARCHAR2(20) NULL NUMBER NULL NULL NULL NULL NULL NULL NOT NULL NULL NULL NULL VARCHAR2(3) VARCHAR2(10) VARCHAR2(25) VARCHAR2(25) VARCHAR2(240) VARCHAR2(60) NUMBER(9) VARCHAR2(240) VARCHAR2(60) VARCHAR2(1)

HAZARD_CLASS_ID HAZARD_CLASS JUSTIFICATION MODIFIED_BY_AGENT_FLAG NEED_BY_DATE NOTE_TO_AGENT NOTE_TO_RECEIVER NOTE_TO_VENDOR ON_RFQ_FLAG ORG_ID ORG_CODE PARENT_REQ_LINE_ID

NULL NULL NULL NULL

NUMBER VARCHAR2(40) VARCHAR2(240) VARCHAR2(1)

NULL DATE NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(1)

NULL NUMBER NULL VARCHAR2(3) NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 167

LINE_LOCATION_ID QUANTITY_CANCELLED QUANTITY_DELIVERED QUANTITY QUANTITY_RECEIVED RATE RATE_DATE RATE_TYPE RFQ_REQUIRED_FLAG SOURCE_ORGANIZATION_ID ORGANIZATION_CODE SOURCE_REQ_LINE_ID SOURCE_SUBINVENTORY SOURCE_TYPE_CODE SOURCE_TYPE UNSPSC_CODE OTHER_CATEGORY_CODE SUGGESTED_BUYER_ID SUGGESTED_BUYER BLANKET_PO_HEADER_ID DOCUMENT_NUM BLANKET_PO_LINE_NUM DOCUMENT_TYPE_CODE DOCUMENT_TYPE SUPPLIER_DUNS SUPPLIER_ITEM_NUMBER TAX_STATUS_INDICATOR PCARD_FLAG TRANSACTION_REASON_CODE UNIT_MEAS_LOOKUP_CODE UNIT_PRICE URGENT_FLAG VENDOR_CONTACT_ID SUGGESTED_VENDOR_CONTACT SUGGESTED_VENDOR_PHONE VENDOR_ID SUGGESTED_VENDOR_NAME SUGGESTED_VENDOR_LOCATION VENDOR_SITE_ID VENDOR_SITE_CODE NEW_SUPPLIER_FLAG

Document shipment schedule unique identifier NULL NUMBER Quantity canceled NULL NUMBER Quantity delivered NOT NULL NUMBER Quantity ordered NULL NUMBER Quantity received NULL NUMBER Currency convension rate NULL NUMBER Currency convension date NULL VARCHAR2(30) Currency convension rate type NULL VARCHAR2(1) Indicates whether an RFQ is required prior to plcaement on a purchase order NULL NUMBER Inventory source organization unique identifier NULL VARCHAR2(3) Source Organization code NULL NUMBER Source requisiton line identifier NULL VARCHAR2(10) Inventory source subinventory name NOT NULL VARCHAR2(25) Requisiton source type of item NULL VARCHAR2(30) Requisiton source type of item NULL VARCHAR2(30) Standard product and service code NULL VARCHAR2(30) Other category code NULL NUMBER(9) Suggested buyer unique identifier NULL VARCHAR2(240) Suggested buyer name NULL NUMBER Suggested source blanket agreement or catalog quotation header unique identifier NULL VARCHAR2(20) Document number NULL NUMBER Suggested source blanket agreement or catalog quotation line number NULL VARCHAR2(25) Source document type NULL VARCHAR2(30) Source document type NULL VARCHAR2(30) Data universal numbering system code NULL VARCHAR2(25) Suggested supplier product number NULL VARCHAR2(30) Tax status NULL VARCHAR2(1) Indicates that this line is ordered through procurement card NULL VARCHAR2(25) Transaction reason NOT NULL VARCHAR2(25) Unit of measure NOT NULL NUMBER Unit price in functional currency NULL VARCHAR2(1) Indicates whether the requisiton is urgent or not NULL NUMBER Supplier contact unique identifier NULL VARCHAR2(80) Suggested supplier contact name NULL VARCHAR2(20) Suggested supplier phone number NULL NUMBER Supplier unique identifier NULL VARCHAR2(80) Suggested supplier name NULL VARCHAR2(240) Suggested supplier site name NULL NUMBER Supplier site unqiue identifier NULL VARCHAR2(15) Site code name NULL VARCHAR2(1) Indicates that this is a new suppier

NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 168 Oracle SefService Purchasing 5 Technical Reference Manual

AUTO_RECEIVE_FLAG AGENT_RETURN_NOTE CANCEL_DATE CANCEL_FLAG CANCEL_FLAG_DISPLAY CANCEL_REASON CLOSED_CODE CLOSED_CODE_DISPLAY CLOSED_DATE CLOSED_REASON ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(1) VARCHAR2(240) DATE VARCHAR2(1) VARCHAR2(80) VARCHAR2(240) VARCHAR2(25) VARCHAR2(25) DATE VARCHAR2(240) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Allow autoreceiving Unused since release 8.0 Cancel date Indicates whether the requistion is cancelled or not Cancel flag display Cancel reason Close status Close status Close date Close reason Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 169

POR_LOCATION_LOV_V
The POR_LOCATION_LOV_V view returns a list of locations that allows the user to choose to be the location to deliver the purchasing item.
View Definition CREATE VIEW POR_LOCATION_LOV_V as SELECT HRL.LOCATION_CODE|| (||OOD.ORGANIZATION_CODE||) LOCATION_DISPLAY, HRL.DESCRIPTION, HRL.LOCATION_CODE , HRL.LOCATION_ID, OOD.ORGANIZATION_ID DELIVER_TO_ORG_ID FROM HR_LOCATIONS HRL, ORG_ORGANIZATION_DEFINITIONS OOD, FINANCIALS_SYSTEM_PARAMETERS FSP WHERE OOD.ORGANIZATION_ID = NVL(HRL.INVENTORY_ORGANIZATION_ID, FSP.INVENTORY_ORGANIZATION_ID) and ood.set_of_books_id = fsp.set_of_books_id AND SYSDATE < NVL(HRL.INACTIVE_DATE, SYSDATE + 1) AND trunc(SYSDATE) < NVL(OOD.disable_DATE, trunc(SYSDATE + 1)) and (fnd_profile.value_wnps(ICX_REQ_OVERRIDE_LOCATION_FLAG) = Y) union all SELECT HRL.LOCATION_CODE|| (||OOD.ORGANIZATION_CODE||) LOCATION_DISPLAY, HRL.DESCRIPTION, HRL.LOCATION_CODE , HRL.LOCATION_ID, OOD.ORGANIZATION_ID DELIVER_TO_ORG_ID FROM HR_LOCATIONS HRL, hr_employees_current_v hre, fnd_user fwu, ORG_ORGANIZATION_DEFINITIONS OOD, FINANCIALS_SYSTEM_PARAMETERS FSP WHERE OOD.ORGANIZATION_ID = NVL(HRL.INVENTORY_ORGANIZATION_ID,FSP.INVENTORY_ORGANIZATION_ID) and ood.set_of_books_id = fsp.set_of_books_id AND SYSDATE < NVL(HRL.INACTIVE_DATE, SYSDATE + 1) AND trunc(SYSDATE) < NVL(OOD.disable_DATE, trunc(SYSDATE + 1)) and (fnd_profile.value_wnps(ICX_REQ_OVERRIDE_LOCATION_FLAG) = N and FWU.USER_ID= FND_GLOBAL.USER_ID and HRE.LOCATION_ID = HRL.LOCATION_ID and hre.employee_id = fwu.employee_id)

Column Descriptions Name LOCATION_DISPLAY DESCRIPTION LOCATION_CODE

Null? Type

Description

NULL VARCHAR2(240) Location Display NULL VARCHAR2(50) Refer to base table. NULL VARCHAR2(20) Location Code

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 170 Oracle SefService Purchasing 5 Technical Reference Manual

LOCATION_ID DELIVER_TO_ORG_ID

NULL NUMBER(15) NULL NUMBER(15)

Location Identifier Identifier for the organization that deliver to

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 171

POR_MANUFACTURER_LOV_V
The POR_MANUFACTURER_LOV_V view returns a list of manufacturers that allows the user to choose to be the manufacturer of the purchasing item.
View Definition CREATE VIEW POR_MANUFACTURER_LOV_V as SELECT manufacturer_id, manufacturer_name FROM mtl_manufacturers

Column Descriptions Name MANUFACTURER_ID MANUFACTURER_NAME

Null? Type NULL NUMBER NULL VARCHAR2(30)

Description Manufacturer Identifier Manufacturer Name

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 172 Oracle SefService Purchasing 5 Technical Reference Manual

POR_PREPARER_LOV_V
The POR_PREPARER_LOV_V view returns a list of preparers and allows user to choose preparer on Expanded Order search page.
View Definition CREATE VIEW POR_PREPARER_LOV_V as SELECT HRE.FULL_NAME , HRE.EMAIL_ADDRESS , HRE.EMPLOYEE_NUM , HRE.EMPLOYEE_ID FROM HR_EMPLOYEES_CURRENT_V HRE, FND_USER FWU, HR_EMPLOYEES_CURRENT_V HRE2 , FINANCIALS_SYSTEM_PARAMETERS FSP WHERE HRE2.EMPLOYEE_ID = FWU.EMPLOYEE_ID AND FWU.USER_ID = FND_GLOBAL.USER_ID AND HRE2.ORGANIZATION_ID = HRE.ORGANIZATION_ID

Column Descriptions Name FULL_NAME EMAIL_ADDRESS EMPLOYEE_NUM EMPLOYEE_ID

Null? Type NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(30) NUMBER

Description Full Name of Preparer Email address of Preparer Employee number Employee unique identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 173

POR_PROJECT_LOV_V
The POR_PROJECT_LOV_V view returns a list of projects that allows the user to choose to be the project the purchasing item belongs to.
View Definition CREATE VIEW POR_PROJECT_LOV_V as SELECT project_number , project_name , start_date , completion_date , project_id, 9999 FROM pa_projects_expend_v ppe UNION (select m.project_number, m.project_name, m.start_date, m.completion_date, m.project_id, p.organization_id INVENTORY_ORGANIZATION_ID from mtl_project_v m, pjm_project_parameters p , mtl_parameters mp where m.project_id = p.project_id and mp.organization_id = p.organization_id and mp.project_reference_enabled= 1)

Column Descriptions Name PROJECT_NUMBER PROJECT_NAME START_DATE COMPLETION_DATE PROJECT_ID INVENTORY_ORGANIZATION_ID

Null? Type NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(30) DATE DATE NUMBER(15) NUMBER(15)

Description Project Number Project Name Project Start Date Project Complete Date Project Identifier Inventory Organization Identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 174 Oracle SefService Purchasing 5 Technical Reference Manual

POR_PUBLIC_LISTS_V

View Definition CREATE VIEW POR_PUBLIC_LISTS_V as SELECT PR.EXPRESS_NAME, PR.DESCRIPTION, PR.INACTIVE_DATE, PR.EXPRESS_NAME FROM PO_REQEXPRESS_HEADERS PR, ICX_POR_CATEGORIES_TL IC Where PR.EXPRESS_NAME = IC.CATEGORY_NAME AND IC.TYPE = 3

Column Descriptions Name POR_LIST_NAME POR_LIST_DESCRIPTION POR_LIST_INACTIVE_DATE POR_EXPRESS_NAME

Null? Type NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(240) DATE VARCHAR2(25)

Description Refer Refer Refer Refer to to to to base base base base table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 175

POR_PUBLIC_LIST_ITEMS_V

View Definition CREATE VIEW POR_PUBLIC_LIST_ITEMS_V as SELECT POR_PO_HEADER_ID, POR_PO_LINE_ID, POR_LINE_TYPE, POR_ITEM_ID, POR_ITEM_REVISION, POR_SUPPL_SITE, POR_SUPPL_CONTACT, POR_ITEM_DESCRIPTION, POR_UNIT_OF_MEASURE, POR_UNIT_PRICE, POR_CATEGORY, POR_SUPPL_NAME, POR_LINE_TYPE_ID, POR_ITEM_NUM, POR_SUPPL_ITEM_NUM, POR_SUPPL_CONTACT_PHONE, ROWNUM, POR_TEMPLATE_NAME FROM ICX_POR_SEARCH_TEMPLATES_V

Column Descriptions Name POR_PO_HEADER_ID POR_PO_LINE_ID POR_LINE_TYPE POR_ITEM_ID POR_ITEM_REVISION POR_SUPPL_SITE POR_SUPPL_CONTACT POR_ITEM_DESCRIPTION POR_UNIT_OF_MEASURE POR_UNIT_PRICE POR_CATEGORY POR_SUPPL_NAME POR_LINE_TYPE_ID POR_ITEM_NUM POR_SUPPL_ITEM_NUM POR_SUPPL_CONTACT_PHONE POR_ROWNUM POR_TEMPLATE_NAME

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(35) NUMBER(35) VARCHAR2(25) NUMBER(35) VARCHAR2(3) VARCHAR2(15) VARCHAR2(37) VARCHAR2(240) VARCHAR2(25) NUMBER(35) VARCHAR2(81) VARCHAR2(80) NUMBER(35) VARCHAR2(40) VARCHAR2(25) VARCHAR2(15) NUMBER(35) VARCHAR2(25)

Description Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer to to to to to to to to to to to to to to to to to to base base base base base base base base base base base base base base base base base base table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 176 Oracle SefService Purchasing 5 Technical Reference Manual

POR_RECEIPTS_SUMMARY_V
The POR_RECEIPTS_SUMMARY_V provides Receipts Summary Information on Requisition Line Detail page.
View Definition CREATE VIEW POR_RECEIPTS_SUMMARY_V as SELECT prl.requisition_line_id, prl.line_location_id, rsh.receipt_num, to_char(rsh.creation_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), rsh.freight_carrier_code, rsh.packing_slip, rsh.waybill_airbill_num, rsl.quantity_received FROM po_requisition_lines prl, po_line_locations pll, rcv_shipment_headers rsh, rcv_shipment_lines rsl WHERE prl.line_location_id = pll.line_location_id and pll.line_location_id = rsl.po_line_location_id and rsh.shipment_header_id = rsl.shipment_header_id

Column Descriptions Name REQUISITION_LINE_ID LINE_LOCATION_ID RECEIPT_NUM RECEIPT_DATE CARRIER PACKING_SLIP WAYBILL_NUMBER QUANTITY_RECEIVED

Null? Type NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL DATE NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(20) NULL NUMBER

Description Requisition line unique identifier Document shipment schedule unique identifier Receipt number Creation date of the receipt Carrier responsible for shipping Packing slip number Waybill or airbill number Number of items received

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 177

POR_RECEIVE_ORDERS_V

View Definition CREATE VIEW POR_RECEIVE_ORDERS_V as SELECT NOT LINE_CHKBOX, SYSDATE RECEIPT_DATE, POH.AGENT_ID AGENT_ID, POD.DELIVER_TO_PERSON_ID REQUESTOR_ID, POH.CREATION_DATE REQUISITION_CREATION_DATE, VENDOR SOURCE_TYPE_CODE, VENDOR RECEIPT_SOURCE_CODE, PO ORDER_TYPE_CODE, PLC.DISPLAYED_FIELD ORDER_TYPE, POLL.PO_HEADER_ID PO_HEADER_ID, POH.SEGMENT1 PO_NUMBER, POLL.PO_LINE_ID PO_LINE_ID, POL.LINE_NUM PO_LINE_NUMBER, POLL.LINE_LOCATION_ID PO_LINE_LOCATION_ID, POLL.SHIPMENT_NUM PO_SHIPMENT_NUMBER, POLL.PO_RELEASE_ID PO_RELEASE_ID, POR.RELEASE_NUM PO_RELEASE_NUMBER, TO_NUMBER(NULL) REQ_HEADER_ID, NULL REQ_NUMBER, TO_NUMBER(NULL) REQ_LINE_ID, TO_NUMBER(NULL) REQ_LINE, TO_NUMBER(NULL) REQ_DISTRIBUTION_ID, POH.PO_HEADER_ID RCV_SHIPMENT_HEADER_ID, POH.SEGMENT1 RCV_SHIPMENT_NUMBER, POL.PO_LINE_ID RCV_SHIPMENT_LINE_ID, POL.LINE_NUM RCV_LINE_NUMBER, POH.PO_HEADER_ID FROM_ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID TO_ORGANIZATION_ID, POH.VENDOR_ID VENDOR_ID, POV.VENDOR_NAME SOURCE, POH.VENDOR_SITE_ID VENDOR_SITE_ID, NVL(POLT.OUTSIDE_OPERATION_FLAG,NOT) OUTSIDE_OPERATION_FLAG, POL.ITEM_ID ITEM_ID, POL.UNIT_MEAS_LOOKUP_CODE PRIMARY_UOM, MUM.UOM_CLASS PRIMARY_UOM_CLASS, ROUND( POD.QUANTITY_DELIVERED, 5), ROUND(DECODE(SIGN(NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),1, 0,0, 0,1, NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),5) EXPECTED_RECEIPT_QTY, NVL(MSI.ALLOWED_UNITS_LOOKUP_CODE, 2) ITEM_ALLOWED_UNITS_LOOKUP_CODE, NVL(MSI.LOCATION_CONTROL_CODE, 1) ITEM_LOCATOR_CONTROL, DECODE(MSI.RESTRICT_LOCATORS_CODE, 1,Y,NOT) RESTRICT_LOCATORS_CODE, DECODE(MSI.RESTRICT_SUBINVENTORIES_CODE, 1,Y,NOT) RESTRICT_SUBINVENTORIES_COD E, NVL(MSI.SHELF_LIFE_CODE, 1) SHELF_LIFE_CODE, NVL(MSI.SHELF_LIFE_DAYS, 0) SHELF_LIFE_DAYS, MSI.SERIAL_NUMBER_CONTROL_CODE SERIAL_NUMBER_CONTROL_CODE, MSI.LOT_CONTROL_CODE LOT_CONTROL_CODE,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 178 Oracle SefService Purchasing 5 Technical Reference Manual

DECODE(MSI.REVISION_QTY_CONTROL_CODE, 1,N,2,Y,NOT) ITEM_REV_CONTROL_FLAG_TO, NULL ITEM_REV_CONTROL_FLAG_FROM, ICX_UTIL.ITEM_FLEX_SEG(MSI.ROWID) ITEM_NUMBER, POL.ITEM_REVISION ITEM_REVISION, SUBSTR( POL.ITEM_DESCRIPTION, 1,240) ITEM_DESCRIPTION, POL.CATEGORY_ID ITEM_CATEGORY_ID, MCA.CONCATENATED_SEGMENTS CATEGORY, POHC.HAZARD_CLASS HAZARD_CLASS, POUN.UN_NUMBER UN_NUMBER, POL.VENDOR_PRODUCT_NUM VENDOR_ITEM_NUMBER, POLL.SHIP_TO_LOCATION_ID SHIP_TO_LOCATION_ID, HL.LOCATION_CODE SHIP_TO_LOCATION, HL2.LOCATION_CODE DELIVER_TO_LOCATION, NULL PACKING_SLIP, POLL.RECEIVING_ROUTING_ID ROUTING_ID, RCVRH.ROUTING_NAME ROUTING_NAME, POLL.NEED_BY_DATE NEED_BY_DATE, NVL(POLL.PROMISED_DATE, POLL.NEED_BY_DATE) EXPECTED_RECEIPT_DATE, POD.QUANTITY_ORDERED ORDERED_QTY, POL.UNIT_MEAS_LOOKUP_CODE ORDERED_UOM, POLL.USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE, POLL.GOVERNMENT_CONTEXT GOVERNMENT_CONTEXT, POLL.INSPECTION_REQUIRED_FLAG INSPECTION_REQUIRED_FLAG, POLL.RECEIPT_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG, POLL.ENFORCE_SHIP_TO_LOCATION_CODE ENFORCE_SHIP_TO_LOCATION_CODE, POL.UNIT_PRICE UNIT_PRICE, POH.CURRENCY_CODE, POH.RATE_TYPE CURRENCY_CONVERSION_TYPE, POH.RATE_DATE CURRENCY_CONVERSION_DATE, POH.RATE CURRENCY_CONVERSION_RATE, POH.NOTE_TO_RECEIVER, POD.DESTINATION_TYPE_CODE, POD. DELIVER_TO_PERSON_ID, POD. DELIVER_TO_LOCATION_ID, POD.DESTINATION_SUBINVENTORY, POD.PO_DISTRIBUTION_ID, POLL.ATTRIBUTE_CATEGORY, POLL.ATTRIBUTE1, POLL.ATTRIBUTE2, POLL.ATTRIBUTE3, POLL.ATTRI BUTE4, POLL.ATTRIBUTE5, POLL.ATTRIBUTE6, POLL.ATTRIBUTE7, POLL.ATTRIBUTE8, POLL.ATTRIBUTE9, POLL.ATTRIBUTE10, POLL.ATTRIBUTE11, POLL.ATTRIBUTE12, POLL.ATTRIBUTE13, POLL.ATTRIBUTE14, POLL.ATTRIBUTE15, POLL.CLOSED_CODE, NULL AUTO_RECEIVE_FLAG, HRE.FULL_NAME REQUESTER, POH.REVISION_NUM,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 179

POH.SEGMENT1 ||DECODE(POR.RELEASE_NUM, NULL,,||POR.RELEASE_NUM) FROM HR_EMPLOYEES_CURRENT_V HRE, PO_RELEASES POR, PO_LOOKUP_CODES PLC, PO_VENDORS POV, PO_HAZARD_CLASSES POHC, PO_UN_NUMBERS POUN, RCV_ROUTING_HEADERS RCVRH, HR_LOCATIONS HL, HR_LOCATIONS HL2, MTL_SYSTEM_ITEMS MSI, MTL_UNITS_OF_MEASURE MUM, PO_LINE_TYPES POLT, MTL_CATEGORIES_KFV MCA, PO_LINES POL, PO_DISTRIBUTIONS POD, PO_HEADERS POH, PO_LINE_LOCATIONS POLL Where HRE.EMPLOYEE_ID = POD.DELIVER_TO_PERSON_ID AND POD.DELIVER_TO_PERSON_ID is not null and NVL(POLL.APPROVED_FLAG,N) = Y AND NVL(POLL.CANCEL_FLAG, N) = N AND NVL(POLL.CLOSED_CODE,OPEN) NOT IN (FINALLY CLOSED, CLOSED, CLOSED FOR RECEIVING, CANCELLED) AND POLL.SHIPMENT_TYPE IN (STANDARD,BLANKET,SCHEDULED) AND POLL.RECEIVING_ROUTING_ID = 3 AND POH.PO_HEADER_ID = POLL.PO_HEADER_ID AND POH.PO_HEADER_ID >= 0 AND POL.PO_LINE_ID = POLL.PO_LINE_ID AND POD.PO_HEADER_ID = POLL.PO_HEADER_ID AND POD.PO_LINE_ID = POL.PO_LINE_ID AND POD.LINE_LOCATION_ID = POLL.LINE_LOCATION_ID AND MSI.HAZARD_CLASS_ID = POHC.HAZARD_CLASS_ID(+) AND MSI.UN_NUMBER_ID = POUN.UN_NUMBER_ID (+) AND POLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+) AND POLL.SHIP_TO_LOCATION_ID = HL.LOCATION_ID(+) AND POD.DELIVER_TO_LOCATION_ID = HL2.LOCATION_ID(+) AND POH.VENDOR_ID = POV.VENDOR_ID(+) AND PLC.LOOKUP_TYPE = PO TYPE AND POH.TYPE_LOOKUP_CODE = PLC.LOOKUP_CODE AND POL.LINE_TYPE_ID = POLT.LINE_TYPE_ID(+) AND POLL.RECEIVING_ROUTING_ID = RCVRH.ROUTING_HEADER_ID(+) AND MUM.UNIT_OF_MEASURE (+) = POL.UNIT_MEAS_LOOKUP_CODE AND NVL(MSI.ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID) = POLL.SHIP_TO_ORGANIZATION_ID AND MSI.INVENTORY_ITEM_ID (+) = POL.ITEM_ID AND POD.REQ_DISTRIBUTION_ID IS NULL AND MCA.CATEGORY_ID = POL.CATEGORY_ID UNION ALL SELECT NOT LINE_CHKBOX, SYSDATE RECEIPT_DATE, POH.AGENT_ID AGENT_ID, POH.AGENT_ID REQUESTOR_ID, POH.CREATION_DATE REQUISITION_CREATION_DATE, VENDOR SOURCE_TYPE_CODE, VENDOR RECEIPT_SOURCE_CODE, PO ORDER_TYPE_CODE,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 180 Oracle SefService Purchasing 5 Technical Reference Manual

PLC.DISPLAYED_FIELD ORDER_TYPE, POLL.PO_HEADER_ID PO_HEADER_ID, POH.SEGMENT1 PO_NUMBER, POLL.PO_LINE_ID PO_LINE_ID, POL.LINE_NUM PO_LINE_NUMBER, POLL.LINE_LOCATION_ID PO_LINE_LOCATION_ID, POLL.SHIPMENT_NUM PO_SHIPMENT_NUMBER, POLL.PO_RELEASE_ID PO_RELEASE_ID, POR.RELEASE_NUM PO_RELEASE_NUMBER, TO_NUMBER(NULL) REQ_HEADER_ID, NULL REQ_NUMBER, TO_NUMBER(NULL) REQ_LINE_ID, TO_NUMBER(NULL) REQ_LINE, TO_NUMBER(NULL) REQ_DISTRIBUTION_ID, POH.PO_HEADER_ID RCV_SHIPMENT_HEADER_ID, POH.SEGMENT1 RCV_SHIPMENT_NUMBER, POL.PO_LINE_ID RCV_SHIPMENT_LINE_ID, POL.LINE_NUM RCV_LINE_NUMBER, POH.PO_HEADER_ID FROM_ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID TO_ORGANIZATION_ID, POH.VENDOR_ID VENDOR_ID, POV.VENDOR_NAME SOURCE, POH.VENDOR_SITE_ID VENDOR_SITE_ID, NVL(POLT.OUTSIDE_OPERATION_FLAG,NOT) OUTSIDE_OPERATION_FLAG, POL.ITEM_ID ITEM_ID, POL.UNIT_MEAS_LOOKUP_CODE PRIMARY_UOM, MUM.UOM_CLASS PRIMARY_UOM_CLASS, ROUND( POD.QUANTITY_DELIVERED, 5), ROUND(DECODE(SIGN(NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),1, 0,0, 0,1, NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),5) EXPECTED_RECEIPT_QTY, NVL(MSI.ALLOWED_UNITS_LOOKUP_CODE, 2) ITEM_ALLOWED_UNITS_LOOKUP_CODE, NVL(MSI.LOCATION_CONTROL_CODE, 1) ITEM_LOCATOR_CONTROL, DECODE(MSI.RESTRICT_LOCATORS_CODE, 1,Y,NOT) RESTRICT_LOCATORS_CODE, DECODE(MSI.RESTRICT_SUBINVENTORIES_CODE, 1,Y,NOT) RESTRICT_SUBINVENTORIES_CODE, NVL(MSI.SHELF_LIFE_CODE, 1) SHELF_LIFE_CODE, NVL(MSI.SHELF_LIFE_DAYS, 0) SHELF_LIFE_DAYS, MSI.SERIAL_NUMBER_CONTROL_CODE SERIAL_NUMBER_CONTROL_CODE, MSI.LOT_CONTROL_CODE LOT_CONTROL_CODE, DECODE(MSI.REVISION_QTY_CONTROL_CODE, 1,N,2,Y,NOT) ITEM_REV_CONTROL_FLAG_TO, NULL ITEM_REV_CONTROL_FLAG_FROM, ICX_UTIL.ITEM_FLEX_SEG(MSI.ROWID) ITEM_NUMBER, POL.ITEM_REVISION ITEM_REVISION, SUBSTR( POL .ITEM_DESCRIPTION, 1,240) ITEM_DESCRIPTION, POL.CATEGORY_ID ITEM_CATEGORY_ID, MCA.CONCATENATED_SEGMENTS CATEGORY, POHC.HAZARD_CLASS HAZARD_CLASS, POUN.UN_NUMBER UN_NUMBER, POL.VENDOR_PRODUCT_NUM VENDOR_ITEM_NUMBER, POLL.SHIP_TO_LOCATION_ID SHIP_TO_LOCATION_ID, HL.LOCATION_CODE SHIP_TO_LOCATION, HL2.LOCATION_CODE DELIVER_TO_LOCATION, NULL PACKING_SLIP, POLL.RECEIVING_ROUTING_ID ROUTING_ID, RCVRH.ROUTING_NAME ROUTING_NAME,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 181

POLL.NEED_BY_DATE NEED_BY_DATE, NVL(POLL.PROMISED_DATE, POLL.NEED_BY_DATE) EXPECTED_RECEIPT_DATE, POD.QUANTITY_ORDERED ORDERED_QTY, POL.UNIT_MEAS_LOOKUP_CODE ORDERED_UOM, POLL.USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE, POLL.GOVERNMENT_CONTEXT GOVERNMENT_CONTEXT, POLL.INSPECTION_REQUIRED_FLAG INSPECTION_REQUIRED_FLAG, POLL.RECEIPT_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG, POLL.ENFORCE_SHIP_TO_LOCATION_CODE ENFORCE_SHIP_TO_LOCATION_CODE, POL.UNIT_PRICE UNIT_PRICE, POH.CURRENCY_CODE, POH.RATE_TYPE CURRENCY_CONVERSION_TYPE, POH.RATE_DATE CURRENCY_CONVERSION_DATE, POH.RATE CURRENCY_CONVERSION_RATE, POH.NOTE_TO_RECEIVER, POD.DESTINATION_TYPE_CODE, POD. DELIVER_TO_PERSON_ID, POD. DELIVER_TO_LOCATION_ID, POD.DESTINATION_SUBINVENTORY, POD.PO_DISTRIBUTION_ID, POLL.ATTRIBUTE_CATEGORY, POLL.ATTRIBUTE1, POLL.ATTRIBUTE2, POLL.ATTRIBUTE3, POLL.ATTRIBUTE4, POLL.ATTRIBUTE5, POLL.ATTRIBUTE6, POLL.ATTRIBUTE7, POLL.ATTRIBUTE8, POLL.ATTRIBUTE9, POLL.ATTRIBUTE10, POLL.ATTRIBUTE11, POLL.ATTRIBUTE12, POLL.ATTRIBUTE13, POLL.ATTRIBUTE14, POLL.ATTRIBUTE15, POLL.CLOSED_CODE, NULL AUTO_RECEIVE_FLAG, HRE.FULL_NAME REQUESTER, POH.REVISION_NUM, POH.SEGMENT1 ||DECODE(POR.RELEASE_NUM, NULL,,||POR.RELEASE_NUM) FROM HR_EMPLOYEES_CURRENT_V HRE, PO_RELEASES POR, PO_LOOKUP_CODES PLC, PO_VENDORS POV, PO_HAZARD_CLASSES POHC, PO_UN_NUMBERS POUN, RCV_ROUTING_HEADERS RCVRH, HR_LOCATIONS HL, HR_LOCATIONS HL2, MTL_SYSTEM_ITEMS MSI, MTL_UNITS_OF_MEASURE MUM, PO_LINE_TYPES POLT, MTL_CATEGORIES_KFV MCA, PO_LINES POL, PO_DISTRIBUTIONS POD,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 182 Oracle SefService Purchasing 5 Technical Reference Manual

PO_HEADERS POH, PO_LINE_LOCATIONS POLL WHERE HRE.EMPLOYEE_ID = POH.AGENT_ID AND POD.DELIVER_TO_PERSON_ID is null and NVL(POLL.APPROVED_FLAG,N) = Y AND NVL(POLL.CANCEL_FLAG, N) = N AND NVL(POLL.CLOSED_CODE,OPEN) NOT IN (FINALLY CLOSED, CLOSED, CLOSED FOR RECEIVING, CANCELLED) AND POLL.SHIPMENT_TYPE IN (STANDARD,BLANKET,SCHEDULED) AND POLL.RECEIVING_ROUTING_ID = 3 AND POH.PO_HEADER_ID = POLL.PO_HEADER_ID AND POH.PO_HEADER_ID >= 0 AND POL.PO_LINE_ID = POLL.PO_LINE_ID AND POD.PO_HEADER_ID = POLL.PO_HEADER_ID AND POD.PO_LINE_ID = POL.PO_LINE_ID AND POD.LINE_LOCATION_ID = POLL.LINE_LOCATION_ID AND MSI.HAZARD_CLASS_ID = POHC.HAZARD_CLASS_ID(+) AND MSI.UN_NUMBER_ID = POUN.UN_NUMBER_ID (+) AND POLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+) AND POLL.SHIP_TO_LOCATION_ID = HL.LOCATION_ID(+) AND POD.DELIVER_TO_LOCATION_ID = HL2.LOCATION_ID(+) AND POH.VENDOR_ID = POV.VENDOR_ID(+) AND PLC.LOOKUP_TYPE = PO TYPE AND POH.TYPE_LOOKUP_CODE = PLC.LOOKUP_CODE AND POL.LINE_TYPE_ID = POLT.LINE_TYPE_ID(+) AND POLL.RECEIVING_ROUTING_ID = RCVRH.ROUTING_HEADER_ID(+) AND MUM.UNIT_OF_MEASURE (+) = POL.UNIT_MEAS_LOOKUP_CODE AND NVL(MSI.ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID) = POLL.SHIP_TO_ORGANIZATION_ID AND MSI.INVENTORY_ITEM_ID (+) = POL.ITEM_ID AND POD.REQ_DISTRIBUTION_ID IS NULL AND MCA.CATEGORY_ID = POL.CATEGORY_ID UNION ALL SELECT NOT LINE_CHKBOX, SYSDATE RECEIPT_DATE, POH.AGENT_ID AGENT_ID, POD.DELIVER_TO_PERSON_ID REQUESTOR_ID, POH.CREATION_DATE REQUISITION_CREATION_DATE, VENDOR SOURCE_TYPE_CODE, VENDOR RECEIPT_SOURCE_CODE, PO ORDER_TYPE_CODE, PLC.DISPLAYED_FIELD ORDER_TYPE, POLL.PO_HEADER_ID PO_HEADER_ID, POH.SEGMENT1 PO_NUMBER, POLL.PO_LINE_ID PO_LINE_ID, POL.LINE_NUM PO_LINE_NUMBER, POLL.LINE_LOCATION_ID PO_LINE_LOCATION_ID, POLL.SHIPMENT_NUM PO_SHIPMENT_NUMBER, POLL.PO_RELEASE_ID PO_RELEASE_ID, POR.RELEASE_NUM PO_RELEASE_NUMBER, PORH.REQUISITION_HEADER_ID REQ_HEADER_ID, PORH.SEGMENT1 REQ_NUMBER, PORL2.REQUISITION_LINE_ID REQ_LINE_ID, PORL2.LINE_NUM REQ_LINE, PORD.DISTRIBUTION_ID REQ_DISTRIBUTION_ID,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 183

POH.PO_HEADER_ID RCV_SHIPMENT_HEADER_ID, POH.SEGMENT1 RCV_SHIPMENT_NUMBER, POL.PO_LINE_ID RCV_SHIPMENT_LINE_ID, POL.LINE_NUM RCV_LINE_NUMBER, POH.PO_HEADER_ID FROM_ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID TO_ORGANIZATION_ID, POH.VENDOR_ID VENDOR_ID, POV.VENDOR_NAME SOURCE, POH.VENDOR_SITE_ID VENDOR_SITE_ID, NVL(POLT.OUTSIDE_OPERATION_FLAG,NOT) OUTSIDE_OPERATION_FLAG, POL.ITEM_ID ITEM_ID, POL.UNIT_MEAS_LOOKUP_CODE PRIMARY_UOM, MUM.UOM_CLASS PRIMARY_UOM_CLASS, ROUND(POD.QUANTITY_DELIVERED, 5), ROUND(DECODE(SIGN(NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),1, 0,0, 0,1, NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),5) EXPECTED_RECEIPT_QTY, NVL(MSI.ALLOWED_UNITS_LOOKUP_CODE, 2) ITEM_ALLOWED_UNITS_LOOKUP_CODE, NVL(MSI.LOCATION_CONTROL_CODE, 1) ITEM_LOCATOR_CONTROL, DECODE(MSI.RESTRICT_LOCATORS_CODE, 1,Y,NOT) RESTRICT_LOCATORS_CODE, DECODE(MSI.RESTRICT_SUBINVENTORIES_C ODE, 1,Y,NOT) RESTRICT_SUBINVENTORIES_CODE, NVL(MSI.SHELF_LIFE_CODE, 1) SHELF_LIFE_CODE, NVL(MSI.SHELF_LIFE_DAYS, 0) SHELF_LIFE_DAYS, MSI.SERIAL_NUMBER_CONTROL_CODE SERIAL_NUMBER_CONTROL_CODE, MSI.LOT_CONTROL_CODE LOT_CONTROL_CODE, DECODE(MSI.REVISION_QTY_CONTROL_CODE, 1,N,2,Y,NOT) ITEM_REV_CONTROL_FLAG_TO, NULL ITEM_REV_CONTROL_FLAG_FROM, ICX_UTIL.ITEM_FLEX_SEG(MSI.ROWID) ITEM_NUMBER, POL.ITEM_REVISION ITEM_REVISION, POL.ITEM_DESCRIPTION ITEM_DESCRIPTION, POL.CATEGORY_ID ITEM_CATEGORY_ID, MCA.CONCATENATED_SEGMENTS CATEGORY, POHC.HAZARD_CLASS HAZARD_CLASS, POUN.UN_NUMBER UN_NUMBER, POL.VENDOR_PRODUCT_NUM VENDOR_ITEM_NUMBER, POLL.SHIP_TO_LOCATION_ID SHIP_TO_LOCATION_ID, HL.LOCATION_CODE SHIP_TO_LOCATION, HL2.LOCATION_CODE DELIVER_TO_LOCATION, NULL PACKING_SLIP, POLL.RECEIVING_ROUTING_ID ROUTING_ID, RCVRH.ROUTING_NAME ROUTING_NAME, POLL.NEED_BY_DATE NEED_BY_DATE, NVL(POLL.PROMISED_DATE, POLL.NEED_BY_DATE) EXPECTED_RECEIPT_DATE, POD.QUANTITY_ORDERED ORDERED_QTY, POL.UNIT_MEAS_LOOKUP_CODE ORDERED_UOM, POLL.USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE, POLL.GOVERNMENT_CONTEXT GOVERNMENT_CONTEXT, POLL.INSPECTION_REQUIRED_FLAG INSPECTION_REQUIRED_FLAG, POLL.RECEIPT_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG, POLL.ENFORCE_SHIP_TO_LOCATION_CODE ENFORCE_SHIP_TO_LOCATION_CODE, POL.UNIT_PRICE UNIT_PRICE, POH.CURRENCY_CODE, POH.RATE_TYPE CURRENCY_CONVERSION_TYPE, POH.RATE_DATE CURRENCY_CONVERSION_DATE, POH.RATE CURRENCY_CONVERSION_RATE, POH.NOTE_TO_RECEIVER,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 184 Oracle SefService Purchasing 5 Technical Reference Manual

POD.DESTINATION_TYPE_CODE, POD.DELIVER_TO_PERSON_ID, POD.DELIVER_TO_LOCATION_ID, POD.DESTINATION_SUBINVENTORY, POD.PO_DISTRIBUTION_ID, POLL.ATTRIBUTE_CATEGORY, POLL.ATTRIBUTE1, POLL.ATTRIBUTE2, POLL.AT TRIBUTE3, POLL.ATTRIBUTE4, POLL.ATTRIBUTE5, POLL.ATTRIBUTE6, POLL.ATTRIBUTE7, POLL.ATTRIBUTE8, POLL.ATTRIBUTE9, POLL.ATTRIBUTE10, POLL.ATTRIBUTE11, POLL.ATTRIBUTE12, POLL.ATTRIBUTE13, POLL.ATTRIBUTE14, POLL.ATTRIBUTE15, POLL.CLOSED_CODE, PORL2.AUTO_RECEIVE_FLAG, HRE.FULL_NAME REQUESTER, POH.REVISION_NUM, POH.SEGMENT1 ||DECODE(POR.RELEASE_NUM, NULL,,||POR.RELEASE_NUM) FROM HR_EMPLOYEES_CURRENT_V HRE, PO_RELEASES POR, PO_LOOKUP_CODES PLC, PO_VENDORS POV, PO_HAZARD_CLASSES POHC, PO_UN_NUMBERS POUN, RCV_ROUTING_HEADERS RCVRH, HR_LOCATIONS HL, HR_LOCATIONS HL2, MTL_SYSTEM_ITEMS MSI, MTL_UNITS_OF_MEASURE MUM, PO_LINE_TYPES POLT, PO_REQUISITION_HEADERS PORH, PO_REQUISITION_LINES PORL2, MTL_CATEGORIES_KFV MCA, PO_REQ_DISTRIBUTIONS PORD, PO_LINES POL, PO_DISTRIBUTIONS POD, PO_HEADERS POH, PO_LINE_LOCATIONS POLL WHERE HRE.EMPLOYEE_ID = POD.DELIVER_TO_PERSON_ID AND POD.DELIVER_TO_PERSON_ID is not null and NVL(POLL.APPROVED_FLAG,N) = Y AND NVL(POLL.CANCEL_FLAG, N) = N AND NVL(POLL.CLOSED_CODE,OPEN) NOT IN (FINALLY CLOSED, CLOSED, CLOSED FOR RECEIVING, CANCELLED) AND POLL.SHIPMENT_TYPE IN (STANDARD,BLANKET,SCHEDULED) AND POLL.RECEIVING_ROUTING_ID = 3 AND POH.PO_HEADER_ID = POLL.PO_HEADER_ID AND POH.PO_HEADER_ID >= 0 AND

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 185

POL.PO_LINE_ID = POLL.PO_LINE_ID AND POD.PO_HEADER_ID = POLL.PO_HEADER_ID AND POD.PO_LINE_ID = POL.PO_LINE_ID AND POD.LINE_LOCATION_ID = POLL.LINE_LOCATION_ID AND MSI.HAZARD_CLASS_ID = POHC.HAZARD_CLASS_ID(+) AND MSI.UN_NUMBER_ID = POUN.UN_NUMBER_ID (+) AND POLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+) AND POLL.SHIP_TO_LOCATION_ID = HL.LOCATION_ID(+) AND PORL2.D ELIVER_TO_LOCATION_ID = HL2.LOCATION_ID(+) AND POH.VENDOR_ID = POV.VENDOR_ID(+) AND PLC.LOOKUP_TYPE = PO TYPE AND POH.TYPE_LOOKUP_CODE = PLC.LOOKUP_CODE AND POL.LINE_TYPE_ID = POLT.LINE_TYPE_ID(+) AND POLL.RECEIVING_ROUTING_ID = RCVRH.ROUTING_HEADER_ID(+) AND MUM.UNIT_OF_MEASURE (+) = POL.UNIT_MEAS_LOOKUP_CODE AND NVL(MSI.ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID) = POLL.SHIP_TO_ORGANIZATION_ID AND MSI.INVENTORY_ITEM_ID (+) = POL.ITEM_ID AND PORD.DISTRIBUTION_ID = POD.REQ_DISTRIBUTION_ID AND PORD.REQUISITION_LINE_ID = PORL2.REQUISITION_LINE_ID AND EXISTS ( SELECT X FROM PO_REQUISITION_LINES PORL WHERE PORL.LINE_LOCATION_ID = POLL.LINE_LOCATION_ID ) AND PORL2.REQUISITION_HEADER_ID = PORH.REQUISITION_HEADER_ID AND MCA.CATEGORY_ID = POL.CATEGORY_ID UNION ALL SELECT NOT LINE_CHKBOX, SYSDATE RECEIPT_DATE, POH.AGENT_ID AGENT_ID, POH.AGENT_ID REQUESTOR_ID, POH.CREATION_DATE REQUISITION_CREATION_DATE, VENDOR SOURCE_TYPE_CODE, VENDOR RECEIPT_SOURCE_CODE, PO ORDER_TYPE_CODE, PLC.DISPLAYED_FIELD ORDER_TYPE, POLL.PO_HEADER_ID PO_HEADER_ID, POH.SEGMENT1 PO_NUMBER, POLL.PO_LINE_ID PO_LINE_ID, POL.LINE_NUM PO_LINE_NUMBER, POLL.LINE_LOCATION_ID PO_LINE_LOCATION_ID, POLL.SHIPMENT_NUM PO_SHIPMENT_NUMBER, POLL.PO_RELEASE_ID PO_RELEASE_ID, POR.RELEASE_NUM PO_RELEASE_NUMBER, PORH.REQUISITION_HEADER_ID REQ_HEADER_ID, PORH.SEGMENT1 REQ_NUMBER, PORL2.REQUISITION_LINE_ID REQ_LINE_ID, PORL2.LINE_NUM REQ_LINE, PORD.DISTRIBUTION_ID REQ_DISTRIBUTION_ID, POH.PO_HEADER_ID RCV_SHIPMENT_HEADER_ID, POH.SEGMENT1 RCV_SHIPMENT_NUMBER, POL.PO_LINE_ID RCV_SHIPMENT_LINE_ID, POL.LINE_NUM RCV_LINE_NUMBER, POH.PO_HEADER_ID FROM_ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID TO_ORGANIZA TION_ID, POH.VENDOR_ID VENDOR_ID,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 186 Oracle SefService Purchasing 5 Technical Reference Manual

POV.VENDOR_NAME SOURCE, POH.VENDOR_SITE_ID VENDOR_SITE_ID, NVL(POLT.OUTSIDE_OPERATION_FLAG,NOT) OUTSIDE_OPERATION_FLAG, POL.ITEM_ID ITEM_ID, POL.UNIT_MEAS_LOOKUP_CODE PRIMARY_UOM, MUM.UOM_CLASS PRIMARY_UOM_CLASS, ROUND(POD.QUANTITY_DELIVERED, 5), ROUND(DECODE(SIGN(NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),1, 0,0, 0,1, NVL((POD.QUANTITY_ORDERED NVL(POD.QUANTITY_CANCELLED, 0) NVL(POD.QUANTITY_DELIVERED, 0)),0)),5) EXPECTED_RECEIPT_QTY, NVL(MSI.ALLOWED_UNITS_LOOKUP_CODE, 2) ITEM_ALLOWED_UNITS_LOOKUP_CODE, NVL(MSI.LOCATION_CONTROL_CODE, 1) ITEM_LOCATOR_CONTROL, DECODE(MSI.RESTRICT_LOCATORS_CODE, 1,Y,NOT) RESTRICT_LOCATORS_CODE, DECODE(MSI.RESTRICT_SUBINVENTORIES_CODE, 1,Y,NOT) RESTRICT_SUBINVENTORIES_CODE, NVL(MSI.SHELF_LIFE_CODE, 1) SHELF_LIFE_CODE, NVL(MSI.SHELF_LIFE_DAYS, 0) SHELF_LIFE_DAYS, MSI.SERIAL_NUMBER_CONTROL_CODE SERIAL_NUMBER_CONTROL_CODE, MSI.LOT_CONTROL_CODE LOT_CONTROL_CODE, DECODE(MSI.REVISION_QTY_CONTROL_CODE, 1,N,2,Y,NOT) ITEM_REV_CONTROL_FLAG_TO, NULL ITEM_REV_CONTROL_FLAG_FROM, ICX_UTIL.ITEM_FLEX_SEG(MSI.ROWID) ITEM_NUMBER, POL.ITEM_REVISION ITEM_REVISION, POL.ITEM_DESCRIPTION ITEM_DESCRIPTION, POL.CATEGORY_ID ITEM_CATEGORY_ID, MCA.CONCATENATED_SEGMENTS CATEGORY, POHC.HAZARD_CLASS HAZARD_CLASS, POUN.UN_NUMBER UN_NUMBER, POL.VENDOR_PRODUCT_NUM VENDOR_ITEM_NUMBER, POLL.SHIP_TO_LOCATION_ID SHIP_TO_LOCATION_ID, HL.LOCATION_CODE SHIP_TO_LOCATION, HL2.LOCATION_CODE DELIVER_TO_LOCATION, NULL PACKING_SLIP, POLL.RECEIVING_ROUTING_ID ROUTING_ID, RCVRH.ROUTING_NAME ROUTING_NAME, POLL.NEED_BY_DATE NEED_BY_DATE, NVL(POLL.PROMISED_DATE, POLL.NEED_BY_DATE) EXPECTED_RECEIPT_DATE, POD.Q UANTITY_ORDERED ORDERED_QTY, POL.UNIT_MEAS_LOOKUP_CODE ORDERED_UOM, POLL.USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE, POLL.GOVERNMENT_CONTEXT GOVERNMENT_CONTEXT, POLL.INSPECTION_REQUIRED_FLAG INSPECTION_REQUIRED_FLAG, POLL.RECEIPT_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG, POLL.ENFORCE_SHIP_TO_LOCATION_CODE ENFORCE_SHIP_TO_LOCATION_CODE, POL.UNIT_PRICE UNIT_PRICE, POH.CURRENCY_CODE, POH.RATE_TYPE CURRENCY_CONVERSION_TYPE, POH.RATE_DATE CURRENCY_CONVERSION_DATE, POH.RATE CURRENCY_CONVERSION_RATE, POH.NOTE_TO_RECEIVER, POD.DESTINATION_TYPE_CODE, POD.DELIVER_TO_PERSON_ID, POD.DELIVER_TO_LOCATION_ID, POD.DESTINATION_SUBINVENTORY, POD.PO_DISTRIBUTION_ID, POLL.ATTRIBUTE_CATEGORY, POLL.ATTRIBUTE1,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 187

POLL.ATTRIBUTE2, POLL.ATTRIBUTE3, POLL.ATTRIBUTE4, POLL.ATTRIBUTE5, POLL.ATTRIBUTE6, POLL.ATTRIBUTE7, POLL.ATTRIBUTE8, POLL.ATTRIBUTE9, POLL.ATTRIBUTE10, POLL.ATTRIBUTE11, POLL.ATTRIBUTE12, POLL.ATTRIBUTE13, POLL.ATTRIBUTE14, POLL.ATTRIBUTE15, POLL.CLOSED_CODE, PORL2.AUTO_RECEIVE_FLAG, HRE.FULL_NAME REQUESTER, POH.REVISION_NUM, POH.SEGMENT1 ||DECODE(POR.RELEASE_NUM, NULL,,||POR.RELEASE_NUM) FROM HR_EMPLOYEES_CURRENT_V HRE, PO_RELEASES POR, PO_LOOKUP_CODES PLC, PO_VENDORS POV, PO_HAZARD_CLASSES POHC, PO_UN_NUMBERS POUN, RCV_ROUTING_HEADERS RCVRH, HR_LOCATIONS HL, HR_LOCATIONS HL2, MTL_SYSTEM_ITEMS MSI, MTL_UNITS_OF_MEASURE MUM, PO_LINE_TYPES POLT, PO_REQUISITION_HEADERS PORH, PO_REQUISITION_LINES PORL2, MTL_CATEGORIES_KFV MCA, PO_REQ_DISTRIBUTIONS PORD, PO_LINES POL, PO_DISTRIBUTIONS POD, PO_HEADERS POH, PO_LINE_LOCATIONS POLL WHERE HRE.EMPLOYEE_ID = POH.AGENT_ID AND POD.DE LIVER_TO_PERSON_ID is null and NVL(POLL.APPROVED_FLAG,N) = Y AND NVL(POLL.CANCEL_FLAG, N) = N AND NVL(POLL.CLOSED_CODE,OPEN) NOT IN (FINALLY CLOSED, CLOSED, CLOSED FOR RECEIVING, CANCELLED) AND POLL.SHIPMENT_TYPE IN (STANDARD,BLANKET,SCHEDULED) AND POLL.RECEIVING_ROUTING_ID = 3 AND POH.PO_HEADER_ID = POLL.PO_HEADER_ID AND POH.PO_HEADER_ID >= 0 AND POL.PO_LINE_ID = POLL.PO_LINE_ID AND POD.PO_HEADER_ID = POLL.PO_HEADER_ID AND POD.PO_LINE_ID = POL.PO_LINE_ID AND POD.LINE_LOCATION_ID = POLL.LINE_LOCATION_ID AND MSI.HAZARD_CLASS_ID = POHC.HAZARD_CLASS_ID(+) AND MSI.UN_NUMBER_ID = POUN.UN_NUMBER_ID (+) AND POLL.PO_RELEASE_ID = POR.PO_RELEASE_ID(+) AND

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 188 Oracle SefService Purchasing 5 Technical Reference Manual

POLL.SHIP_TO_LOCATION_ID = HL.LOCATION_ID(+) AND PORL2.DELIVER_TO_LOCATION_ID = HL2.LOCATION_ID(+) AND POH.VENDOR_ID = POV.VENDOR_ID(+) AND PLC.LOOKUP_TYPE = PO TYPE AND POH.TYPE_LOOKUP_CODE = PLC.LOOKUP_CODE AND POL.LINE_TYPE_ID = POLT.LINE_TYPE_ID(+) AND POLL.RECEIVING_ROUTING_ID = RCVRH.ROUTING_HEADER_ID(+) AND MUM.UNIT_OF_MEASURE (+) = POL.UNIT_MEAS_LOOKUP_CODE AND NVL(MSI.ORGANIZATION_ID, POLL.SHIP_TO_ORGANIZATION_ID) = POLL.SHIP_TO_ORGANIZATION_ID AND MSI.INVENTORY_ITEM_ID (+) = POL.ITEM_ID AND PORD.DISTRIBUTION_ID = POD.REQ_DISTRIBUTION_ID AND PORD.REQUISITION_LINE_ID = PORL2.REQUISITION_LINE_ID AND EXISTS ( SELECT X FROM PO_REQUISITION_LINES PORL WHERE PORL.LINE_LOCATION_ID = POLL.LINE_LOCATION_ID ) AND PORL2.REQUISITION_HEADER_ID = PORH.REQUISITION_HEADER_ID AND MCA.CATEGORY_ID = POL.CATEGORY_ID

Column Descriptions Name LINE_CHKBOX RECEIPT_DATE AGENT_ID REQUESTOR_ID REQUISITION_CREATION_DATE SOURCE_TYPE_CODE RECEIPT_SOURCE_CODE ORDER_TYPE_CODE ORDER_TYPE PO_HEADER_ID PO_NUMBER PO_LINE_ID PO_LINE_NUMBER PO_LINE_LOCATION_ID PO_SHIPMENT_NUMBER PO_RELEASE_ID PO_RELEASE_NUMBER REQ_HEADER_ID REQ_NUMBER REQ_LINE_ID REQ_LINE REQ_DISTRIBUTION_ID RCV_SHIPMENT_HEADER_ID RCV_SHIPMENT_NUMBER RCV_SHIPMENT_LINE_ID RCV_LINE_NUMBER FROM_ORGANIZATION_ID TO_ORGANIZATION_ID VENDOR_ID SOURCE VENDOR_SITE_ID OUTSIDE_OPERATION_FLAG ITEM_ID PRIMARY_UOM PRIMARY_UOM_CLASS QUANTITY_DELIVERED

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(3) DATE NUMBER NUMBER DATE VARCHAR2(6) VARCHAR2(6) VARCHAR2(2) VARCHAR2(25) NUMBER VARCHAR2(20) NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR2(20) NUMBER NUMBER NUMBER NUMBER VARCHAR2(20) NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR2(80) NUMBER VARCHAR2(3) NUMBER VARCHAR2(25) VARCHAR2(10) NUMBER

Description Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 189

EXPECTED_RECEIPT_QTY ITEM_ALLOWED_UNITS_LOOKUP_CODE ITEM_LOCATOR_CONTROL RESTRICT_LOCATORS_CODE RESTRICT_SUBINVENTORIES_CODE SHELF_LIFE_CODE SHELF_LIFE_DAYS SERIAL_NUMBER_CONTROL_CODE LOT_CONTROL_CODE ITEM_REV_CONTROL_FLAG_TO ITEM_REV_CONTROL_FLAG_FROM ITEM_NUMBER ITEM_REVISION ITEM_DESCRIPTION ITEM_CATEGORY_ID CATEGORY HAZARD_CLASS UN_NUMBER VENDOR_ITEM_NUMBER SHIP_TO_LOCATION_ID SHIP_TO_LOCATION DELIVER_TO_LOCATION PACKING_SLIP ROUTING_ID ROUTING_NAME NEED_BY_DATE EXPECTED_RECEIPT_DATE ORDERED_QTY ORDERED_UOM USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT INSPECTION_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG ENFORCE_SHIP_TO_LOCATION_CODE UNIT_PRICE CURRENCY_CODE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE NOTE_TO_RECEIVER DESTINATION_TYPE_CODE DELIVER_TO_PERSON_ID DELIVER_TO_LOCATION_ID DESTINATION_SUBINVENTORY PO_DISTRIBUTION_ID ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

NUMBER NUMBER NUMBER VARCHAR2(3) VARCHAR2(3) NUMBER NUMBER NUMBER NUMBER VARCHAR2(3)

Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer Refer VARCHAR2(4000) Refer VARCHAR2(3) Refer VARCHAR2(240) Refer NUMBER Refer VARCHAR2(81) Refer VARCHAR2(40) Refer VARCHAR2(25) Refer VARCHAR2(25) Refer NUMBER Refer VARCHAR2(20) Refer VARCHAR2(20) Refer Refer NUMBER Refer VARCHAR2(30) Refer DATE Refer DATE Refer NUMBER Refer VARCHAR2(25) Refer VARCHAR2(30) Refer VARCHAR2(30) Refer VARCHAR2(1) Refer VARCHAR2(1) Refer VARCHAR2(25) Refer NUMBER Refer VARCHAR2(15) Refer VARCHAR2(30) Refer DATE Refer NUMBER Refer VARCHAR2(240) Refer VARCHAR2(25) Refer NUMBER Refer NUMBER Refer VARCHAR2(10) Refer NUMBER Refer VARCHAR2(30) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer VARCHAR2(150) Refer

to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to to

base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base base

table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 190 Oracle SefService Purchasing 5 Technical Reference Manual

ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CLOSED_CODE AUTO_RECEIVE_FLAG REQUESTER REVISION_NUM PO_NUM_REL_NUM

NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(25) VARCHAR2(1) VARCHAR2(240) NUMBER VARCHAR2(61)

Refer Refer Refer Refer Refer Refer Refer Refer Refer

to to to to to to to to to

base base base base base base base base base

table. table. table. table. table. table. table. table. table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 191

POR_REQUESTER_LOV_V
The POR_REQUESTER_LOV_V view returns a list of requesters that allows the user to choose to be the requester of the purchasing item.
View Definition CREATE VIEW POR_REQUESTER_LOV_V as SELECT FWU.USER_ID , HRE.FULL_NAME , HRE.EMAIL_ADDRESS , HRE.EMPLOYEE_NUM , HRE.EMPLOYEE_ID , HRE.DEFAULT_CODE_COMBINATION_ID , HRE.LOCATION_ID , HRL.LOCATION_CODE , HRE.ORGANIZATION_ID , HRE.BUSINESS_GROUP_ID , HRE.EXPENSE_CHECK_ADDRESS_FLAG , NVL(HRL.INVENTORY_ORGANIZATION_ID,FSP.INVENTORY_ORGANIZATION_ID) DELIVER_TO_ORG_ID Where FROM HR_EMPLOYEES_CURRENT_V HRE, HR_LOCATIONS HRL, FND_USER FWU, HR_EMPLOYEES_CURRENT_V HRE2 , FINANCIALS_SYSTEM_PARAMETERS FSP WHERE HRE2.EMPLOYEE_ID = FWU.EMPLOYEE_ID AND HRE.LOCATION_ID = HRL.LOCATION_ID(+) AND FWU.USER_ID= FND_GLOBAL.USER_ID AND ((fnd_profile.value_wnps(ICX_REQ_OVERRIDE_REQUESTOR_CODE) = NO AND HRE.EMPLOYEE_ID = FWU.EMPLOYEE_ID) OR ((fnd_profile.value_wnps(ICX_REQ_OVERRIDE_REQUESTOR_CODE) = ORG AND HRE2.ORGANIZATION_ID = HRE.ORGANIZATION_ID)) OR (fnd_profile.value_wnps(ICX_REQ_OVERRIDE_REQUESTOR_CODE) = ALL))

Column Descriptions Name USER_ID FULL_NAME EMAIL_ADDRESS EMPLOYEE_NUM EMPLOYEE_ID DEFAULT_CODE_COMBINATION_ID LOCATION_ID LOCATION_CODE ORGANIZATION_ID BUSINESS_GROUP_ID EXPENSE_CHECK_ADDRESS_FLAG

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(15) VARCHAR2(240) VARCHAR2(240) VARCHAR2(30) NUMBER(9) NUMBER(15) NUMBER(15) VARCHAR2(20) NUMBER(15) NUMBER(15) VARCHAR2(30)

Description User Identifier Full Name Email Address Employee Number Employee Identifier Default Code Combination Location Identifier Location Code Organization Identifier Business Group Identifier Expense Check Address

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 192 Oracle SefService Purchasing 5 Technical Reference Manual

DELIVER_TO_ORG_ID

NULL NUMBER(15)

Inventory Organization Identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 193

POR_SUBINVENTORY_LOV_V
The POR_SUBINVENTORY_LOV_V view returns a list of subinventories that allows the user to choose to be the subinventory of the purchasing item.
View Definition CREATE VIEW POR_SUBINVENTORY_LOV_V as SELECT msci.secondary_inventory_name, msci.description, msci.organization_id FROM mtl_secondary_inventories msci WHERE sysdate < nvl(msci.disable_date, sysdate + 1)

Column Descriptions Name SECONDARY_INVENTORY_NAME DESCRIPTION ORGANIZATION_ID

Null? Type NULL VARCHAR2(10) NULL VARCHAR2(50) NULL NUMBER

Description Secondary Inventory Name Description Organization Identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 194 Oracle SefService Purchasing 5 Technical Reference Manual

POR_SUPPLIER_LOV_V
The POR_SUPPLIER_LOV_V view returns a list of suppliers that allows the user to choose to be the supplier of the purchasing item.
View Definition CREATE VIEW POR_SUPPLIER_LOV_V as SELECT PSV.VENDOR_ID, PSSV.VENDOR_SITE_ID, PSCV.VENDOR_CONTACT_ID, PSV.VENDOR_NAME, (DECODE (PSCV.FIRST_NAME, NULL, PSCV.LAST_NAME, PSCV.LAST_NAME||, ||PSCV.FIRST_NAME) ), PSSV.ADDRESS_LINE1, PSSV.ADDRESS_LINE2, PSSV.ADDRESS_LINE3, PSSV.CITY, PSSV.STATE, PSSV.ZIP, PSSV.COUNTRY, (PSCV.AREA_CODE|| ||PSCV.PHONE) TELEPHONE, PSSV.VENDOR_SITE_CODE Where WHERE PSV.VENDOR_ID = PSSV.VENDOR_ID(+) AND (PSSV.PURCHASING_SITE_FLAG = Y or PSSV.RFQ_ONLY_SITE_FLAG = Y) AND SYSDATE < NVL(PSCV.INACTIVE_DATE, SYSDATE + 1) AND SYSDATE < NVL(PSSV.INACTIVE_DATE, SYSDATE + 1) AND PSSV.VENDOR_SITE_ID = PSCV.VENDOR_SITE_ID(+) AND NVL(PSCV.VENDOR_CONTACT_ID,9999) = ( SELECT NVL(MIN(VENDOR_CONTACT_ID),9999) FROM PO_SUPPLIER_CONTACTS_VAL_V PSCV2 WHERE PSSV.VENDOR_SITE_ID = PSCV2.VENDOR_SITE_ID)

Column Descriptions Name VENDOR_ID VENDOR_SITE_ID VENDOR_CONTACT_ID VENDOR_NAME CONTACT ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3 CITY STATE ZIP COUNTRY TELEPHONE VENDOR_SITE_CODE

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER VARCHAR2(80) VARCHAR2(37) VARCHAR2(35) VARCHAR2(35) VARCHAR2(35) VARCHAR2(25) VARCHAR2(25) VARCHAR2(20) VARCHAR2(25) VARCHAR2(28) VARCHAR2(15)

Description Vendor Identifier Vendor Site Identifier Vendor Contact Identifier Vendor Name Supplier Contact Address Line 1 Address Line 2 Address Line 3 City State Zip Country Telephone Vendor Site Code

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 195

POR_TASK_LOV_V
The POR_TASK_LOV_V view returns a list of tasks that allow the user to choose from.
View Definition CREATE VIEW POR_TASK_LOV_V as SELECT task_number , indented_task_name , start_date , completion_date , decode(chargeable_flag,Y,*,null) chargeable , task_id , 2 enabled_task_level, project_id, wbs_sort_order from pa_tasks_expend_v

Column Descriptions Name TASK_NUMBER INDENTED_TASK_NAME START_DATE COMPLETION_DATE CHARGEABLE TASK_ID ENABLED_TASK_LEVEL PROJECT_ID WBS_SORT_ORDER

Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(20) DATE DATE VARCHAR2(1)

Description

Task Number Indented Task Number Task Start Date Task Completion Date Determine whether the task is chargeable NUMBER(15) Task Identifier NUMBER(1) Enabled Task Level NUMBER(15) Project Identifier VARCHAR2(4000) WBS Sort Order

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 196 Oracle SefService Purchasing 5 Technical Reference Manual

POR_TEMPLATES_V
The POR_TEMPLATES_V view returns the information used to display the information template. It gives out the name of the information template and the AK region code that it used.
View Definition CREATE VIEW POR_TEMPLATES_V as SELECT ar.rowid row_id, ar.region_code region_code, art.name name from ak_regions_tl art, ak_regions ar ar.region_code like IFT_% and ar.database_object_name = POR_INFO_TEMPLATE_V and ar.region_style = TABLE and ar.region_code = art.region_code

Column Descriptions Name ROW_ID REGION_CODE NAME

Null? Type NULL ROWID NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(30)

Description Row Identifier AK Region Code Name of Information Template

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 197

POR_TEMPLATE_ASSOC
This table determines which category or item an information template is associated with.
Column Descriptions Name TEMPLATE_ASSOC_ID (PK) REGION_CODE ITEM_OR_CATEGORY_FLAG ITEM_OR_CATEGORY_ID CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 Indexes Index Name POR_TEMPLATE_ASSOC_N2 POR_TEMPLATE_ASSOC_U1 Sequences Sequence POR_TEMPLATE_ASSOC_S POR_TEMPLATES_S

Null? Type NOT NULL NUMBER NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(1) NOT NULL NULL NULL NOT NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER DATE NUMBER DATE NUMBER VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Description Template association identifier Ak region code Flag to determine item or category Item/Cateogry ID Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment

Index Type NOT UNIQUE UNIQUE

Sequence 1 2 1

Column Name ITEM_OR_CATEGORY_FLAG ITEM_OR_CATEGORY_ID TEMPLATE_ASSOC_ID

Derived Column TEMPLATE_ASSOC_ID REGION_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 198 Oracle SefService Purchasing 5 Technical Reference Manual

POR_TEMPLATE_ASSOC_V
The POR_TEMPLATE_ASSOC_V view is used in Information Template. It returns the association between the information templates and the items or categories. It gives out whether the information template is assocated with an item or a category.
View Definition CREATE VIEW POR_TEMPLATE_ASSOC_V as SELECT pta.rowid row_id, pta.template_assoc_id template_assoc_id, pta.region_code region_code, pta.item_or_category_flag item_or_category_flag, pta.item_or_category_id item_or_category_id, pta.created_by created_by, pta.creation_date creation_date, pta.last_updated_by last_updated_by, pta.last_update_date last_update_date, pta.last_update_login last_update_login from por_template_assoc pta

Column Descriptions Name ROW_ID TEMPLATE_ASSOC_ID REGION_CODE ITEM_OR_CATEGORY_FLAG ITEM_OR_CATEGORY_ID CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN

Null? Type NULL ROWID NOT NULL NUMBER NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(1) NOT NULL NULL NULL NOT NULL NOT NULL NULL NUMBER NUMBER DATE NUMBER DATE NUMBER

Description Row Identifier Information Template Association Identifier AK Region Code Flag to determine item or category Identifier for Item/Category Standard Who Column Standard Who Column Standard Who Column Standard Who Column Standard Who Column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 199

POR_TEMPLATE_ATTRIBUTES_V
The POR_TEMPLATE_ATTRIBUTES_V view returns the information used about the attributes that are used in Information Template. This display sequence of the attribute is used to indicate the sequence that various attributes are displayed. The required flag indicates whether the attribute requires to fill in for a particular information template.
View Definition CREATE VIEW POR_TEMPLATE_ATTRIBUTES_V as SELECT ari.rowid row_id, ari.region_code region_code, ari.display_sequence display_sequence, ari.attribute_code attribute_code, arit.attribute_label_short attribute_label_short, arit.attribute_label_long attribute_label_long, ari.default_value_varchar2 default_value_varchar2, ari.lov_region_code lov_region_code, ari.required_flag required_flag, ari.node_display_flag node_display_flag, ari.created_by created_by, ari.creation_date creation_date, ari.last_updated_by last_updated_by, ari.last_update_date last_update_date, ari.last_update_login last_update_login from ak_region_items_tl arit, ak_region_items ari ari.region_code = arit.region_code and ari.attribute_code = arit.attribute_code and ari.region_code like IFT_%

Column Descriptions Name ROW_ID REGION_CODE DISPLAY_SEQUENCE ATTRIBUTE_CODE ATTRIBUTE_LABEL_SHORT ATTRIBUTE_LABEL_LONG DEFAULT_VALUE_VARCHAR2 LOV_REGION_CODE REQUIRED_FLAG NODE_DISPLAY_FLAG CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN

Null? Type NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL ROWID VARCHAR2(30) NUMBER(15) VARCHAR2(30) VARCHAR2(30) VARCHAR2(50) VARCHAR2(240) VARCHAR2(30) VARCHAR2(1)

Description Row Identifier AK Region Code Display Sequence AK Attribute Code AK Attribute Short Label AK Attribute Long Label Default Value LOV Region Code Determine if the attribute is required Determine if the node should be displayed Standard Who Column Standard Who Column Standard Who Column Standard Who Column Standard Who Column

NOT

NOT NULL VARCHAR2(1) NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NUMBER(15) DATE NUMBER(15) DATE NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 200 Oracle SefService Purchasing 5 Technical Reference Manual

POR_TEMPLATE_INFO
Contains the user entered values for various attributes in the information template.
Column Descriptions Name REQUISITION_LINE_ID ATTRIBUTE_CODE ATTRIBUTE_LABEL_LONG ATTRIBUTE_VALUE CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 Indexes Index Name POR_TEMPLATE_INFO_N2 Sequences Sequence POR_TEMPLATE_ATTRIBUTES_S

Null? Type NOT NULL NUMBER NOT NULL VARCHAR2(30) NULL VARCHAR2(50) NULL VARCHAR2(100) NULL NUMBER NULL DATE NOT NULL NUMBER NOT NULL DATE NULL NUMBER NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Description Requisition line identifier Ak attribute code Long label ak attribute Ak attribute value Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment

Index Type NOT UNIQUE

Sequence 5

Column Name REQUISITION_LINE_ID

Derived Column ATTRIBUTE_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 201

POR_UNIT_OF_MEASURE_LOV_V
The POR_UNIT_OF_MEASURE_LOV_V view returns a list of units from which the user can choose to measure the purchasing item.
View Definition CREATE VIEW POR_UNIT_OF_MEASURE_LOV_V as SELECT MUC.UNIT_OF_MEASURE FROM MTL_UOM_CONVERSIONS MUC WHERE MUC.INVENTORY_ITEM_ID = 0 AND NVL(MUC.DISABLE_DATE,SYSDATE+1) > SYSDATE

Column Descriptions Name UNIT_OF_MEASURE

Null? Type NULL VARCHAR2(25)

Description Unit of Measure

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 202 Oracle SefService Purchasing 5 Technical Reference Manual

POR_VIEW_HEADER_V
The POR_VIEW_HEADER_V view provides data to POR_OD_HEADER_R region on Order Detail Page
View Definition CREATE VIEW POR_VIEW_HEADER_V as SELECT prh.requisition_header_id, prh.segment1, prh.preparer_id, hre.full_name, prh.description, prh.note_to_authorizer, prh.authorization_status, plc_auth.displayed_field, por_view_reqs_pkg.get_note_to_agent(prh.requisition_header_id), to_char(prh.creation_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), to_char(por_view_reqs_pkg.get_req_total(prh.requisition_header_id), fnd_currency.safe_get_format_mask(sob.currency_code, 30)), por_view_reqs_pkg.get_requester(prh.requisition_header_id), por_view_reqs_pkg.get_requester(prh.requisition_header_id) || <br> || por_view_reqs_pkg.get_deliver_to(prh.requisition_header_id), prh.emergency_po_num, prh.attribute1, prh.attribute2, prh.attribute3, prh.attribute4, prh.attribute5, prh.attribute6, prh.attribute7, prh.attribute8, prh.attribute9, prh.attribute10, prh.attribute11, prh.attribute12, prh.attribute13, prh.attribute14, prh.attribute15 FROM po_lookup_codes plc_auth, per_all_people_f hre, po_requisition_headers prh, gl_sets_of_books sob, financials_system_parameters fsp WHERE sysdate between hre.effective_start_date AND hre.effective_end_date AND prh.preparer_id = hre.person_id AND plc_auth.lookup_code = NVL(prh.authorization_status, INCOMPLETE) AND plc_auth.lookup_type = AUTHORIZATION STATUS AND sob.set_of_books_id = fsp.set_of_books_id

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 203

Column Descriptions Name REQUISITION_HEADER_ID REQ_NUM PREPARER_ID PREPARER_NAME DESCRIPTION NOTE_TO_AUTHORIZER APPROVAL_STATUS_CODE STATUS NOTE_TO_BUYER CREATION_DATE REQUISITION_TOTAL REQUESTOR SHIP_TO EMERGENCY_PO_NUM ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

Null? Type NULL NUMBER NULL VARCHAR2(20) NULL NUMBER(9) NULL VARCHAR2(240) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(25) VARCHAR2(25) VARCHAR2(240) DATE NUMBER VARCHAR2(240) VARCHAR2(240) VARCHAR2(20) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Description Requisition header unique identifier Requsition number Identify the employee who prepared the requisition The name of the employee who prepared the requisition Requisition description Note to authorizer Authorization status type Authorization status Note to buyer Standard Who Column Requisition total Requestor name Ship to address Emergency PO number Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 204 Oracle SefService Purchasing 5 Technical Reference Manual

POR_VIEW_LINES_V
The POR_VIEW_LINES_V view provides data to POR_OD_LINES_R region on Order Detail Page
View Definition CREATE VIEW POR_VIEW_LINES_V as SELECT prl.requisition_line_id, prl.requisition_header_id, mc.segment1, msi.segment1, prl.item_description, to_char(prl.need_by_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), por_view_reqs_pkg.get_account_number(prl.requisition_line_id), ph.segment1|| decode(pr.release_num, null, , || pr.release_num), prl.quantity, to_char(prl.unit_price * (prl.quantity nvl(prl.quantity_cancelled,0)), fnd_currency.safe_get_format_mask(sob.currency_code, 30)), prl.unit_meas_lookup_code, prl.line_num, prl.unit_price, pv.vendor_name, prl.suggested_vendor_product_code, pvs.vendor_site_code, prl.suggested_vendor_contact, hre.full_name, hrl.location_code, decode(prl.destination_type_code, INVENTORY, Y, N), prl.destination_subinventory, por_view_reqs_pkg.get_project_number(prl.requisition_line_id), por_view_reqs_pkg.get_task_name(prl.requisition_line_id), por_view_reqs_pkg.get_expenditure_type(prl.requisition_line_id) FROM po_requisition_lines prl, po_line_locations pll, po_headers ph, po_releases pr, mtl_system_items_kfv msi, mtl_categories mc, po_vendors pv, po_vendor_sites pvs, per_all_people_f hre, hr_locations hrl, gl_sets_of_books sob, financials_system_parameters fsp WHERE prl.line_location_id = pll.line_location_id(+) and pll.po_header_id = ph.po_header_id(+) and pll.po_release_id = pr.po_release_id(+) and prl.vendor_id = pv.vendor_id(+) and prl.vendor_site_id = pvs.vendor_site_id(+) and sysdate between hre.effective_start_date AND hre.effective_end_date AND hre.person_id = prl.to_person_id and

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 205

prl.deliver_to_location_id = hrl.location_id and prl.item_id = msi.inventory_item_id(+) and prl.destination_organization_id = msi.organization_id(+) and prl.category_id = mc.category_id and sob.set_of_books_id = fsp.set_of_books_id

Column Descriptions Name REQUISITION_LINE_ID REQUISITION_HEADER_ID CATEGORY ITEM_NUMBER DESCRIPTION NEED_BY_DATE CHARGE_ACCOUNT PO_NUMBER QUANTITY LINE_TOTAL UNIT_OF_MEASURE LINE_NUM UNIT_PRICE SUPPLIER SUPPLIER_ITEM_NUM SUPPLIER_SITE SUPPLIER_CONTACT REQUESTER DELIVER_TO_LOCATION INVENTORY_REPLENISHMENT SUBINVENTORY PROJECT_NUMBER TASK EXPENDITURE_TYPE

Null? Type NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(40) VARCHAR2(40) VARCHAR2(240) DATE VARCHAR2(240) VARCHAR2(20) NUMBER VARCHAR2(240) VARCHAR2(25) NUMBER NUMBER VARCHAR2(240) VARCHAR2(25) VARCHAR2(15) VARCHAR2(80) VARCHAR2(240) VARCHAR2(20) VARCHAR2(1) VARCHAR2(10) VARCHAR2(25) VARCHAR2(20) VARCHAR2(30)

Description Requisition line unique dentifier Requisition header unique identifier Requisition category Item number Item description When the item is needed Charge account number PO number Item quantity Line total Unit of measure Line number Unit price Supplier name Supplier item number Supplier site Supplier contact information Requester name Deliver to location Indicates whether inventory replenishment or not Destination subinventory Project number Task name Expenditure type

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 206 Oracle SefService Purchasing 5 Technical Reference Manual

POR_VIEW_LINE_DETAILS_V
The POR_VIEW_LINE_DETAILS_V view provides data to POR_VIEW_LINE_DETAILS_R region on View Line Details Page.
View Definition CREATE VIEW POR_VIEW_LINE_DETAILS_V as SELECT prl.requisition_line_id, prl.requisition_header_id, nvl(prl.item_id, 9999), msi.segment1, prl.item_revision, prl.item_description, prl.category_id, mtlc.concatenated_segments, mtlc.description, to_char(prl.need_by_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), prl.unit_meas_lookup_code, prl.unit_price, prl.unit_price, prl.unit_price, prl.quantity, prl.tax_status_indicator, plc_supp.displayed_field, prl.suggested_vendor_name, prl.suggested_vendor_product_code, prl.suggested_vendor_location, prl.suggested_vendor_contact, prl.suggested_vendor_phone, pv.segment1, prl.supplier_duns, prl.manufacturer_name, prl.manufacturer_part_number, prl.to_person_id, hre.full_name, prl.requester_email, prl.requester_phone, prl.requester_fax, prl.deliver_to_location_id, hrl.location_code, prl.destination_organization_id, ood.organization_code, plc_inv_repl.displayed_field, prl.destination_subinventory, dist.project_id, dist.project, dist.task_id, dist.task_name, dist.expenditure_type, dist.expenditure_org_id, dist.expenditure_org, to_char(dist.expenditure_item_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), prh.note_to_authorizer, prl.note_to_agent,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 207

prl.note_to_receiver, prl.note_to_vendor, to_char(prl.unit_price * (prl.quantity nvl(prl.quantity_cancelled,0)), fnd_currency.safe_get_format_mask(sob.currency_code, 30)), prl.currency_code, prl.hazard_class_id, phc.hazard_class, prl.line_num, prl.line_type_id, plt.line_type, ph_source_doc.segment1, prl.blanket_po_line_num, prl.document_type_code, prl.unspsc_code, prl.attribute1, prl.attribute2, prl.attribute3, prl.attribute4, prl.attribute5, prl.attribute6, prl.attribute7, prl.attribute8, prl.attribute9, prl.attribute10, prl. attribute11, prl.attribute12, prl.attribute13, prl.attribute14, prl.attribute15, prl.pcard_flag, dist.concatenated_segments, prl.catalog_type, ph.segment1, plc.displayed_field, agent.full_name FROM po_requisition_headers prh, po_requisition_lines prl, mtl_system_items msi, mtl_categories_kfv mtlc, po_vendors pv, po_headers ph_source_doc, po_line_locations pll, po_headers ph, po_lookup_codes plc, hr_employees_current_v agent, po_hazard_classes phc, po_line_types plt, hr_employees_current_v hre, hr_locations hrl, gl_sets_of_books sob, po_lookup_codes plc_supp, po_lookup_codes plc_inv_repl, org_organization_definitions ood, financials_system_parameters fsp,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 208 Oracle SefService Purchasing 5 Technical Reference Manual

(SELECT /*+ INDEX(prd2$PO_REQ_DISTRIBUTIONS_N1) */ prd2.requisition_line_id, decode (count(distinct nvl(prd2.code_combination_id,0)), 1, min(cc.concatenated_segments), min(MULTIPLE_VALUE)) AS concatenated_segments, min(prd2.project_id) AS project_id, min(projects.segment1) AS project, min(prd2.task_id) AS task_id, min(tasks.task_number) AS task_name, min(prd2.expenditure_type) AS expenditure_type, min(prd2.expenditure_organization_id) AS expenditure_org_id, min(orgs.name) AS expenditure_org, min(prd2.expenditure_item_date) AS expenditure_item_date FROM po_req_distributions prd2, gl_code_combinations_kfv cc, pa_projects projects, pa_tasks tasks, pa_organizations_expend_v orgs, gl_sets_of_books sob2, financials_system_parameters fsp2 WHERE prd2.expenditure_organization_id = orgs.organization_id(+) and prd2.project_id = projects.project_id(+) and prd2.task_id = tasks.task_id(+) and cc.code_combination_id = prd2.code_combination_id and cc.chart_of_accounts_id = sob2.chart_of_accounts_id and sob2.set_of_books_id = fsp2.set_of_books_id GROUP BY prd2.requisition_line_id) dist WHERE prl.line_type_id = plt.line_type_id AND prh.requisition_header_id = prl.requisition_header_id AND prl.item_id = msi.inven tory_item_id (+) AND prl.destination_organization_id = msi.organization_id (+) AND prl.category_id = mtlc.category_id AND prl.vendor_id = pv.vendor_id (+) AND prl.to_person_id = hre.employee_id AND prl.deliver_to_location_id = hrl.location_id AND prl.destination_organization_id = ood.organization_id (+) AND prl.requisition_line_id = dist.requisition_line_id AND prl.blanket_po_header_id = ph_source_doc.po_header_id(+) AND prl.line_location_id = pll.line_location_id(+) and pll.po_header_id = ph.po_header_id(+) and nvl(ph.authorization_status, INCOMPLETE) = plc.lookup_code(+) AND plc.lookup_type(+) = AUTHORIZATION STATUS AND ph.agent_id = agent.employee_id(+) AND prl.hazard_class_id = phc.hazard_class_id(+) AND plc_supp.lookup_code = nvl(prl.new_supplier_flag, N) AND plc_supp.lookup_type = YES/NO AND plc_inv_repl.lookup_code = decode(prl.destination_type_code, INVENTORY, Y, N) AND plc_inv_repl.lookup_type = YES/NO AND sob.set_of_books_id = fsp.set_of_books_id

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 209

Column Descriptions Name REQUISITION_LINE_ID REQUISITION_HEADER_ID ITEM_ID ITEM_NUMBER ITEM_REVISION DESCRIPTION CATEGORY_ID CATEGORY CATEGORY_DESCRIPTION NEED_BY_DATE UNIT_MEAS_LOOKUP_CODE UNIT_PRICE RATE_PER_UNIT SERVICE_COST QUANTITY TAX_EXEMPT_FLAG NEW_SUPPLIER_FLAG SUGGESTED_VENDOR_NAME SUGGESTED_VENDOR_PRODUCT_CODE SUGGESTED_VENDOR_LOCATION SUGGESTED_VENDOR_CONTACT SUGGESTED_VENDOR_PHONE SUPPLIER_NUMBER SUPPLIER_DUNS MANUFACTURER MANUFACTURER_PART_NUMBER REQUESTER_ID REQUESTER REQUESTER_EMAIL REQUESTER_PHONE REQUESTER_FAX DELIVER_TO_LOCATION_ID LOCATION_CODE DELIVER_TO_ORG_ID ORGANIZATION_CODE INV_REPLENISHMENT_FLAG DESTINATION_SUBINVENTORY PROJECT_ID PROJECT TASK_ID TASK_NAME EXPENDITURE_TYPE EXPENDITURE_ORG_ID

Null? Type NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER VARCHAR2(3) VARCHAR2(240) NUMBER VARCHAR2(40) VARCHAR2(240) DATE VARCHAR2(25) NUMBER

Description Requisition line unique identifier Requisition header unique identifier Item unique identifier Item number Item revision Item description Item category unique identifier Item category Item category description Standard Who column Unit of measure Unit price in functional currency Unit price in functional currency Unit price in functional currency Quantity ordered Indicates whether the item is tax exempted or not Indicates whether the supplier is new or not Suggested vender name Suggested supplier product number Suggested supplier site name Suggested supplier contacted name Suggested supplier phone number Supplier number Data Universal Numbering System Code Manufacturer name Manufacturer part number Requester unique identifier Requester name Requester email Requester phone Requester fax Deliverto location unique identifier Location type Deliverto organization unique identifier Organization type Indicates whether the inventory is replenished or not Destination subinventory name Project unique identifier Project name Task unique identifier Task name Expenditure type Expenditure prganization unique identifier

NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(1) NULL VARCHAR2(80) NULL VARCHAR2(25) NULL VARCHAR2(240) NULL VARCHAR2(80) NULL VARCHAR2(20) NULL VARCHAR2(240) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(30) NUMBER VARCHAR2(240) VARCHAR2(240) VARCHAR2(60) VARCHAR2(60) NUMBER

NULL VARCHAR2(20) NULL VARCHAR2(15) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL NULL NULL NULL NULL NULL NULL VARCHAR2(10) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 210 Oracle SefService Purchasing 5 Technical Reference Manual

EXPENDITURE_ORG EXPENDITURE_ITEM_DATE NOTE_TO_APPROVER NOTE_TO_AGENT NOTE_TO_RECEIVER NOTE_TO_VENDOR LINE_TOTAL CURRENCY_CODE HAZARD_CLASS_ID HAZARD_CLASS LINE_NUM LINE_TYPE_ID LINE_TYPE SOURCE_DOC_NUM SOURCE_DOC_LINE_NUM SOURCE_DOC_TYPE_CODE UNSPSC_CODE ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 PCARD_FLAG CHARGE_ACCOUNT CATALOG_TYPE PO_NUMBER PO_STATUS BUYER

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(75) VARCHAR2(25) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) NUMBER VARCHAR2(15) NUMBER VARCHAR2(240) NUMBER NUMBER VARCHAR2(240) NUMBER(15) NUMBER VARCHAR2(25) VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(1) VARCHAR2(240) VARCHAR2(240) VARCHAR2(20) VARCHAR2(25) VARCHAR2(240)

Expenditure organization name Expenditure item date Note to approver Note to buyer Note to receiver Note to supplier Line total Unique identifier for the currency Hazard class unique identifier Hazard class Line number Line type identifier Line type source document number Source document line number Source document type Standard Product and Service Code Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Descriptive Flexfield segment Unused Charge account Catalog type PO number PO status Buyer name

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 211

POR_VIEW_REQS_AUTOQUERY_V
The POR_VIEW_AUTOQUERY_V view provides data to POR_VIEW_ORDERS_R region on Order Status Page for Last 25 Orders and All My Orders queries.
View Definition CREATE VIEW POR_VIEW_REQS_AUTOQUERY_V as SELECT prh.requisition_header_id, prh.segment1, prh.preparer_id, hre.full_name, upper(hre.last_name), prh.description, prh.authorization_status, plc_auth.displayed_field, prh.cancel_flag, NVL(prh.closed_code,OPEN), apc.card_number, prh.creation_date, to_char(prh.creation_date, YYYYMMDD), prh.emergency_po_num FROM po_lookup_codes plc_auth, per_all_people_f hre, ap_cards apc, po_requisition_headers prh Where prh.preparer_id = hre.person_id AND hre.effective_start_date <= sysdate AND hre.effective_end_date >= sysdate AND apc.card_id(+) = prh.pcard_id AND plc_auth.lookup_code = NVL(prh.authorization_status, INCOMPLETE) AND plc_auth.lookup_type = AUTHORIZATION STATUS AND prh.type_lookup_code = PURCHASE

Column Descriptions Name REQ_HEADER_ID REQUISITION_NUMBER PREPARER_ID PREPARER_NAME PREPARER_LAST_NAME DESCRIPTION STATUS_CODE STATUS CANCEL_FLAG CLOSED_CODE

Null? Type NOT NULL NUMBER

Description

Requisition header unique identifier NOT NULL VARCHAR2(20) Requisition number NOT NULL NUMBER(9) Unique identifier for the employee who prepared the requisition NULL VARCHAR2(240) Name of the preparer NULL VARCHAR2(40) Last name of the preparer NULL VARCHAR2(240) Requisition description NULL VARCHAR2(25) Authorization status NULL VARCHAR2(25) Displayed value for authorization status NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(25) Close status

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 212 Oracle SefService Purchasing 5 Technical Reference Manual

PCARD_NUMBER CREATION_DATE COMPARED_CREATION_DATE EMERGENCY_PO_NUM

NULL VARCHAR2(80) NULL DATE NULL VARCHAR2(10) NULL VARCHAR2(20)

Procurement card number Standard Who column Creation date used for search criteria PO number for an emergency requisition

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 213

POR_VIEW_REQS_BY_APPROVER_V
The POR_VIEW_BY_APPROVER_V view provides data to POR_VIEW_REQS_R region on View Requisition Page
View Definition CREATE VIEW POR_VIEW_REQS_BY_APPROVER_V as SELECT prh.requisition_header_id, prh.segment1, prh.preparer_id, hre.full_name, upper(hre.last_name), prh.description, prh.authorization_status, plc_auth.displayed_field, prh.cancel_flag, plc_cancel.displayed_field, NVL(prh.closed_code,OPEN), plc_closed.displayed_field, apc.card_number, to_char(prh.creation_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), to_char(prh.creation_date, YYYYMMDD), to_char(prl.total, fnd_currency.safe_get_format_mask(sob.currency_code, 30)), upper(prl.supplier), prl.placed_on_po, prh.emergency_po_num FROM po_lookup_codes plc_auth, po_lookup_codes plc_closed, po_lookup_codes plc_cancel, po_lookup_codes plc_doctype, hr_employees_current_v hre, ap_cards apc, gl_sets_of_books sob, financials_system_parameters fsp, po_requisition_headers prh, po_approval_list_headers plh, po_approval_list_lines pll, fnd_user fnu, (SELECT prl2.requisition_header_id, SUM(prl2.unit_price * (prl2.quantity nvl(prl2.quantity_cancelled, 0))) AS total, decode (count(distinct nvl(prl2.vendor_id,0)), 1, min(pv.vendor_name), MULTIPLE_VALUE) AS supplier, decode (min(prl2.line_location_id), NULL, N, Y) AS placed_on_po FROM po_requisition_lines prl2, po_line_types plt, po_vendors pv WHERE prl2.line_type_id = plt.line_type_id AND plt.outside_operation_flag = N AND prl2.source_type_code = VENDOR AND

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 214 Oracle SefService Purchasing 5 Technical Reference Manual

pv.vendor_id(+) = prl2.vendor_id GROUP BY prl2.requisition_header_id) prl WHERE plh.document_id = prh.requisition_header_id AND plh.document_type = REQUISITION AND plh.document_subtype = PURCHASE AND plh.latest_revision = Y AND pll.approval_list_header_id = plh.approval_list_header_id AND fnu.user_id = FND_GLOBAL.USER_ID AND pll.approver_id = fnu.employee_id AND pll.status = APPROVE AND prh.preparer_id = hre.employee_id AND prh.pcard_id = apc.card_id(+) AND plc_auth.lookup_code = NVL(prh.authorization_status, INCOMPLETE) AND plc_auth.lookup_type = AUTHORIZATION STATUS AND plc_closed.lookup_code = NVL(prh.closed_code, OPEN) AND plc_closed.lookup_type = DOCUMENT STATE AND plc_cancel .lookup_code = NVL(prh.cancel_flag, N) AND plc_cancel.lookup_type = YES/NO AND plc_doctype.lookup_code = prh.type_lookup_code AND plc_doctype.lookup_type = REQUISITION TYPE AND prl.requisition_header_id = prh.requisition_header_id AND sob.set_of_books_id = fsp.set_of_books_id

Column Descriptions Name REQ_HEADER_ID REQUISITION_NUMBER PREPARER_ID PREPARER_NAME PREPARER_LAST_NAME DESCRIPTION STATUS_CODE STATUS CANCEL_FLAG CANCEL_STATUS CLOSED_CODE CLOSED_STATUS PCARD_NUMBER CREATION_DATE COMPARED_CREATION_DATE TOTAL SUPPLIER PLACED_ON_PO_FLAG EMERGENCY_PO_NUM

Null? Type NULL NUMBER NULL VARCHAR2(20) NULL NUMBER NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(25) VARCHAR2(25)

Description Requisition header unique identifier Requisition number Unique identifier for the employee who prepared the requisition Name of the preparer Last name of the preparer Requisition description Authorization status Displayed code for authorization status Unused since release 7.0 Displayed code for cancel status Cancel status Displayed code for close status Procurement card number Standard Who column Standard Who column Requisition total Name of supplier Indicates whether the requisition is placed on PO Holds the PO number for an emergancy requisition

NULL VARCHAR2(1) NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(25) VARCHAR2(240) DATE DATE NUMBER VARCHAR2(240) VARCHAR2(1)

NULL VARCHAR2(20)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 215

POR_VIEW_REQS_BY_GROUP_V
The POR_VIEW_REQS_BY_GROUP_V view provides data to POR_VIEW_ORDERS_R for My Groups Orders query
View Definition CREATE VIEW POR_VIEW_REQS_BY_GROUP_V as SELECT prh.requisition_header_id, prh.segment1, prh.preparer_id, hre.full_name, upper(hre.last_name), prh.description, prh.authorization_status, plc_auth.displayed_field, prh.cancel_flag, plc_cancel.displayed_field, NVL(prh.closed_code,OPEN), plc_closed.displayed_field, apc.card_number, to_char(prh.creation_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), to_char(prh.creation_date, YYYYMMDD), to_char(prl.total, fnd_currency.safe_get_format_mask(sob.currency_code, 30)), upper(prl.supplier), prl.placed_on_po, prh.emergency_po_num FROM PO_LOOKUP_CODES PLC_AUTH, PO_LOOKUP_CODES PLC_CLOSED, PO_LOOKUP_CODES PLC_CANCEL, PO_LOOKUP_CODES PLC_DOCTYPE, HR_EMPLOYEES_CURRENT_V HRE, AP_CARDS APC, GL_SETS_OF_BOOKS SOB, FINANCIALS_SYSTEM_PARAMETERS FSP, PO_REQUISITION_HEADERS PRH, ( SELECT PRL2.REQUISITION_HEADER_ID, SUM(PRL2.UNIT_PRICE * ( PRL2.QUANTITY NVL(PRL2.QUANTITY_CANCELLED, 0))) AS TOTAL , DECODE (COUNT(DISTINCT NVL(PRL2.VENDOR_ID, 0)), 1, MIN( PV.VENDOR_NAME), MULTIPLE_VALUE) AS SUPPLIER, DECODE ( MIN(PRL2.LINE_LOCATION_ID), NULL, N, Y) AS PLACED_ON_PO FROM PO_REQUISITION_HEADERS PRH2, PO_REQUISITION_LINES PRL2, PO_LINE_TYPES PLT, PO_VENDORS PV , PO_EMPLOYEE_HIERARCHIES PEH1, PO_SYSTEM_PARAMETERS PSP1, FND_USER FNU1 WHERE PRL2.LINE_TYPE_ID = PLT.LINE_TYPE_ID AND PLT.OUTSIDE_OPERATION_FLAG = N AND PRL2.SOURCE_TYPE_CODE = VENDOR AND PV.VENDOR_ID(+) = PRL2.VENDOR_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 216 Oracle SefService Purchasing 5 Technical Reference Manual

AND PRH2.REQUISITION_HEADER_ID = PRL2.REQUISITION_HEADER_ID AND FNU1.USER_ID = FND_GLOBAL.USER_ID AND PEH1.SUPERIOR_ID = FNU1.EMPLOYEE_ID AND PSP1.SECURITY_POSITION_STRUCTURE_ID = PEH1.POSITION_STRUCTURE_ID AND PRL2.TO_PERSON_ID = PEH1.EMPLOYEE_ID AND PRH2.PREPARER_ID != PEH1.EMPLOYEE_ID GROUP BY PRL2.REQUISITION_HEADER_ID UNION ALL SELECT PRL2.REQUISITION_HEADER_ID, SUM(PRL2.UNIT_PRICE * ( PRL2.QUANTITY NVL(PRL2.QUANTITY_CANCELLED, 0))) AS TOTAL , DECODE (COUNT(DISTINCT NVL(PRL2.VENDOR_ID, 0)), 1, MIN( PV.VENDOR_NAME), MULTIPLE_VALUE) AS SUPPLIER, DECODE ( MIN(PRL2.LINE_LOCATION_ID), NULL, N, Y) AS PLACED_ON_PO FROM PO_REQUISITION_HEADERS PRH2, PO_REQUISITION_LINES PRL2, PO_LINE_TYPES PLT, PO_VENDORS PV , PO_EMPLOYEE_HIERARCHIES PEH1, PO_SYSTEM_PARAMETERS PSP1, FND_USER FNU1 WHERE PRL2.LINE_TYPE_ID = PLT.LINE_TYPE_ID AND PLT.OUTSIDE_OPERATION_FLAG = N AND PRL2.SOURCE_TYPE_CODE = VENDOR AND PV.VENDOR_ID(+) = PRL2.VENDOR_ID AND PRH2.REQUISITION_HEADER_ID = PRL2.REQUISITION_HEADER_ID AND FNU1.USER_ID = FND_GLOBAL.USER_ID AND PEH1.SUPERIOR_ID = FNU1.EMPLOYEE_ID AND PSP1.SECURITY_POSITION_STRUCTURE_ID = PEH1.POSITION_STRUCTURE_ID AND PRH2.PREPARER_ID = PEH1.EMPLOYEE_ID GROUP BY PRL2.REQUISITION_HEADER_ID ) PRL WHERE PRH.PREPARER_ID = HRE.EMPLOYEE_ID AND PRH.PCARD_ID = APC.CARD_ID(+) AND PLC_AUTH.LOOKUP_CODE = NVL(PRH.AUTHORIZATION_STATUS, INCOMPLETE) AND PLC_AUTH.LOOKUP_TYPE = AUTHORIZATION STATUS AND PLC_CLOSED.LOOKUP_CODE = NVL(PRH.CLOSED_CODE, OPEN) AND PLC_CLOSED.LOOKUP_TYPE = DOCUMENT STATE AND PLC_CANCEL.LOOKUP_CODE = NVL(PRH.CANCEL_FLAG, N) AND PLC_CANCEL.LOOKUP_TYPE = YES/NO AND PLC_DOCTYPE.LOOKUP_CODE = PRH.TYPE_LOOKUP_CODE AND PLC_DOCTYPE.LOOKUP_TYPE = REQUISITION TYPE AND PRL.REQUISITION_HEADER_ID(+) = PRH.REQUISITION_HEADER_ID AND SOB.SET_OF_BOOKS_ID = FSP.SET_OF_BOOKS_ID

Column Descriptions Name REQ_HEADER_ID REQUISITION_NUMBER

Null? Type NULL NUMBER NULL VARCHAR2(20)

Description Requisition header unique identifier Requisition number

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 217

PREPARER_ID PREPARER_NAME PREPARER_LAST_NAME DESCRIPTION STATUS_CODE STATUS CANCEL_FLAG CANCEL_STATUS CLOSED_CODE CLOSED_STATUS PCARD_NUMBER CREATION_DATE COMPARED_CREATION_DATE TOTAL SUPPLIER PLACED_ON_PO_FLAG EMERGENCY_PO_NUM

NULL NUMBER NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(25) VARCHAR2(25)

NULL VARCHAR2(1) NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(25) VARCHAR2(240) DATE DATE NUMBER VARCHAR2(240) VARCHAR2(1)

NULL VARCHAR2(20)

Unique identifier for the employee who prepared the requisition Name of the preparer Last name of the preparer Description for the requisition Authorization status code Displayed value for authorization status Unused since release 7.0 Displayed code for cancel status Close status Displayed code for close status Procurement card number Standard Who column Standard Who column Requisition total Name of supplier Indicates whether the requisition is placed on PO Holds the PO number for an emergency requisition

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 218 Oracle SefService Purchasing 5 Technical Reference Manual

POR_VIEW_REQS_TO_APPR_V
The POR_VIEW_REQS_TO_APPR_V provides data to Orders to Approve query on Approvals page
View Definition CREATE VIEW POR_VIEW_REQS_TO_APPR_V as SELECT prh.requisition_header_id, prh.segment1, prh.description, prh.authorization_status, plc_auth.displayed_field, apc.card_number, prh.creation_date, prh.emergency_po_num, wfa_html_jsp.getsspnid(fnu.user_name, prh.wf_item_type, prh.wf_item_key) Where FROM po_lookup_codes plc_auth, per_all_people_f hre, ap_cards apc, gl_sets_of_books sob, financials_system_parameters fsp, po_requisition_headers prh, po_approval_list_headers plh, po_approval_list_lines pll, fnd_user fnu WHERE plh.document_id = prh.requisition_header_id AND plh.document_type = REQUISITION AND plh.document_subtype = PURCHASE AND plh.latest_revision = Y AND pll.approval_list_header_id = plh.approval_list_header_id AND fnu.user_id = FND_GLOBAL.USER_ID AND pll.approver_id = fnu.employee_id AND pll.status is null AND prh.preparer_id = hre.person_id AND hre.effective_start_date <= sysdate AND hre.effective_end_date >= sysdate AND prh.pcard_id = apc.card_id(+) AND plc_auth.lookup_code = NVL(prh.authorization_status, INCOMPLETE) AND plc_auth.lookup_type = AUTHORIZATION STATUS AND prh.type_lookup_code = PURCHASE AND sob.set_of_books_id = fsp.set_of_books_id

Column Descriptions Name REQ_HEADER_ID REQUISITION_NUMBER DESCRIPTION STATUS_CODE

Null? Type NULL NULL NULL NULL NUMBER VARCHAR2(20) VARCHAR2(240) VARCHAR2(25)

Description Requisition unique identifier Requisition Number Requisition Description Authorization Status Code

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 219

STATUS PCARD_NUMBER CREATION_DATE EMERGENCY_PO_NUM NID

NULL VARCHAR2(25)

Authorization status displayed value NULL VARCHAR2(240) Procurement Card Number NULL DATE Standard Who Column NULL VARCHAR2(20) Resreved PO number for Emergency Requisitions NULL NUMBER Notification Id

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 220 Oracle SefService Purchasing 5 Technical Reference Manual

POR_VIEW_REQS_V
The POR_VIEW_REQS_V view provides data to Saved Carts
View Definition CREATE VIEW POR_VIEW_REQS_V as SELECT prh.requisition_header_id, prh.segment1, prh.preparer_id, hre.full_name, upper(hre.last_name), prh.description, prh.authorization_status, plc_auth.displayed_field, prh.cancel_flag, NVL(prh.closed_code,OPEN), apc.card_number, to_char(prh.creation_date, fnd_profile.value_wnps(ICX_DATE_FORMAT_MASK)), to_char(prh.creation_date, YYYYMMDD), to_char(por_view_reqs_pkg.get_req_total(prh.requisition_header_id), fnd_currency.safe_get_format_mask(sob.currency_code, 30)), por_view_reqs_pkg.get_supplier_name(prh.requisition_header_id), por_view_reqs_pkg.is_PlacedOnPO(prh.requisition_header_id), prh.emergency_po_num

FROM po_lookup_codes plc_auth, per_all_people_f hre, ap_cards apc, gl_sets_of_books sob, financials_system_parameters fsp, po_requisition_headers prh WHERE prh.preparer_id = hre.person_id AND hre.effective_start_date <= sysdate AND hre.effective_end_date >= sysdate AND apc.card_id(+) = prh.pcard_id AND plc_auth.lookup_code = NVL(prh.authorization_status, INCOMPLETE) AND plc_auth.lookup_type = AUTHORIZATION STATUS AND prh.type_lookup_code = PURCHASE AND sob.set_of_books_id = fsp.set_of_books_id

Column Descriptions Name REQ_HEADER_ID REQUISITION_NUMBER

Null? Type NULL NUMBER NULL VARCHAR2(20)

Description Requisition header unique identifier Requisition number

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 221

PREPARER_ID PREPARER_NAME PREPARER_LAST_NAME DESCRIPTION STATUS_CODE STATUS CANCEL_FLAG CLOSED_CODE PCARD_NUMBER CREATION_DATE COMPARED_CREATION_DATE TOTAL SUPPLIER PLACED_ON_PO_FLAG EMERGENCY_PO_NUM

NULL NUMBER(9) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(25) VARCHAR2(25) VARCHAR2(1) VARCHAR2(25) VARCHAR2(240) DATE DATE NUMBER VARCHAR2(240) VARCHAR2(1)

NULL VARCHAR2(20)

Unique identifier for the employee who prepared the requisition Name of preparer Last name of preparer Description for requisition Authorization status code Displayed value for authorization status unused since release 7.0 close status Procurement card number Standard Who column Standard Who column Requisition total Name of supplier Indicates whether the requisition is placed on PO Holds the PO number for an emergency requisition

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 222 Oracle SefService Purchasing 5 Technical Reference Manual

PO_APPROVAL_LIST_HEADERS
PO_APPROVAL_LIST_HEADERS contains the list of approvers for the purchasing document. This table is used for requisition approvals only.

Column Descriptions Name APPROVAL_LIST_HEADER_ID DOCUMENT_ID DOCUMENT_TYPE DOCUMENT_SUBTYPE REVISION CURRENT_SEQUENCE_NUM LATEST_REVISION FIRST_APPROVER_ID APPROVAL_PATH_ID WF_ITEM_TYPE WF_ITEM_KEY CREATED_BY CREATION_DATE LAST_UPDATE_LOGIN LAST_UPDATED_BY LAST_UPDATE_DATE Indexes Index Name PO_APPROVAL_LIST_HEADER_N1 PO_APPROVAL_LIST_HEADER_N2 PO_APPROVAL_LIST_HEADER_U1

Null? Type NOT NULL NULL NULL NULL NULL NUMBER NUMBER VARCHAR2(25) VARCHAR2(25) NUMBER

Description

Approval list unique identifier Document unique identifer Document type Requisition type Revision of the approval list for the document NULL NUMBER Current sequence number NULL VARCHAR2(1) Latest revision of the approval list for the document NULL NUMBER Employee identifier of the first approver NULL NUMBER Unique identifier of the approval hierarchy path NULL VARCHAR2(8) Workflow item type NULL VARCHAR2(240) Workflow item key NULL NUMBER Standard Who column NULL DATE Standard Who column NULL NUMBER Standard Who column NOT NULL NUMBER Standard Who column NOT NULL DATE Standard Who column

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 2 1 2 3 5

Column Name WF_ITEM_TYPE WF_ITEM_KEY DOCUMENT_ID DOCUMENT_TYPE DOCUMENT_SUBTYPE APPROVAL_LIST_HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 223

PO_APPROVAL_LIST_LINES
PO_APPROVAL_LIST_LINES contains the approval list lines for the requisition approval list.
Column Descriptions Name APPROVAL_LIST_HEADER_ID APPROVAL_LIST_LINE_ID NEXT_ELEMENT_ID APPROVER_ID SEQUENCE_NUM NOTIFICATION_ID NOTIFICATION_ROLE COMMENTS RESPONDER_ID FORWARD_TO_ID STATUS MANDATORY_FLAG REQUIRES_REAPPROVAL_FLAG APPROVER_TYPE CREATED_BY CREATION_DATE LAST_UPDATE_LOGIN LAST_UPDATED_BY LAST_UPDATE_DATE RESPONSE_DATE

Null? Type NOT NULL NUMBER

Description

Approval list header unique identifier NOT NULL NUMBER Approval list line unique identifer NULL NUMBER Not used NULL NUMBER Unique identifier of the approver NULL NUMBER Sequence number of the line NULL NUMBER Approval notification unique identifer NULL VARCHAR2(100) Workflow user role of the notification NULL VARCHAR2(240) Comments NULL NUMBER Unique identifer of the responder of the notification NULL NUMBER Forwardto person unique identifier NULL VARCHAR2(30) Approval action of the responder NULL VARCHAR2(1) Indicates mandatory approver NULL VARCHAR2(1) Indicates if reapproval is required NULL VARCHAR2(30) Approver classification NULL NUMBER Standard who column NULL DATE Standard who column NULL NUMBER Standard who column NOT NULL NUMBER Standard who column NOT NULL DATE Standard who column NULL DATE Date approver responded to notification

Indexes Index Name PO_APPROVAL_LIST_LINES_N1 PO_APPROVAL_LIST_LINES_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 5

Column Name APPROVAL_LIST_HEADER_ID APPROVAL_LIST_LINE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 224 Oracle SefService Purchasing 5 Technical Reference Manual

PO_DISTRIBUTIONS_ARCHIVE_ALL
PO_DISTRIBUTIONS_ARCHIVE_ALL contains archived distribution information. Oracle Purchasing only archives distributions for the following documents:

Standard purchase orders

Planned purchase orders

Planned purchase order releases

Blanket purchase order releases

When you modify a distribution, Oracle Purchasing will archive it after you (re)approve the purchase order or after you print it (this depends on the purchasing system options). You can retrieve revisions of the distributions using this table. The latest archived revision will have LATEST_EXTERNAL_FLAG set to Y. You need one row for each distribution archive. Each row contains the same information as the PO_DISTRIBUTIONS_ALL table. Oracle Purchasing uses this information to ensure you keep copies of your legal documents.

Foreign Keys Primary Key Table BOM_RESOURCES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_PERIODS GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES

Primary Key Column RESOURCE_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID PERIOD_NAME SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE

Foreign Key Column BOM_RESOURCE_ID CODE_COMBINATION_ID BUDGET_ACCOUNT_ID ACCRUAL_ACCOUNT_ID VARIANCE_ACCOUNT_ID GL_ENCUMBERED_PERIOD_NAME SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 225

MTL_SECONDARY_INVENTORIES PO_DISTRIBUTIONS_ALL PO_DISTRIBUTIONS_ALL PO_HEADERS_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL PO_RELEASES_ALL PO_REQ_DISTRIBUTIONS_ALL WIP_ENTITIES WIP_LINES WIP_OPERATIONS

WIP_OPERATION_RESOURCES

WIP_REPETITIVE_SCHEDULES

SECONDARY_INVENTORY_NAME ORGANIZATION_ID PO_DISTRIBUTION_ID PO_DISTRIBUTION_ID PO_HEADER_ID PO_LINE_ID LINE_LOCATION_ID PO_RELEASE_ID DISTRIBUTION_ID WIP_ENTITY_ID ORGANIZATION_ID LINE_ID ORGANIZATION_ID WIP_ENTITY_ID ORGANIZATION_ID OPERATION_SEQ_NUM REPETITIVE_SCHEDULE_ID WIP_ENTITY_ID ORGANIZATION_ID OPERATION_SEQ_NUM RESOURCE_SEQ_NUM REPETITIVE_SCHEDULE_ID REPETITIVE_SCHEDULE_ID ORGANIZATION_ID

DESTINATION_SUBINVENTORY DESTINATION_ORGANIZATION_ID PO_DISTRIBUTION_ID SOURCE_DISTRIBUTION_ID PO_HEADER_ID PO_LINE_ID LINE_LOCATION_ID PO_RELEASE_ID REQ_DISTRIBUTION_ID WIP_ENTITY_ID DESTINATION_ORGANIZATION_ID WIP_LINE_ID DESTINATION_ORGANIZATION_ID WIP_ENTITY_ID DESTINATION_ORGANIZATION_ID WIP_OPERATION_SEQ_NUM WIP_REPETITIVE_SCHEDULE_ID WIP_ENTITY_ID DESTINATION_ORGANIZATION_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM WIP_REPETITIVE_SCHEDULE_ID WIP_REPETITIVE_SCHEDULE_ID DESTINATION_ORGANIZATION_ID

QuickCodes Columns Column DESTINATION_TYPE_CODE

QuickCodes Type DESTINATION TYPE EXPENSE INVENTORY SHOP FLOOR

QuickCodes Table PO_LOOKUP_CODES Goods are expensed from the system upon delivery Goods are received into inventory upon delivery Goods are received into an outside operation upon delivery

Column Descriptions Name PO_DISTRIBUTION_ID LAST_UPDATE_DATE LAST_UPDATED_BY PO_HEADER_ID PO_LINE_ID LINE_LOCATION_ID SET_OF_BOOKS_ID CODE_COMBINATION_ID QUANTITY_ORDERED LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY PO_RELEASE_ID QUANTITY_DELIVERED (PK)

Null? Type NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NULL NULL NULL NULL NULL NUMBER DATE NUMBER NUMBER NUMBER

Description Document distribution unique identifier Standard Who column Standard Who column Document header unique identifier Document line unique identifier Document shipment schedule unique identifier Set of Books unique identifier Unique identifier for the General Ledger charge account Quantity ordered on the distribution Standard Who column Standard Who column Standard Who column Release unique identifier Quantity delivered against the distribution

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 226 Oracle SefService Purchasing 5 Technical Reference Manual

QUANTITY_BILLED QUANTITY_CANCELLED REQ_HEADER_REFERENCE_NUM REQ_LINE_REFERENCE_NUM REQ_DISTRIBUTION_ID DELIVER_TO_LOCATION_ID DELIVER_TO_PERSON_ID RATE_DATE RATE AMOUNT_BILLED ACCRUED_FLAG ENCUMBERED_FLAG ENCUMBERED_AMOUNT UNENCUMBERED_QUANTITY UNENCUMBERED_AMOUNT FAILED_FUNDS_LOOKUP_CODE GL_ENCUMBERED_DATE GL_ENCUMBERED_PERIOD_NAME GL_CANCELLED_DATE DESTINATION_TYPE_CODE DESTINATION_ORGANIZATION_ID DESTINATION_SUBINVENTORY ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL NUMBER(9) NULL DATE NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL DATE NULL VARCHAR2(15) NULL DATE NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(10) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Quantity invoiced by Oracle Payables against the distribution Quantity cancelled for the distribution Requisition number of the requisition line placed on this distribution Line number of the requisition line placed on the distribution Requisition distribution unique identifier Unique identifier for the delivery location Unique identifier for the requestor Currency conversion date Currency conversion rate Amount invoiced by Oracle Payables against the distribution Indicates whether the distribution was accrued or not Indicator of whether the distribution was encumbered Encumbered amount for distribution Quantity unencumbered on the distribution Amount unencumbered on the distribution Type of budgetary control approval failure Date the distribution was encumbered Period in which the distribution was encumbered Date the distribution was cancelled Final destination of the purchased items Final destination organization unique identifier Subinventory unique identifier for inventory purchases Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 227

WIP_ENTITY_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM WIP_REPETITIVE_SCHEDULE_ID WIP_LINE_ID BOM_RESOURCE_ID BUDGET_ACCOUNT_ID ACCRUAL_ACCOUNT_ID VARIANCE_ACCOUNT_ID DESTINATION_CONTEXT DISTRIBUTION_NUM SOURCE_DISTRIBUTION_ID

NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL

REVISION_NUM (PK) LATEST_EXTERNAL_FLAG REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE GOVERNMENT_CONTEXT PREVENT_ENCUMBRANCE_FLAG USSGL_TRANSACTION_CODE PROJECT_ID TASK_ID END_ITEM_UNIT_NUMBER EXPENDITURE_TYPE PROJECT_ACCOUNTING_CONTEXT EXPENDITURE_ORGANIZATION_ID ACCRUE_ON_RECEIPT_FLAG GL_CLOSED_DATE EXPENDITURE_ITEM_DATE ORG_ID KANBAN_CARD_ID AWARD_ID MRC_RATE_DATE

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

WIP job or repetitive assembly identifier NUMBER WIP operation sequence number within a routing NUMBER WIP resource sequence number NUMBER WIP repetitive schedule identifier NUMBER WIP line identifier NUMBER BOM resource unique identifier NUMBER Unique identifier for the General Ledger budget account NUMBER Unique identifier for the General Ledger accrual account NUMBER Unique identifier for the General Ledger variance account VARCHAR2(30) Destination details protected descriptive flexfield context column NUMBER Distribution number NUMBER Unique identifier of the planned purchase order distribution that was referenced when creating this scheduled release distribution NUMBER Document revision number VARCHAR2(1) Indicates whether this is the latest archived revision NUMBER Standard Who column NUMBER Standard Who column NUMBER Standard Who column DATE Standard Who column VARCHAR2(30) USSGL descriptive flexfield context column VARCHAR2(1) Indicates whether distribution should be encumbered VARCHAR2(30) United States standard general ledger transaction code NUMBER Project accounting project unique identifier NUMBER Project accounting task unique identifier VARCHAR2(30) Project Manufacturing end item unit number VARCHAR2(30) Project accounting expenditure type VARCHAR2(30) Project accounting descriptive flexfield context column NUMBER Project accounting expenditure organization unique identifier VARCHAR2(1) Indicates whether items are accrued on receipt DATE Date the distribution was finalclosed DATE Project accounting expenditure item date NUMBER Operating unit unique identifier NUMBER Primary key for the kanban card NUMBER(15) Award identifier VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID and currency conversion date pairs

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 228 Oracle SefService Purchasing 5 Technical Reference Manual

MRC_RATE

MRC_ENCUMBERED_AMOUNT

MRC_UNENCUMBERED_AMOUNT

RECOVERABLE_TAX NONRECOVERABLE_TAX RECOVERY_RATE TAX_RECOVERY_OVERRIDE_FLAG

NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenatedstring of reporting Set of Books ID and currency conversion rate pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID and encumbered amount for distribution pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID and amount unencumbered on the distribution pairs NULL NUMBER Recoverable tax amount NULL NUMBER Non recoverable tax amount NULL NUMBER Percentage of tax that can be recovered NULL VARCHAR2(1) Indicator of whether tax recovery should be used

Indexes Index Name PO_DISTRIBUTIONS_ARCHIVE_N1 PO_DISTRIBUTIONS_ARCHIVE_N2 PO_DISTRIBUTIONS_ARCHIVE_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 1 1 2

Column Name DELIVER_TO_PERSON_ID PO_HEADER_ID PO_DISTRIBUTION_ID REVISION_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 229

PO_HEADERS_ARCHIVE_ALL
PO_HEADERS_ARCHIVE_ALL contains archived purchase order header information. Oracle Purchasing only archives the following documents:

Standard purchase orders Blanket purchase orders Contract purchase orders

When you modify a PO_HEADER row, Oracle Purchasing will archive it after you (re)approve the purchase order or after you print it (this depends on the purchasing system options). You can retrieve previous revisions of the purchase order header using this table. The latest archived revision will have LATEST_EXTERNAL_FLAG set to Y. You need one row for each document header you archive. Each row contains the same information as the PO_HEADERS_ALL table. Oracle Purchasing uses this information to ensure you keep copies of your legal documents. Oracle Purchasing does not currently read or retrieve information in this table.
Foreign Keys Primary Key Table AP_TERMS_TL FND_CURRENCIES GL_DAILY_CONVERSION_TYPES GL_USSGL_TRANSACTION_CODES PO_AGENTS PO_DOCUMENT_TYPES_ALL_B PO_DOCUMENT_TYPES_ALL_B PO_DOCUMENT_TYPES_ALL_B PO_HEADERS_ALL PO_VENDORS PO_VENDOR_CONTACTS PO_VENDOR_SITES_ALL

Primary Key Column TERM_ID CURRENCY_CODE CONVERSION_TYPE USSGL_TRANSACTION_CODE AGENT_ID DOCUMENT_SUBTYPE DOCUMENT_SUBTYPE DOCUMENT_SUBTYPE PO_HEADER_ID VENDOR_ID VENDOR_CONTACT_ID VENDOR_SITE_ID

Foreign Key Column TERMS_ID CURRENCY_CODE RATE_TYPE USSGL_TRANSACTION_CODE AGENT_ID TYPE_LOOKUP_CODE QUOTE_TYPE_LOOKUP_CODE FROM_TYPE_LOOKUP_CODE FROM_HEADER_ID VENDOR_ID VENDOR_CONTACT_ID VENDOR_SITE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 230 Oracle SefService Purchasing 5 Technical Reference Manual

QuickCodes Columns Column AUTHORIZATION_STATUS

QuickCodes Type AUTHORIZATION STATUS APPROVED CANCELLED IN PROCESS INCOMPLETE PREAPPROVED REJECTED REQUIRES REAPPROVAL RETURNED

QuickCodes Table PO_LOOKUP_CODES Document has been Approved Document has been Cancelled Document is still undergoing Approval Document is not yet Complete Document is Approved but not yet Accepted Document as been Rejected Requires Reapproval Document has been Returned PO_LOOKUP_CODES The Document has been Approved The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen AR_LOOKUPS PO_LOOKUP_CODES Bid Quotation Catalog Quotation PO_LOOKUP_CODES Active Closed In Process Printed

CLOSED_CODE

DOCUMENT STATE APPROVED AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN

FOB_LOOKUP_CODE QUOTATION_CLASS_CODE

FOB QUOTATION CLASS BID CATALOG RFQ/QUOTE STATUS A C I P

STATUS_LOOKUP_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 231

Column Descriptions Name PO_HEADER_ID (PK)

Null? Type NOT NULL NUMBER NOT NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(9) VARCHAR2(25) DATE NUMBER VARCHAR2(20) VARCHAR2(1) VARCHAR2(1) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) DATE DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER

Description Document header unique identifier Buyer unique identifier Type of the document Standard Who column Standard Who column Document number Key Flexfield summary flag Key Flexfield enabled flag Key Flexfield segment column Key Flexfield segment column Key Flexfield segment column Key Flexfield segment column Key Flexfield start date Key Flexfield end date Standard Who column Standard Who column Standard Who column Supplier unique identifier Supplier site unique identifier Supplier contact unique identifier Unique identifier for the shipto location Unique identifier of the billto location for the document Payment terms unique identifier Type of carrier to be used Type of freeonboard terms for the document Type of freight terms for the document Status of the RFQ or quotation. Unique identifier for the currency Currency conversion rate type Currency conversion date Currency conversion rate Unique identifier of the RFQ used to autocreate a quotation Document type of the document used to autocreate another document Date the document becomes effective Expiration date of the document Amount agreed for the purchase order (blanket or planned) Authorization status of the purchase order Document revision number Date the document was last revised Indicates whether the purchase order is approved or not Date the purchase order was last approved

AGENT_ID TYPE_LOOKUP_CODE LAST_UPDATE_DATE LAST_UPDATED_BY SEGMENT1 SUMMARY_FLAG ENABLED_FLAG SEGMENT2 SEGMENT3 SEGMENT4 SEGMENT5 START_DATE_ACTIVE END_DATE_ACTIVE LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY VENDOR_ID VENDOR_SITE_ID VENDOR_CONTACT_ID SHIP_TO_LOCATION_ID BILL_TO_LOCATION_ID TERMS_ID SHIP_VIA_LOOKUP_CODE FOB_LOOKUP_CODE FREIGHT_TERMS_LOOKUP_CODE STATUS_LOOKUP_CODE CURRENCY_CODE RATE_TYPE RATE_DATE RATE FROM_HEADER_ID FROM_TYPE_LOOKUP_CODE START_DATE END_DATE BLANKET_TOTAL_AMOUNT AUTHORIZATION_STATUS REVISION_NUM REVISED_DATE APPROVED_FLAG APPROVED_DATE (PK)

NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(15) NULL NULL NULL NULL VARCHAR2(30) DATE NUMBER NUMBER

NULL VARCHAR2(25) NULL DATE NULL DATE NULL NUMBER NULL VARCHAR2(25) NULL NUMBER NULL DATE NULL VARCHAR2(1) NULL DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 232 Oracle SefService Purchasing 5 Technical Reference Manual

AMOUNT_LIMIT

NULL NUMBER

MIN_RELEASE_AMOUNT NOTE_TO_AUTHORIZER NOTE_TO_VENDOR NOTE_TO_RECEIVER PRINT_COUNT PRINTED_DATE VENDOR_ORDER_NUM CONFIRMING_ORDER_FLAG COMMENTS REPLY_DATE REPLY_METHOD_LOOKUP_CODE RFQ_CLOSE_DATE QUOTE_TYPE_LOOKUP_CODE QUOTATION_CLASS_CODE QUOTE_WARNING_DELAY_UNIT QUOTE_WARNING_DELAY QUOTE_VENDOR_QUOTE_NUMBER ACCEPTANCE_REQUIRED_FLAG ACCEPTANCE_DUE_DATE CLOSED_DATE USER_HOLD_FLAG EVER_APPROVED_FLAG APPROVAL_REQUIRED_FLAG CANCEL_FLAG STANDARD_COMMENT_CODE FIRM_STATUS_LOOKUP_CODE

NULL NUMBER NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL NUMBER NULL DATE NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(240) NULL DATE NULL VARCHAR2(25) NULL NULL NULL NULL DATE VARCHAR2(25) VARCHAR2(25) VARCHAR2(25)

NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(1) NULL DATE NULL DATE NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(15) NULL VARCHAR2(30)

FIRM_DATE FROZEN_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1

NULL DATE NULL VARCHAR2(1) NULL VARCHAR2(30) NULL VARCHAR2(150)

Maximum amount that can be released against the purchase order (blanket, contract, or planned) Minimum amount that can be released against the purchase order (blanket or planned) Not currently used Note to the supplier Note to the receiver of the purchase order Number of times the document was printed Date the document was last printed No longer used Indicates whether the purchase order is a confirming order or not Descriptive comments for the document Date the supplier replied to the RFQ Method the supplier should use to reply to the RFQ Date the RFQ will be closed Type of quotation Class of quotation Warning delay unit of measure (Unused since release 8.0) Number of days prior to the expiration of the quotation that you want to be notified Number of the quotation for the supplier Indicates whether acceptance from the supplier is required or not Date by which the supplier should accept the purchase order Date the document was closed Indicates whether the purchase order is on hold or not Indicates whether the purchase order was ever approved No longer used since release 7.0 Indicates whether a quote or RFQ requires approval Indicates whether the purchase order is cancelled or not No longer used since release 7.0 Indicates whether you want to prevent this purchase order from being automatically rescheduled by your manufacturing application Date from which the purchase order is firmed Indicates whether the document is frozen or not Descriptive flexfield segment Descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 233

ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 CLOSED_CODE USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 LATEST_EXTERNAL_FLAG REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ORG_ID GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15

NULL NULL NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(25)

NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(1) NUMBER NUMBER NUMBER DATE NUMBER

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Describes the closure status of the document United States standard general ledger transaction code USSGL descriptive flexfield context column Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Indicates whether this is the latest archived revision Standard Who column Standard Who column Standard Who column Standard Who column Operating unit unique identifier Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 234 Oracle SefService Purchasing 5 Technical Reference Manual

GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 EDI_PROCESSED_FLAG

PCARD_ID PRICE_UPDATE_TOLERANCE SUPPLY_AGREEMENT_FLAG EDI_PROCESSED_STATUS INTERFACE_SOURCE_CODE REFERENCE_NUM WF_ITEM_TYPE WF_ITEM_KEY MRC_RATE_TYPE

MRC_RATE_DATE

MRC_RATE

PAY_ON_CODE

NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(1) Used by eCommerce Gateway to identify documents that have been sent via EDI. This flag is updated to Y by the eCommerce Gateway extraction routines. NULL NUMBER(15) Unique Identifer for Procurement Card NULL NUMBER Catalog Price Update Tolerance for EDI 832 Update Action NULL VARCHAR2(1) Supply agreement flag for Supplier Scheduling NULL VARCHAR2(10) EDI processing status flag NULL VARCHAR2(25) Audit trail reference (needed for 832 EDI transaction) NULL VARCHAR2(25) Audit trail reference (needed for 832 EDI transaction) NULL VARCHAR2(8) Approval workflow item type NULL VARCHAR2(240) Approval workflow item key NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID and currency conversion rate type pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID and currency conversion date pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenatedstring of reporting Set of Books ID and currency conversion rate pairs NULL VARCHAR2(25) Indicator of whether the purchase order will be paid upon receipt

Indexes Index Name PO_HEADERS_ARCHIVE_N1 PO_HEADERS_ARCHIVE_N2 PO_HEADERS_ARCHIVE_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 1 1 2

Column Name VENDOR_ID AGENT_ID PO_HEADER_ID REVISION_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 235

PO_LINES_ALL
PO_LINES_ALL stores current information about each purchase order line. You need one row for each line you attach to a document. There are five document types that use lines: RFQs Quotations Standard purchase orders Blanket purchase orders Planned purchase orders Each row includes the line number, the item number and category, unit, price, tax information, matching information, and quantity ordered for the line. Oracle Purchasing uses this information to record and update item and price information for purchase orders, quotations, and RFQs. PO_LINE_ID is the unique systemgenerated line number invisible to the user. LINE_NUM is the number of the line on the purchase order. Oracle Purchasing uses CONTRACT_NUM to reference a contract purchase order from a standard purchase order line. Oracle Purchasing uses ALLOW_PRICE_OVERRIDE_FLAG, COMMITTED_AMOUNT, QUANTITY_COMMITTED, MIN_RELEASE_AMOUNT only for blanket and planned purchase order lines. The QUANTITY field stores the total quantity of all purchase order shipment lines (found in PO_LINE_LOCATIONS_ALL).
Foreign Keys Primary Key Table AP_TAX_CODES_ALL GL_USSGL_TRANSACTION_CODES MTL_CATEGORIES_B MTL_ITEM_REVISIONS MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL MTL_UOM_CLASSES_TL PO_HAZARD_CLASSES_B PO_HEADERS_ALL PO_HEADERS_ALL PO_LINES_ALL PO_LINE_TYPES_B PO_UN_NUMBERS_B QuickCodes Columns Column CLOSED_CODE

Primary Key Column NAME USSGL_TRANSACTION_CODE CATEGORY_ID REVISION INVENTORY_ITEM_ID UNIT_OF_MEASURE UOM_CLASS HAZARD_CLASS_ID PO_HEADER_ID SEGMENT1 PO_HEADER_ID PO_LINE_ID LINE_TYPE_ID UN_NUMBER_ID

Foreign Key Column TAX_NAME USSGL_TRANSACTION_CODE CATEGORY_ID ITEM_REVISION ITEM_ID UNIT_MEAS_LOOKUP_CODE UNIT_OF_MEASURE_CLASS HAZARD_CLASS_ID PO_HEADER_ID CONTRACT_NUM FROM_HEADER_ID FROM_LINE_ID LINE_TYPE_ID UN_NUMBER_ID

QuickCodes Type DOCUMENT STATE

QuickCodes Table PO_LOOKUP_CODES

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 236 Oracle SefService Purchasing 5 Technical Reference Manual

APPROVED AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN PRICE_BREAK_LOOKUP_CODE PRICE BREAK TYPE CUMULATIVE NON CUMULATIVE PRICE TYPE COST FEE COST PERCENT FIXED INDEXED VARIABLE

The Document has been Approved The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen PO_LOOKUP_CODES Cumulative NonCumulative PO_LOOKUP_CODES Cost Plus Fee Cost Plus Percentage Fixed Indexed Variable

PRICE_TYPE_LOOKUP_CODE

Column Descriptions Name PO_LINE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY PO_HEADER_ID LINE_TYPE_ID LINE_NUM LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY ITEM_ID ITEM_REVISION CATEGORY_ID

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NUMBER DATE NUMBER NUMBER

Description Document line unique identifier Standard Who column Standard Who column Document header unique identifier Line type unique identifier Line number Standard Who column Standard Who column Standard Who column Item unique identifier Item revision Item category unique identifier

NOT NULL NUMBER NOT NULL NUMBER NULL NUMBER NULL DATE NULL NUMBER NULL NUMBER NULL VARCHAR2(3) NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 237

ITEM_DESCRIPTION UNIT_MEAS_LOOKUP_CODE QUANTITY_COMMITTED COMMITTED_AMOUNT ALLOW_PRICE_OVERRIDE_FLAG NOT_TO_EXCEED_PRICE LIST_PRICE_PER_UNIT UNIT_PRICE QUANTITY UN_NUMBER_ID HAZARD_CLASS_ID NOTE_TO_VENDOR FROM_HEADER_ID FROM_LINE_ID MIN_ORDER_QUANTITY MAX_ORDER_QUANTITY QTY_RCV_TOLERANCE OVER_TOLERANCE_ERROR_FLAG MARKET_PRICE UNORDERED_FLAG CLOSED_FLAG USER_HOLD_FLAG CANCEL_FLAG CANCELLED_BY CANCEL_DATE CANCEL_REASON FIRM_STATUS_LOOKUP_CODE FIRM_DATE VENDOR_PRODUCT_NUM CONTRACT_NUM TAXABLE_FLAG TAX_NAME TYPE_1099

NULL VARCHAR2(240) Item description NULL VARCHAR2(25) Unit of measure for the quantity ordered NULL NUMBER Quantity agreed for an agreement line NULL NUMBER Amount agreed for an agreement line NULL VARCHAR2(1) Indicates whether or not you can change the price on releases NULL NUMBER Price limit that you cannot exceed on a release shipment NULL NUMBER List price for the item on the line NULL NUMBER Unit price for the line NULL NUMBER Quantity ordered on the line NULL NUMBER UN number unique identifier NULL NUMBER Hazard class unique identifier NULL VARCHAR2(240) Short note to supplier NULL NUMBER Quotation unique identifier NULL NUMBER Quotation line unique identifier NULL NUMBER Minimum order quantity for a quotation line NULL NUMBER Maximum order quantity for a quotation line NULL NUMBER Quantity received tolerance percentage NULL VARCHAR2(25) Indicates whether or not you reject receipts exceeding the tolerance NULL NUMBER Market price for the item on the line NULL VARCHAR2(1) Indicates whether or not the line was created from unordered receipts NULL VARCHAR2(1) Indicates whether the line is closed or not NULL VARCHAR2(1) Indicates whether the line is on hold or not (Unused since release version 5.0) NULL VARCHAR2(1) Indicates whether the line is cancelled or not NULL NUMBER(9) Unique identifier of the employee who cancelled the line NULL DATE Cancellation date NULL VARCHAR2(240) Cancellation reason provided by employee NULL VARCHAR2(30) Firming status of the line (Unused since release version 7.0) NULL DATE Date the line becomes firmed (Unused since release version 7.0) NULL VARCHAR2(25) Supplier product number NULL VARCHAR2(25) Contract number referenced on the line NULL VARCHAR2(1) Indicates whether the document line is taxable or not NULL VARCHAR2(15) Tax code applying to the line NULL VARCHAR2(10) 1099 type for the purchase order line

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 238 Oracle SefService Purchasing 5 Technical Reference Manual

CAPITAL_EXPENSE_FLAG NEGOTIATED_BY_PREPARER_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 REFERENCE_NUM ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 MIN_RELEASE_AMOUNT PRICE_TYPE_LOOKUP_CODE CLOSED_CODE PRICE_BREAK_LOOKUP_CODE USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE CLOSED_DATE CLOSED_REASON CLOSED_BY TRANSACTION_REASON_CODE ORG_ID QC_GRADE BASE_UOM BASE_QTY SECONDARY_UOM SECONDARY_QTY GLOBAL_ATTRIBUTE_CATEGORY

NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(25) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER

NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE DATE VARCHAR2(240)

NULL NUMBER(9) NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(150)

Indicates whether the line is for a capital expense or not Indicates whether the buyer negotiated the price or not Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Reference number (Unused since release version 7.0) Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Minimum amount that can be released against a planned or blanket agreement line Price type of the line Describes closure status of the line Describes the pricing scheme for blanket agreement line price breaks United States standard general ledger transaction code USSGL descriptive flexfield context column Standard Who column Standard Who column Standard Who column Standard Who column Date the line is closed Describes why the line is closed Unique identifier of employee who closed the line Transaction reason Operating unit unique identifier Stores the quality control grade wanted on the purchase order line Stores the base unit of measure (UOM) for the item ordered Ordered quantity converted from transaction UOM to base UOM Stores the dual unit of measure for the item ordered Converted quantity from BASE UOM to DUAL UOM for the item ordered Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 239

GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 LINE_REFERENCE_NUM PROJECT_ID TASK_ID EXPIRATION_DATE TAX_CODE_ID

NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(25) Audit Trail Reference (needed for 832 EDI transaction) NULL NUMBER Project accounting project unique identifier NULL NUMBER Project accounting task unique identifier NULL DATE Date after which the item on this catalog line can no longer be ordered NULL NUMBER Unique identifier for the tax code

Indexes Index Name PO_LINES_N1 PO_LINES_N2 PO_LINES_N3 PO_LINES_N4 PO_LINES_N5 PO_LINES_N6 PO_LINES_N7 PO_LINES_N8

Index Type NOT NOT NOT NOT NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1 1 1 1

Column Name ITEM_ID CREATION_DATE CATEGORY_ID FROM_LINE_ID ITEM_DESCRIPTION VENDOR_PRODUCT_NUM CONTRACT_NUM CLOSED_BY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 240 Oracle SefService Purchasing 5 Technical Reference Manual

PO_LINES_N9 PO_LINES_U1 PO_LINES_U2

NOT UNIQUE UNIQUE UNIQUE

1 1 1 2

CANCELLED_BY PO_LINE_ID PO_HEADER_ID LINE_NUM

Sequences Sequence PO_LINES_S

Derived Column PO_LINE_ID

Database Triggers Trigger Trigger Trigger Trigger Name Time Level Event : : : : PO_LINES_ALL_T1_ICX AFTER ROW INSERT

This trigger is installed via a postinstall step for Web Requestitions and is required only if this module is used. There is a prerequiste that ConText be installed. The trigger places a reindex request on the ConText queue. Trigger Trigger Trigger Trigger Name Time Level Event : : : : PO_LINES_ALL_T2_ICX AFTER ROW UPDATE

This trigger is installed via a postinstall step for Web Requestitions and is required only if this module is used. There is a prerequiste that ConText be installed. The trigger places a reindex request on the ConText queue. Trigger Trigger Trigger Trigger Name Time Level Event : : : : PO_LINES_ALL_T3_ICX AFTER ROW DELETE

This trigger is installed via a postinstall step for Web Requestitions and is required only if this module is used. There is a prerequiste that ConText be installed. The trigger places a reindex request on the ConText queue.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 241

PO_LINES_ARCHIVE_ALL
PO_LINES_ARCHIVE_ALL contains archived purchase order line information. Oracle Purchasing only archives lines for the following documents:

Standard purchase orders Blanket purchase orders

When you modify a purchasing line, Oracle Purchasing will archive it after you (re)approve the purchase order or after you print it (this depends on the purchasing system options). You can retrieve revisions of the purchase order line using this table. The latest archived revision will have LATEST_EXTERNAL_FLAG set to Y. You need one row for each document line you archive. Each row contains the same information as the PO_LINES_ALL table. Oracle Purchasing uses this information to ensure you keep copies of your legal documents. Oracle Purchasing does not currently read or retrieve information in this table.
Foreign Keys Primary Key Table AP_TAX_CODES_ALL GL_USSGL_TRANSACTION_CODES MTL_CATEGORIES_B MTL_ITEM_REVISIONS MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL MTL_UOM_CLASSES_TL PO_HAZARD_CLASSES_B PO_HEADERS_ALL PO_HEADERS_ALL PO_LINES_ALL PO_LINES_ALL PO_LINE_TYPES_B PO_UN_NUMBERS_B QuickCodes Columns Column CLOSED_CODE

Primary Key Column NAME USSGL_TRANSACTION_CODE CATEGORY_ID REVISION INVENTORY_ITEM_ID UNIT_OF_MEASURE UOM_CLASS HAZARD_CLASS_ID PO_HEADER_ID PO_HEADER_ID PO_LINE_ID PO_LINE_ID LINE_TYPE_ID UN_NUMBER_ID

Foreign Key Column TAX_NAME USSGL_TRANSACTION_CODE CATEGORY_ID ITEM_REVISION ITEM_ID UNIT_MEAS_LOOKUP_CODE UNIT_OF_MEASURE_CLASS HAZARD_CLASS_ID PO_HEADER_ID FROM_HEADER_ID PO_LINE_ID FROM_LINE_ID LINE_TYPE_ID UN_NUMBER_ID

QuickCodes Type DOCUMENT STATE APPROVED

QuickCodes Table PO_LOOKUP_CODES The Document has been Approved

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 242 Oracle SefService Purchasing 5 Technical Reference Manual

AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN PRICE_BREAK_LOOKUP_CODE PRICE BREAK TYPE CUMULATIVE NON CUMULATIVE PRICE TYPE COST FEE COST PERCENT FIXED INDEXED VARIABLE

The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen PO_LOOKUP_CODES Cumulative NonCumulative PO_LOOKUP_CODES Cost Plus Fee Cost Plus Percentage Fixed Indexed Variable

PRICE_TYPE_LOOKUP_CODE

Column Descriptions Name PO_LINE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY PO_HEADER_ID LINE_TYPE_ID LINE_NUM LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY ITEM_ID ITEM_REVISION CATEGORY_ID ITEM_DESCRIPTION

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NUMBER DATE NUMBER NUMBER

Description

NOT NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL

Document line unique identifier Standard Who column Standard Who column Document header unique identifier NUMBER Line type unique identifier NUMBER Line number NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Item unique identifier VARCHAR2(3) Item revision NUMBER Item category unique identifier VARCHAR2(240) Item description

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 243

UNIT_MEAS_LOOKUP_CODE QUANTITY_COMMITTED COMMITTED_AMOUNT ALLOW_PRICE_OVERRIDE_FLAG NOT_TO_EXCEED_PRICE LIST_PRICE_PER_UNIT UNIT_PRICE QUANTITY UN_NUMBER_ID HAZARD_CLASS_ID NOTE_TO_VENDOR FROM_HEADER_ID FROM_LINE_ID MIN_ORDER_QUANTITY MAX_ORDER_QUANTITY QTY_RCV_TOLERANCE OVER_TOLERANCE_ERROR_FLAG MARKET_PRICE UNORDERED_FLAG CLOSED_FLAG USER_HOLD_FLAG CANCEL_FLAG CANCELLED_BY CANCEL_DATE CANCEL_REASON FIRM_STATUS_LOOKUP_CODE FIRM_DATE VENDOR_PRODUCT_NUM CONTRACT_NUM TAXABLE_FLAG TAX_NAME TYPE_1099 CAPITAL_EXPENSE_FLAG

NULL VARCHAR2(25)

Unit of measure for the quantity ordered NULL NUMBER Quantity agreed for an agreement line NULL NUMBER Amount agreed for an agreement line NULL VARCHAR2(1) Indicates whether or not you can change the price on releases NULL NUMBER Price limit that you cannot exceed on a release shipment NULL NUMBER List price for the item on the line NULL NUMBER Unit price for the line NULL NUMBER Quantity ordered on the line NULL NUMBER UN number unique identifier NULL NUMBER Hazard class unique identifier NULL VARCHAR2(240) Short note to supplier NULL NUMBER Quotation unique identifier NULL NUMBER Quotation line unique identifier NULL NUMBER Minimum order quantity for a quotation line NULL NUMBER Maximum order quantity for a quotation line NULL NUMBER Quantity received tolerance percentage NULL VARCHAR2(25) Indicates whether you reject receipts exceeding the tolerance or not NULL NUMBER Market price for the item on the line NULL VARCHAR2(1) Indicates whether the line was created from unordered receipts or not NULL VARCHAR2(1) Indicates whether the line is closed or not NULL VARCHAR2(1) Indicates whether the line is on hold or not (Unused since release version 5.0) NULL VARCHAR2(1) Indicates whether the line is cancelled or not NULL NUMBER(9) Unique identifier of the employee who cancelled the line NULL DATE Cancellation date NULL VARCHAR2(240) Cancellation reason provided by employee NULL VARCHAR2(30) Firming status of the line (Unused since release version 7.0) NULL DATE Date the line becomes firmed (Unused since release version 7.0) NULL VARCHAR2(25) Supplier product number NULL VARCHAR2(25) Contract number referenced on the line NULL VARCHAR2(1) Indicates whether the document line is taxable or not NULL VARCHAR2(15) Tax code applying to the line NULL VARCHAR2(10) 1099 type for the purchase order line NULL VARCHAR2(1) Indicates whether the line is for a capital expense or not

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 244 Oracle SefService Purchasing 5 Technical Reference Manual

NEGOTIATED_BY_PREPARER_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 REFERENCE_NUM ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 MIN_RELEASE_AMOUNT

NULL VARCHAR2(1) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(25) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER

PRICE_TYPE_LOOKUP_CODE REVISION_NUM (PK) PRICE_BREAK_LOOKUP_CODE LATEST_EXTERNAL_FLAG USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE CLOSED_CODE CLOSED_BY CLOSED_DATE CLOSED_REASON TRANSACTION_REASON_CODE ORG_ID GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6

NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE VARCHAR2(25) NUMBER DATE VARCHAR2(240) VARCHAR2(25) NUMBER

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Indicates whether the buyer negotiated the price or not Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Reference number (Unused since release version 7.0) Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Minimum amount that can be released against a planned purchase order or blanket agreement lines Price type of the line Document revision number Describes the pricing scheme for blanket agreement line price breaks Indicates whether this is the latest archived revision United States standard general ledger transaction code USSGL descriptive flexfield context column Standard Who column Standard Who column Standard Who column Standard Who column Closure status of the line Unique identifier of employee who closed the line Date the line is closed Why the line is closed Transaction reason Operating unit unique identifier Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 245

GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 EXPIRATION_DATE QC_GRADE BASE_UOM BASE_QTY SECONDARY_UOM SECONDARY_QTY LINE_REFERENCE_NUM PROJECT_ID TASK_ID TAX_CODE_ID

NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL DATE Expiration Date For Catalog Lines NULL VARCHAR2(25) Quality control grade wanted for the purchase order line NULL VARCHAR2(25) Base unit of measure (UOM) for the item ordered NULL NUMBER Ordered quantity converted from transaction UOM to base UOM NULL VARCHAR2(25) Dual unit of measure for the item ordered NULL NUMBER Converted quantity from base UOM to dual UOM for the item ordered NULL VARCHAR2(25) Audit Trail Reference (needed for 832 EDI transaction) NULL NUMBER Project accounting project unique identifier NULL NUMBER Project accounting task unique identifier NULL NUMBER Unique identifier for the tax code

Indexes Index Name PO_LINES_ARCHIVE_N1 PO_LINES_ARCHIVE_N2 PO_LINES_ARCHIVE_N3 PO_LINES_ARCHIVE_N4 PO_LINES_ARCHIVE_U1

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1 2

Column Name PO_HEADER_ID ITEM_ID CLOSED_BY CANCELLED_BY PO_LINE_ID REVISION_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 246 Oracle SefService Purchasing 5 Technical Reference Manual

PO_LINE_LOCATIONS_ARCHIVE_ALL
PO_LINE_LOCATIONS_ARCHIVE_ALL contains archived purchase order shipment information. Oracle Purchasing only archives shipments for the following documents:

Standard purchase orders

Planned purchase orders

Planned purchase order releases

Blanket purchase order releases

When you modify a shipment, Oracle Purchasing will archive it after you (re)approve the purchase order or after you print it (this depends on the purchasing system options). You can retrieve revisions of the shipments using this table. The latest archived revision will have LATEST_EXTERNAL_FLAG set to Y. You need one row for each shipment archive. Each row contains the same information as the PO_LINE_LOCATIONS_ALL table. Oracle Purchasing uses this information to ensure you keep copies of your legal documents.

Foreign Keys Primary Key Table AP_TAX_CODES_ALL AP_TERMS_TL GL_USSGL_TRANSACTION_CODES MTL_UNITS_OF_MEASURE_TL MTL_UOM_CLASSES_TL

Primary Key Column TAX_ID TERM_ID USSGL_TRANSACTION_CODE UNIT_OF_MEASURE UOM_CLASS

Foreign Key Column TAX_CODE_ID TERMS_ID USSGL_TRANSACTION_CODE UNIT_MEAS_LOOKUP_CODE UNIT_OF_MEASURE_CLASS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 247

PO_HEADERS_ALL PO_HEADERS_ALL PO_LINES_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL PO_LINE_LOCATIONS_ALL PO_RELEASES_ALL RCV_ROUTING_HEADERS QuickCodes Columns Column CLOSED_CODE

PO_HEADER_ID PO_HEADER_ID PO_LINE_ID PO_LINE_ID LINE_LOCATION_ID LINE_LOCATION_ID PO_RELEASE_ID ROUTING_HEADER_ID

PO_HEADER_ID FROM_HEADER_ID PO_LINE_ID FROM_LINE_ID FROM_LINE_LOCATION_ID SOURCE_SHIPMENT_ID PO_RELEASE_ID RECEIVING_ROUTING_ID

QuickCodes Type DOCUMENT STATE APPROVED AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN

QuickCodes Table PO_LOOKUP_CODES The Document has been Approved The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message AR_LOOKUPS PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message

ENFORCE_SHIP_TO_LOCATION_CODE

RECEIVING CONTROL LEVEL NONE REJECT WARNING

FOB_LOOKUP_CODE QTY_RCV_EXCEPTION_CODE

FOB RECEIVING CONTROL LEVEL NONE REJECT WARNING

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 248 Oracle SefService Purchasing 5 Technical Reference Manual

RECEIPT_DAYS_EXCEPTION_CODE

RECEIVING CONTROL LEVEL NONE REJECT WARNING

PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message PO_LOOKUP_CODES Blanket release shipment Planned shipment Price Break Quotation shipment RFQ shipment Scheduled release shipment Standard shipment

SHIPMENT_TYPE

SHIPMENT TYPE BLANKET PLANNED PRICE BREAK QUOTATION RFQ SCHEDULED STANDARD

Column Descriptions Name LINE_LOCATION_ID LAST_UPDATE_DATE LAST_UPDATED_BY PO_HEADER_ID PO_LINE_ID LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY QUANTITY QUANTITY_RECEIVED QUANTITY_ACCEPTED QUANTITY_REJECTED QUANTITY_BILLED QUANTITY_CANCELLED UNIT_MEAS_LOOKUP_CODE PO_RELEASE_ID SHIP_TO_LOCATION_ID SHIP_VIA_LOOKUP_CODE NEED_BY_DATE PROMISED_DATE LAST_ACCEPT_DATE PRICE_OVERRIDE ENCUMBERED_FLAG ENCUMBERED_DATE (PK)

Null? Type NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NOT NULL NUMBER NOT NULL NULL NULL NULL NULL NUMBER NUMBER DATE NUMBER NUMBER

Description Document shipment schedule unique identifier Standard Who column Standard Who column Document header unique identifier Document line unique identifier Standard Who column Standard Who column Standard Who column Quantity ordered or break quantity for blanket purchase orders, RFQs and quotations Quantity received, up until today Quantity accepted after inspection, up until today Quantity rejected after inspection, up until today Quantity invoiced to date by Oracle Payables Quantity cancelled Price break quantity unit of measure Release unique identifier for a release shipment Unique identifier for the shipto location Type of carrier for the RFQ or quotation shipment Needby Date for the shipment schedule Supplier promised delivery date Latest acceptable receipt date for the shipment Order shipment price or price break for blanket purchase orders, RFQs and quotations Indicates whether the shipment is encumbered Date of encumbrance for the shipment

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL DATE NULL DATE NULL DATE NULL NUMBER NULL VARCHAR2(1) NULL DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 249

UNENCUMBERED_QUANTITY FOB_LOOKUP_CODE FREIGHT_TERMS_LOOKUP_CODE TAXABLE_FLAG TAX_NAME ESTIMATED_TAX_AMOUNT FROM_HEADER_ID FROM_LINE_ID FROM_LINE_LOCATION_ID START_DATE END_DATE LEAD_TIME LEAD_TIME_UNIT PRICE_DISCOUNT TERMS_ID APPROVED_FLAG APPROVED_DATE CLOSED_CODE CANCEL_FLAG CANCELLED_BY CANCEL_DATE CANCEL_REASON FIRM_STATUS_LOOKUP_CODE FIRM_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7

NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(15) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL DATE NULL DATE NULL NUMBER NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL DATE NULL VARCHAR2(25) NULL VARCHAR2(1) NULL NUMBER NULL DATE NULL VARCHAR2(240) NULL VARCHAR2(25) NULL DATE NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Encumbered quantity to date (Unused since release version 7.0) Type of freeonboard terms for the shipment Type of freight terms for the shipment Indicates whether the shipment is taxable Tax code for the shipment Estimated tax amount for the purchase order shipment (Unused since release version 6.0) Unique identifier of the RFQ used to autocreate the quotation Unique identifier of the RFQ line used to autocreate the quotation line Unique identifier of the RFQ shipment used to autocreate a quotation shipment Effective date of the price break (applies to RFQs and quotations only) Expiration date of the price break information (applies to RFQs and quotations only) Lead time for the price break (applies to RFQs and quotations only) Unit of measure for the lead time Discount percentage for price break (applies to RFQs and quotations only) Payment terms unique identifier Indicates whether the shipment is approved Approval date for shipment (Unused since release version 6.0) Closure status of the shipment Indicates whether the shipment is cancelled Unique identifier of the employee who cancelled the shipment Cancellation date Cancellation reason provided by the employee Indicates whether the shipment is firmed Date the shipment becomes firmed Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 250 Oracle SefService Purchasing 5 Technical Reference Manual

ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 UNIT_OF_MEASURE_CLASS ENCUMBER_NOW ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 INSPECTION_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG QTY_RCV_TOLERANCE QTY_RCV_EXCEPTION_CODE ENFORCE_SHIP_TO_LOCATION_CODE

NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(25)

NULL VARCHAR2(1) NULL NULL NULL NULL NULL NULL VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(1)

NULL VARCHAR2(1) NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25)

ALLOW_SUBSTITUTE_RECEIPTS_FLAG DAYS_EARLY_RECEIPT_ALLOWED DAYS_LATE_RECEIPT_ALLOWED RECEIPT_DAYS_EXCEPTION_CODE

NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL VARCHAR2(25)

SHIP_TO_ORGANIZATION_ID SHIPMENT_NUM SOURCE_SHIPMENT_ID

NULL NUMBER NULL NUMBER NULL NUMBER

SHIPMENT_TYPE USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT REVISION_NUM (PK) LATEST_EXTERNAL_FLAG RECEIVING_ROUTING_ID REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE

NOT NULL VARCHAR2(25) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NUMBER NULL VARCHAR2(1) NULL NUMBER NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE

Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Unit of measure class (Unused since release version 7.0) Indicates whether the shipment should be encumbered (Unused since release version 7.0) Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Indicates whether shipment must be inspected before the invoice is paid Indicates whether shipment must be received before the invoice is paid Maximum overreceipt tolerance percentage Describes what action is taken when the quantity received tolerance is exceeded Describes what action is taken when the receiving location differs from the shipto location Indicates whether substitute items can be received in place of the ordered items Maximum acceptable number of days items can be received early Maximum acceptable number of days items can be received late Describes what action is taken when items are received earlier or later than the allowed number of days specified Shipto organization unique identifier Shipment line number Unique identifier of the planned purchase order shipment that was referenced when creating this scheduled release shipment Type of shipment United States standard general ledger transaction code USSGL descriptive flexfield context column Document revision number Indicates whether this is the latest archived revision Receipt routing unique identifier Standard Who column Standard Who column Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 251

INVOICE_CLOSE_TOLERANCE

NULL NUMBER

RECEIVE_CLOSE_TOLERANCE

NULL NUMBER

ACCRUE_ON_RECEIPT_FLAG CLOSED_BY CLOSED_DATE CLOSED_REASON CLOSED_FLAG ORG_ID GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 QUANTITY_SHIPPED TAX_USER_OVERRIDE_FLAG

NULL VARCHAR2(1) NULL NUMBER NULL DATE NULL VARCHAR2(240) NULL VARCHAR2(1) NULL NUMBER NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NUMBER NULL VARCHAR2(1)

Percentage tolerance within which a shipment is automatically closed for invoicing when billed Percentage tolerance within which a shipment is automatically closed for receiving Indicates whether items are accrued upon receipt Unique identifier of employee who closed the shipment Date the shipment is closed Describes why shipment is closed No longer used Operating unit unique identifier Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Quantity shipped Indicator of whether someone overrode the default tax

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 252 Oracle SefService Purchasing 5 Technical Reference Manual

MATCH_OPTION

TAX_CODE_ID CHANGE_PROMISED_DATE_REASON

Indicator of whether the invoice for the shipment should be matched to the purchase order or the receipt NULL NUMBER Unique identifier for the tax code NULL VARCHAR2(240) Reason for changing the promisedby date

NULL VARCHAR2(25)

Indexes Index Name PO_LINE_LOCATIONS_ARCHIVE_N1 PO_LINE_LOCATIONS_ARCHIVE_N2 PO_LINE_LOCATIONS_ARCHIVE_N3 PO_LINE_LOCATIONS_ARCHIVE_N4 PO_LINE_LOCATIONS_ARCHIVE_U1

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 1 2 1 1 1 2

Column Name PO_LINE_ID PO_HEADER_ID PO_LINE_ID CLOSED_BY CANCELLED_BY LINE_LOCATION_ID REVISION_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 253

PO_RELEASES_ARCHIVE_ALL
PO_RELEASES_ARCHIVE_ALL contains archived release header information. Oracle Purchasing only archives releases for the following documents:

Planned purchase order releases Blanket purchase order releases

When you modify a release, Oracle Purchasing will archive it after you (re)approve the release or after you print it (this depends on the purchasing system options). You can retrieve revisions of the releases using this table. The latest archived revision will have LATEST_EXTERNAL_FLAG set to Y. You need one row for each release you archive. Each row contains the same information as the PO_RELEASES_ALL table. Oracle Purchasing uses this information to ensure you keep copies of your legal documents. Oracle Purchasing does not currently read or retrieve information in this table.
QuickCodes Columns Column AUTHORIZATION_STATUS

QuickCodes Type DOCUMENT STATE APPROVED AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD

QuickCodes Table PO_LOOKUP_CODES The Document has been Approved The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 254 Oracle SefService Purchasing 5 Technical Reference Manual

OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN CLOSED_CODE DOCUMENT STATE APPROVED AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN Column Descriptions Name PO_RELEASE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY PO_HEADER_ID RELEASE_NUM AGENT_ID RELEASE_DATE

The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen PO_LOOKUP_CODES The Document has been Approved The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NUMBER DATE NUMBER NUMBER

Description Release unique identifier Standard Who column Standard Who column Document header unique identifier Release number Buyer unique identifier Date of the release

NOT NULL NUMBER NOT NULL NUMBER(9) NOT NULL DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 255

LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY REVISION_NUM (PK) REVISED_DATE APPROVED_FLAG APPROVED_DATE PRINT_COUNT PRINTED_DATE ACCEPTANCE_REQUIRED_FLAG ACCEPTANCE_DUE_DATE HOLD_BY HOLD_DATE HOLD_REASON HOLD_FLAG CANCEL_FLAG CANCELLED_BY CANCEL_DATE CANCEL_REASON FIRM_STATUS_LOOKUP_CODE FIRM_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 LATEST_EXTERNAL_FLAG USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE CLOSED_CODE FROZEN_FLAG

NULL NULL NULL NULL NULL NULL

NUMBER DATE NUMBER NUMBER DATE VARCHAR2(1)

NULL DATE NULL NUMBER NULL DATE NULL VARCHAR2(1) NULL NULL NULL NULL NULL DATE NUMBER(9) DATE VARCHAR2(240) VARCHAR2(1)

NULL VARCHAR2(1) NULL NUMBER(9) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL DATE VARCHAR2(240) VARCHAR2(25) DATE VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(1)

NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE VARCHAR2(25)

NULL VARCHAR2(1)

Standard Who column Standard Who column Standard Who column Release revision number Last revision date Indicates whether the release is approved Date the release was approved Number of times the release was printed Date the release was printed Indicates whether an acceptance is required Date the acceptance is due No longer used No longer used No longer used Indicates whether the release is on hold Indicates whether the release is cancelled Unique identifier of the employee who cancelled the release Date the release was cancelled Reason for cancellation Firm status Date the release becomes firmed Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Indicates whether this is the latest archived revision United States standard general ledger transaction code USSGL descriptive flexfield context column Standard Who column Standard Who column Standard Who column Standard Who column Describes the closure status of the release Indicates whether the document is frozen

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 256 Oracle SefService Purchasing 5 Technical Reference Manual

RELEASE_TYPE AUTHORIZATION_STATUS NOTE_TO_VENDOR ORG_ID EDI_PROCESSED_FLAG

NULL VARCHAR2(25) NULL VARCHAR2(25) NULL VARCHAR2(240) NULL NUMBER NULL VARCHAR2(1)

GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 PCARD_ID WF_ITEM_TYPE WF_ITEM_KEY PAY_ON_CODE

NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NUMBER(15) NULL VARCHAR2(8) NULL VARCHAR2(240) NULL VARCHAR2(25)

Describes whether release is for a blanket or planned purchase order Authorization status of the release Note to the supplier Operating unit unique identifier This flag is used by eCommerce Gateway to identify documents that have been sent via EDI. This flag is updated to Y by the eCommerce Gateway extraction routines. Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Unique identifier for the procurement card used on the release Approval workflow item type Approval workflow item key Indicator of whether the release will be paid upon receipt.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 257

Indexes Index Name PO_RELEASES_ARCHIVE_N1 PO_RELEASES_ARCHIVE_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 1 2

Column Name AGENT_ID PO_RELEASE_ID REVISION_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 258 Oracle SefService Purchasing 5 Technical Reference Manual

PO_REQEXPRESS_LINES_ALL
PO_REQEXPRESS_LINES_ALL stores information about Requisition Template lines. You need one row for each Requisition Template line you define. Each row includes the Requisition Template name, item class, item number, item description, unit price, and suggested supplier. Oracle Purchasing uses Requisition Template lines to let you quickly create requisitions. Requisition Templates group frequently requested items together and stores their unit prices and sourcing information. You enter Requisition Template lines using the Requisition Templates tabbed region of the Supplier Item Catalog window.
Foreign Keys Primary Key Table GL_USSGL_TRANSACTION_CODES MTL_CATEGORIES_B MTL_ITEM_REVISIONS MTL_SECONDARY_INVENTORIES MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL PO_AGENTS PO_HEADERS_ALL PO_LINES_ALL PO_LINE_TYPES_B PO_REQEXPRESS_HEADERS_ALL PO_VENDORS PO_VENDOR_CONTACTS PO_VENDOR_SITES_ALL QuickCodes Columns Column SOURCE_TYPE_CODE

Primary Key Column USSGL_TRANSACTION_CODE CATEGORY_ID REVISION SECONDARY_INVENTORY_NAME INVENTORY_ITEM_ID UNIT_OF_MEASURE AGENT_ID PO_HEADER_ID PO_LINE_ID LINE_TYPE_ID EXPRESS_NAME VENDOR_ID VENDOR_CONTACT_ID VENDOR_SITE_ID

Foreign Key Column USSGL_TRANSACTION_CODE CATEGORY_ID ITEM_REVISION SOURCE_SUBINVENTORY ITEM_ID UNIT_MEAS_LOOKUP_CODE SUGGESTED_BUYER_ID PO_HEADER_ID PO_LINE_ID LINE_TYPE_ID EXPRESS_NAME SUGGESTED_VENDOR_ID SUGGESTED_VENDOR_CONTACT_ID SUGGESTED_VENDOR_SITE_ID

QuickCodes Type REQUISITION SOURCE TYPE INVENTORY VENDOR

QuickCodes Table PO_LOOKUP_CODES Inventory Sourced Requisition Vendor Sourced Requisition

Column Descriptions Name EXPRESS_NAME (PK)

Null? Type NOT NULL VARCHAR2(25) NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NULL DATE NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER

Description Template unique identifier and name Template line number Standard Who column Standard Who column Standard Who column Source document header unique identifier Source document line unique identifier Standard Who column Standard Who column

SEQUENCE_NUM (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE PO_HEADER_ID PO_LINE_ID CREATED_BY LAST_UPDATE_LOGIN

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 259

ITEM_ID LINE_TYPE_ID ITEM_REVISION CATEGORY_ID UNIT_MEAS_LOOKUP_CODE UNIT_PRICE SUGGESTED_VENDOR_ID SUGGESTED_VENDOR_SITE_ID SUGGESTED_VENDOR_CONTACT_ID SUGGESTED_VENDOR_PRODUCT_CODE SUGGESTED_BUYER_ID RFQ_REQUIRED_FLAG VENDOR_SOURCE_CONTEXT SOURCE_TYPE_CODE SOURCE_ORGANIZATION_ID SOURCE_SUBINVENTORY ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT ITEM_DESCRIPTION ORG_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3

NULL NULL NULL NULL NULL NULL

NUMBER NUMBER VARCHAR2(3) NUMBER VARCHAR2(25) NUMBER

NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL NUMBER(9) NULL VARCHAR2(1) NULL VARCHAR2(30) NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(10) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER NUMBER NUMBER DATE VARCHAR2(30)

NULL VARCHAR2(30) NULL VARCHAR2(240) NULL NUMBER NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Item unique identifier Line type Item revision Item category unique identifier Unit of measure Unit price in functional currency Suggested supplier unique identifier Suggested supplier site unique identifier Suggested supplier contact unique identifier Suggested supplier product number Suggested buyer unique identifier Indicates whether an RFQ is required prior to placement on a purchase order Supplier source descriptive flexfield context column Source type of item Inventory source organization unique identifier Inventory source subinventory name Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Standard Who column Standard Who column Standard Who column Standard Who column United States standard general ledger transaction code USSGL descriptive flexfield context column Item description Operating unit unique identifier Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 260 Oracle SefService Purchasing 5 Technical Reference Manual

GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY

NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(30) Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 261

PO_REQUISITION_HEADERS_ALL
PO_REQUISITION_HEADERS_ALL stores information about requisition headers. You need one row for each requisition header you create. Each row contains the requisition number, preparer, status, and description. REQUISITION_HEADER_ID is the unique systemgenerated requisition number. REQUISITION_HEADER_ID is invisible to the user. SEGMENT1 is the number you use to identify the requisition in forms and reports. Oracle Purchasing generates SEGMENT1 using the PO_UNIQUE_IDENTIFIER_CONTROL table if you choose to let Oracle Purchasing generate requisition numbers for you. PO_REQUISITION_HEADERS_ALL is one of three tables storing requisition information. PO_REQUISITION_HEADERS_ALL corresponds to the Header region of the Requisitions window. SEGMENT1 provides unique values for each row in the table in addition to REQUISITION_HEADER_ID.

Foreign Keys Primary Key Table GL_USSGL_TRANSACTION_CODES PO_REQUISITIONS_INTERFACE_ALL PO_REQUISITIONS_INTERFACE_ALL QuickCodes Columns Column AUTHORIZATION_STATUS

Primary Key Column USSGL_TRANSACTION_CODE INTERFACE_SOURCE_CODE INTERFACE_SOURCE_LINE_ID

Foreign Key Column USSGL_TRANSACTION_CODE INTERFACE_SOURCE_CODE INTERFACE_SOURCE_LINE_ID

QuickCodes Type AUTHORIZATION STATUS APPROVED CANCELLED IN PROCESS INCOMPLETE PREAPPROVED REJECTED REQUIRES REAPPROVAL RETURNED

QuickCodes Table PO_LOOKUP_CODES Document has been Approved Document has been Cancelled Document is still undergoing Approval Document is not yet Complete Document is Approved but not yet Accepted Document as been Rejected Requires Reapproval Document has been Returned PO_LOOKUP_CODES The Document has been Approved The Document is Awaiting Printing

CLOSED_CODE

DOCUMENT STATE APPROVED AWAITING PRINTING

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 262 Oracle SefService Purchasing 5 Technical Reference Manual

CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN TYPE_LOOKUP_CODE DOCUMENT TYPE PA PO QUOTATION RELEASE REQUISITION RFQ

The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen PO_LOOKUP_CODES Purchase Agreement Purchase Order Quotation Purchase Order Release Requisition Request for Quotation

Column Descriptions Name REQUISITION_HEADER_ID PREPARER_ID LAST_UPDATE_DATE LAST_UPDATED_BY SEGMENT1 SUMMARY_FLAG ENABLED_FLAG SEGMENT2 SEGMENT3 SEGMENT4 SEGMENT5 START_DATE_ACTIVE END_DATE_ACTIVE LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY (PK)

Null? Type NOT NULL NUMBER NOT NULL NUMBER(9) NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL DATE NUMBER VARCHAR2(20) VARCHAR2(1) VARCHAR2(1) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) VARCHAR2(20) DATE DATE NUMBER DATE NUMBER

Description Requisition header unique identifier Unique identifier of the employee who prepared the requisition Standard Who column Standard Who column Requisition number Key flexfield summary flag Key flexfield enabled flag Key flexfield segment column Key flexfield segment column Key flexfield segment column Key flexfield segment column Key flexfield start date Key flexfield end date Standard Who column Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 263

DESCRIPTION AUTHORIZATION_STATUS NOTE_TO_AUTHORIZER TYPE_LOOKUP_CODE TRANSFERRED_TO_OE_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ON_LINE_FLAG PRELIMINARY_RESEARCH_FLAG RESEARCH_COMPLETE_FLAG PREPARER_FINISHED_FLAG PREPARER_FINISHED_DATE AGENT_RETURN_FLAG AGENT_RETURN_NOTE CANCEL_FLAG ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE INTERFACE_SOURCE_CODE INTERFACE_SOURCE_LINE_ID CLOSED_CODE ORG_ID WF_ITEM_TYPE WF_ITEM_KEY EMERGENCY_PO_NUM PCARD_ID APPS_SOURCE_CODE

NULL VARCHAR2(240) Description for requisition NULL VARCHAR2(25) Authorization status type NULL VARCHAR2(240) Note to approver (Unused since release 8.0) NULL VARCHAR2(25) Requisition type NULL VARCHAR2(1) Indicates whether an internal requisition has been transferred to Order Management NULL VARCHAR2(30) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL DATE Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(240) Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(150) Descriptive flexfield segment NULL VARCHAR2(30) United States standard general ledger transaction code NULL VARCHAR2(30) USSGL descriptive flexfield context column NULL NUMBER Standard Who column NULL NUMBER Standard Who column NULL NUMBER Standard Who column NULL DATE Standard Who column NULL VARCHAR2(25) Source of requisition from Requisition Import NULL NUMBER Source requisition line identifier from Requisition Import NULL VARCHAR2(25) Close status NULL NUMBER Operating unit unique identifier NULL VARCHAR2(8) Approval workflow item type NULL VARCHAR2(240) Approval workflow item key NULL VARCHAR2(20) Purchase order number reserved in advance for an emergency requisition NULL NUMBER(15) Unique dentifer for procurement card used for the order NULL VARCHAR2(25) Application source code, indicating the creation method for the requisition

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 264 Oracle SefService Purchasing 5 Technical Reference Manual

Indexes Index Name PO_REQUISITION_HEADERS_N1 PO_REQUISITION_HEADERS_N2 PO_REQUISITION_HEADERS_N3 PO_REQUISITION_HEADERS_N4 PO_REQUISITION_HEADERS_N5 PO_REQUISITION_HEADERS_U1 PO_REQUISITION_HEADERS_U2

Index Type NOT NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1 2 1 1 2

Column Name PREPARER_ID CREATION_DATE AUTHORIZATION_STATUS TRANSFERRED_TO_OE_FLAG WF_ITEM_TYPE WF_ITEM_KEY REQUISITION_HEADER_ID SEGMENT1 ORG_ID

Sequences Sequence PO_REQUISITION_HEADERS_S

Derived Column REQUISITION_HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 265

PO_REQUISITION_LINES_ALL
PO_REQUISITION_LINES stores information about requisition lines. You need one row for each requisition line you create. Each row contains the line number, item number, item category, item description, needby date, deliverto location, item quantities, units, prices, requestor, notes, and suggested supplier information for the requisition line. LINE_LOCATION_ID identifies the purchase order shipment line on which you placed the requisition. LINE_LOCATION_ID is null if you have not placed the requisition line on a purchase order. BLANKET_PO_HEADER_ID and BLANKET_PO_LINE_NUM store the suggested blanket purchase agreement or catalog quotation line information for the requisition line. PARENT_REQ_LINE_ID contains the REQUISITION_LINE_ID from the original requisition line if you exploded or multisourced this requisition line. PO_REQUISITION_LINES is one of three tables storing requisition information. This table corresponds to the Lines region of the Requisitions window.

Foreign Keys Primary Key Table AP_TAX_CODES_ALL BOM_RESOURCES FND_CURRENCIES GL_DAILY_CONVERSION_RATES_R10 GL_DAILY_CONVERSION_TYPES GL_USSGL_TRANSACTION_CODES MTL_CATEGORIES_B MTL_ITEM_REVISIONS MTL_SECONDARY_INVENTORIES MTL_SECONDARY_INVENTORIES MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL MTL_UOM_CLASSES_TL PO_AGENTS PO_DOCUMENT_TYPES_ALL_B PO_HAZARD_CLASSES_B PO_HEADERS_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL PO_LINE_TYPES_B PO_REQUISITION_HEADERS_ALL

Primary Key Column TAX_ID RESOURCE_ID CURRENCY_CODE CONVERSION_DATE CONVERSION_TYPE USSGL_TRANSACTION_CODE CATEGORY_ID REVISION SECONDARY_INVENTORY_NAME SECONDARY_INVENTORY_NAME INVENTORY_ITEM_ID UNIT_OF_MEASURE UOM_CLASS AGENT_ID DOCUMENT_TYPE_CODE HAZARD_CLASS_ID PO_HEADER_ID LINE_NUM LINE_LOCATION_ID LINE_TYPE_ID REQUISITION_HEADER_ID

Foreign Key Column TAX_CODE_ID BOM_RESOURCE_ID CURRENCY_CODE RATE_DATE RATE_TYPE USSGL_TRANSACTION_CODE CATEGORY_ID ITEM_REVISION SOURCE_SUBINVENTORY DESTINATION_SUBINVENTORY ITEM_ID UNIT_MEAS_LOOKUP_CODE UNIT_OF_MEASURE_CLASS SUGGESTED_BUYER_ID DOCUMENT_TYPE_CODE HAZARD_CLASS_ID BLANKET_PO_HEADER_ID BLANKET_PO_LINE_NUM LINE_LOCATION_ID LINE_TYPE_ID REQUISITION_HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 266 Oracle SefService Purchasing 5 Technical Reference Manual

PO_REQUISITION_LINES_ALL PO_UN_NUMBERS_B PO_VENDORS PO_VENDOR_CONTACTS PO_VENDOR_SITES_ALL WIP_ENTITIES WIP_LINES WIP_REPETITIVE_SCHEDULES QuickCodes Columns Column CLOSED_CODE

REQUISITION_LINE_ID UN_NUMBER_ID VENDOR_ID VENDOR_CONTACT_ID VENDOR_SITE_ID WIP_ENTITY_ID LINE_ID REPETITIVE_SCHEDULE_ID

PARENT_REQ_LINE_ID UN_NUMBER_ID VENDOR_ID VENDOR_CONTACT_ID VENDOR_SITE_ID WIP_ENTITY_ID WIP_LINE_ID WIP_REPETITIVE_SCHEDULE_ID

QuickCodes Type DOCUMENT STATE APPROVED AWAITING PRINTING CANCELLED CLOSED CLOSED FOR INVOICE CLOSED FOR RECEIVING FINALLY CLOSED FROZEN IN PROCESS INCOMPLETE NOT ON HOLD NOT RESERVED ON HOLD OPEN PREAPPROVED PRINTED REJECTED REQUIRES REAPPROVAL RESERVED RETURNED UNFROZEN

QuickCodes Table PO_LOOKUP_CODES The Document has been Approved The Document is Awaiting Printing The Document has been Cancelled The Document is Closed Closed For Invoice Closed For Receiving Finally Closed The Document is Frozen The Document is still undergoing Approval processing The Document is not yet complete The document is Not On Hold The document is Not Reserved The Document is On Hold The Document is Open The Document is Approved but not yet Accepted The Document has been Printed The Document has been Rejected The Document has been changed since it was Approved Funds have been Reserved for the Document The Document has been Returned by a Buyer The Document is Not Frozen PO_LOOKUP_CODES Goods are expensed from the system upon delivery Goods are received into inventory upon delivery Goods are received into an outside operation upon delivery PO_LOOKUP_CODES Blanket Purchase Order Quotation PO_LOOKUP_CODES

DESTINATION_TYPE_CODE

DESTINATION TYPE EXPENSE INVENTORY SHOP FLOOR

DOCUMENT_TYPE_CODE

SOURCE DOCUMENT TYPE BLANKET QUOTATION REQUISITION SOURCE TYPE

SOURCE_TYPE_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 267

INVENTORY VENDOR Column Descriptions Name REQUISITION_LINE_ID (PK)

Inventory Sourced Requisition Vendor Sourced Requisition

Null? Type NOT NULL NUMBER NOT NULL NUMBER NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER VARCHAR2(240) VARCHAR2(25) NUMBER

Description Requisition line unique identifier Requisition header unique identifier Line number Line type Item category unique identifier Item description Unit of measure Unit price in functional currency Quantity ordered Deliverto location unique identifier Requestor unique identifier Standard Who column Standard Who column Requisition source type of item Standard Who column Standard Who column Standard Who column Item unique identifier Item revision Quantity delivered to date Suggested buyer unique identifier Indicates whether the distribution is encumbered. When encumbrance is not enabled, this column will be used as an internal flag. Indicates whether an RFQ is required prior to placement on a purchase order Date the requisition is needed internally Document shipment schedule unique identifier Indicates whether a buyer modified this line or not Unique identifier of the parent requisition line for a modified requisition line Purchase justification Note to buyer Note to deliverer Unique identifier of the buyer who modified the requisition line Source document type Suggested source blanket agreement or catalog quotation header unique identifier

REQUISITION_HEADER_ID LINE_NUM LINE_TYPE_ID CATEGORY_ID ITEM_DESCRIPTION UNIT_MEAS_LOOKUP_CODE UNIT_PRICE QUANTITY DELIVER_TO_LOCATION_ID TO_PERSON_ID LAST_UPDATE_DATE LAST_UPDATED_BY SOURCE_TYPE_CODE LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY ITEM_ID ITEM_REVISION QUANTITY_DELIVERED SUGGESTED_BUYER_ID ENCUMBERED_FLAG

NOT NULL NUMBER NOT NULL NUMBER NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(9) DATE NUMBER VARCHAR2(25) NUMBER DATE NUMBER NUMBER VARCHAR2(3) NUMBER NUMBER(9)

NULL VARCHAR2(1)

RFQ_REQUIRED_FLAG NEED_BY_DATE LINE_LOCATION_ID MODIFIED_BY_AGENT_FLAG PARENT_REQ_LINE_ID JUSTIFICATION NOTE_TO_AGENT NOTE_TO_RECEIVER PURCHASING_AGENT_ID DOCUMENT_TYPE_CODE BLANKET_PO_HEADER_ID

NULL VARCHAR2(1) NULL DATE NULL NUMBER NULL VARCHAR2(1) NULL NUMBER NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) NUMBER(9)

NULL VARCHAR2(25) NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 268 Oracle SefService Purchasing 5 Technical Reference Manual

BLANKET_PO_LINE_NUM CURRENCY_CODE RATE_TYPE RATE_DATE RATE CURRENCY_UNIT_PRICE SUGGESTED_VENDOR_NAME SUGGESTED_VENDOR_LOCATION SUGGESTED_VENDOR_CONTACT SUGGESTED_VENDOR_PHONE SUGGESTED_VENDOR_PRODUCT_CODE UN_NUMBER_ID HAZARD_CLASS_ID MUST_USE_SUGG_VENDOR_FLAG REFERENCE_NUM ON_RFQ_FLAG URGENT_FLAG CANCEL_FLAG SOURCE_ORGANIZATION_ID SOURCE_SUBINVENTORY DESTINATION_TYPE_CODE DESTINATION_ORGANIZATION_ID DESTINATION_SUBINVENTORY QUANTITY_CANCELLED CANCEL_DATE CANCEL_REASON CLOSED_CODE AGENT_RETURN_NOTE CHANGED_AFTER_RESEARCH_FLAG VENDOR_ID VENDOR_SITE_ID VENDOR_CONTACT_ID RESEARCH_AGENT_ID ON_LINE_FLAG WIP_ENTITY_ID WIP_LINE_ID WIP_REPETITIVE_SCHEDULE_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM ATTRIBUTE_CATEGORY DESTINATION_CONTEXT INVENTORY_SOURCE_CONTEXT VENDOR_SOURCE_CONTEXT

Suggested source blanket agreement or catalog quotation line number NULL VARCHAR2(15) Unique identifier for the currency NULL VARCHAR2(30) Currency conversion rate type NULL DATE Currency conversion rate date NULL NUMBER Currency conversion rate NULL NUMBER Foreign currency unit price NULL VARCHAR2(80) Suggested supplier name NULL VARCHAR2(240) Suggested supplier site name NULL VARCHAR2(80) Suggested supplier contact name NULL VARCHAR2(20) Suggested supplier phone number NULL VARCHAR2(25) Suggested supplier product number NULL NUMBER UN number unique identifier NULL NUMBER Hazard class unique identifier NULL VARCHAR2(1) Unused since release 8.0 NULL VARCHAR2(25) Reference number NULL VARCHAR2(1) Indicates whether the requisition line was placed on an RFQ NULL VARCHAR2(1) Indicates whether the requisition is urgent or not NULL VARCHAR2(1) Indicates whether the requisition is cancelled or not NULL NUMBER Inventory source organization unique identifier NULL VARCHAR2(10) Inventory source subinventory name NULL VARCHAR2(25) Destination type NULL NUMBER Destination organization unique identifier NULL VARCHAR2(10) Destination subinventory name NULL NUMBER Quantity cancelled NULL DATE Cancel date NULL VARCHAR2(240) Cancel reason NULL VARCHAR2(25) Close status NULL VARCHAR2(240) Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL NUMBER Supplier unique identifier NULL NUMBER Supplier site unique identifier NULL NUMBER Supplier contact unique identifier NULL NUMBER(9) Unused since release 7.0 NULL VARCHAR2(1) Unused since release 7.0 NULL NUMBER WIP job or repetitive assembly identifier NULL NUMBER WIP line identifier NULL NUMBER WIP repetitive schedule identifier NULL NUMBER WIP operation sequence number within a routing NULL NUMBER WIP resource sequence number NULL VARCHAR2(30) Descriptive flexfield segment NULL VARCHAR2(30) Destination descriptive flexfield context column NULL VARCHAR2(30) Inventory source descriptive flexfield context column NULL VARCHAR2(30) Supplier source descriptive flexfield context column

NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 269

ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 BOM_RESOURCE_ID REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT CLOSED_REASON CLOSED_DATE TRANSACTION_REASON_CODE QUANTITY_RECEIVED SOURCE_REQ_LINE_ID ORG_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER NUMBER NUMBER NUMBER DATE VARCHAR2(30)

NULL VARCHAR2(30) NULL NULL NULL NULL NULL VARCHAR2(240) DATE VARCHAR2(25) NUMBER NUMBER

NULL NUMBER NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Descriptive flexfield segment . Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment BOM resource unique identifier Standard Who column Standard Who column Standard Who column Standard Who column United States standard general ledger transaction code USSGL descriptive flexfield context column Close reason Close date Transaction reason Quantity received Source requisition line identifier Operating unit unique identifier Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 270 Oracle SefService Purchasing 5 Technical Reference Manual

GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY KANBAN_CARD_ID CATALOG_TYPE CATALOG_SOURCE MANUFACTURER_ID MANUFACTURER_NAME MANUFACTURER_PART_NUMBER REQUESTER_EMAIL REQUESTER_FAX REQUESTER_PHONE UNSPSC_CODE OTHER_CATEGORY_CODE SUPPLIER_DUNS TAX_STATUS_INDICATOR PCARD_FLAG NEW_SUPPLIER_FLAG AUTO_RECEIVE_FLAG TAX_USER_OVERRIDE_FLAG TAX_CODE_ID NOTE_TO_VENDOR Indexes Index Name PO_REQUISITION_LINES_N1 PO_REQUISITION_LINES_N2 PO_REQUISITION_LINES_N3 PO_REQUISITION_LINES_N4 PO_REQUISITION_LINES_N5 PO_REQUISITION_LINES_N6 PO_REQUISITION_LINES_N7 PO_REQUISITION_LINES_N8 PO_REQUISITION_LINES_N9

NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(30) Reserved for countryspecific functionality NULL NUMBER Primary key for the Kanban Card NULL VARCHAR2(30) Catalog type NULL VARCHAR2(30) Catalog source NULL NUMBER Manufacturer unique identifier NULL VARCHAR2(30) Manufacturer name NULL VARCHAR2(30) Manufacturer part number NULL VARCHAR2(240) Requester email address NULL VARCHAR2(60) Requester facsimile number NULL VARCHAR2(60) Requester phone number NULL VARCHAR2(30) Standard Product and Service Code NULL VARCHAR2(30) Other category code NULL VARCHAR2(30) Data Universal Numbering System Code NULL VARCHAR2(30) Tax status NULL VARCHAR2(1) Indicator that this line is ordered using a procurement card NULL VARCHAR2(1) Indicator that this is a new supplier NULL VARCHAR2(1) Allow autoreceiving NULL VARCHAR2(1) Indicator of whether someone overrode the default tax NULL NUMBER Unique identifier for the tax code NULL VARCHAR2(240) Note to supplier

Index Type NOT NOT NOT NOT NOT NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1 1 1 1 2 4 6 8 10 1 1 2

Column Name LINE_LOCATION_ID CATEGORY_ID NEED_BY_DATE TO_PERSON_ID SUGGESTED_VENDOR_NAME SUGGESTED_BUYER_ID ITEM_ID BLANKET_PO_HEADER_ID WIP_ENTITY_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM DESTINATION_ORGANIZATION_ID WIP_REPETITIVE_SCHEDULE_ID REQUISITION_LINE_ID REQUISITION_HEADER_ID LINE_NUM

PO_REQUISITION_LINES_U1 PO_REQUISITION_LINES_U2

UNIQUE UNIQUE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 271

Sequences Sequence PO_REQUISITION_LINES_S

Derived Column REQUISITION_LINE_ID

Database Triggers Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_PO_IMPORT_REQUISITIONS BEFORE ROW INSERT

This trigger is executed on insert of a row in PO_REQUISTION_LINES_ALL when TRANSACTION_REASON_CODE is null. TRANSACTION_REASON_CODE is populated from the inventory item, if available, or from PO_SYSTEM_PARAMETERS. This is done only if the country is Brazil (country_code = BR) and the Latin America Localizations for Brazil (product_code = JL) is installed. For Brazilian PO localizations, TRANSACTION_REASON_CODE is a required field. In all other cases, this trigger does nothing. new.transaction_reason_code is null

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 272 Oracle SefService Purchasing 5 Technical Reference Manual

PO_REQ_DISTRIBUTIONS_ALL
PO_REQ_DISTRIBUTIONS_ALL stores information about the accounting distributions associated with each requisition line. Each requisition line must have at least one accounting distribution. You need one row for each requisition distribution you create. Each row includes the Accounting Flexfield ID and requisition line quantity. PO_REQ_DISTRIBUTIONS_ALL is one of three tables storing your requisition information. This table corresponds to the requisition Distributions window, accessible through the Requisitions window.

Foreign Keys Primary Key Table GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_PERIODS GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES PA_EXPENDITURE_TYPES PA_PROJECTS_ALL PA_TASKS PO_REQUISITION_LINES_ALL PO_REQ_DISTRIBUTIONS_ALL Column Descriptions Name DISTRIBUTION_ID (PK)

Primary Key Column CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID PERIOD_NAME SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE EXPENDITURE_TYPE PROJECT_ID TASK_ID REQUISITION_LINE_ID DISTRIBUTION_ID

Foreign Key Column CODE_COMBINATION_ID BUDGET_ACCOUNT_ID ACCRUAL_ACCOUNT_ID VARIANCE_ACCOUNT_ID GL_ENCUMBERED_PERIOD_NAME SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE EXPENDITURE_TYPE PROJECT_ID TASK_ID REQUISITION_LINE_ID DISTRIBUTION_ID

Null? Type NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NULL NULL NULL NULL NUMBER NUMBER DATE NUMBER VARCHAR2(1)

Description Requisition distribution unique identifier Standard Who column Standard Who column Requisition line unique identifier Set of Books unique identifier Unique identifier for the General Ledger charge account Quantity for the distribution Standard Who column Standard Who column Standard Who column Indicates whether the distribution is encumbered or not Date the distribution was encumbered Period in which the distribution was encumbered

LAST_UPDATE_DATE LAST_UPDATED_BY REQUISITION_LINE_ID SET_OF_BOOKS_ID CODE_COMBINATION_ID REQ_LINE_QUANTITY LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY ENCUMBERED_FLAG GL_ENCUMBERED_DATE GL_ENCUMBERED_PERIOD_NAME

NULL DATE NULL VARCHAR2(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 273

GL_CANCELLED_DATE FAILED_FUNDS_LOOKUP_CODE ENCUMBERED_AMOUNT BUDGET_ACCOUNT_ID ACCRUAL_ACCOUNT_ID VARIANCE_ACCOUNT_ID PREVENT_ENCUMBRANCE_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE PROJECT_ID TASK_ID END_ITEM_UNIT_NUMBER EXPENDITURE_TYPE PROJECT_ACCOUNTING_CONTEXT EXPENDITURE_ORGANIZATION_ID GL_CLOSED_DATE SOURCE_REQ_DISTRIBUTION_ID

NULL DATE NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(1) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(30)

NULL VARCHAR2(30) NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE NUMBER

NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NUMBER NULL DATE NULL NUMBER

DISTRIBUTION_NUM ALLOCATION_TYPE ALLOCATION_VALUE

NOT NULL NUMBER NULL VARCHAR2(25) NULL NUMBER

Date the distribution was cancelled Type of approval failure for the distribution Encumbered amount for distribution Unique identifier for the General Ledger budget account Unique identifier for the General Ledger accrual account Unique identifier for the General Ledger variance account Indicates whether the distribution requires encumbrance or not Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment United States standard general ledger transaction code USSGL descriptive flexfield context column Standard Who column Standard Who column Standard Who column Standard Who column Project accounting project unique identifier Project accounting task unique identifier Project Manufacturing end item unit number Project accounting expenditure type Project accounting descriptive flexfield context column Project accounting expenditure organization unique identifier Date the distribution was finalclosed Distribution unique identifier that indicates whether the distribution is encumbered when it is cancelled Distribution number Method of allocation across distributions. Can be PERCENT. Allocation split value

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 274 Oracle SefService Purchasing 5 Technical Reference Manual

PROJECT_RELATED_FLAG EXPENDITURE_ITEM_DATE ORG_ID AWARD_ID RECOVERABLE_TAX NONRECOVERABLE_TAX RECOVERY_RATE TAX_RECOVERY_OVERRIDE_FLAG

NULL VARCHAR2(1) NULL DATE NULL NUMBER NULL NULL NULL NULL NUMBER(15) NUMBER NUMBER NUMBER

NULL VARCHAR2(1)

Indicates whether the distribution is project related Project accounting expenditure item date Operating unit unique identifier Award identifier Recoverable tax amount Nonrecoverable tax amount Percentage of tax that can be recovered Indicator of whether tax recovery should be used

Indexes Index Name PO_REQ_DISTRIBUTIONS_N1 PO_REQ_DISTRIBUTIONS_N2 PO_REQ_DISTRIBUTIONS_N3 PO_REQ_DISTRIBUTIONS_N4 PO_REQ_DISTRIBUTIONS_N5 PO_REQ_DISTRIBUTIONS_U1 Sequences Sequence PO_REQ_DISTRIBUTIONS_S

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 2 1 1

Column Name REQUISITION_LINE_ID GL_ENCUMBERED_DATE SOURCE_REQ_DISTRIBUTION_ID PROJECT_ID TASK_ID BUDGET_ACCOUNT_ID DISTRIBUTION_ID

NOT UNIQUE UNIQUE

Derived Column DISTRIBUTION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 275

PO_VENDORS
PO_VENDORS stores information about your suppliers. You need one row for each supplier you define. Each row includes the supplier name as well as purchasing, receiving, payment, accounting, tax, classification, and general information. Oracle Purchasing uses this information to determine active suppliers. VENDOR_ID is the unique systemgenerated receipt header number invisible to the user. SEGMENT1 is the systemgenerated or manually assigned number you use to identify the supplier in forms and reports. Oracle Purchasing generates SEGMENT1 using the PO_UNIQUE_IDENTIFIER_CONTROL table if you choose to let Oracle Purchasing generate supplier numbers for you. This table is one of three tables that store supplier information. PO_VENDORS corresponds to the Suppliers window.

Foreign Keys Primary Key Table AP_DISTRIBUTION_SETS_ALL AP_TERMS_TL FND_CURRENCIES FND_CURRENCIES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS ORG_FREIGHT_TL PO_AGENTS PO_VENDORS QuickCodes Columns Column CREDIT_STATUS_LOOKUP_CODE

Primary Key Column DISTRIBUTION_SET_ID TERM_ID CURRENCY_CODE CURRENCY_CODE CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID FREIGHT_CODE AGENT_ID VENDOR_ID

Foreign Key Column DISTRIBUTION_SET_ID TERMS_ID INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE ACCTS_PAY_CODE_COMBINATION_ID DISC_LOST_CODE_COMBINATION_ID DISC_TAKEN_CODE_COMBINATION_ID EXPENSE_CODE_COMBINATION_ID PREPAY_CODE_COMBINATION_ID SET_OF_BOOKS_ID SHIP_VIA_LOOKUP_CODE HOLD_BY PARENT_VENDOR_ID

QuickCodes Type CREDIT STATUS GOOD POOR FOB ORGANIZATION TYPE CORPORATION FOREIGN CORPORATION FOREIGN GOVERNMENT AGENCY FOREIGN INDIVIDUAL FOREIGN PARTNERSHIP GOVERNMENT AGENCY INDIVIDUAL PARTNERSHIP PAYMENT METHOD

QuickCodes Table PO_LOOKUP_CODES Good credit status Bad credit status AR_LOOKUPS PO_LOOKUP_CODES Corporation Foreign Corporation Foreign Government Agency Foreign Individual Foreign Partnership Government Agency Individual Partnership AP_LOOKUP_CODES

FOB_LOOKUP_CODE ORGANIZATION_TYPE_LOOKUP_CODE

PAYMENT_METHOD_LOOKUP_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 276 Oracle SefService Purchasing 5 Technical Reference Manual

PAY_DATE_BASIS_LOOKUP_CODE

PAY DATE BASIS DISCOUNT DUE RECEIVING CONTROL LEVEL NONE REJECT WARNING

PO_LOOKUP_CODES Pay on Discount Date Pay on Due Date PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message PO_LOOKUP_CODES Employee Vendor PO_LOOKUP_CODES Supplier is not subject to withholding IRS informs of incorrect TIN. Begin withholding in 30 days. IRS requests immediate withholding Begin withholding immediately Wait for 60 days for supplier to send TIN, then withhold Wait for TIN, but do not begin withholding

QTY_RCV_EXCEPTION_CODE

RECEIPT_DAYS_EXCEPTION_CODE

RECEIVING CONTROL LEVEL NONE REJECT WARNING

VENDOR_TYPE_LOOKUP_CODE

VENDOR TYPE EMPLOYEE VENDOR WITHHOLDING STATUS EXEMPT INCORRECT TIN IRS WITHHOLD MISSING TIN WAIT 60 DAYS WAIT INDEFINITELY

WITHHOLDING_STATUS_LOOKUP_CODE

Column Descriptions Name VENDOR_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY VENDOR_NAME VENDOR_NAME_ALT SEGMENT1 SUMMARY_FLAG ENABLED_FLAG SEGMENT2 SEGMENT3 SEGMENT4 SEGMENT5 LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY EMPLOYEE_ID VENDOR_TYPE_LOOKUP_CODE CUSTOMER_NUM

Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NULL NUMBER DATE NUMBER VARCHAR2(80) VARCHAR2(320)

Description Supplier unique identifier Standard Who column Standard Who column Supplier name Alternate supplier name for kana value Supplier number Key flexfield summary flag Key flexfield summary flag Key flexfield summary flag Key flexfield summary flag Key flexfield summary flag Key flexfield summary flag Standard Who column Standard Who column Standard Who column Employee unique identifier if the supplier is an employee Supplier type Customer number with the supplier

NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NUMBER NULL DATE NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 277

ONE_TIME_FLAG PARENT_VENDOR_ID MIN_ORDER_AMOUNT SHIP_TO_LOCATION_ID BILL_TO_LOCATION_ID SHIP_VIA_LOOKUP_CODE FREIGHT_TERMS_LOOKUP_CODE FOB_LOOKUP_CODE TERMS_ID SET_OF_BOOKS_ID CREDIT_STATUS_LOOKUP_CODE CREDIT_LIMIT ALWAYS_TAKE_DISC_FLAG PAY_DATE_BASIS_LOOKUP_CODE PAY_GROUP_LOOKUP_CODE PAYMENT_PRIORITY INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE INVOICE_AMOUNT_LIMIT EXCHANGE_DATE_LOOKUP_CODE HOLD_ALL_PAYMENTS_FLAG

NULL VARCHAR2(1)

HOLD_FUTURE_PAYMENTS_FLAG

HOLD_REASON DISTRIBUTION_SET_ID ACCTS_PAY_CODE_COMBINATION_ID DISC_LOST_CODE_COMBINATION_ID DISC_TAKEN_CODE_COMBINATION_ID EXPENSE_CODE_COMBINATION_ID PREPAY_CODE_COMBINATION_ID NUM_1099 TYPE_1099 WITHHOLDING_STATUS_LOOKUP_CODE WITHHOLDING_START_DATE ORGANIZATION_TYPE_LOOKUP_CODE VAT_CODE START_DATE_ACTIVE END_DATE_ACTIVE MINORITY_GROUP_LOOKUP_CODE PAYMENT_METHOD_LOOKUP_CODE BANK_ACCOUNT_NAME

Indicates whether the supplier is a onetime supplier NULL NUMBER Unique identifier of the parent supplier NULL NUMBER Minimum purchase order amount NULL NUMBER Default shipto location unique identifier NULL NUMBER Default billto location unique identifier NULL VARCHAR2(25) Default carrier type NULL VARCHAR2(25) Default freight terms type NULL VARCHAR2(25) Default freeonboard type NULL NUMBER Payment terms unique identifier NULL NUMBER Set of Books unique identifier NULL VARCHAR2(25) No longer used NULL NUMBER Not used NULL VARCHAR2(1) Indicator of whether Oracle Payables should always take a discount for the supplier NULL VARCHAR2(25) Type of payment date basis NULL VARCHAR2(25) Payment group type NULL NUMBER Payment priority NULL VARCHAR2(15) Default currency unique identifier NULL VARCHAR2(15) Default payment currency unique identifier NULL NUMBER Maximum amount per invoice NULL VARCHAR2(25) No longer used NULL VARCHAR2(1) Indicates whether Oracle Payables should place all payments for this supplier on hold or not NULL VARCHAR2(1) Indicates whether Oracle Payables should place upapproved payments for this supplier on hold or not NULL VARCHAR2(240) Reason for placing the supplier on payment hold NULL NUMBER Distribution set unique identifier NULL NUMBER Unique identifier for the supplier liability account NULL NUMBER No longer used NULL NUMBER No longer used NULL NUMBER Not used NULL NUMBER Unique identifier for the general ledger account for prepayment NULL VARCHAR2(30) Tax identification number NULL VARCHAR2(10) Type of 1099 NULL VARCHAR2(25) Withholding status type NULL DATE Withholding start date NULL VARCHAR2(25) IRS organization type NULL VARCHAR2(15) VAT code NULL DATE Key flexfield start date NULL DATE Key flexfield end date NULL VARCHAR2(25) Type of minorityowned business NULL VARCHAR2(25) Default payment method type NULL VARCHAR2(80) Name of the supplier bank account

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 278 Oracle SefService Purchasing 5 Technical Reference Manual

BANK_ACCOUNT_NUM BANK_NUM BANK_ACCOUNT_TYPE WOMEN_OWNED_FLAG SMALL_BUSINESS_FLAG STANDARD_INDUSTRY_CLASS HOLD_FLAG PURCHASING_HOLD_REASON HOLD_BY HOLD_DATE TERMS_DATE_BASIS PRICE_TOLERANCE INSPECTION_REQUIRED_FLAG RECEIPT_REQUIRED_FLAG QTY_RCV_TOLERANCE QTY_RCV_EXCEPTION_CODE ENFORCE_SHIP_TO_LOCATION_CODE DAYS_EARLY_RECEIPT_ALLOWED DAYS_LATE_RECEIPT_ALLOWED RECEIPT_DAYS_EXCEPTION_CODE

NULL VARCHAR2(30)

RECEIVING_ROUTING_ID ALLOW_SUBSTITUTE_RECEIPTS_FLAG ALLOW_UNORDERED_RECEIPTS_FLAG HOLD_UNMATCHED_INVOICES_FLAG EXCLUSIVE_PAYMENT_FLAG AP_TAX_ROUNDING_RULE AUTO_TAX_CALC_FLAG AUTO_TAX_CALC_OVERRIDE AMOUNT_INCLUDES_TAX_FLAG TAX_VERIFICATION_DATE NAME_CONTROL

Number of the supplier bank account NULL VARCHAR2(25) Bank number for the supplier NULL VARCHAR2(25) Type of bank account NULL VARCHAR2(1) Indicates whether the supplier is a womanowned business NULL VARCHAR2(1) Indicates that the supplier is a small business NULL VARCHAR2(25) Standard industry classification number NULL VARCHAR2(1) Indicator of whether the supplier is on purchasing hold NULL VARCHAR2(240) Reason for placing the supplier on purchasing hold NULL NUMBER(9) Unique identifier for the employee who placed the supplier on hold NULL DATE Date the supplier was placed on purchasing hold NULL VARCHAR2(25) Type of invoice payment schedule basis NULL NUMBER Not used NULL VARCHAR2(1) Indicates whether inspection is required or not NULL VARCHAR2(1) Indicates whether shipment must be received before the invoice is paid NULL NUMBER Quantity received tolerance percentage NULL VARCHAR2(25) Enforces, warns, or ignores quantity receiving tolerance NULL VARCHAR2(25) Action to be taken when the receiving location differs from the shipto location NULL NUMBER Maximum acceptable number of days items can be received early NULL NUMBER Maximum acceptable number of days items can be received late NULL VARCHAR2(25) Action to be taken when items are received earlier or later than the allowed number of days specified NULL NUMBER Receipt routing unique identifier NULL VARCHAR2(1) Indicates whether substitute items can be received in place of the ordered items NULL VARCHAR2(1) Indicates whether unordered receipts are allowed NULL VARCHAR2(1) Indicates whether unmatched invoices should be put on hold NULL VARCHAR2(1) Indicates exclusive payment NULL VARCHAR2(1) Determines the rounding rule for tax values NULL VARCHAR2(1) Supplier level where the tax calculation is done NULL VARCHAR2(1) Allows override of tax calculation at supplier site level NULL VARCHAR2(1) Do amounts include tax from this supplier? NULL DATE Tax verification date NULL VARCHAR2(4) Name control

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 279

STATE_REPORTABLE_FLAG FEDERAL_REPORTABLE_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE OFFSET_VAT_CODE VAT_REGISTRATION_NUM AUTO_CALCULATE_INTEREST_FLAG VALIDATION_NUMBER EXCLUDE_FREIGHT_FROM_DISCOUNT TAX_REPORTING_NAME CHECK_DIGITS BANK_NUMBER ALLOW_AWT_FLAG AWT_GROUP_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

VARCHAR2(1) VARCHAR2(1) VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER NUMBER NUMBER DATE VARCHAR2(20) VARCHAR2(20) VARCHAR2(1)

NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(80) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(1) NULL NUMBER(15) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

State reportable flag Federal reportable flag Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Standard Who column Standard Who column Standard Who column Standard Who column No longer used VAT registration number Indicates whether interest is to be automatically calculated Validation number Exclude supplier freight from discount amount Tax reporting method name Check number used by Payables Bank number for Accounts Payable Indicator of whether Allow Withholding Tax is enabled Unique identifier for the withholding tax group Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 280 Oracle SefService Purchasing 5 Technical Reference Manual

GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY EDI_TRANSACTION_HANDLING EDI_PAYMENT_METHOD

EDI_PAYMENT_FORMAT

EDI_REMITTANCE_METHOD EDI_REMITTANCE_INSTRUCTION BANK_CHARGE_BEARER BANK_BRANCH_TYPE MATCH_OPTION

FUTURE_DATED_PAYMENT_CCID CREATE_DEBIT_MEMO_FLAG OFFSET_TAX_FLAG

NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(30) Reserved for countryspecific functionality NULL VARCHAR2(25) Defines whether this supplier is an EDI partner NULL VARCHAR2(25) How payment is to be made through EDI. Valid methods are ACH, BOP, CWT, FEW, FWT, and SWT. NULL VARCHAR2(25) Type of information being transmitted with the funds if using EDI_PAYMENT_METHOD ACH. Valid values are CCD, CCP, CTP, CTX, PPD, and PPP. NULL VARCHAR2(25) How remittance advice will be sent to the supplier NULL VARCHAR2(256) Who will send the remittance advice. Valid values are Bank or payables system. NULL VARCHAR2(1) Indicator of whether this supplier bears bank charges NULL VARCHAR2(25) Which list the bank routing number is on. Valid type are ABA, CHIPS, SWIFT and OTHER. NULL VARCHAR2(25) Indicator of whether to match invoices to the purchase order or the receipt for this supplier NULL NUMBER(15) Accounting Flexfield identifier for the future dated payment account NULL VARCHAR2(25) Indicator of whether a debit memo should be created NULL VARCHAR2(1) Indicator of whether the supplier uses offset taxes

Indexes Index Name PO_VENDORS_N1 PO_VENDORS_N2 PO_VENDORS_U1 PO_VENDORS_U2 PO_VENDORS_U3

Index Type NOT UNIQUE NOT UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1

Column Name EMPLOYEE_ID NUM_1099 VENDOR_ID VENDOR_NAME SEGMENT1

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 281

Sequences Sequence PO_VENDORS_S

Derived Column VENDOR_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 282 Oracle SefService Purchasing 5 Technical Reference Manual

PO_VENDOR_CONTACTS
PO_VENDOR_CONTACTS stores information about contacts for a supplier site. You need one row for each supplier contact you define. Each row includes the contact name and site. This table is one of three tables that store supplier information. PO_VENDOR_CONTACTS corresponds to the Contacts region of the Supplier Sites window.
Foreign Keys Primary Key Table PO_VENDOR_SITES_ALL Column Descriptions Name VENDOR_CONTACT_ID (PK)

Primary Key Column VENDOR_SITE_ID

Foreign Key Column VENDOR_SITE_ID

Null? Type NOT NULL NUMBER NOT NULL DATE NOT NULL NUMBER NOT NULL NUMBER NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL VARCHAR2(15) NULL VARCHAR2(15) NULL VARCHAR2(20) NULL VARCHAR2(5) NULL VARCHAR2(30) NULL VARCHAR2(35) NULL VARCHAR2(10) NULL VARCHAR2(15) NULL VARCHAR2(30) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NUMBER NULL NUMBER NULL NUMBER NULL DATE NULL VARCHAR2(320)

Description Supplier contact unique identifier Standard Who column Standard Who column Supplier site unique identifier Standard Who column Standard Who column Standard Who column Inactive date for record Contact first name Contact middle name Contact last name Prefix Title Contact mail stop Contact phone number area code Contact phone number Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Standard Who column Standard Who column Standard Who column Standard Who column Supplier contact alternate name

LAST_UPDATE_DATE LAST_UPDATED_BY VENDOR_SITE_ID LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY INACTIVE_DATE FIRST_NAME MIDDLE_NAME LAST_NAME PREFIX TITLE MAIL_STOP AREA_CODE PHONE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE CONTACT_NAME_ALT

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 283

FIRST_NAME_ALT LAST_NAME_ALT

NULL VARCHAR2(230) Alternate supplier contacts first name NULL VARCHAR2(230) Alternate supplier contacts last name

Indexes Index Name PO_VENDOR_CONTACTS_N1 PO_VENDOR_CONTACTS_N2 PO_VENDOR_CONTACTS_N3 PO_VENDOR_CONTACTS_U1 Sequences Sequence PO_VENDOR_CONTACTS_S

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 2 2 1

Column Name VENDOR_SITE_ID FIRST_NAME LAST_NAME VENDOR_CONTACT_ID

Derived Column VENDOR_CONTACT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 284 Oracle SefService Purchasing 5 Technical Reference Manual

PO_VENDOR_SITES_ALL
PO_VENDOR_SITES_ALL stores information about your supplier sites. You need a row for each supplier site you define. Each row includes the site address, supplier reference, purchasing, payment, bank, and general information. Oracle Purchasing uses this information to store supplier address information. This table is one of three tables that store supplier information. PO_VENDOR_SITES_ALL corresponds to the Sites region of the Suppliers window.

Foreign Keys Primary Key Table AP_DISTRIBUTION_SETS_ALL AP_TERMS_TL FND_CURRENCIES FND_CURRENCIES FND_USER GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS ORG_FREIGHT_TL PO_VENDORS QuickCodes Columns Column FOB_LOOKUP_CODE PAYMENT_METHOD_LOOKUP_CODE PAY_DATE_BASIS_LOOKUP_CODE

Primary Key Column DISTRIBUTION_SET_ID TERM_ID CURRENCY_CODE CURRENCY_CODE USER_ID CODE_COMBINATION_ID CODE_COMBINATION_ID FREIGHT_CODE VENDOR_ID

Foreign Key Column DISTRIBUTION_SET_ID TERMS_ID INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE CREATED_BY ACCTS_PAY_CODE_COMBINATION_ID PREPAY_CODE_COMBINATION_ID SHIP_VIA_LOOKUP_CODE VENDOR_ID

QuickCodes Type FOB PAYMENT METHOD PAY DATE BASIS DISCOUNT DUE

QuickCodes Table AR_LOOKUPS AP_LOOKUP_CODES PO_LOOKUP_CODES Pay on Discount Date Pay on Due Date

Column Descriptions Name VENDOR_SITE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY VENDOR_ID VENDOR_SITE_CODE VENDOR_SITE_CODE_ALT LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY PURCHASING_SITE_FLAG

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER DATE NUMBER NUMBER VARCHAR2(15) VARCHAR2(320) NUMBER DATE NUMBER VARCHAR2(1)

Description Supplier site unique identifier Standard Who column Standard Who column Supplier unique identifier Site code name Alternate supplier site code for Kana Value Standard Who column Standard Who column Standard Who column Indicates whether you can purchase from this site

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 285

RFQ_ONLY_SITE_FLAG PAY_SITE_FLAG ATTENTION_AR_FLAG ADDRESS_LINE1 ADDRESS_LINES_ALT ADDRESS_LINE2 ADDRESS_LINE3 CITY STATE ZIP PROVINCE COUNTRY AREA_CODE PHONE CUSTOMER_NUM SHIP_TO_LOCATION_ID BILL_TO_LOCATION_ID SHIP_VIA_LOOKUP_CODE FREIGHT_TERMS_LOOKUP_CODE FOB_LOOKUP_CODE INACTIVE_DATE FAX FAX_AREA_CODE TELEX PAYMENT_METHOD_LOOKUP_CODE BANK_ACCOUNT_NAME BANK_ACCOUNT_NUM BANK_NUM BANK_ACCOUNT_TYPE TERMS_DATE_BASIS CURRENT_CATALOG_NUM VAT_CODE DISTRIBUTION_SET_ID ACCTS_PAY_CODE_COMBINATION_ID PREPAY_CODE_COMBINATION_ID PAY_GROUP_LOOKUP_CODE PAYMENT_PRIORITY TERMS_ID INVOICE_AMOUNT_LIMIT PAY_DATE_BASIS_LOOKUP_CODE ALWAYS_TAKE_DISC_FLAG INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE

NULL VARCHAR2(1)

Indicates whether you can only send RFQs to this site NULL VARCHAR2(1) Indicates whether you can send payments to this site NULL VARCHAR2(1) Indicates whether the payments should be sent to the Account Receivables department NULL VARCHAR2(35) First line of supplier address NULL VARCHAR2(560) Alternate address line for Kana Value NULL VARCHAR2(35) Second line of supplier address NULL VARCHAR2(35) Third line of supplier address NULL VARCHAR2(25) City name NULL VARCHAR2(25) State name or abbreviation NULL VARCHAR2(20) Postal code NULL VARCHAR2(25) Province NULL VARCHAR2(25) Country name NULL VARCHAR2(10) Area code NULL VARCHAR2(15) Phone number NULL VARCHAR2(25) Customer number with the supplier site NULL NUMBER Default shipto location unique identifier NULL NUMBER Shipto location unique identifier NULL VARCHAR2(25) Default carrier type NULL VARCHAR2(25) Default freight terms type NULL VARCHAR2(25) Default freeonboard type NULL DATE Inactive date for record NULL VARCHAR2(15) Customer site facsimile number NULL VARCHAR2(10) Customer site NULL VARCHAR2(15) Telex number NULL VARCHAR2(25) Default payment method type NULL VARCHAR2(80) Bank account name NULL VARCHAR2(30) Bank account number NULL VARCHAR2(25) Bank number NULL VARCHAR2(25) Bank account type NULL VARCHAR2(25) Type of invoice payment schedule basis NULL VARCHAR2(20) Not currently used NULL VARCHAR2(20) Valueadded tax code NULL NUMBER Distribution set unique identifier NULL NUMBER Unique identifier for the supplier liability account NULL NUMBER Unique identifier for the general ledger account for prepayment NULL VARCHAR2(25) Payment group type NULL NUMBER Payment priority NULL NUMBER Payment terms unique identifier NULL NUMBER Maximum amount per invoice NULL VARCHAR2(25) Type of payment date basis NULL VARCHAR2(1) Indicator of whether Oracle Payables should always take a discount for the supplier NULL VARCHAR2(15) Default currency unique identifier NULL VARCHAR2(15) Default payment currency unique identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 286 Oracle SefService Purchasing 5 Technical Reference Manual

HOLD_ALL_PAYMENTS_FLAG

NULL VARCHAR2(1)

HOLD_FUTURE_PAYMENTS_FLAG

NULL VARCHAR2(1)

HOLD_REASON HOLD_UNMATCHED_INVOICES_FLAG AP_TAX_ROUNDING_RULE AUTO_TAX_CALC_FLAG AUTO_TAX_CALC_OVERRIDE AMOUNT_INCLUDES_TAX_FLAG EXCLUSIVE_PAYMENT_FLAG TAX_REPORTING_SITE_FLAG ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE VALIDATION_NUMBER EXCLUDE_FREIGHT_FROM_DISCOUNT VAT_REGISTRATION_NUM OFFSET_VAT_CODE ORG_ID CHECK_DIGITS BANK_NUMBER ADDRESS_LINE4 COUNTY ADDRESS_STYLE LANGUAGE ALLOW_AWT_FLAG

NULL VARCHAR2(240) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(1) VARCHAR2(1) VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER NUMBER NUMBER DATE NUMBER VARCHAR2(1)

NULL VARCHAR2(20) NULL VARCHAR2(20) NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(30) NULL NULL NULL NULL NULL VARCHAR2(35) VARCHAR2(25) VARCHAR2(30) VARCHAR2(30) VARCHAR2(1)

Indicates whether Oracle Payables should place all payments for this supplier on hold Indicates whether Oracle Payables should place unapproved invoices for this supplier on hold Hold that will be applied to this suppliers invoices Indicates whether unmatched invoices should be put on hold Indicates the rounding rule for tax values Level for automatic tax calculation for supplier Allows override of tax calculation at supplier site level Do amounts include tax from this supplier? Exclusive payment flag Tax reporting site Flag Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Standard Who column Standard Who column Standard Who column Standard Who column Validation number Indicates whether the freight amount is to be excluded from the discount VAT registration number Offset VAT code Operating unit unique identifier Check digits for Accounts Payable Bank number for Accounts Payable Fourth line of address Supplier site county Style of address Site language Indicator of whether Allow Withholding Tax is enabled

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 287

AWT_GROUP_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY EDI_TRANSACTION_HANDLING EDI_ID_NUMBER EDI_PAYMENT_METHOD EDI_PAYMENT_FORMAT

NULL NUMBER(15) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(30) NULL VARCHAR2(25) NULL VARCHAR2(30) NULL VARCHAR2(25) NULL VARCHAR2(25)

EDI_REMITTANCE_METHOD BANK_CHARGE_BEARER EDI_REMITTANCE_INSTRUCTION

NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(256)

Unique identifier for the withholding tax group Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality Reserved for countryspecific functionality ANSI standard code for EDI transaction type EDI trading partner number for the supplier site How payment is to be made through EDI. Valid method are ACH and BOP. Type of information being transmitted with the funds if using EDI_PATMENT_METHOD ACH. Valid values are CCD, CCP, CTP, CTX, PPD and PPP. How remittance advice will be sent to the supplier Indicator of whether this supplier site is a bank charge bearer site Who will send the remittance advice. Valid values are banks or payables systems.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 288 Oracle SefService Purchasing 5 Technical Reference Manual

BANK_BRANCH_TYPE PAY_ON_CODE

NULL VARCHAR2(25) NULL VARCHAR2(25)

DEFAULT_PAY_SITE_ID PAY_ON_RECEIPT_SUMMARY_CODE

NULL NUMBER(15) NULL VARCHAR2(25)

TP_HEADER_ID ECE_TP_LOCATION_CODE PCARD_SITE_FLAG MATCH_OPTION COUNTRY_OF_ORIGIN_CODE FUTURE_DATED_PAYMENT_CCID CREATE_DEBIT_MEMO_FLAG OFFSET_TAX_FLAG

NULL NUMBER NULL VARCHAR2(35) NULL VARCHAR2(1) NULL VARCHAR2(25) NULL VARCHAR2(2) NULL NUMBER(15) NULL VARCHAR2(25) NULL VARCHAR2(1)

Which list the bank routing number is on. Valid types are ABA, CHIPS, SWIFT, and OTHER. When to create an invoice. Currently, the code RECEIPT is used. Future enhancements could include DELIVERY. Payment site for the site in which the receipt was entered. If the PAY_ON_CODE is RECEIPT, then this column identifies how to consolidate the receipts to create invoices. Valid values are PAY_SITE, PACKING_SLIP, and RECEIPT. EDI transaction header unique identifier Training partner location code for eCommerce Gateway Indicator of whether the site allows use of procurement cards Indicator of whether to match the invoices to the purchase order or receipt Code for the country of manufacture Accounting Flexfield identifier for the future dated payment account Indicator of whether a debit memo should be created Indicator of whether offset tax is used

Indexes Index Name PO_VENDOR_SITES_N1 PO_VENDOR_SITES_N2 PO_VENDOR_SITES_U1 PO_VENDOR_SITES_U2

Index Type NOT UNIQUE NOT UNIQUE UNIQUE UNIQUE

Sequence 2 5 10 1 3 1 2 3

Column Name VENDOR_SITE_CODE TP_HEADER_ID ECE_TP_LOCATION_CODE VENDOR_SITE_ID ORG_ID VENDOR_ID VENDOR_SITE_CODE ORG_ID

Sequences Sequence PO_VENDOR_SITES_S

Derived Column VENDOR_SITE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 289

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 290 Oracle SefService Purchasing 5 Technical Reference Manual

Index

Index 1

A
Application Building Block, 1 7

O
Oracle8 sequences. See Sequences

C
Column descriptions, 3 4 Columns, Who, 3 4 Concurrent Program List, 2 16 See also Concurrent Program Definitions

P
Public Table List, 2 7

Q
QuickCodes, 1 7 Columns that contain, 3 3

D
Database Diagram, 1 7 database diagrams, conventions, 2 5 Database triggers, 3 6

R
Relationship, 1 7 Report List. See Report Definitions

F
Foreign keys, 3 3 Form, 1 8 Form List. See Form Definitions Forms and Table View List, 2 14

S
Sequences, 3 6

T
Table and View Definitions AK_ATTRIBUTES, 3 7 AR_CREDIT_HISTORIES, 3 9 AR_PAYMENT_SCHEDULES_ALL, 3 11 CST_MARGIN_TEMP, 3 19 FINANCIALS_SYSTEM_PARAMS_ALL, 3 22 GL_CODE_COMBINATIONS, 3 26 GL_SETS_OF_BOOKS, 3 30 HR_LOCATIONS_ALL, 3 33 HR_LOCATIONS_ALL_TL, 3 36 HR_LOCATIONS_NO_JOIN, 2 14 ICX_AP_CHECKS_V, 3 37 ICX_AP_EXPENSE_LINES_V, 3 39 ICX_AP_EXPENSE_REPORTS_V, 3 42 ICX_AP_INVOICES_V, 3 46 ICX_PARAMETERS, 3 48 ICX_POR_BATCH_JOBS, 3 49 ICX_POR_BUGSEYE_CONFIG, 3 50

I
Indexes, 3 6 important note about, 3 6 Internal View List, 2 15

L
Lookup types. See QuickCodes

M
Module List, 2 16 See also Module Definitions Modules, 1 7

Index 2

Oracle Application Object Library/Workflow Technical Reference Manual

ICX_POR_BUGSEYE_FLAGS, 3 51 ICX_POR_CATEGORIES_TL, 3 52 ICX_POR_CATEGORIES_VL, 2 15 ICX_POR_CATEGORY_DATA_SOURCES, 3 54 ICX_POR_CATEGORY_DEFAULTS, 3 55 ICX_POR_CATEGORY_ITEMS, 3 56 ICX_POR_CATEGORY_ORDER_MAP, 3 57 ICX_POR_CONFIG_PARAMETERS, 3 58 ICX_POR_CONTEXT_POLICY, 3 59 ICX_POR_DESCRIPTORS_TL, 3 60 ICX_POR_DESCRIPTORS_VL, 2 15 ICX_POR_EXT_QUERY_TL, 3 62 ICX_POR_FAILED_LINE_MESSAGES, 3 64 ICX_POR_FAILED_LINES, 3 63 ICX_POR_ITEM_CONSTRAINT, 3 69 ICX_POR_ITEM_CTX_INDEX, 3 70 ICX_POR_ITEM_SITE, 3 71 ICX_POR_ITEM_SOURCES, 3 72 ICX_POR_ITEM_SOURCES_FORM_V, 2 15 ICX_POR_ITEM_SOURCES_TL, 3 73 ICX_POR_ITEM_SOURCES_VL, 2 15 ICX_POR_ITEMS, 3 65 ICX_POR_ITEMS_TL, 3 67 ICX_POR_LOAD_ITEM_MATCH, 3 75 ICX_POR_LOADER_VALUES, 3 74 ICX_POR_LOG, 3 76 ICX_POR_ORACLE_ITEM_SUBTABLE, 3 77 ICX_POR_PRICE_LIST_LINES, 3 79 ICX_POR_PRICE_LISTS, 3 78 ICX_POR_REALM_COMP_FORM_V, 2 15 ICX_POR_REALM_COMPONENTS, 3 82 ICX_POR_REALMS, 3 80 ICX_POR_REALMS_FORM_V, 2 15 ICX_POR_REALMS_TL, 3 81 ICX_POR_REALMS_VL, 2 15 ICX_POR_REQ_ACTIVE_CONTRACTS, 2 15 ICX_POR_REQ_ASLS, 2 15 ICX_POR_REQ_CONTRACTS, 2 15 ICX_POR_REQ_INACTIVE_CONTRACTS, 2 15 ICX_POR_REQ_TEMPLATES, 2 15 ICX_POR_SEARCH_ASLS_V, 2 15

ICX_POR_SEARCH_CONFIG, 3 83 ICX_POR_SEARCH_CONFIG_POLICY, 3 84 ICX_POR_SEARCH_CONTRACTS_V, 2 15 ICX_POR_SEARCH_ITEM_MASTER_V, 2 15 ICX_POR_SEARCH_TEMPLATES_V, 2 15 ICX_POR_SITE, 3 85 ICX_POR_TABLE_OF_CONTENTS_TL, 3 86 ICX_POR_TEMPLATE_FILES, 3 87 ICX_POR_TITLE_ADMIN, 3 88 ICX_POR_TITLE_ADMIN_TL, 3 89 ICX_POR_TITLE_REGISTRY, 3 90 ICX_POR_UNIT, 3 91 ICX_POR_UNSPSC_CODES, 3 92 ICX_POR_VERSION_INFO, 3 93 ICX_PROCUREMENT_SERVER_SETUP, 3 94 ICX_REQUISITIONER_INFO, 3 95 ICX_SESSION_ATTRIBUTES, 3 98 ICX_SESSIONS, 3 96 ICX_UNSPSC_CODES, 3 99 MTL_CATEGORIES_B, 3 100 MTL_CATEGORIES_B_KFV, 2 15 MTL_CATEGORY_SETS_B, 3 102 MTL_SYSTEM_ITEMS_B, 3 104 MTL_SYSTEM_ITEMS_B_KFV, 2 15 ORG_ORGANIZATION_DEFINITIONS, 2 14 PER_ALL_PEOPLE_F, 3 123 PO_APPROVAL_LIST_HEADERS, 3 222 PO_APPROVAL_LIST_LINES, 3 223 PO_DISTRIBUTIONS_ARCHIVE_ALL, 3 224 PO_HEADERS_ARCHIVE_ALL, 3 229 PO_LINE_LOCATIONS_ARCHIVE_ALL, 3 246 PO_LINES_ALL, 3 235 PO_LINES_ARCHIVE_ALL, 3 241 PO_RELEASES_ARCHIVE_ALL, 3 253 PO_REQ_DISTRIBUTIONS_ALL, 3 272 PO_REQEXPRESS_LINES_ALL, 3 258 PO_REQUISITION_HEADERS_ALL, 3 261 PO_REQUISITION_LINES_ALL, 3 265 PO_VENDOR_CONTACTS, 3 282 PO_VENDOR_SITES_ALL, 3 284

Index 3

PO_VENDORS, 3 275 POR_APPROVAL_STATUS_HEADER_V, 3 129 POR_APPROVAL_STATUS_LINES_V, 3 130 POR_APPROVER_LOV_V, 3 131 POR_ATTACHMENTS_SUMMARY_V, 3 132 POR_CATEGORY_LOV_V, 3 133 POR_DISTRIBUTIONS_V, 3 134 POR_DUMMY_V, 2 15 POR_EXPENDITURE_LOV_V, 3 137 POR_FAVORITE_LIST_HEADERS, 3 154 POR_FAVORITE_LIST_LINES, 3 155 POR_FAVORITE_LISTS_V, 3 138 POR_HEADER_V, 3 157 POR_INFO_TEMPLATE_V, 3 161 POR_INVOICES_SUMMARY_V, 3 162 POR_LINES_V, 3 163 POR_LOCATION_LOV_V, 3 169 POR_MANUFACTURER_LOV_V, 3 171 POR_PREPARER_LOV_V, 3 172 POR_PROJECT_LOV_V, 3 173 POR_PUBLIC_LIST_ITEMS_V, 3 175 POR_PUBLIC_LISTS_V, 3 174 POR_RECEIPTS_SUMMARY_V, 3 176 POR_RECEIVE_ORDERS_V, 3 177 POR_REQUESTER_LOV_V, 3 191 POR_SUBINVENTORY_LOV_V, 3 193 POR_SUPPLIER_LOV_V, 3 194 POR_TASK_LOV_V, 3 195 POR_TEMPLATE_ASSOC, 3 197 POR_TEMPLATE_ASSOC_V, 3 198 POR_TEMPLATE_ATTRIBUTES_V, 3 199

POR_TEMPLATE_INFO, 3 200 POR_TEMPLATES_V, 3 196 POR_UNIT_OF_MEASURE_LOV_V, 3 201 POR_VIEW_HEADER_V, 3 202 POR_VIEW_LINE_DETAILS_V, 3 206 POR_VIEW_LINES_V, 3 204 POR_VIEW_REQS_AUTOQUERY_V, 3 211 POR_VIEW_REQS_BY_APPROVER_V, 3 213 POR_VIEW_REQS_BY_GROUP_V, 3 215 POR_VIEW_REQS_TO_APPR_V, 3 218 POR_VIEW_REQS_V, 3 220 Tables See also Table and View Definitions Column descriptions, 3 4 Foreign keys, 3 3 Indexes. See Indexes Primary Keys, 3 4 QuickCodes Columns, 3 3 Who columns, 3 4, 3 5

V
View Definitions. See Table and View Definitions Views See also Table and View Definitions; View List Derivation, 3 6

W
Web View List, 2 12

Index 4

Oracle Application Object Library/Workflow Technical Reference Manual

Readers Comment Form


Oracle SelfService Purchasing 5 Technical Reference Manual A85281_01 Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this publication. Your input is an important part of the information we use for revision.

Did you find any errors? Is the information clearly presented? Do you need more information? If so, where? Are the examples correct? Do you need more examples? What features did you like most about this manual? What did you like least about it?
If you find any errors or have any other suggestions for improvement, please indicate the topic, chapter, and page number below:

Please send your comments to: Oracle Applications Documentation Manager Oracle Corporation 500 Oracle Parkway Redwood Shores, CA 94065 USA Phone: (650) 5067000 Fax: (650) 5067200 If you would like a reply, please give your name, address, and telephone number below:

Thank you for helping us improve our documentation.

CAUTION!
This document contains proprietary, confidential information that is the exclusive property of Oracle Corporation. If you are an Oracle customer, this numbered copy is registered in your sites name. Use, duplication, and disclosure are severely restricted and subject to restrictions stated in your contract with Oracle Corporation. If you are an Oracle employee, this numbered copy is registered in your name and must be returned if you leave the company. It is your responsibility not to disclose this information to anyone outside of Oracle who is not licensed to use this product. If you have a prospect who needs to see this information, contact mailid APPSAPP to obtain a special nondisclosure agreement. If you are neither an Oracle customer with a valid contract for the use of this document nor an Oracle employee, then you received this document in an unauthorized manner and are not legally entitled to possess or read it. Please return it immediately to Oracle. You may call collect to the office of the Executive Vice President Applications Division, to arrange its return. *A85281_01* *A85281_01*

A85281_01

Copy #