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

Oracler Applications

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

Global Accounting Engine


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

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 Applications Global Accounting Engine Technical Reference Manual


RELEASE 11i

January 2000

Oracler Applications Global Accounting Engine Technical Reference Manual Release 11i To order this book, ask for Part No. A8126701 Copyright E 1998, 2000. Oracle Corporation. All rights reserved. Major Contributors: Jacques Bouchet, Pascal Labrevois, Vanessa To Contributors: Christopher Andrews, Craig Borchardt, Clara Jaeckel, Kristin Penaskovic 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.

Contents
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1

Chapter 2

HighLevel Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview of HighLevel Design . . . . . . . . . . . . . . . . . . . . . . . . . . Summary Database Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Public Table List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Public View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forms and Table View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Single Organization View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multilingual View List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21 22 25 29 2 12 2 17 2 19 2 21 2 22 2 23 2 24

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 i

Oracle Proprietary, Confidential InformationUse Restricted by Contract


ii Oracle Applications Global Accounting Engine Technical Reference Manual

Readers Comment Form


Oracle Applications Global Accounting Engine Technical Reference Manual A8126701 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.

CHAPTER

Introduction

he Oracle Applications Global Accounting Engine Technical Reference Manual provides the information you need to understand the underlying structure of Oracle Applications Global Accounting Engine. After reading this manual, you should be able to convert your existing applications data, integrate your existing applications with Global Accounting Engine, and write custom reports for Global Accounting Engine, as well as read data that you need to perform other tasks. This chapter introduces you to the Oracle Applications Global Accounting Engine 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 Applications Global Accounting Engine Technical Reference Manual contains detailed, uptodate information about the underlying structure of Oracle Applications Global Accounting Engine. As we design and build new releases of Global Accounting Engine, we update our Oracle Designer repository to reflect our enhancements. As a result, we can always provide you with an Oracle Applications Global Accounting Engine 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 Applications Global Accounting Engine to improve performance. About this Manual This manual describes the Oracle Applications Release 11i data model, as used by Global Accounting Engine; 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 Applications Global Accounting Engine 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 Global Accounting Engine. 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 Applications Global Accounting Engine Technical Reference Manual

Finding the Latest Information


The Oracle Applications Global Accounting Engine 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 Applications Global Accounting Engine 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 Global Accounting Engine. 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 Global Accounting Engine 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 Global Accounting Engine 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 Applications Global Accounting Engine Technical Reference Manual

How to Use This Manual


The Oracle Applications Global Accounting Engine Technical Reference Manual is a single, centralized source for all the information you need to know about the underlying structure and processing of Global Accounting Engine. For example, you can use this manual when you need to: Convert existing application data Integrate your Global Accounting Engine 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 Global Accounting Engine. Modifying Oracle Applications Global Accounting Engine limits your ability to upgrade to future releases of your Global Accounting Engine application. In addition, it interferes with our ability to give you the highquality support you deserve. We have constructed Global Accounting Engine 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 Applications Global Accounting Engine Technical Reference Manual does not contain complete information about the dependencies between Global Accounting Engine 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 Global Accounting Engine 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 Global Accounting Engine 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 Global Accounting Engine 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 Applications Global Accounting Engine 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 Applications Global Accounting Engine 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 Global Accounting Engine.

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. Summary Database Diagram A summary database diagram shows the most important application tables and the relationships between them. It omits tables and relationships that contribute little to the understanding of the application data model. Typically, a summary database diagram shows tables that contain key reference and transaction data. 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
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Introduction 17

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 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 Global Accounting Engine. 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
Oracle Proprietary, Confidential InformationUse Restricted by Contract
18 Oracle Applications Global Accounting Engine Technical Reference Manual

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 Applications products and how to apply this UI to the design of an application built using Oracle Forms 6. Your user guide provides you with all the information you need to use your Release 11i Global Accounting Engine application. Each user guide is organized for fast, easy access to detailed information in a function and taskoriented organization. Oracle Applications Global Accounting Engine User Guide Use the Global Accounting Engine to replace the transfer to General Ledger and create subledger accounting entries that meet additional statutory standards in some countries. The Global Accounting Engine provides subledger balances, legal reports, and bidirectional drilldown from General Ledger to the subledger transaction. Oracle Global Financial Applications Technical Reference Manual This manual describes additional tables and views that have been added to support features that meet statutory requirements and common business practices in your country or region. The Appendix of this manual also describes how the GLOBAL_ATTRIBUTE columns of your base product tables are used in your country or region. Oracle Financials CountrySpecific User Guides These manuals document functionality developed to meet legal and business requirements in countries that you do business in. Look for a user guide that is appropriate to your country; for example, see the Oracle Financials for the Czech Republic User Guide for more information about using this software in the Czech Republic. Oracle Financials RXi Reports Administration Tool User Guide Use the RXi reports administration tool to design the content and layout of RXi reports. RXi reports let you order, edit, and present report information to better meet your companys reporting needs.
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Introduction 19

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 Global Accounting Engine 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 manual before implementing Global Accounting Engine. This manual details additional steps and setup considerations for implementing Global Accounting Engine with this feature. Oracle Financials Open Interfaces Guide This book contains a brief summary of all open interface discussions in all Oracle Financial Applications user guides.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


1 10 Oracle Applications Global Accounting Engine Technical Reference Manual

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 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.
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Introduction 1 11

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 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.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


1 12 Oracle Applications Global Accounting Engine Technical Reference Manual

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 Global Accounting Engine 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


Introduction 1 13

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 Global Accounting Engine 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 Global Accounting Engine 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


1 14 Oracle Applications Global Accounting Engine Technical Reference Manual

CHAPTER

HighLevel Design

his chapter presents a highlevel design for Oracle Applications Global Accounting Engine that satisfies the business needs we specify during Strategy and Analysis. It contains database diagrams for Oracle Applications Global Accounting Engine 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 Global Accounting Engine applications. And, you can prepare yourself to understand the detailed design and implementation of Oracle Applications Global Accounting Engine.

Summary Database Diagram


The Summary Database Diagram section graphically represents the most important application tables and the relationships between them. It omits tables and relationships that contribute little to the understanding of the application data model. Typically, a summary database diagram shows tables that contain key reference and transaction data. We prepare a summary database diagram to describe, at a conceptual level, the key information on which our business depends. Later, we refine this summary database diagram, breaking it into multiple database diagrams (generally, one per application building block) to represent all the tables and relationships we need to implement our application in the database. Review the Summary Database Diagram section to see at a glance the major tables and relationships on which your Global Accounting Engine application depends.

Database Diagrams
The Database Diagrams section graphically represents all Global Accounting Engine applications tables and the relationships between them, organized by building block. Use this section to quickly learn what tables each Global Accounting Engine application building block uses, and how those tables interrelate. Then, you can refer to the Table and View Definitions
Oracle Proprietary, Confidential InformationUse Restricted by Contract
22 Oracle Applications Global Accounting Engine Technical Reference Manual

sections of Chapter 3 for more detailed information about each of those tables.

Table Lists
The Table List sections list the Global Accounting Engine 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. Internal Tables This section includes a list of private, internal tables used by Global Accounting Engine; we do not provide additional documentation for these tables.

View Lists
The View List sections list the Global Accounting Engine 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,
Oracle Proprietary, Confidential InformationUse Restricted by Contract
HighLevel Design 23

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 Global Accounting Engine uses. Multiple Reporting Currency Views This list includes views that were created to support the Multiple Reporting Currencies feature.

Module List
The Module List section briefly describes each of the Global Accounting Engine 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 Global Accounting Engine. Use your users guide to learn more about reports and concurrent processes.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


24 Oracle Applications Global Accounting Engine Technical Reference Manual

Summary Database Diagram


This Summary Database Diagram graphically represents the most important Global Accounting Engine applications tables and the relationships between them. It describes, at a conceptual level, the key information on which your Global Accounting Engine application depends. This diagram does not represent the complete database implementation of Global Accounting Engine applications tables. It shows tables that contain key reference and transaction data, and omits tables and relationships that contribute little to the understanding of the Global Accounting Engine applications data model. For example, a foreign key relationship shown between two tables may actually be implemented by an intervening table, not shown in this diagram. For more detailed graphical representations of Global Accounting Engine applications tables and the relationships between them, see the Database Diagrams section in this chapter.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 25

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


26 Oracle Applications Global Accounting Engine Technical Reference Manual

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


HighLevel Design 27

Global Accounting Engine Summary Database Diagram

Oracle Proprietary, Confidential InformationUse Restricted by Contract


28 Oracle Applications Global Accounting Engine Technical Reference Manual

Database Diagrams
This section graphically represents most of the significant Global Accounting Engine tables and the relationships between them, organized by building block. Use this section to quickly learn what tables each Global Accounting Engine application building block uses, and how these 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. This section contains a database diagram for each of the following Global Accounting Engine application building blocks: Diagram 1: Diagram 2: Setup Translator Program Definition

Some tables, especially important reference tables, appear in more than one database diagram. When several building blocks use a table, we show that table in each appropriate database diagram. Setup Diagram 1 gives you an overview of the tables comprising the setup. Translator Program Definition Diagram 2 gives you more details on translation schemes. Translation schemes are used to define the program for each event type. The tables shown store the information on how the program accesses the components to compile the accounting entry. The concept of query chains is simplified to a unified access to accounting information.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 29

Setup

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 10 Oracle Applications Global Accounting Engine Technical Reference Manual

Translator Program Definition

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 11

Public Table List


This section lists each public database table that Global Accounting Engine 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. Global Accounting Engine uses the following Public tables: Table Name
AP_ACCOUNTING_EVENTS_ALL AP_AE_HEADERS_ALL AP_AE_LINES_ALL AP_BANK_ACCOUNTS_ALL AP_BANK_BRANCHES AP_CHECKS_ALL AP_CHECK_STOCKS_ALL AP_DUPLICATE_VENDORS_ALL

Description Accounting events table (See page 3 8) Accounting entry headers table (See page 3 9) Accounting entry lines table (See page 3 11) Detailed bank account information (See page 3 14) Detailed bank branch information (See page 3 19) Supplier payment data (See page 3 23) Payment document types (See page 3 31) Supplier information used by Supplier Merge (See page 3 34) Detailed invoice records (See page 3 36) Invoice distribution line information (See page 3 44) Invoice payment records (See page 3 57) Payables system defaults and parameters (See page 3 62) Pending and approved invoice adjustments (See page 3 72) Detailed receipt information (See page 3 78) History of actions and status changes in the life cycle of a receipt (See page 3 85) Accounting records for receipts (See page 3 90)

AP_INVOICES_ALL AP_INVOICE_DISTRIBUTIONS_ALL AP_INVOICE_PAYMENTS_ALL AP_SYSTEM_PARAMETERS_ALL AR_ADJUSTMENTS_ALL

AR_CASH_RECEIPTS_ALL AR_CASH_RECEIPT_HISTORY_ALL

AR_DISTRIBUTIONS_ALL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 12 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_MISC_CASH_DISTRIBUTIONS_ALL

All accounting entries for miscellaneous cash applications (See page 3 93) Information about Payment Methods (See page 3 96) Account information for accounts used by Payment Methods (See page 3 99) Accounting information for Receivables Activities (See page 3 103) Accounting information for cash and credit memo applications (See page 3 106) Oracle Receivables system options (See page 3 115) Tax codes defined in the Tax Codes and Rates window (See page 3 121) Arithmetic expressions used by amount structures (See page 3 135) Subledger accounting balance information for control accounts (See page 3 137) Clauses used by query chains (See page 3 140) Conditions used by distribution plan structures or distribution headers (See page 3 142) Distribution headers of translation schemes (See page 3 147) Distribution plans of translation schemes (See page 3 148) Document statuses (See page 3 149) Accounting events information (See page 3 152) Mappings of primary key columns of the base event tables of translation schemes (See page 3 154) Event types information (See page 3 156) Hash values for numeric identifiers (See page 3 158) Information about tables and columns used by Multiple Reporting Currency (See page 3 160)

AR_RECEIPT_METHODS AR_RECEIPT_METHOD_ACCOUNTS_ALL

AR_RECEIVABLES_TRX_ALL

AR_RECEIVABLE_APPLICATIONS_ALL

AR_SYSTEM_PARAMETERS_ALL AR_VAT_TAX_ALL_B

AX_ARITHMETIC_EXPR

AX_BALANCES

AX_CLAUSES AX_CONDITIONS

AX_DISTRIB_HEADERS

AX_DISTRIB_PLANS AX_DOCUMENT_STATUSES AX_EVENTS AX_EVENT_MAPPINGS

AX_EVENT_TYPES AX_ID_HASH_RESULTS AX_MC_TABLES

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 13

AX_PERIOD_STATUSES

Number of inventory organizations with the accounting period opened (See page 3 165) Status of the posting process (See page 3 166) Audit information of each Subledger Archive and Purge execution (See page 3 167) Query chains information (See page 3 168) Tables used by a query chain (See page 3 169) Official runs of Final Daily Journal Book Header Descriptions (See page 3 170) Archived rule sets for an application (See page 3 171) Temporarily stores categories used by event types (See page 3 172) Components of a rule set (See page 3 173) Numeric identifiers for Inventory suborganizations (See page 3 174) Setup parameters at the set of books level (See page 3 175) Global setup parameters (See page 3 176) Setup parameters specific to Oracle Inventory organizations (See page 3 178) Posting sets of books information per main set of books (See page 3 180) Subledger dependent parameters (See page 3 182) Journal entry headers information (See page 3 184) Accounting rows purged from the AX_SLE_HEADERS table (See page 3 186) Journal entry lines information (See page 3 188) Accounting rows purged from the AX_SLE_LINES table (See page 3 192) Structures used by distribution plans to retrieve information (See page 3 196)

AX_POSTING_CTRL AX_PURGE_RUNS

AX_QUERY_CHAINS AX_QUERY_TABLES AX_REPORT_PARAMETERS

AX_RULES AX_RULE_CATEGORY

AX_RULE_LINES AX_SECONDARY_INVENTORY

AX_SETUP_BOOKS AX_SETUP_GLOBAL AX_SETUP_INV_ORG_PROCS

AX_SETUP_POSTING_BOOKS

AX_SETUP_SUBLEDGERS AX_SLE_HEADERS AX_SLE_HEADERS_ARCH

AX_SLE_LINES AX_SLE_LINES_ARCH

AX_STRUCTURES

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 14 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_SUBLEDGERS AX_TEMP_OUT

Application dependent information (See page 3 198) Temporary table used by the AX Compiler (See page 3 202) Translator programs information (See page 3 205) Translation schemes information (See page 3 206) Information used to adjust inventory values at the end of an accounting period (See page 3 207) Absorption information (See page 3 208) Oracle Financials system parameters and defaults (See page 3 209) Applications registered with Oracle Application Object Library (No table description) Document sequences registered with Oracle Application Object Library (No table description) QuickCode values (No table description) Account combinations (See page 3 213) Import journal entry batches (See page 3 218) Journal import execution control (See page 3 222) Journal entry lines (See page 3 223) Calendar period statuses (See page 3 227) Set of books definitions (See page 3 229) Additional suspense accounts for source/category combinations (See page 3 233) Asset and expense accounts by item category, by subinventory (See page 3 234) Category Sets (See page 3 236) Interorganization relationships (See page 3 238) Define item assignments to categories (See page 3 241) Material transaction table (See page 3 243)

AX_TRANS_PROGRAMS AX_TRANS_SCHEMES AX_VARIANCES

AX_VARIANCE_STATUSES FINANCIALS_SYSTEM_PARAMS_ALL

FND_APPLICATION

FND_DOCUMENT_SEQUENCES

FND_LOOKUP_VALUES GL_CODE_COMBINATIONS GL_INTERFACE GL_INTERFACE_CONTROL GL_JE_LINES GL_PERIOD_STATUSES GL_SETS_OF_BOOKS GL_SUSPENSE_ACCOUNTS

MTL_CATEGORY_ACCOUNTS

MTL_CATEGORY_SETS_B MTL_INTERORG_PARAMETERS MTL_ITEM_CATEGORIES MTL_MATERIAL_TRANSACTIONS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 15

MTL_PARAMETERS MTL_SYSTEM_ITEMS_B MTL_TRANSACTION_ACCOUNTS MTL_TRANSACTION_TYPES ORG_ACCT_PERIODS

Inventory control options and defaults (See page 3 250) Inventory item definitions (See page 3 256) Material transaction distributions (See page 3 276) Inventory Transaction Types Table (See page 3 279) Organization accounting period definition table (See page 3 281) Purchase order distributions (See page 3 283) Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs) (See page 3 290) Supplier sites (See page 3 296) Customer information (See page 3 301) Information about customers, addresses, and site uses that are being merged or moved (See page 3 306) Headerlevel information about invoices, debit memos, chargebacks, commitments and credit memos (See page 3 309) Invoice, debit memo, chargeback, credit memo and commitment lines (See page 3 318) Accounting records for revenue, unearned revenue and unbilled receivables (See page 3 325) Transaction type for invoices, commitments and credit memos (See page 3 330) Organizationlevel receiving controls (See page 3 334) Receiving transactions (See page 3 337) Order header information (See page 3 343) Order lines (See page 3 349) WIP resource transactions (See page 3 358) Debits and credits due to resource transactions (See page 3 362)

PO_DISTRIBUTIONS_ALL PO_LINES_ALL

PO_VENDOR_SITES_ALL RA_CUSTOMERS RA_CUSTOMER_MERGES

RA_CUSTOMER_TRX_ALL

RA_CUSTOMER_TRX_LINES_ALL

RA_CUST_TRX_LINE_GL_DIST_ALL

RA_CUST_TRX_TYPES_ALL

RCV_PARAMETERS RCV_TRANSACTIONS SO_HEADERS_ALL SO_LINES_ALL WIP_TRANSACTIONS WIP_TRANSACTION_ACCOUNTS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 16 Oracle Applications Global Accounting Engine Technical Reference Manual

Public View List


This section lists each public database view that Global Accounting Engine uses and provides a brief description of each of those views. These views may be useful for your custom reporting or other data requirements. The page reference is to the detailed view description in Chapter 3. Global Accounting Engine uses the following public views: View Name
AX_AP_ACCOUNTING_EVENTS_ALL_V

Description Replacement for the AP table, AP_ACCOUNTING_EVENTS_ALL, when the AX accounting engine is used (See page 3 125) Replacement for the AP table, AP_AE_HEADERS_ALL, when the AX accounting engine is used (See page 3 127) Replacement for the AP table, AP_AE_LINES_ALL, when the AX accounting engine is used (See page 3 129) Bank, clearing, and future clearing asset accounts for an Oracle Payables check (See page 3 132) Taxable amount for tax distribution lines (See page 3 134) Transaction cost and actual cost of transactions (See page 3 144) Standard cost and/or average cost of items (See page 3 145) Layer IDs of cost groups or subinventory (See page 3 146) Lookup codes (See page 3 159) Material accounts by subinventory code or cost group (See page 3 161) Secondary inventory organizations by organization and cost group identifier (See page 3 163) Get item code associated with an item (See page 3 164) ID and Name of the Third Party Subidentifiers (See page 3 199)

AX_AP_AE_HEADERS_ALL_V

AX_AP_AE_LINES_ALL_V

AX_AP_CHECK_ASSET_V

AX_AP_TAXABLE_V AX_CST_COST_DETAILS_V1

AX_CST_ITEM_COST_DETAILS_V1

AX_CST_QUANTITY_LAYERS_V1 AX_LOOKUPS AX_MTL_CATEGORY_ACCOUNTS_V1

AX_MTL_SECONDARY_INV_V1

AX_MTL_SYSTEM_ITEMS_KFV_V2 AX_SUBS_V

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 17

AX_TAX_CODES_V

This view contains the subledger tax codes per application and set of books (See page 3 201) ID and name of the Third Party Identifiers (See page 3 203)

AX_THIRD_PARTIES_V

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 18 Oracle Applications Global Accounting Engine Technical Reference Manual

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 Global Accounting Engine 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 Global Accounting Engine. Global Accounting Engine uses the following Forms and Table views: AX_COLUMNS_V AX_CONTEXT_TABLES_V AX_EVENTS_V1 AX_EVENT_CATEGORY_V AX_EVENT_TYPES_V AX_JOURNAL_ENTRY_LINES_V AX_NPI_ACCOUNTS_V1 AX_ORGS_SOBS_V AX_ORGS_SUBS_V AX_QUERY_CHAINS_V AX_QUERY_TABLES_V AX_SCHEME_CONTEXTS_V AX_SETUP_BOOKS_V AX_SETUP_INV_ORG_PROCS_V AX_SETUP_POSTING_BOOKS_V AX_SETUP_SUBLEDGERS_V AX_SLE_HEADERS_V AX_SLE_LINES_V AX_TABLES_V AX_TRANS_PROGRAMS_V AX_TRANS_SCHEMES_V AX_TRIAL_BALANCE_FORM_V
Oracle Proprietary, Confidential InformationUse Restricted by Contract
HighLevel Design 2 19

CST_COST_GROUPS_V CST_COST_TYPES_V ORG_ORGANIZATION_DEFINITIONS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 20 Oracle Applications Global Accounting Engine Technical Reference Manual

Internal View List


This section lists each private, internal view that Global Accounting Engine uses. Warning: Oracle Corporation does not support access to Oracle Applications data using these views, except from standard Oracle Applications forms, reports, and programs. Global Accounting Engine uses the following internal views: AX_AR_RACTLA_RACTLGDA_V AX_BALANCES_SRS_V AX_CST_ACTUAL_COST_DETAILS_V1 AX_CST_QUANTITY_LAYERS_V2 AX_CST_TXN_COST_DETAILS_V1 AX_INTERNAL_LOOKUPS AX_IT_AR_CMAPPTRX_V AX_IT_FND_DOCSEQ_V AX_MC_AP_TAXABLE_V AX_MC_AR_RACTLA_RACTLGDA_V AX_MTL_CATEGORY_ACCOUNTS_V2 AX_MTL_INTERORG_PARAMETERS_V1 AX_MTL_ITEM_CATEGORIES_V1 AX_MTL_SECONDARY_INV_V2 AX_RCV_TRANSACTIONS_V1 AX_RCV_TRANSACTIONS_V2 AX_RULES_V AX_THIRD_PARTIES_SUBS_V AX_WIP_JOBS_V1 AX_WIP_TRANSACTION_ACCOUNTS_V1 MTL_SYSTEM_ITEMS_B_KFV

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 21

Single Organization View List


MultiOrganization Support is a feature that allows you to implement multiple sets of books within a single installation of Oracle Payables, Oracle Receivables, Oracle Purchasing, and Oracle Order Entry/Shipping. Instead of using multiple installations to provide data security, data is secured by operating unit. In Release 10.7, we added a column, ORG_ID, to each base table that requires partitioning by operating unit, including all transaction tables and many reference tables, then renamed these tables to end with the suffix _ALL. Then, to take the place of the renamed table, we create a view (named like the Release 10.6 or earlier table) containing a WHERE clause that automatically restricts data to a single operating unit. The WHERE clause relies upon the value of an Oracle global variable to indicate the current organization. If you want to retrieve all information, regardless of operating unit, query the _ALL table. For example, if you are running a crossorganization report, you probably want to query the _ALL table. However, if you want to report against only a single organization or operating unit, query the corresponding crossorganizational view, using the familiar 10.6style table name. The view definition will automatically retrieve only data for your current operating unit. Additional Information: Multiple Organizations in Oracle Applications

Global Accounting Engine uses the following Single Organization views: RA_CUSTOMER_TRX RA_CUSTOMER_TRX_LINES

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 22 Oracle Applications Global Accounting Engine Technical Reference Manual

Multilingual View List


This section lists each MultiLingual database view that Global Accounting Engine uses. MultiLingual views were created to allow certain seed data to be available in multiple national languages simultaneously. Global Accounting Engine uses the following Multilingual views: FND_APPLICATION_VL FND_LANGUAGES_VL FND_LOOKUP_TYPES_VL FND_LOOKUP_VALUES_VL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 23

Module List
This section lists each form, report and concurrent program comprising Global Accounting Engine.

Forms
AXXDSEVT AXXDSQCS AXXDSTRP AXXDSTRS AXXFUBIT AXXFUEMT AXXFUTRT AXXPSSPS AXXSUSSL

Event Types Query Chains Translator Program Translation Scheme View Subledger Account Balances Journal Entries Journal Entry Lines Submit Posting Manager Setup Subledgers

Reports
AXXDSTSR AXXGRACC AXXGRBAL

AX Translation Scheme Report Account Ledger by Account/Accounting Flexfield Supplier/Customer Balance by Account/Accounting Flexfield Daily Journal Book Line/Header Descriptions Supplier/Customer Subledger by Account/Accounting Flexfield Untranslated Events

AXXGRDJB AXXGRSLR

AXXPSEVT

Concurrent Programs
AXMTRC AXPCCI AXSCMP

Provide trace log Accounting Key Flexfield Back End program Generate translator programs

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 24 Oracle Applications Global Accounting Engine Technical Reference Manual

AXXBLSTA AXXBLSYN

Calculate subledger accounting balances Update existing General Ledger code combinations account value Archive and purge subledger accounting entries Merge suppliers or customers Update existing GL code combinations with new control qualifier value Calculate subledger balances PL/SQL package used during compilation Synchronize Code Combinations for Control Accounts Posting Manager Supplier / Customer Merge Accounting Transferring accounting entries to GL Translating events

control
AXXPGSLE AXXPSSCM AXXSUCCI

AX_CALC_BALANCES_PKG AX_COMPILER_PKG AX_CONTROL_ACCT_PKG AX_PST_MANAGER_PKG AX_SC_MERGE_PKG AX_TRANSFR_TO_GL_PKG AX_TRANSLATE_PKG GLLEZL GLPPOS

Import journal entries from GL_INTERFACE Post journal entries

Oracle Proprietary, Confidential InformationUse Restricted by Contract


HighLevel Design 2 25

Oracle Proprietary, Confidential InformationUse Restricted by Contract


2 26 Oracle Applications Global Accounting Engine Technical Reference Manual

CHAPTER

Detailed Design

his chapter presents a detailed design for implementing Oracle Applications Global Accounting Engine. 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 Applications Global Accounting Engine that enables you to: Convert existing application data Integrate your Global Accounting Engine 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 Global Accounting Engine 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 Global Accounting Engine application contains, and how it uses them to hold and access the information it needs.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


32 Oracle Applications Global Accounting Engine Technical Reference Manual

Table and View Definitions


This section contains a detailed description of each Oracle Applications Global Accounting Engine 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 Global Accounting Engine 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 Global Accounting Engine 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 Global Accounting Engine 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 Global Accounting Engine does not use this column, although the column might be used in a future release. Global Accounting Engine no longer uses this column. AutoInstall installs this column. Subsequent versions of Global Accounting Engine might not include this column. Global Accounting Engine 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 Global Accounting Engine, you do not have this column.

No longer installed

Standard Who Columns Most Global Accounting Engine tables contain standard columns to support \ Row Who. When your program or 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
Oracle Proprietary, Confidential InformationUse Restricted by Contract
34 Oracle Applications Global Accounting Engine Technical Reference Manual

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 Global Accounting Engine 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.RE QUEST_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_PRO GRAM_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. Columns Reserved for CountrySpecific Features Some tables have GLOBAL_ATTRIBUTE columns which support additional features added to Global Accounting Engine to meet statutory requirements and common business practices in your country or region. For details on these columns, refer to the Appendix in Oracle Global Financial Applications Technical Reference Manual. To read more about the features that these columns support, look for a User Guide appropriate to your country; for example, see the Oracle Financials for the Czech Republic User Guide.

Indexes
If an Global Accounting Engine 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 Global Accounting Engine.

Sequences
Global Accounting Engine 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.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


36 Oracle Applications Global Accounting Engine Technical Reference Manual

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 Global Accounting Engine view you may need to reference, we include important elements from the SQL 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

AP_ACCOUNTING_EVENTS_ALL
An event is an entity whose role is to map transaction data to the accounting created for it. Every accounting entry needs to be identified with the event that created it. Conceptually, an event provides information about the timing and the reason for which the document created the accounting entries. Every event will result in one, and only one, accounting entry header in each set of books. Also, transaction data is stamped with the event that accounted for it.
Column Descriptions Name
ACCOUNTING_EVENT_ID EVENT_TYPE_CODE ACCOUNTING_DATE EVENT_NUMBER

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

Description Accounting event identifier Type of event Accounting date for accounting entries for this event Accounting event number for a given document (e.g. Invoice #101 may have 3 accounting events associated with it, the event number acts as a sequence for Invoice #101) Indicates the state of the accounting entries for the accounting event Table where event originating document resides. Possible values are AP_INVOICES or AP_CHECKS Primary key for document originating the current event. Depending on the value for source_table it will contain either invoice_id or check_id Standard Who Column Standard Who Column Standard Who Column Standard Who Column Standard Who Column Concurrent Who Column Concurrent Who Column Concurrent Who Column Concurrent Who Column Organization identifier

EVENT_STATUS_CODE SOURCE_TABLE

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

SOURCE_ID

NOT NULL NUMBER(15)

CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROGRAM_UPDATE_DATE PROGRAM_ID PROGRAM_APPLICATION_ID REQUEST_ID ORG_ID

NOT NOT NOT NOT

NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

DATE NUMBER(15) DATE NUMBER(15) NUMBER(15) DATE NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15)

Indexes Index Name


AP_ACCOUNTING_EVENTS_N1 AP_ACCOUNTING_EVENTS_N2 AP_ACCOUNTING_EVENTS_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 5 10 5 5

Column Name SOURCE_TABLE SOURCE_ID REQUEST_ID ACCOUNTING_EVENT_ID

Sequences Sequence
AP_ACCOUNTING_EVENTS_S

Derived Column ACCOUNTING_EVENT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


38 Oracle Applications Global Accounting Engine Technical Reference Manual

AP_AE_HEADERS_ALL
An accounting entry header is an entity grouping all accounting entry lines created for a given accounting event and a particular set of books. An accounting entry header can either be transferred over to GL or not at all. That is, either all its accounting entry lines are transferred or none at all. The transferred to GL status is marked in the GL_TRANSFER_FLAG. Possible values for GL_TRANSFER_FLAG are Y, N, or E. Y indicates that the accounting entry header has been transferred to GL. N indicates that the accounting entry header has not been transferred to GL due to 2 possible reasons: either the transfer process has not run or it has run but the accounting entry had an accounting error on it. E indicates that an error was encountered during the transfer to GL process.
Foreign Keys Primary Key Table
AP_ACCOUNTING_EVENTS_ALL GL_SETS_OF_BOOKS

Primary Key Column ACCOUNTING_EVENT_ID SET_OF_BOOKS_ID

Foreign Key Column ACCOUNTING_EVENT_ID SET_OF_BOOKS_ID

Column Descriptions Name


AE_HEADER_ID ACCOUNTING_EVENT_ID SET_OF_BOOKS_ID AE_CATEGORY

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

Description Accounting entry header identifier Accounting event identifier Set of books identifier Accounting entry category. The possible values come from GL_JE_CATEGORIES and are: Purchase Invoices, Payments, Reconciled Payments Indicates whether this accounting entry header

CROSS_CURRENCY_FLAG

NOT NULL VARCHAR2(1)

PERIOD_NAME ACCOUNTING_DATE GL_TRANSFER_FLAG

NOT NOT NOT

GL_TRANSFER_RUN_ID

NOT

DESCRIPTION ORG_ID

line_num has accounting entry lines with different entered currencies. This is used by the GL Transfer program to set the journal category to Cross Currency to enable GL to create the balancing journal line NULL VARCHAR2(15) Accounting period name NULL DATE Accounting date NULL VARCHAR2(1) Indicates whether accounting entry header has been successfully transferred to GL. Possible values are Y, N, E NULL NUMBER(15) Uniquely identifies a transfer to GL Batch for a particular set of books. It is set to 1 for all accounting entry headers which have not been transferred to GL NULL VARCHAR2(240) Accounting entry header description NULL NUMBER(15) Organization identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 39

Column Descriptions Name

(Continued)
Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL DATE NUMBER(15) DATE NUMBER(15) NUMBER(15) DATE NUMBER(15) NUMBER(15) NUMBER(15) VARCHAR2(30) Description Standard Who Column Standard Who Column Standard Who Column Standard Who Column Standard Who Column Concurrent Who Column Concurrent Who Column Concurrent Who Column Concurrent Who Column Accounting entry header level error code that was encountered during the Payables Accounting Process Accounting entry header level error code that was encountered during the Payables Transfer to GL Process Indicates to GL that the journal should be flagged a reversal journal. Not used by AP

CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROGRAM_UPDATE_DATE PROGRAM_APPLICATION_ID PROGRAM_ID REQUEST_ID ACCOUNTING_ERROR_CODE

GL_TRANSFER_ERROR_CODE

NULL VARCHAR2(30)

GL_REVERSAL_FLAG

NULL VARCHAR2(1)

Indexes Index Name


AP_AE_HEADERS_N1 AP_AE_HEADERS_N2 AP_AE_HEADERS_N3 AP_AE_HEADERS_U1 AP_AE_HEADERS_U2

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE UNIQUE

Sequence 10 10 20 10 5 5 10

Column Name GL_TRANSFER_FLAG GL_TRANSFER_RUN_ID ACCOUNTING_DATE ACCOUNTING_DATE AE_HEADER_ID ACCOUNTING_EVENT_ID SET_OF_BOOKS_ID

Sequences Sequence
AP_AE_HEADERS_S

Derived Column AE_HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 10 Oracle Applications Global Accounting Engine Technical Reference Manual

AP_AE_LINES_ALL
An accounting entry line is an entity containing a proper accounting entry with debits or credits both in transaction currency as well as functional currency along with an account and other reference information pointing to the transaction data that originated the accounting entry line. An accounting entry line is grouped with other accounting entry lines for a specific accounting entry header. Any such group of accounting entry lines should result in balanced entries in the functional currency.
Foreign Keys Primary Key Table
AP_AE_HEADERS_ALL FND_CURRENCIES FND_DOCUMENT_SEQUENCES GL_DAILY_CONVERSION_TYPES GL_USSGL_TRANSACTION_CODES PO_VENDORS PO_VENDOR_SITES_ALL

Primary Key Column AE_HEADER_ID CURRENCY_CODE DOC_SEQUENCE_ID CONVERSION_TYPE USSGL_TRANSACTION_CODE VENDOR_ID VENDOR_SITE_ID

Foreign Key Column AE_HEADER_ID CURRENCY_CODE SUBLEDGER_DOC_SEQUENCE_ID CURRENCY_CONVERSION_TYPE USSGL_TRANSACTION_CODE THIRD_PARTY_ID THIRD_PARTY_SUB_ID

Column Descriptions Name


AE_LINE_ID AE_HEADER_ID AE_LINE_NUMBER

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

Description Accounting entry line identifier Accounting entry header identifier Sequential number for accounting entry line within accounting entry header. E.g. 1, 2, 3 Accounting entry line type. E.g. Liability, Charge, etc Accounting flexfield identifier for account associated with accounting entry line. For those lines whose account is invalid, or could not be built, the value will be 1 Entered currency for the transaction data associated with the accounting entry line Exchange rate type for foreign currency accounting entry line Date currency conversion rate is effective Exchange rate for foreign currency accounting entry line Debit amount in transaction currency Credit amount in transaction currency Debit amount in functional currency Credit amount in functional currency

AE_LINE_TYPE_CODE CODE_COMBINATION_ID

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

CURRENCY_CODE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE ENTERED_DR ENTERED_CR ACCOUNTED_DR ACCOUNTED_CR

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 11

Column Descriptions Name


SOURCE_TABLE

(Continued)
Null? Type NOT NULL VARCHAR2(30) Description Table where transaction document associated with accounting entry line resides. Possible values are: AP_INVOICES, AP_INVOICE_DISTRIBUTIONS, AP_CHECKS, AP_INVOICE_PAYMENTS NOT NULL NUMBER(15) Primary key for document originating the current accounting entry line. Depending on the value for source_table it will contain either invoice_id, invoice_distribution_id, check_id or invoice_payment_id NULL NUMBER(15) Invoice distribution identifier used for flexbuilding the accounting entry line account when automatic offsets is on NULL NUMBER(15) Identifier used for maintaining audit trail upon transfer of the accounting entry line to GL NULL VARCHAR2(240) Accounting entry line description NULL VARCHAR2(30) Accounting entry line level error code that was encountered during the Payables Accounting Process NULL VARCHAR2(30) Accounting entry line level error code that was encountered during the Payables Transfer to GL Process NULL NUMBER(15) Supplier identifier NULL NUMBER(15) Supplier site identifier NULL NUMBER Amount for measuring statistical quantities, copied over from associated invoice distribution NULL NUMBER(15) Document sequence identifier from transaction data associated with accounting entry line NULL NUMBER(15) Document sequence value from transaction data associated with accounting entry line NULL NUMBER(15) Organization identifier NOT NULL DATE Standard Who Column NULL VARCHAR2(30) Transaction code for creating US Standard General Ledger journal entries (Oracle Public Sector Payables). Copied over from associated invoice distribution NOT NULL NUMBER(15) Standard Who Column NOT NULL DATE Standard Who Column NOT NULL NUMBER(15) Standard Who Column NULL NUMBER(15) Standard Who Column NULL DATE Concurrent Who Column NULL NUMBER(15) Concurrent Who Column NULL NUMBER(15) Concurrent Who Column NULL NUMBER(15) Concurrent Who Column NULL VARCHAR2(240) Journal import reference column

SOURCE_ID

ACCOUNT_OVERLAY_SOURCE_ID

GL_SL_LINK_ID DESCRIPTION ACCOUNTING_ERROR_CODE

GL_TRANSFER_ERROR_CODE

THIRD_PARTY_ID THIRD_PARTY_SUB_ID STAT_AMOUNT

SUBLEDGER_DOC_SEQUENCE_ID

SUBLEDGER_DOC_SEQUENCE_VALUE ORG_ID CREATION_DATE USSGL_TRANSACTION_CODE

CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROGRAM_UPDATE_DATE PROGRAM_APPLICATION_ID PROGRAM_ID REQUEST_ID REFERENCE1

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 12 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(30) NUMBER(15) VARCHAR2(30) NUMBER(15) NUMBER(15) Description Journal import reference column Journal import reference column Journal import reference column Journal import reference column Journal import reference column Journal import reference column Journal import reference column Journal import reference column Journal import reference column Not currently used Not currently used Not currently used Not currently used Tax code identifier associated with tax invoice distributions Debit taxable amount in transaction currency, associated with tax invoice distributions Credit taxable amount in transaction currency, associated with tax invoice distributions Debit taxable amount in functional currency, associated with tax invoice distributions Credit taxable amount in functional currency, associated with tax invoice distributions Not currently used

REFERENCE2 REFERENCE3 REFERENCE4 REFERENCE5 REFERENCE6 REFERENCE7 REFERENCE8 REFERENCE9 REFERENCE10 APPLIED_FROM_TRX_HDR_TABLE APPLIED_FROM_TRX_HDR_ID APPLIED_TO_TRX_HDR_TABLE APPLIED_TO_TRX_HDR_ID TAX_CODE_ID TAXABLE_ENTERED_DR

NULL NUMBER

TAXABLE_ENTERED_CR

NULL NUMBER

TAXABLE_ACCOUNTED_DR TAXABLE_ACCOUNTED_CR TAX_LINK_ID

NULL NUMBER NULL NUMBER NULL NUMBER(15)

Indexes Index Name


AP_AE_LINES_N1 AP_AE_LINES_N2 AP_AE_LINES_N3 AP_AE_LINES_N4 AP_AE_LINES_N5 AP_AE_LINES_U1 AP_AE_LINES_U2

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

Sequence 5 5 10 5 5 10 5 5 5 10

Column Name CODE_COMBINATION_ID SOURCE_TABLE SOURCE_ID GL_SL_LINK_ID THIRD_PARTY_ID THIRD_PARTY_SUB_ID AE_LINE_TYPE_CODE AE_LINE_ID AE_HEADER_ID AE_LINE_NUMBER

Sequences Sequence
AP_AE_LINES_S AP_AE_LINES_S1 AP_AE_LINK_ID_S

Derived Column AE_LINE_ID AE_LINE_NUMBER GL_SL_LINK_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 13

AP_BANK_ACCOUNTS_ALL
AP_BANK_ACCOUNTS_ALL contains information about your bank accounts. You need one row for each bank account you define. Each bank account must be affiliated with one bank branch. When you initiate an automatic payment batch, enter a manual check, or create a Quick payment, you can select a bank account that you define in this table. This table corresponds to the Bank Accounts window.
Foreign Keys Primary Key Table
AP_BANK_BRANCHES 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_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS PAY_EXTERNAL_ACCOUNTS

Primary Key Column BANK_BRANCH_ID 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 CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID EXTERNAL_ACCOUNT_ID

Foreign Key Column BANK_BRANCH_ID CURRENCY_CODE ASSET_CODE_COMBINATION_ID LOSS_CODE_COMBINATION_ID GAIN_CODE_COMBINATION_ID CASH_CLEARING_CCID BANK_CHARGES_CCID BANK_ERRORS_CCID EARNED_CCID UNEARNED_CCID ON_ACCOUNT_CCID UNAPPLIED_CCID UNIDENTIFIED_CCID FACTOR_CCID RECEIPT_CLEARING_CCID REMITTANCE_CCID SHORT_TERM_DEPOSIT_CCID FUTURE_DATED_PAYMENT_CCID SET_OF_BOOKS_ID PAYROLL_BANK_ACCOUNT_ID

QuickCodes Columns Column


ACCOUNT_TYPE

QuickCodes Type ACCOUNT TYPE EXTERNAL INTERNAL PAYROLL SUPPLIER

QuickCodes Table AP_LOOKUP_CODES Customer Internal Payroll Supplier

Column Descriptions Name


BANK_ACCOUNT_ID (PK) BANK_ACCOUNT_NAME LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY BANK_ACCOUNT_NUM

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

Description Bank account Bank account Standard Who Standard Who Standard Who Standard Who Standard Who Bank account identifier name column column column column column number

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 14 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL NUMBER(15) NOT NULL NUMBER(15) NULL VARCHAR2(15) NULL VARCHAR2(240) NULL VARCHAR2(15) NULL VARCHAR2(15) NULL VARCHAR2(20) NULL VARCHAR2(5) NULL VARCHAR2(30) NULL VARCHAR2(10) NULL VARCHAR2(15) NULL NUMBER NULL NUMBER NULL NULL NULL NULL VARCHAR2(1) DATE NUMBER(15) NUMBER(15) Description Bank branch identifier Set of books identifier Currency code Description First name of bank contact person Middle name of bank contact person Last name of bank contact person Prefix of bank contact person (Ms., Mr., Mrs., Miss, etc.) Title of bank contact person Area code for phone number of bank contact person Phone number of bank contact person Default maximum payment amount allowed for bank account in a payment batch Default minimum payment amount allowed for bank account in a payment batch No longer used Inactive date No longer used Accounting Flexfield identifier for cash account associated with bank account Accounting Flexfield identifier for account to which you post realized exchange rate gains Accounting Flexfield identifier for account to which you post realized exchange rate losses Bank account type code No longer used Maximum payment batch outlay for bank account Multiple currency bank account indicator (Y or N) Bank account type code. Possible values are: INTERNAL or SUPPLIER for banks defined for Oracle Payables, INTERNAL or EXTERNAL for banks defined for Oracle Receivables and PAYROLL for banks defined for Payroll 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

BANK_BRANCH_ID SET_OF_BOOKS_ID CURRENCY_CODE DESCRIPTION CONTACT_FIRST_NAME CONTACT_MIDDLE_NAME CONTACT_LAST_NAME CONTACT_PREFIX CONTACT_TITLE CONTACT_AREA_CODE CONTACT_PHONE MAX_CHECK_AMOUNT MIN_CHECK_AMOUNT ONE_SIGNATURE_MAX_FLAG INACTIVE_DATE AVG_FLOAT_DAYS ASSET_CODE_COMBINATION_ID GAIN_CODE_COMBINATION_ID LOSS_CODE_COMBINATION_ID BANK_ACCOUNT_TYPE VALIDATION_NUMBER MAX_OUTLAY MULTI_CURRENCY_FLAG ACCOUNT_TYPE

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

ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5

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


Detailed Design 3 15

Column Descriptions Name


ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 POOLED_FLAG

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(1) Pooled or nonpooled account indicator NULL VARCHAR2(1) Indicator for allowing or disallowing zero amount payments for bank account NULL NUMBER(15) Concurrent Who Column NULL NUMBER(15) Concurrent Who Column NULL NUMBER(15) Concurrent Who Column NULL DATE Concurrent Who Column NULL VARCHAR2(1) Supports integration with Oracle Cash Management NULL VARCHAR2(30) Holds any check digits that result from bank account number validation in FBS NULL NUMBER(15) Organization identifier NULL NUMBER(15) Accounting Flexfield identifier for the Cash Clearing Account NULL NUMBER(15) Accounting Flexfield identifier for the Bank Charges Account NULL NUMBER(15) Accounting Flexfield identifier for the Bank Errors Account NULL NUMBER(15) Accounting Flexfield identifier for the Earned Account NULL NUMBER(15) Accounting Flexfield identifier for the Unearned Account NULL NUMBER(15) Accounting Flexfield identifier for the On Account Account NULL NUMBER(15) Accounting Flexfield identifier for the Unapplied Account NULL NUMBER(15) Accounting Flexfield identifier for the Unidentified Account NULL NUMBER(15) Accounting Flexfield identifier for the Factor Account NULL NUMBER(15) Accounting Flexfield identifier for the Receipt Confirmation Account NULL NUMBER(15) Accounting Flexfield identifier for the Remittance Account NULL NUMBER(15) Accounting Flexfield identifier for the Short Term Deposit Account

ZERO_AMOUNTS_ALLOWED REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE RECEIPT_MULTI_CURRENCY_FLAG CHECK_DIGITS ORG_ID CASH_CLEARING_CCID BANK_CHARGES_CCID BANK_ERRORS_CCID EARNED_CCID UNEARNED_CCID ON_ACCOUNT_CCID UNAPPLIED_CCID UNIDENTIFIED_CCID FACTOR_CCID RECEIPT_CLEARING_CCID REMITTANCE_CCID SHORT_TERM_DEPOSIT_CCID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 16 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description 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(150) Reserved for countryspecific functionality NULL VARCHAR2(320) Alternate bank account name NULL VARCHAR2(80) Account holder name NULL VARCHAR2(80) Alternate account holder name NULL VARCHAR2(25) EFT requester identifier NULL VARCHAR2(30) The number that identifies you as a user of electronic funds transfer services to your bank or clearing organization NULL NUMBER(9) Bank account identifier for payroll bank accounts NULL NUMBER(15) Accounting Flexfield identifier for the future dated payment account NULL NUMBER(15) Earned Discounts Activity NULL NUMBER(15) Unearned Discounts Activity

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 BANK_ACCOUNT_NAME_ALT ACCOUNT_HOLDER_NAME ACCOUNT_HOLDER_NAME_ALT EFT_REQUESTER_ID EFT_USER_NUMBER

PAYROLL_BANK_ACCOUNT_ID FUTURE_DATED_PAYMENT_CCID EDISC_RECEIVABLES_TRX_ID UNEDISC_RECEIVABLES_TRX_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 17

Indexes Index Name


AP_BANK_ACCOUNTS_N1 AP_BANK_ACCOUNTS_N2 AP_BANK_ACCOUNTS_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 1 2 1

Column Name BANK_BRANCH_ID BANK_ACCOUNT_NAME ACCOUNT_TYPE BANK_ACCOUNT_ID

Sequences Sequence
AP_BANK_ACCOUNTS_S

Derived Column BANK_ACCOUNT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 18 Oracle Applications Global Accounting Engine Technical Reference Manual

AP_BANK_BRANCHES
AP_BANK_BRANCHES contains information about the bank branches you define when you set up your banks. You need one row for each bank branch you use. One bank branch may have multiple bank accounts. This table corresponds to the Bank Branch region of the Banks window.
Foreign Keys Primary Key Table
AP_BANK_BRANCHES AP_PAYMENT_PROGRAMS AP_PAYMENT_PROGRAMS ECE_TP_HEADERS PAY_EXTERNAL_ACCOUNTS

Primary Key Column BANK_BRANCH_ID PROGRAM_ID PROGRAM_ID TP_HEADER_ID EXTERNAL_ACCOUNT_ID

Foreign Key Column CLEARING_HOUSE_ID TRANSMISSION_PROGRAM_ID PRINTING_PROGRAM_ID TP_HEADER_ID PAYROLL_BANK_ACCOUNT_ID

QuickCodes Columns Column


INSTITUTION_TYPE

QuickCodes Type INSTITUTION TYPE BANK CLEARING HOUSE

QuickCodes Table AP_LOOKUP_CODES Bank Clearing House

Column Descriptions Name


BANK_BRANCH_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY BANK_NAME BANK_BRANCH_NAME DESCRIPTION ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3 CITY STATE ZIP PROVINCE COUNTRY AREA_CODE PHONE CONTACT_FIRST_NAME CONTACT_MIDDLE_NAME CONTACT_LAST_NAME CONTACT_PREFIX CONTACT_TITLE BANK_NUM LAST_UPDATE_LOGIN CREATION_DATE

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(15) DATE NUMBER(15) VARCHAR2(30) VARCHAR2(30) VARCHAR2(240) VARCHAR2(35) VARCHAR2(35) VARCHAR2(35) VARCHAR2(25) VARCHAR2(25) VARCHAR2(20) VARCHAR2(25) VARCHAR2(25) VARCHAR2(10) VARCHAR2(15) VARCHAR2(15)

Description Bank branch identifier Standard Who column Standard Who column Bank name Bank branch name Description First address line Second address line Third address line City State or province Zip code No longer used Country Area code Phone number First name of branch contact person Middle name of branch contact person Last name of branch contact person Prefix of branch contact person (Ms., Mr., Mrs., Miss, etc.) Title of branch contact person Branch number Standard Who column Standard Who column

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 19

Column Descriptions Name


CREATED_BY INSTITUTION_TYPE

(Continued)
Null? Type NULL NUMBER(15) NOT NULL VARCHAR2(25) NULL NUMBER NULL 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) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NULL NULL NULL NULL NUMBER(15) NUMBER(15) NUMBER(15) DATE VARCHAR2(30) Description Standard Who column Not used by Oracle Payables applications Not used by Oracle Payables applications Not used by Oracle Payables applications Not used by Oracle Payables applications 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 Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Concurrent Who Column Concurrent Who Column Concurrent Who Column Concurrent Who Column Used as context field for FAF desc flex. Do not populate. Join with FND_TERRITORIES where COUNTRY=TERRITORY_CODE Bank number. Added for Flexible Bank Structure functionality. Holds the number used by some countries to identify bank Fourth address line. Used for flexible address formatting Added for Flexible Address Format functionality

CLEARING_HOUSE_ID TRANSMISSION_PROGRAM_ID PRINTING_PROGRAM_ID 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 ADDRESS_STYLE

BANK_NUMBER

NULL VARCHAR2(30)

ADDRESS_LINE4 COUNTY

NULL VARCHAR2(35) NULL VARCHAR2(25)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 20 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


EFT_USER_NUMBER

(Continued)
Null? Type NULL VARCHAR2(30) Description The number that identifies you as a user of electronic funds transfer services to your bank or clearing organization EFT swift code End date EDI trading partner number for the Bank Branch Branch type indicates which list the bank routing number is on. Valid types are ABA, CHIPS, SWIFT and OTHER 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 Alternate bank name Alternate bank branch name Alternate address lines Active date Trading partner header identifier Trading partner location code

EFT_SWIFT_CODE END_DATE EDI_ID_NUMBER BANK_BRANCH_TYPE

NULL VARCHAR2(12) NULL DATE NULL VARCHAR2(30) NULL VARCHAR2(25)

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 BANK_NAME_ALT BANK_BRANCH_NAME_ALT ADDRESS_LINES_ALT ACTIVE_DATE TP_HEADER_ID ECE_TP_LOCATION_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 NULL NULL NULL NULL VARCHAR2(320) VARCHAR2(320) VARCHAR2(560) DATE NUMBER(15)

NULL VARCHAR2(35)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 21

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(9) Description Bank account identifier for payroll bank accounts

PAYROLL_BANK_ACCOUNT_ID

Indexes Index Name


AP_BANK_BRANCHES_N1 AP_BANK_BRANCHES_U1 AP_BANK_BRANCHES_U2 AP_BANK_BRANCHES_U3 AP_BANK_BRANCHES_U4

Index Type NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 2 1 3 2

Column Name CLEARING_HOUSE_ID BANK_BRANCH_ID BANK_NAME BANK_BRANCH_NAME BANK_NUM BANK_NUMBER EDI_ID_NUMBER

Sequences Sequence
AP_BANK_BRANCHES_S

Derived Column BANK_BRANCH_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 22 Oracle Applications Global Accounting Engine Technical Reference Manual

AP_CHECKS_ALL
AP_CHECKS_ALL stores information about payments issued to suppliers or refunds received from suppliers. You need one row for each payment you issue to a supplier or refund received from a supplier. Your Oracle Payables application uses this information to record payments you make to suppliers or refunds you receive from suppliers. Your Oracle Payables application stores the supplier name and bank account name for auditing purposes, in case either one is changed after you create the payment. Your Oracle Payables application stores address information for all payments. If you allow changes to the supplier payment address on manual payments or Quick payments, your Oracle Payables application maintains the new address information in this table. Your Oracle Payables application uses BANK_ACCOUNT_NUM, BANK_NUM, and BANK_ACCOUNT_TYPE for the suppliers bank information when you use the Electronic payment method. Your Oracle Payables application stores a dummy value for CHECK_STOCK_ID for refunds, thus, CHECK_STOCK_ID should not be treated as a foreign key to AP_CHECK_STOCKS_ALL in the case of refunds.
Foreign Keys Primary Key Table
AP_BANK_ACCOUNTS_ALL AP_BANK_ACCOUNTS_ALL AP_CHECK_FORMATS AP_CHECK_STOCKS_ALL AP_DOC_SEQUENCE_AUDIT AP_INV_SELECTION_CRITERIA_ALL AP_INV_SELECTION_CRITERIA_ALL FND_CURRENCIES FND_DOCUMENT_SEQUENCES FND_DOC_SEQUENCE_CATEGORIES GL_DAILY_CONVERSION_TYPES GL_DAILY_CONVERSION_TYPES GL_DAILY_CONVERSION_TYPES GL_USSGL_TRANSACTION_CODES PO_VENDORS PO_VENDOR_SITES_ALL

Primary Key Column BANK_ACCOUNT_ID BANK_ACCOUNT_ID CHECK_FORMAT_ID CHECK_STOCK_ID DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE CHECKRUN_NAME CHECKRUN_ID CURRENCY_CODE DOC_SEQUENCE_ID CODE CONVERSION_TYPE CONVERSION_TYPE CONVERSION_TYPE USSGL_TRANSACTION_CODE VENDOR_ID VENDOR_SITE_ID

Foreign Key Column BANK_ACCOUNT_ID EXTERNAL_BANK_ACCOUNT_ID CHECK_FORMAT_ID CHECK_STOCK_ID DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE CHECKRUN_NAME CHECKRUN_ID CURRENCY_CODE DOC_SEQUENCE_ID DOC_CATEGORY_CODE EXCHANGE_RATE_TYPE CLEARED_EXCHANGE_RATE_TYPE MATURITY_EXCHANGE_RATE_TYPE USSGL_TRANSACTION_CODE VENDOR_ID VENDOR_SITE_ID

QuickCodes Columns Column


PAYMENT_METHOD_LOOKUP_CODE

QuickCodes Type PAYMENT METHOD CHECK CLEARING EFT WIRE PAYMENT TYPE A

QuickCodes Table AP_LOOKUP_CODES Check Clearing Electronic Wire AP_LOOKUP_CODES Batch

PAYMENT_TYPE_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 23

QuickCodes Columns Column

(Continued)
QuickCodes Type M Q R QuickCodes Table Manual Quick Refund AP_LOOKUP_CODES Cleared Cleared but Unaccounted Issued Negotiable Overflow Reconciled Reconciled Unaccounted Set Up Spoiled Stop Initiated Unconfirmed Set Up Voided

STATUS_LOOKUP_CODE

CHECK STATE CLEARED CLEARED BUT UNACCOUNTED ISSUED NEGOTIABLE OVERFLOW RECONCILED RECONCILED UNACCOUNTED SET UP SPOILED STOP INITIATED UNCONFIRMED SET UP VOIDED

Column Descriptions Name


AMOUNT BANK_ACCOUNT_ID BANK_ACCOUNT_NAME CHECK_DATE CHECK_ID (PK) CHECK_NUMBER CURRENCY_CODE LAST_UPDATED_BY LAST_UPDATE_DATE PAYMENT_METHOD_LOOKUP_CODE PAYMENT_TYPE_FLAG ADDRESS_LINE1 ADDRESS_LINE2 ADDRESS_LINE3 CHECKRUN_NAME CHECK_FORMAT_ID CHECK_STOCK_ID CITY COUNTRY CREATED_BY CREATION_DATE LAST_UPDATE_LOGIN STATUS_LOOKUP_CODE VENDOR_NAME VENDOR_SITE_CODE ZIP BANK_ACCOUNT_NUM BANK_ACCOUNT_TYPE BANK_NUM CHECK_VOUCHER_NUM

Null? Type NOT NOT NOT NOT 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 NULL NULL NULL NULL NULL NULL NUMBER NUMBER(15) VARCHAR2(80) DATE NUMBER(15) NUMBER(15) VARCHAR2(15) NUMBER(15) DATE VARCHAR2(25) VARCHAR2(25) VARCHAR2(35) VARCHAR2(35) VARCHAR2(35) VARCHAR2(30) NUMBER(15) NUMBER(15) VARCHAR2(25) VARCHAR2(25) NUMBER(15) DATE NUMBER(15) VARCHAR2(25) VARCHAR2(80) VARCHAR2(15) VARCHAR2(20) VARCHAR2(30)

Description Payment amount Bank account identifier Bank account name Payment date Payment identifier Payment number Currency code Standard Who column Standard Who column Name of payment method Flag that indicates the payment type First address line of payment Second address line of payment Third address line of payment Payment batch name Check format identifier Payment document identifier City Country Standard Who column Standard Who column Standard Who column Status of payment (for example, NEGOTIABLE, SET UP, SPOILED) Supplier name Supplier site code State or province postal code Suppliers bank account number for electronic payment purposes Suppliers bank account type code for electronic payment purposes Suppliers bank number for electronic payment purposes Payment voucher number

NULL VARCHAR2(25) NULL VARCHAR2(25) NULL NUMBER(16)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 24 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL DATE NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(18) NUMBER(15) VARCHAR2(25) VARCHAR2(18) NUMBER(15) DATE VARCHAR2(150) Description Payment cleared amount Payment cleared date Sequential Numbering (voucher number) document category for payment Sequential Numbering document sequence identifier Voucher number (sequential numbering) for payment No longer used No longer used User that released stop payment State No longer used User that recorded stop payment Payment void date 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 Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield structure defining column Negotiable date for future dated payment Date payment processed through internal clearing organization Number assigned to payment processed through internal clearing organization Transaction code for creating US Standard General Ledger journal entries

CLEARED_AMOUNT CLEARED_DATE DOC_CATEGORY_CODE DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE PROVINCE RELEASED_AT RELEASED_BY STATE STOPPED_AT STOPPED_BY VOID_DATE ATTRIBUTE1 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE_CATEGORY FUTURE_PAY_DUE_DATE TREASURY_PAY_DATE TREASURY_PAY_NUMBER USSGL_TRANSACTION_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 DATE NULL DATE NULL NUMBER(15) NULL VARCHAR2(30)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 25

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) Description USSGL Transaction Code Descriptive Flexfield context column NULL VARCHAR2(25) No longer used NULL NUMBER(15) Supports integration with Oracle Cash Management NULL NUMBER Payment cleared amount in functional currency NULL NUMBER Exchange rate at which the payment cleared, for foreign currency payments only NULL DATE Date clearing exchange rate is effective, usually accounting date of a transaction NULL VARCHAR2(30) Exchange rate type at payment clearing time, for foreign currency payments only NULL VARCHAR2(35) Fourth address line of payment. Used for flexible address formatting NULL VARCHAR2(25) Used for flexible address formatting. Also used for matching AP and AR addresses NULL VARCHAR2(30) Used as context value in FAF descr flexs. Do not populate. Instead, join to FND_TERRITORIES where territory_code=country NULL NUMBER(15) Organization identifier NULL NUMBER(15) Supplier identifier. Supports integration with Oracle Cash Management NULL NUMBER(15) Supplier site identifier. Supports integration with Oracle Cash Management NULL NUMBER Exchange rate for foreign currency payment NULL DATE Date exchange rate is effective. Usually the accounting date of the transaction NULL VARCHAR2(30) Exchange rate for foreign currency payment NULL NUMBER Payment amount in functional currency NULL NUMBER(15) Payment batch identifier NULL NUMBER(15) Concurrent request identifier NULL NUMBER Cleared payment error amount NULL NUMBER Cleared payment charges amount NULL NUMBER Cleared payment error amount in functional currency NULL NUMBER Cleared payment charges amount in functional currency NULL VARCHAR2(25) Set by and used by Positive Pay Report to select records NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality

USSGL_TRX_CODE_CONTEXT WITHHOLDING_STATUS_LOOKUP_CODE RECONCILIATION_BATCH_ID CLEARED_BASE_AMOUNT CLEARED_EXCHANGE_RATE CLEARED_EXCHANGE_DATE CLEARED_EXCHANGE_RATE_TYPE ADDRESS_LINE4 COUNTY ADDRESS_STYLE

ORG_ID VENDOR_ID VENDOR_SITE_ID EXCHANGE_RATE EXCHANGE_DATE

EXCHANGE_RATE_TYPE BASE_AMOUNT CHECKRUN_ID REQUEST_ID CLEARED_ERROR_AMOUNT CLEARED_CHARGES_AMOUNT CLEARED_ERROR_BASE_AMOUNT CLEARED_CHARGES_BASE_AMOUNT POSITIVE_PAY_STATUS_CODE GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 26 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description 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) Transfer priority NULL NUMBER(15) External bank account identifier NULL NUMBER Stamp duty tax amount for globalization NULL NUMBER Stamp duty tax amount in functional currency for globalization NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and payment cleared amount pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and currency conversion rate of cleared payment pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and currency conversion date of cleared payment pairs

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 TRANSFER_PRIORITY EXTERNAL_BANK_ACCOUNT_ID STAMP_DUTY_AMT STAMP_DUTY_BASE_AMT MRC_CLEARED_BASE_AMOUNT

MRC_CLEARED_EXCHANGE_RATE

MRC_CLEARED_EXCHANGE_DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 27

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and currency conversion rate type at clearing time pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string 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 currency conversion date pairs 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 payment amount pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and cleared payment error base amount pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and cleared payment charges base amount pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and stamp duty tax pairs NULL DATE Date maturity exchange rate is effective, usually the maturity date for the payment NULL VARCHAR2(30) Exchange rate type at future dated payment maturity time, for foreign currency payments only NULL NUMBER Exchange rate at future dated payment maturity time, for foreign currency payments only NULL VARCHAR2(240) Description NULL DATE Actual Value Date. For use by Cash Management NULL DATE Anticipated Value Date. For use by Cash Management NULL DATE Date and time user released stop payment NULL DATE Date and time user recorded stop payment NULL VARCHAR2(2000) Multiple reporting currencies only: Concatenated string of reporting set of books id and currency conversion date at maturity time pairs

MRC_CLEARED_EXCHANGE_RATE_TYPE

MRC_EXCHANGE_RATE

MRC_EXCHANGE_DATE

MRC_EXCHANGE_RATE_TYPE

MRC_BASE_AMOUNT

MRC_CLEARED_ERROR_BASE_AMOUNT

MRC_CLEARED_CHARGES_BASE_AMT

MRC_STAMP_DUTY_BASE_AMT

MATURITY_EXCHANGE_DATE MATURITY_EXCHANGE_RATE_TYPE

MATURITY_EXCHANGE_RATE DESCRIPTION ACTUAL_VALUE_DATE ANTICIPATED_VALUE_DATE RELEASED_DATE STOPPED_DATE MRC_MATURITY_EXG_DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 28 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(2000) Multiple reporting currencies only: Concatenated string of reporting set of books id and currency conversion rate at maturity time pairs NULL VARCHAR2(2000) Multiple reporting currencies only: Concatenated string of reporting set of books id and currency conversion type at maturity time pairs

MRC_MATURITY_EXG_RATE

MRC_MATURITY_EXG_RATE_TYPE

Indexes Index Name


AP_CHECKS_N1 AP_CHECKS_N2 AP_CHECKS_N3 AP_CHECKS_N4 AP_CHECKS_N5 AP_CHECKS_N6 AP_CHECKS_N7 AP_CHECKS_N8 AP_CHECKS_U1 AP_CHECKS_U2 AP_CHECKS_U3

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

Sequence 1 1 1 1 1 2 2 5 1 1 2 1 2

Column Name CHECK_DATE CHECK_NUMBER CHECKRUN_NAME PAYMENT_TYPE_FLAG REQUEST_ID VENDOR_ID VENDOR_SITE_ID CHECKRUN_ID CHECK_ID CHECK_STOCK_ID CHECK_NUMBER DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE

Sequences Sequence
AP_CHECKS_S AP_CHECK_STOCKS_REFUND_S

Derived Column CHECK_ID CHECK_STOCK_ID

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

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables payment transactions. It fires right before a payment is created. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_CHECKS_ARU1 AFTER ROW UPDATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 29

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables payment transactions. It fires after a row is updated. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_CHECKS_ARU2 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables payment transactions. It fires after a not null document sequence is assigned to the payment. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AP_MRC_CHECKS_BIUD BEFORE ROW INSERT, UPDATE, DELETE

This MRC trigger exists only when you install the Multiple Reporting Currencies feature. It is executed when you perform an insert, update, or delete statement on the table AP_CHECKS_ALL. For each record being inserted/updated/deleted in AP_CHECKS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AP_MC_CHECKS. In addition, this trigger also populates the MRC VARCHAR2 columns in AP_CHECKS_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 30 Oracle Applications Global Accounting Engine Technical Reference Manual

AP_CHECK_STOCKS_ALL
AP_CHECK_STOCKS_ALL stores information about payment documents you defined for bank accounts. You need one row for each payment document you use to create payments for a supplier. Each record in this table must be associated with a bank account. Each bank account corresponds with zero or more rows in this table. When you initiate a payment batch, record a manual payment, or create a Quick payment, you can select a payment document that you defined in this table. For a payment document you use to create automatic payments, DISBURSEMENT_TYPE_LOOKUP_CODE must be COMPUTER GENERATED or COMBINED. For manual payments, it must be RECORDED or COMBINED. Your Oracle Payables application updates the LAST_DOCUMENT_NUM when you create payments in an automatic payment batch, enter a manual payment, or create a Quick payment. This table corresponds to the Payment Documents window.
Foreign Keys Primary Key Table
AP_BANK_ACCOUNTS_ALL AP_CHECK_FORMATS FND_DOC_SEQUENCE_CATEGORIES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS

Primary Key Column BANK_ACCOUNT_ID CHECK_FORMAT_ID CODE CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID

Foreign Key Column BANK_ACCOUNT_ID CHECK_FORMAT_ID DOC_CATEGORY_CODE FUTURE_PAY_CODE_COMBINATION_ID BANK_CHARGES_CCID BANK_ERRORS_CCID CASH_CLEARING_CCID

QuickCodes Columns Column


DISBURSEMENT_TYPE_LOOKUP_CODE

QuickCodes Type DISBURSEMENT TYPE COMBINED COMPUTER GENERATED RECORDED

QuickCodes Table AP_LOOKUP_CODES Payment document used for manual and computer generated payments Payment document used for computer generated payments only Payment document used for manual payments only

Column Descriptions Name


CHECK_STOCK_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY

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

Description Payment document identifier 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 31

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(20) NOT NULL NUMBER(15) NOT NULL VARCHAR2(25) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NULL NULL NULL NULL NUMBER(15) NUMBER(15) VARCHAR2(1) DATE NUMBER(15) Description Name of payment document Bank account identifier Disbursement type for payment document Payment format identifier Last payment number used on a payment document to pay invoices Last payment number available for a payment document Number of checks printed at the beginning of each automatic payment batch No longer used No longer used No longer used Inactive date Accounting Flexfield identifier for intermediate account that Oracle Payables credits when a future dated payment is issued and accounted 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 Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Default Sequential Numbering (voucher number) document category for payment document Organization identifier Accounting Flexfield identifier for the Bank Charges account

NAME BANK_ACCOUNT_ID DISBURSEMENT_TYPE_LOOKUP_CODE CHECK_FORMAT_ID LAST_DOCUMENT_NUM LAST_AVAILABLE_DOCUMENT_NUM NUM_SETUP_CHECKS AUTO_MEDIUM_ID CHECK_RECON_GROUP_ID SEQUENTIAL_FLAG INACTIVE_DATE FUTURE_PAY_CODE_COMBINATION_ID

ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 DOC_CATEGORY_CODE ORG_ID BANK_CHARGES_CCID

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 32 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


BANK_ERRORS_CCID

(Continued)
Null? Type NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(30) Description Accounting Flexfield identifier for the Bank Errors account No longer used Flag that determines whether future dated payments are Allowed (A), Not Allowed (N), or Mandatory (M) for this payment document Accounting Flexfield identifier for the cash clearing account

CLEARING_DAYS FUTURE_DATED_PAYMENTS_FLAG

CASH_CLEARING_CCID

NULL NUMBER(15)

Indexes Index Name


AP_CHECK_STOCKS_U1 AP_CHECK_STOCKS_U2

Index Type UNIQUE UNIQUE

Sequence 1 1 2

Column Name CHECK_STOCK_ID BANK_ACCOUNT_ID NAME

Sequences Sequence
AP_CHECK_STOCKS_S

Derived Column CHECK_STOCK_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 33

AP_DUPLICATE_VENDORS_ALL
AP_DUPLICATE_VENDORS_ALL stores information about suppliers that Supplier Merge updates. The Supplier Merge window inserts information into this table and then the Supplier Merge concurrent process uses this information to merge suppliers.
Foreign Keys Primary Key Table
PO_VENDOR_SITES_ALL PO_VENDOR_SITES_ALL

Primary Key Column VENDOR_SITE_ID VENDOR_SITE_ID

Foreign Key Column VENDOR_SITE_ID DUPLICATE_VENDOR_SITE_ID

QuickCodes Columns Column


PROCESS

QuickCodes Type VENDORMERGE OPTION B I P

QuickCodes Table AP_LOOKUP_CODES Update both purchase orders and invoices Update invoices only Update purchase orders only

Column Descriptions Name


ENTRY_ID (PK) VENDOR_ID DUPLICATE_VENDOR_ID VENDOR_SITE_ID DUPLICATE_VENDOR_SITE_ID NUMBER_UNPAID_INVOICES NUMBER_PAID_INVOICES NUMBER_PO_HEADERS_CHANGED AMOUNT_UNPAID_INVOICES AMOUNT_PAID_INVOICES LAST_UPDATE_DATE LAST_UPDATED_BY PROCESS_FLAG PROCESS KEEP_SITE_FLAG

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

Description Entry identifier Supplier identifier Duplicate supplier identifier Supplier site identifier Duplicate supplier site identifier Number of unpaid invoices transferred Number of paid invoices transferred Number of purchase orders transferred Invoice amount of transferred unpaid invoices Invoice amount of transferred paid invoices Standard Who column Standard Who column Flag that indicates if supplier has been processed Items (purchase orders, invoices, both) to be merged Flag that indicates if old supplier site will be transferred to new supplier as a new supplier site Flag that indicates if paid invoices will be transferred Standard Who column Standard Who column Standard Who column Organization identifier

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

PAID_INVOICES_FLAG LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY ORG_ID

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 34 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes Index Name


AP_DUPLICATE_VENDORS_N1

Index Type NOT UNIQUE

Sequence 1

Column Name PROCESS_FLAG

Sequences Sequence
AP_DUPLICATE_VENDORS_S

Derived Column ENTRY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 35

AP_INVOICES_ALL
AP_INVOICES_ALL contains records for invoices you enter. There is one row for each invoice you enter. An invoice can have one or more invoice distribution lines. An invoice can also have one or more scheduled payments. An invoice of type EXPENSE REPORT must relate to a row in AP_EXPENSE_REPORT_HEADERS_ALL unless the record has been purged from AP_EXPENSE_REPORT_HEADERS_ALL. Your Oracle Payables application uses the INTEREST type invoice for interest that it calculates on invoices that are overdue. Your Oracle Payables application links the interest invoice to the original invoice by inserting the INVOICE_ID in the AP_INVOICE_RELATIONSHIPS table. This table corresponds to the Invoices window.
Foreign Keys Primary Key Table
AP_AWT_GROUPS AP_BATCHES_ALL AP_DOC_SEQUENCE_AUDIT AP_RECURRING_PAYMENTS_ALL AP_TERMS_TL FND_CURRENCIES FND_CURRENCIES FND_DOCUMENT_SEQUENCES FND_DOC_SEQUENCE_CATEGORIES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_TYPES GL_DAILY_CONVERSION_TYPES GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES PA_EXPENDITURE_TYPES PA_EXP_ORGS_IT PA_PROJECTS_ALL PA_TASKS PO_HEADERS_ALL PO_VENDORS PO_VENDOR_SITES_ALL

Primary Key Column GROUP_ID BATCH_ID DOC_SEQUENCE_VALUE DOC_SEQUENCE_ID RECURRING_PAYMENT_ID TERM_ID CURRENCY_CODE CURRENCY_CODE DOC_SEQUENCE_ID CODE CODE_COMBINATION_ID CODE_COMBINATION_ID CONVERSION_TYPE CONVERSION_TYPE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE EXPENDITURE_TYPE ORGANIZATION_ID PROJECT_ID TASK_ID PO_HEADER_ID VENDOR_ID VENDOR_SITE_ID

Foreign Key Column AWT_GROUP_ID BATCH_ID DOC_SEQUENCE_VALUE DOC_SEQUENCE_ID RECURRING_PAYMENT_ID TERMS_ID INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE DOC_SEQUENCE_ID DOC_CATEGORY_CODE ACCTS_PAY_CODE_COMBINATION_ID PA_DEFAULT_DIST_CCID EXCHANGE_RATE_TYPE PAYMENT_CROSS_RATE_TYPE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE EXPENDITURE_TYPE EXPENDITURE_ORGANIZATION_ID PROJECT_ID TASK_ID PO_HEADER_ID VENDOR_ID VENDOR_SITE_ID

QuickCodes Columns Column


INVOICE_TYPE_LOOKUP_CODE

QuickCodes Type INVOICE TYPE AWT CREDIT DEBIT EXPENSE REPORT INTEREST

QuickCodes Table AP_LOOKUP_CODES Withholding tax invoice Credit memo Debit memo Employee expense report Interest invoice

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 36 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type MIXED PREPAYMENT QUICKDEFAULT QUICKMATCH STANDARD QuickCodes Table Mixed type invoice Prepayments and advances PO default standard invoice QuickMatch standard invoice Standard invoice AP_LOOKUP_CODES Check Clearing Electronic Wire AP_LOOKUP_CODES Not paid Partially paid Fully paid AP_LOOKUP_CODES Credit Card eCommerce Gateway ERS Invoice Gateway Intercompany Oracle Assets Oracle Projects Oracle Property Manager Oracle Projects InterCompany Invoices Oracle Projects InterProject Invoices Recurring Invoice Return to Supplier SelfService Applications Payables Expense Reports

PAYMENT_METHOD_LOOKUP_CODE

PAYMENT METHOD CHECK CLEARING EFT WIRE INVOICE PAYMENT STATUS N P Y SOURCE CREDIT CARD EDI GATEWAY ERS INVOICE GATEWAY Intercompany Oracle Assets Oracle Project Accounting Oracle Property Manager PA_IC_INVOICES PA_IP_INVOICES RECURRING INVOICE RTS SelfService XpenseXpress

PAYMENT_STATUS_FLAG

SOURCE

Column Descriptions Name


INVOICE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY VENDOR_ID INVOICE_NUM SET_OF_BOOKS_ID INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE

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

Description Invoice identifier Standard Who column Standard Who column Supplier identifier Invoice number Set of books identifier Currency code of invoice Currency code of payment (must be same as INVOICE_CURRENCY_CODE or have a fixed rate relationship) Exchange rate between invoice and payment; in Release 11 the value is always 1 unless they are associated fixedrate currencies Invoice amount Supplier site identifier Amount paid Amount of discount taken Invoice date

PAYMENT_CROSS_RATE

NOT NULL NUMBER

INVOICE_AMOUNT VENDOR_SITE_ID AMOUNT_PAID DISCOUNT_AMOUNT_TAKEN INVOICE_DATE

NULL NOT NULL NULL NULL NULL

NUMBER NUMBER(15) NUMBER NUMBER DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 37

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(25) VARCHAR2(240) NUMBER(15) NUMBER Description Source of invoice Type of invoice Description Invoice batch identifier Amount of invoice applicable to a discount Tax amount Payment terms identifier Date used with payment terms to calculate scheduled payment of an invoice Name of payment method Name of pay group Accounting Flexfield identifier for accounts payable liability account Flag that indicates if invoice has been paid (Y, N, or P) Standard Who column Standard Who column Invoice amount in functional currency, only used for foreign currency invoices Tax code Standard Who column Pay invoice on separate payment document flag Purchase order identifier for invoices with QUICKMATCH and PO DEFAULT types, and prepayments associated with purchase order Freight amount used to calculate invoice amount available for discount and provide defaults for automatic proration Date invoice items received Date invoice received Voucher number; validated (Sequential Numbering enabled) or nonvalidated (Sequential Numbering not enabled) Invoice amount approved through manual authorization for payment (used for reference purposes only) Recurring invoice identifier Exchange rate for foreign currency invoice Exchange rate type for foreign currency invoice Date exchange rate is effective, usually accounting date of a transaction

SOURCE INVOICE_TYPE_LOOKUP_CODE DESCRIPTION BATCH_ID AMOUNT_APPLICABLE_TO_DISCOUNT TAX_AMOUNT TERMS_ID TERMS_DATE PAYMENT_METHOD_LOOKUP_CODE PAY_GROUP_LOOKUP_CODE ACCTS_PAY_CODE_COMBINATION_ID PAYMENT_STATUS_FLAG CREATION_DATE CREATED_BY BASE_AMOUNT VAT_CODE LAST_UPDATE_LOGIN EXCLUSIVE_PAYMENT_FLAG PO_HEADER_ID

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

FREIGHT_AMOUNT

NULL NUMBER

GOODS_RECEIVED_DATE INVOICE_RECEIVED_DATE VOUCHER_NUM

NULL DATE NULL DATE NULL VARCHAR2(50)

APPROVED_AMOUNT

NULL NUMBER

RECURRING_PAYMENT_ID EXCHANGE_RATE EXCHANGE_RATE_TYPE EXCHANGE_DATE

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 38 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL DATE Description Date associated with a prepayment after which you can apply the prepayment against invoices. Only used for temporary prepayments. Column is null for permanent prepayments and other invoice types No longer used Sequential Numbering (voucher number) document sequence identifier Voucher number (Sequential Numbering) for invoice Sequential Numbering (voucher number) document category 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 Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield structure defining column Status of manual authorization invoice approval (used for reference purposes only) Description of manual authorization invoice approval (used for reference purposes only) No longer used Status that indicates if invoice can be posted (either Available or N column is populated, but not used) No longer used Person authorizing a prepayment

EARLIEST_SETTLEMENT_DATE

ORIGINAL_PREPAYMENT_AMOUNT DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE DOC_CATEGORY_CODE ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE_CATEGORY APPROVAL_STATUS APPROVAL_DESCRIPTION

NULL NUMBER NULL NUMBER NULL NUMBER 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 VARCHAR2(150) NULL VARCHAR2(25) NULL VARCHAR2(240)

INVOICE_DISTRIBUTION_TOTAL POSTING_STATUS

NULL NUMBER NULL VARCHAR2(15)

PREPAY_FLAG AUTHORIZED_BY

NULL VARCHAR2(1) NULL VARCHAR2(25)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 39

Column Descriptions Name


CANCELLED_DATE CANCELLED_BY CANCELLED_AMOUNT

(Continued)
Null? Type NULL DATE NULL NUMBER(15) Description Date invoice cancelled User ID of person who cancelled an invoice NULL NUMBER Original amount of cancelled invoice NULL NUMBER Column for recording the original amount of an invoice until cancellation completes successfully NULL VARCHAR2(30) Oracle Projects Descriptive Flexfield context column NULL VARCHAR2(30) Default transaction code for creating US Standard General Ledger journal entries (Oracle Public Sector Payables) NULL VARCHAR2(30) USSGL Transaction Code Descriptive Flexfield context column NULL NUMBER(15) Identifier for project used to build default Accounting Flexfield NULL NUMBER(15) Identifier for project task used to build default Accounting Flexfield NULL VARCHAR2(30) Project expenditure type used to build default Accounting Flexfield NULL DATE Project expenditure item date used to build default Accounting Flexfield NULL NUMBER(22,5) Project item quantity used to build default Accounting Flexfield NULL NUMBER(15) Identifier for project organization used to build default Accounting Flexfield NULL NUMBER(15) Identifier for projectrelated invoice default Accounting Flexfield (defaults to invoice distribution lines) NULL NUMBER No longer used NULL NUMBER Amount of invoice that has been paid NULL VARCHAR2(1) Flag to indicate if Automatic Withholding Tax has been calculated automatically (A), or manually (M) NULL NUMBER(15) Withholding tax group identifier NULL VARCHAR2(30) Reference information from Oracle Projects expense reports NULL VARCHAR2(30) Reference information from Oracle Projects expense reports NULL NUMBER(15) Organization identifier NULL NUMBER Reserved for future use NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality

TEMP_CANCELLED_AMOUNT

PROJECT_ACCOUNTING_CONTEXT USSGL_TRANSACTION_CODE

USSGL_TRX_CODE_CONTEXT PROJECT_ID TASK_ID EXPENDITURE_TYPE EXPENDITURE_ITEM_DATE PA_QUANTITY EXPENDITURE_ORGANIZATION_ID PA_DEFAULT_DIST_CCID

VENDOR_PREPAY_AMOUNT PAYMENT_AMOUNT_TOTAL AWT_FLAG

AWT_GROUP_ID REFERENCE_1 REFERENCE_2 ORG_ID PRE_WITHHOLDING_AMOUNT GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 40 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description 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(1) Flag that indicates whether tax amount is automatically calculated for the tax code entered on an invoice. Possible values are: Y for header level, L for line level, T for tax code level and N for no automatic tax calculation NULL VARCHAR2(30) Cross currency payment rate type (only valid value in this release is EMU Fixed) NULL DATE Cross currency payment rate date NULL NUMBER Invoice amount in the payment currency NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID and invoice amount in the reporting currency pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID and currency conversion rate pairs

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 AUTO_TAX_CALC_FLAG

PAYMENT_CROSS_RATE_TYPE PAYMENT_CROSS_RATE_DATE PAY_CURR_INVOICE_AMOUNT MRC_BASE_AMOUNT

MRC_EXCHANGE_RATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 41

Column Descriptions Name

(Continued)
Null? Type Description 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 NOT NULL DATE Accounting date to default to invoice distributions NULL NUMBER(15) Reserved for use by Oracle Grants Management

MRC_EXCHANGE_RATE_TYPE

MRC_EXCHANGE_DATE

GL_DATE AWARD_ID

Indexes Index Name


AP_INVOICES_N1 AP_INVOICES_N10 AP_INVOICES_N11 AP_INVOICES_N12 AP_INVOICES_N13 AP_INVOICES_N14 AP_INVOICES_N2 AP_INVOICES_N3 AP_INVOICES_N4 AP_INVOICES_N5 AP_INVOICES_N6 AP_INVOICES_N7 AP_INVOICES_N8 AP_INVOICES_N9 AP_INVOICES_U1 AP_INVOICES_U2 AP_INVOICES_U3

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

Sequence 1 1 1 2 2 5 5 1 1 1 1 1 1 1 1 1 1 2 3 1 2

Column Name BATCH_ID PO_HEADER_ID PROJECT_ID TASK_ID VOUCHER_NUM DOC_SEQUENCE_VALUE GLOBAL_ATTRIBUTE1 VENDOR_ID PAYMENT_STATUS_FLAG INVOICE_AMOUNT INVOICE_DATE INVOICE_NUM VENDOR_SITE_ID CREATION_DATE INVOICE_TYPE_LOOKUP_CODE INVOICE_ID VENDOR_ID INVOICE_NUM ORG_ID DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE

Sequences Sequence
AP_INVOICES_S

Derived Column INVOICE_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICES_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables invoices. It fires right after the invoice is canceled.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 42 Oracle Applications Global Accounting Engine Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AX_AP_INVOICES_ARU2 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables invoices. It fires right after a document sequence is assigned to the invoice. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICES_ARU3 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables invoices. It fires right after the vendor on the invoice is changed. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICES_BRDI1 BEFORE ROW INSERT, DELETE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events for Oracle Payables invoices. It fires right before the invoice is created or deleted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AP_MRC_INVOICES_BIUD BEFORE ROW INSERT, UPDATE, DELETE

This MRC trigger exists only when you install the Multiple Reporting Currencies feature. It is executed when you perform an insert, update, or delete statement on the table AP_INVOICES_ALL. For each record being inserted/updated/deleted in AP_INVOICES_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AP_MC_INVOICES. In addition, this trigger also populates the MRC VARCHAR2 columns in AP_INVOICES_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 43

AP_INVOICE_DISTRIBUTIONS_ALL
AP_INVOICE_DISTRIBUTIONS_ALL holds the distribution line information that you enter for invoices. There is a row for each invoice distribution. A distribution line must be associated with an invoice. An invoice can have multiple distribution lines. Your Oracle Payables application automatically creates rows in this table when: 1) you choose a distribution set at the invoice level 2) you import expense reports 3) you match an invoice to a purchase order or receipt; it uses information from the matched purchase order or receipt 4) you import invoices via the Open Interface Import process 5) you select to automatically calculate tax 6) you select to automatically do withholding. Each invoice distribution line has its own accounting date. When you account for an invoice, your Oracle Payables application creates accounting events, accounting entry headers and accounting entry lines for those distribution lines that have accounting dates included in the selected accounting date range for the Payables Accounting Process. The accounting entries can then be transferred over to General Ledger by running the Transfer to General Ledger process which creates journal entries. Values for POSTED_FLAG may be Y for accounted distributions or N for distributions that have not been accounted. Values for ACCRUAL_POSTED_FLAG may be Y if distribution has been accounted and system is set up for accrual basis accounting or N if either distribution has not been accounted or accrual basis accounting is not used. Values for CASH_POSTED_FLAG may be Y if distribution has been accounted and system is set up for cash basis accounting, N if either distribution has not been accounted or system is not set up for cash basis accounting or P if distribution has been partially accounted in the cash set of books. The MATCH_STATUS_FLAG indicates the approval status for the distribution. Values for the MATCH_STATUS_FLAG can be null or N for invoice distributions that Approval has not tested or T for distributions that have been tested or A for distributions that have been tested and approved. Invoice distributions may be interfaced over/from Oracle Assets or Oracle Projects. Your Oracle Payables application sets the
Oracle Proprietary, Confidential InformationUse Restricted by Contract
3 44 Oracle Applications Global Accounting Engine Technical Reference Manual

ASSETS_ADDITION_FLAG to U for distributions not tested by Oracle Assets; Oracle Assets then adjusts this flag after it tests a distribution for assignment as an asset. To avoid the same invoice distribution being interfaced to both Oracle Projects and Oracle Assets, you must interface any projectrelated invoice distribution to Oracle Projects before you can interface it to Oracle Assets. If the projectrelated invoice distribution is charged to a capital project in Oracle Projects, Oracle Projects sets the ASSET_ADDITION_FLAG to P when the PA_ADDITION_FLAG is set to Y, Z or T. Oracle Assets only picks up invoice distributions with the ASSET_ADDITION_FLAG set to U and if projectrelated, with the PA_ADDITION_FLAG set to Y, Z, or T. PA_ADDITION_FLAG tracks the status of projectrelated supplier invoice distribution lines and expense report distribution lines. For supplier invoice distributions entered via Oracle Payables, the PA_ADDITION_FLAG is set to N if the distribution is projectrelated, otherwise it is set to E and it is updated by Oracle Projects when the distribution is processed by the Oracle Projects Interface Supplier Invoice process. Oracle Projects sets the PA_ADDITION_FLAG to Y or Z after the item is successfully processed, or may be set to a rejection code if the line is rejected during transfer to Oracle Projects; see QuickCodes listing for all the errors. You must correct the rejection reason and try to retransfer the line. For supplier invoice adjustment lines interfaced from Oracle Projects to Oracle Payables (which must net to zero with another line), the value for the PA_ADDITION_FLAG is set to T. For expense report distributions interfaced from Oracle Projects to Oracle Payables via Invoice Import, this value is set to N. This row is never picked up by the Interface Supplier Invoices process based on the AP_INVOICES.INVOICE_TYPE_LOOKUP_CODE = EXPENSE REPORT. For expense report adjustment lines interfaced from Oracle Projects to Oracle Payables which net to zero with another line, this value is set to T. Both lines are associated with the original invoice by the Oracle Projects Interface Expense Reports to AP process. Values for the ENCUMBERED_FLAG are as follows: Y indicates a regular distribution that has been successfully encumbered by Payables; W indicates a regular distribution that has been encumbered in advisory mode even though insufficient funds existed; H indicates a regular distribution that has not been encumbered because it was put on hold; N or null indicates a regular line that has not been encumbered because it has not been looked at yet; D is the same as Y for a reversal distribution line; X is the same as W for a reversal distribution line; P is the same as H for a reversal distribution line; R indicates a line to be ignored by encumbrance and approval code because neither the original nor the reversal distributions were looked at and they offset each other so, they can be ignored.
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Detailed Design 3 45

This table corresponds to the Distributions window.


Foreign Keys Primary Key Table
AP_ACCOUNTING_EVENTS_ALL AP_AWT_GROUPS AP_AWT_GROUPS AP_AWT_TAX_RATES_ALL AP_BATCHES_ALL AP_INCOME_TAX_REGIONS AP_INVOICES_ALL AP_INVOICES_ALL AP_INVOICES_ALL AP_INVOICE_DISTRIBUTIONS_ALL AP_INVOICE_PAYMENTS_ALL AP_TAX_CODES_ALL FND_CURRENCIES GL_BC_PACKETS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_TYPES GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES PA_EXPENDITURE_TYPES PA_EXP_ORGS_IT PA_PROJECTS_ALL PA_TASKS PO_DISTRIBUTIONS_ALL RCV_TRANSACTIONS

Primary Key Column ACCOUNTING_EVENT_ID GROUP_ID GROUP_ID TAX_RATE_ID BATCH_ID REGION_SHORT_NAME INVOICE_ID INVOICE_ID INVOICE_ID INVOICE_DISTRIBUTION_ID INVOICE_PAYMENT_ID TAX_ID CURRENCY_CODE PACKET_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CONVERSION_TYPE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE EXPENDITURE_TYPE ORGANIZATION_ID PROJECT_ID TASK_ID PO_DISTRIBUTION_ID TRANSACTION_ID

Foreign Key Column ACCOUNTING_EVENT_ID AWT_GROUP_ID AWT_ORIGIN_GROUP_ID AWT_TAX_RATE_ID BATCH_ID INCOME_TAX_REGION INVOICE_ID PARENT_INVOICE_ID AWT_INVOICE_ID PREPAY_DISTRIBUTION_ID AWT_INVOICE_PAYMENT_ID TAX_CODE_ID RECEIPT_CURRENCY_CODE PACKET_ID DIST_CODE_COMBINATION_ID RATE_VAR_CODE_COMBINATION_ID PRICE_VAR_CODE_COMBINATION_ID EXCHANGE_RATE_TYPE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE EXPENDITURE_TYPE EXPENDITURE_ORGANIZATION_ID PROJECT_ID TASK_ID PO_DISTRIBUTION_ID RCV_TRANSACTION_ID

QuickCodes Columns Column


DIST_MATCH_TYPE

QuickCodes Type DIST_MATCH_TYPE IP IR Null OR

QuickCodes Table AP_LOOKUP_CODES Item distribution Matched to Purchase Order Item distribution Matched to Receipt Not Matched Other Charge distribution matched to Receipt ap_lookup_codes Done No Yes AP_LOOKUP_CODES Withholding Tax Freight ICMS IPI Item Miscellaneous Prepayment

FINAL_MATCH_FLAG

FINAL MATCH CODE D N Y INVOICE DISTRIBUTION TYPE AWT FREIGHT ICMS IPI ITEM MISCELLANEOUS PREPAY

LINE_TYPE_LOOKUP_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 46 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type TAX PA_ADDITION_FLAG A B C D E I J K M N P Q S T V X Y Z QuickCodes Table Tax PA_LOOKUPS Accumulation error (obsolete in V4) No open PA period Task does not allow charges Outside project dates Nonproject related invoice distributions Outside task dates Project level transaction controls violated Task level transaction controls violated Invalid project/task combination New line not yet processed by Oracle Projects Project is closed Transaction control extension violated Temporary status used during processing Adjustment line transferred from Oracle Projects Invalid data (catchall error) Burdening error Transferred to Oracle Projects Net zero adjustment line. Never transferred to PA

PA_ADDITION_FLAG

Column Descriptions Name


ACCOUNTING_DATE ACCRUAL_POSTED_FLAG

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

Description Accounting date Flag that indicates if distribution has been accounted for in the accrual set of books (Y or N) Flag that indicates if distribution has been transferred into Oracle Assets (U, Y, or N) Flag that indicates if distribution line is tracked in Oracle Assets (Y or N) Flag that indicates if distribution has been accounted for in the cash set of books (Y or N) Distribution line number Accounting flexfield identifier for account associated with a distribution line Invoice identifier Standard Who column Standard Who column Name of line type

ASSETS_ADDITION_FLAG

NOT NULL VARCHAR2(1)

ASSETS_TRACKING_FLAG CASH_POSTED_FLAG

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

DISTRIBUTION_LINE_NUMBER DIST_CODE_COMBINATION_ID INVOICE_ID (PK) LAST_UPDATED_BY LAST_UPDATE_DATE LINE_TYPE_LOOKUP_CODE

(PK)

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 47

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(15) NOT NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER NULL NUMBER Description Accounting period name Set of books identifier No longer used Invoice distribution amount Amount of invoice in functional currency, only used for foreign currency invoices NULL NUMBER Price variance amount in functional currency for invoice distribution line matched to a purchase order or receipt NULL NUMBER(15) Invoice batch identifier NULL NUMBER(15) Standard Who column NULL DATE Standard Who column NULL VARCHAR2(240) Description NULL NUMBER Amount of exchange rate variance for invoice distribution line matched to a purchase order or receipt NULL VARCHAR2(1) Final match indicator for distribution line matched to a purchase order. NULL VARCHAR2(10) Reporting region for distribution line for 1099 supplier NULL NUMBER Amount of price variance in invoice currency for invoice distribution line matched to a purchase order or receipt NULL NUMBER(15) Standard Who column NULL VARCHAR2(1) Approval status NULL VARCHAR2(1) Flag that indicates if invoice distribution line has been accounted NULL NUMBER(15) Purchase order distribution line identifier for purchase order or receipt matched invoice distributions NULL NUMBER(15) Concurrent Who column NULL NUMBER(15) Concurrent Who column NULL DATE Concurrent Who column NULL NUMBER Quantity billed for purchase order or receipt matched invoice distributions NULL NUMBER(15) Accounting Flexfield identifier for exchange rate variance account for distribution line NULL NUMBER(15) Concurrent Who column NULL VARCHAR2(1) Flag that indicates if distribution line is reversing another distribution line NULL VARCHAR2(10) 1099 type NULL NUMBER Unit price for purchase order or receipt matched invoice distributions NULL VARCHAR2(15) No longer used NULL NUMBER No longer used NULL NUMBER No longer used NULL VARCHAR2(1) Flag indicating encumbrance status of distribution line

PERIOD_NAME SET_OF_BOOKS_ID ACCTS_PAY_CODE_COMBINATION_ID AMOUNT BASE_AMOUNT BASE_INVOICE_PRICE_VARIANCE

BATCH_ID CREATED_BY CREATION_DATE DESCRIPTION EXCHANGE_RATE_VARIANCE

FINAL_MATCH_FLAG INCOME_TAX_REGION INVOICE_PRICE_VARIANCE

LAST_UPDATE_LOGIN MATCH_STATUS_FLAG POSTED_FLAG PO_DISTRIBUTION_ID

PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE QUANTITY_INVOICED RATE_VAR_CODE_COMBINATION_ID REQUEST_ID REVERSAL_FLAG TYPE_1099 UNIT_PRICE VAT_CODE AMOUNT_ENCUMBERED BASE_AMOUNT_ENCUMBERED ENCUMBERED_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 48 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


EXCHANGE_DATE EXCHANGE_RATE

(Continued)
Null? Type NULL DATE NULL NUMBER NULL VARCHAR2(30) NULL VARCHAR2(1) NULL NUMBER(15) Description Date exchange rate is effective for foreign currency invoices Exchange rate for a foreign currency invoice Exchange rate type for a foreign currency invoice No longer used Accounting Flexfield identifier for price variance account associated with a distribution line matched to a purchase order or receipt No longer used Amount associated with a distribution line for measuring statistical quantities No longer used 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 Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield structure defining column No longer used No longer used Date for project expenditure item used to build Accounting Flexfield for projectrelated distribution line Identifier for project organization used to build Accounting Flexfield for projectrelated distribution line

EXCHANGE_RATE_TYPE PRICE_ADJUSTMENT_FLAG PRICE_VAR_CODE_COMBINATION_ID

QUANTITY_UNENCUMBERED STAT_AMOUNT AMOUNT_TO_POST ATTRIBUTE1 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE_CATEGORY BASE_AMOUNT_TO_POST CASH_JE_BATCH_ID EXPENDITURE_ITEM_DATE

NULL NUMBER NULL 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) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL NUMBER NULL NUMBER(15) NULL DATE

EXPENDITURE_ORGANIZATION_ID

NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 49

Column Descriptions Name


EXPENDITURE_TYPE

(Continued)
Null? Type NULL VARCHAR2(30) Description Project expenditure type used to build Accounting Flexfield for projectrelated distribution line No longer used Identifier for invoice matched to a credit or debit memo Flag that indicates if project related invoice distributions have been transferred into Oracle Projects Project item quantity used to build Accounting Flexfield for projectrelated distribution line No longer used No longer used Amount of prepayment that can still be applied to an invoice Oracle Projects Descriptive Flexfield context column Identifier for project used to build Accounting Flexfield for projectrelated distribution line Identifier for project task used to build Accounting Flexfield for projectrelated distribution line Transaction code for creating US Standard General Ledger journal entries (Oracle Public Sector Payables) USSGL Transaction Code Descriptive Flexfield context column No longer used No longer used Quantity variance amount for invoice distribution lines matched to purchase order or receipt Quantity variance amount in functional currency for invoice distribution lines matched to purchase order or receipt Budgetary control packet identifier for lines that fail funds checking Flag to determine if distribution is subject to withholding tax (Y, N, null) Withholding tax group identifier Withholding tax rate identifier Amount subject to withholding tax Refers to the withholding tax invoice created from this distribution

JE_BATCH_ID PARENT_INVOICE_ID PA_ADDITION_FLAG

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

PA_QUANTITY

NULL NUMBER(22,5)

POSTED_AMOUNT POSTED_BASE_AMOUNT PREPAY_AMOUNT_REMAINING PROJECT_ACCOUNTING_CONTEXT PROJECT_ID

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

TASK_ID

NULL NUMBER(15)

USSGL_TRANSACTION_CODE

NULL VARCHAR2(30)

USSGL_TRX_CODE_CONTEXT EARLIEST_SETTLEMENT_DATE REQ_DISTRIBUTION_ID QUANTITY_VARIANCE

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

BASE_QUANTITY_VARIANCE

NULL NUMBER

PACKET_ID AWT_FLAG AWT_GROUP_ID AWT_TAX_RATE_ID AWT_GROSS_AMOUNT AWT_INVOICE_ID

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 50 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) Description Foreign key to AP_AWT_GROUPS; refers to the parent withholding tax group; this column is only populated for automatically created withholding tax distributions Reference information from Oracle Projects expense reports or other external source invoice loading program Reference information from Oracle Projects expense reports or other external source invoice loading program Organization identifier No longer used Refers to the parent invoice payment. This column is populated only for automatically created withholding tax distributions at payment time 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

AWT_ORIGIN_GROUP_ID

REFERENCE_1

NULL VARCHAR2(30)

REFERENCE_2

NULL VARCHAR2(30)

ORG_ID OTHER_INVOICE_ID AWT_INVOICE_PAYMENT_ID

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

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

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 51

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(1) Indicates whether the amount in the AMOUNT column includes tax. Used for Automatic Tax Calculation NULL VARCHAR2(1) Flag indicating whether tax has automatically been calculated on the distribution NULL NUMBER(15) Value to identify each item line to which you want to prorate NULL VARCHAR2(1) Indicates whether receipts verified NULL VARCHAR2(1) Indicates whether receipts required NULL VARCHAR2(1) Indicates whether receipts missing NULL VARCHAR2(240) Expense justification NULL VARCHAR2(80) Expense group NULL DATE Date when incurred expense started. Used for Expense Reports NULL DATE Date when incurred expense ended. Used for Expense Reports NULL VARCHAR2(15) Currency code of receipt. Used for Expense Reports NULL NUMBER Exchange rate for currency of receipt. Used for Expense Reports NULL NUMBER Amount in receipt currency. Used for Expense Reports NULL NUMBER Daily expense amount. Used for Expense Reports NULL NUMBER SelfService Web Applications parameter identifier NULL VARCHAR2(240) Reason for expense adjustment NULL NUMBER(15) Reserved for use by Oracle Grants Management NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and expense account associated with distribution line pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and invoice in primary currency pairs, only applicable for foreign currency invoices NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and price variance amount in primary currency for invoice distribution line matched to a purchase order pairs

GLOBAL_ATTRIBUTE20 AMOUNT_INCLUDES_TAX_FLAG

TAX_CALCULATED_FLAG LINE_GROUP_NUMBER RECEIPT_VERIFIED_FLAG RECEIPT_REQUIRED_FLAG RECEIPT_MISSING_FLAG JUSTIFICATION EXPENSE_GROUP START_EXPENSE_DATE END_EXPENSE_DATE RECEIPT_CURRENCY_CODE RECEIPT_CONVERSION_RATE RECEIPT_CURRENCY_AMOUNT DAILY_AMOUNT WEB_PARAMETER_ID ADJUSTMENT_REASON AWARD_ID MRC_DIST_CODE_COMBINATION_ID

MRC_BASE_AMOUNT

MRC_BASE_INV_PRICE_VARIANCE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 52 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and currency conversion rate variance for invoice distribution line matched to a purchase order pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and currency conversion rate variance account for distribution line 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: Concatenated string 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 currency conversion rate type pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id, currency conversion rate from receipt currency to reporting functional currency pairs NULL VARCHAR2(25) Flag that indicates type of distribution match NULL NUMBER(15) Receipt identifier for receipt matched invoice distributions NOT NULL NUMBER(15) Unique identifier for this table NULL NUMBER(15) Invoice distribution identifier for distribution being reversed by the current distribution NULL NUMBER Tax recovery rate for distribution. Used when partially recoverable tax is enabled NULL VARCHAR2(1) Y or N indicates if the user overwrote the default tax recovery rate. If the user overwrote the recovery rate, this overwritten rate is recorded and should not be redefault. Null indicates no nonrecoverable tax enabled NULL VARCHAR2(1) Indicates whether this tax line is recoverable or not. Used for tax lines NULL VARCHAR2(1) Indicates if the user overwrote the tax code. (Y or N). Tax code is not redefaulted after user overwrites it NULL NUMBER(15) The tax code that was used on this distribution for the invoice date

MRC_EXCHANGE_RATE_VARIANCE

MRC_RATE_VAR_CCID

MRC_EXCHANGE_DATE

MRC_EXCHANGE_RATE

MRC_EXCHANGE_RATE_TYPE

MRC_RECEIPT_CONVERSION_RATE

DIST_MATCH_TYPE RCV_TRANSACTION_ID INVOICE_DISTRIBUTION_ID PARENT_REVERSAL_ID TAX_RECOVERY_RATE

TAX_RECOVERY_OVERRIDE_FLAG

TAX_RECOVERABLE_FLAG TAX_CODE_OVERRIDE_FLAG

TAX_CODE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 53

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) Description Identifier of the corresponding receivable intercompany invoice in Oracle Receivables NULL NUMBER(15) Line number of the corresponding receivable intercompany invoice in Oracle Receivables NULL VARCHAR2(1) Indicates the processing status of this invoice line by Oracle Projects in the Receiver Operating Unit NULL VARCHAR2(80) Third party document number. Used for Expense Reports NULL VARCHAR2(80) Third party name. Used for Expense Reports NULL VARCHAR2(240) Third party reference. Used for Expense Reports NULL VARCHAR2(80) Third party tax registration number. Used for Expense Reports NULL VARCHAR2(80) Third party tax identification number. Used for Expense Reports NULL VARCHAR2(5) Country where services or goods were originated. Used for Expense Reports NULL VARCHAR2(25) UOM used for the quantity invoiced during matching of this distributions NULL NUMBER(22,5) Burdenable Raw Cost NULL NUMBER(15) Accounting event identifier. Refers to the accounting event that accounted for the distribution NULL NUMBER(15) Invoice distribution identifier for the distribution on the prepayment that originated the prepayment application represented by the current distribution NULL NUMBER(15) Credit card transaction identifier NULL NUMBER This column is only used during the upgrade t create accounting entries for Cash basis accounting NULL NUMBER This column is only used during the upgrade t create accounting entries for Cash basis accounting NULL VARCHAR2(1) Inventory transfer status indicates whether the invoice distribution has been processed by the transfer invoice variance program. A value of N indicates that the distribution has not been transferred. A value of NULL indicates that either the distribution was transferred or is not eligible for transfer to inventory valuation. The default value of this column at the time of distribution creation is N

PA_CC_AR_INVOICE_ID PA_CC_AR_INVOICE_LINE_NUM

PA_CC_PROCESSED_CODE

MERCHANT_DOCUMENT_NUMBER MERCHANT_NAME MERCHANT_REFERENCE MERCHANT_TAX_REG_NUMBER MERCHANT_TAXPAYER_ID COUNTRY_OF_SUPPLY MATCHED_UOM_LOOKUP_CODE GMS_BURDENABLE_RAW_COST ACCOUNTING_EVENT_ID

PREPAY_DISTRIBUTION_ID

CREDIT_CARD_TRX_ID UPGRADE_POSTED_AMT

UPGRADE_BASE_POSTED_AMT

INVENTORY_TRANSFER_STATUS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 54 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes Index Name


AP_INVOICE_DISTRIBUTIONS_N10 AP_INVOICE_DISTRIBUTIONS_N11 AP_INVOICE_DISTRIBUTIONS_N12 AP_INVOICE_DISTRIBUTIONS_N13 AP_INVOICE_DISTRIBUTIONS_N14 AP_INVOICE_DISTRIBUTIONS_N15 AP_INVOICE_DISTRIBUTIONS_N16 AP_INVOICE_DISTRIBUTIONS_N17 AP_INVOICE_DISTRIBUTIONS_N18 AP_INVOICE_DISTRIBUTIONS_N19 AP_INVOICE_DISTRIBUTIONS_N2 AP_INVOICE_DISTRIBUTIONS_N3 AP_INVOICE_DISTRIBUTIONS_N4 AP_INVOICE_DISTRIBUTIONS_N5 AP_INVOICE_DISTRIBUTIONS_N6 AP_INVOICE_DISTRIBUTIONS_N7 AP_INVOICE_DISTRIBUTIONS_N8 AP_INVOICE_DISTRIBUTIONS_N9 AP_INVOICE_DISTRIBUTIONS_U1 AP_INVOICE_DISTRIBUTIONS_U2

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 2 1 3 5 1 2 5 5 5 1 1 1 1 1 1 1 1 1 2 5

Column Name RATE_VAR_CODE_COMBINATION_ID PRICE_VAR_CODE_COMBINATION_ID PARENT_INVOICE_ID PROJECT_ID TASK_ID PA_ADDITION_FLAG PROJECT_ID REQUEST_ID AWT_INVOICE_PAYMENT_ID AWT_INVOICE_ID RCV_TRANSACTION_ID ACCOUNTING_EVENT_ID INVENTORY_TRANSFER_STATUS POSTED_FLAG DIST_CODE_COMBINATION_ID ACCOUNTING_DATE BATCH_ID ASSETS_ADDITION_FLAG PO_DISTRIBUTION_ID ACCRUAL_POSTED_FLAG CASH_POSTED_FLAG INVOICE_ID DISTRIBUTION_LINE_NUMBER INVOICE_DISTRIBUTION_ID

NOT UNIQUE NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequences Sequence
AP_INVOICE_DISTRIBUTIONS_S

Derived Column INVOICE_DISTRIBUTION_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICE_DIST_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Payables invoices. It fires right after each invoice distribution line s matching status, accrual posting flag, or accounting date is changed. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICE_DIST_ARDI1 AFTER ROW INSERT, DELETE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Payables invoices. It fires right after each invoice distribution line is created or deleted.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 55

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AP_MRC_INVOICE_DISTS_BIUD BEFORE ROW INSERT, UPDATE, DELETE

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

This trigger prevents Payables from automatically creating Tax Variance and Tax Amount Range holds when Brazilian taxes exist. This trigger is installed and active only if Oracle Financials for the Americas has been installed. The validation is performed when the current country is Brazil.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 56 Oracle Applications Global Accounting Engine Technical Reference Manual

AP_INVOICE_PAYMENTS_ALL
AP_INVOICE_PAYMENTS_ALL contains records of invoice payments that you made to suppliers. There is one row for each payment you make for each invoice. There is one payment and one invoice for each payment in this table. Your Oracle Payables application updates this table when you confirm an automatic payment batch, enter a manual payment, or process a Quick payment. When you void a payment, your Oracle Payables application inserts an additional payment line that is the negative of the original payment line. Values for POSTED_FLAG may be Y for accounted payments or N for unaccounted payments. Values for ACCRUAL_POSTED_FLAG may be Y for accounted payments or N for unaccounted payments under accrual basis accounting; values for CASH_POSTED_FLAG may be Y for accounted payments or N for unaccounted payments under cash basis accounting. For manual payments and Quick payments, this table corresponds to the Select Invoices window in the Payment workbench.
Foreign Keys Primary Key Table
AP_ACCOUNTING_EVENTS_ALL AP_CHECKS_ALL AP_INVOICES_ALL AP_PAYMENT_SCHEDULES_ALL GL_DAILY_CONVERSION_TYPES GL_PERIODS GL_SETS_OF_BOOKS

Primary Key Column ACCOUNTING_EVENT_ID CHECK_ID INVOICE_ID INVOICE_ID PAYMENT_NUM CONVERSION_TYPE PERIOD_NAME SET_OF_BOOKS_ID

Foreign Key Column ACCOUNTING_EVENT_ID CHECK_ID INVOICE_ID INVOICE_ID PAYMENT_NUM EXCHANGE_RATE_TYPE PERIOD_NAME SET_OF_BOOKS_ID

Column Descriptions Name


ACCOUNTING_EVENT_ID ACCOUNTING_DATE ACCRUAL_POSTED_FLAG AMOUNT CASH_POSTED_FLAG CHECK_ID INVOICE_ID INVOICE_PAYMENT_ID LAST_UPDATED_BY LAST_UPDATE_DATE PAYMENT_NUM PERIOD_NAME

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

Description Accounting Event Identifier Accounting date Flag that indicates if the payment has been accounted in accrual set of books (Y or N) Payment amount Flag that indicates if the payment has been accounted in cash set of books (Y or N) Payment identifier Invoice identifier Invoice payment identifier Standard Who column Standard Who column Payment number Period name

(PK)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 57

Column Descriptions Name


POSTED_FLAG

(Continued)
Null? Type NOT NULL VARCHAR2(1) NOT NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER(15) DATE NUMBER(15) VARCHAR2(30) VARCHAR2(25) VARCHAR2(25) NUMBER NUMBER DATE Description Flag that indicates if the payment has been accounted (Y or N) Set of books identifier Accounting Flexfield identifier for accounts payable liability account Accounting Flexfield identifier for cash account Standard Who column Standard Who column Standard Who column Bank account number Bank account type code Bank number Amount of discount lost Amount of discount taken Date for which exchange rate is obtained from daily rates table Exchange rate for a foreign currency payment Exchange rate type for a foreign currency payment Accounting Flexfield identifier for account to which realized exchange rate gains are posted Payment amount in functional currency at invoices exchange rate, only used for foreign currency invoice payments Accounting Flexfield identifier for account to which realized exchange rate losses are posted Payment amount at payments exchange rate, only used for foreign currency invoice payments Descriptive flexfield segment 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 Descriptive flexfield segment Descriptive flexfield segment Descriptive Flexfield segment column Descriptive Flexfield segment column Descriptive Flexfield segment column

SET_OF_BOOKS_ID ACCTS_PAY_CODE_COMBINATION_ID ASSET_CODE_COMBINATION_ID CREATED_BY CREATION_DATE LAST_UPDATE_LOGIN BANK_ACCOUNT_NUM BANK_ACCOUNT_TYPE BANK_NUM DISCOUNT_LOST DISCOUNT_TAKEN EXCHANGE_DATE EXCHANGE_RATE EXCHANGE_RATE_TYPE GAIN_CODE_COMBINATION_ID INVOICE_BASE_AMOUNT

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

LOSS_CODE_COMBINATION_ID PAYMENT_BASE_AMOUNT

NULL NUMBER(15) NULL NUMBER

ATTRIBUTE1 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7

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

NULL VARCHAR2(150) NULL VARCHAR2(150)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 58 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE8 ATTRIBUTE9

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield segment column NULL VARCHAR2(150) Descriptive Flexfield structure defining column NULL NUMBER(15) No longer used NULL NUMBER(15) No longer used NULL VARCHAR2(1) No longer used NULL NUMBER(15) No longer used NULL NUMBER(15) No longer used NULL VARCHAR2(1) Flag that indicates if discounts on invoice payment have been transferred into Oracle Assets (U, Y or N) NULL VARCHAR2(25) Creation method of a payment, used by Positive Pay feature (Single or Batch) NULL NUMBER(15) No longer used NULL NUMBER(15) Organization identifier 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

ATTRIBUTE_CATEGORY CASH_JE_BATCH_ID FUTURE_PAY_CODE_COMBINATION_ID FUTURE_PAY_POSTED_FLAG JE_BATCH_ID ELECTRONIC_TRANSFER_ID ASSETS_ADDITION_FLAG

INVOICE_PAYMENT_TYPE OTHER_INVOICE_ID 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 59

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved for countryspecific functionality NULL NUMBER(15) External Bank Account identifier 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: Concatenated string 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 currency conversion rate type pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID and accounting flexfield identifier for account to which realized gains are posted pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and invoice payment amount in primary currency pairs, only applicable for foreign currency invoices NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id and accounting flexfield identifier for account to which realized losses are posted pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id, and payment amount in primary currency pairs, only applicable for foreign currency invoices NULL VARCHAR2(1) Flag that indicates whether current invoice payment is a reversal of another invoice payment NULL NUMBER(15) Identifier for invoice payment reversed through current invoice payment

GLOBAL_ATTRIBUTE20 EXTERNAL_BANK_ACCOUNT_ID MRC_EXCHANGE_DATE

MRC_EXCHANGE_RATE

MRC_EXCHANGE_RATE_TYPE

MRC_GAIN_CODE_COMBINATION_ID

MRC_INVOICE_BASE_AMOUNT

MRC_LOSS_CODE_COMBINATION_ID

MRC_PAYMENT_BASE_AMOUNT

REVERSAL_FLAG

REVERSAL_INV_PMT_ID

Indexes Index Name


AP_INVOICE_PAYMENTS_N1 AP_INVOICE_PAYMENTS_N2 AP_INVOICE_PAYMENTS_N3 AP_INVOICE_PAYMENTS_N4 AP_INVOICE_PAYMENTS_N5 AP_INVOICE_PAYMENTS_N6 AP_INVOICE_PAYMENTS_N7 AP_INVOICE_PAYMENTS_N8

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

Sequence 1 2 1 1 1 1 1 1 5

Column Name INVOICE_ID PAYMENT_NUM CHECK_ID POSTED_FLAG ACCOUNTING_DATE ACCRUAL_POSTED_FLAG CASH_POSTED_FLAG ASSETS_ADDITION_FLAG ACCOUNTING_EVENT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 60 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes (Continued) Index Name


AP_INVOICE_PAYMENTS_U1

Index Type UNIQUE

Sequence 1

Column Name INVOICE_PAYMENT_ID

Sequences Sequence
AP_INVOICE_PAYMENTS_S

Derived Column INVOICE_PAYMENT_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICE_PAY_ARU1 AFTER ROW INSERT, DELETE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger updates the document in the table, AX_DOCUMENT_STATUSES. This trigger maintains the unposted line count in table AX_DOCUMENT_STATUSES for Oracle Payables invoice payments. It executes right after an invoice payment line is posted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AP_INVOICE_PAY_ARDI1 AFTER ROW INSERT, DELETE

This trigger captures information needed to create subledger accounting events when Oracle Payables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Payables invoice payments. It fires right after a payment is made for an invoice, or when the payment is voided, or deleted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AP_MRC_INVOICE_PAYMENTS_BID BEFORE ROW INSERT, DELETE

The MRC trigger exists only when you install the Multiple Reporting Currencies feature. It is executed when you perform an insert, update, or delete statement on the table AP_INVOICE_PAYMENTS_ALL. For each record being inserted/updated/deleted in AP_INVOICE_PAYMENTS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AP_MC_INVOICE_PAYMENTS. In addition, this trigger also populates the MRC VARCHAR2 columns in AP_INVOICE_PAYMENTS_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 61

AP_SYSTEM_PARAMETERS_ALL
AP_SYSTEM_PARAMETERS_ALL contains the parameters and defaults you define for operating your Oracle Payables application system. This table contains information such as your set of books, your functional currency and your default bank account and payment terms. Your Oracle Payables application also uses this information to determine default values that cascade down to supplier and invoice entry. This table corresponds to the Payables Options window. There is only one row in this table. There is no primary key for this table.
Foreign Keys Primary Key Table
AP_AWT_GROUPS AP_BANK_ACCOUNTS_ALL AP_EXPENSE_REPORTS_ALL AP_INCOME_TAX_REGIONS AP_TERMS_TL AP_TERMS_TL AP_TERMS_TL FND_CURRENCIES 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_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_TYPES GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES HR_LOCATIONS_ALL

Primary Key Column GROUP_ID BANK_ACCOUNT_ID EXPENSE_REPORT_ID REGION_SHORT_NAME TERM_ID TERM_ID TERM_ID CURRENCY_CODE 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 CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CONVERSION_TYPE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE LOCATION_ID

Foreign Key Column DEFAULT_AWT_GROUP_ID BANK_ACCOUNT_ID EXPENSE_REPORT_ID INCOME_TAX_REGION TERMS_ID EMPLOYEE_TERMS_ID PREPAYMENT_TERMS_ID BASE_CURRENCY_CODE INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE ACCTS_PAY_CODE_COMBINATION_ID SALES_TAX_CODE_COMBINATION_ID DISC_LOST_CODE_COMBINATION_ID DISC_TAKEN_CODE_COMBINATION_ID TRANS_GAIN_CODE_COMBINATION_ID PREPAY_CODE_COMBINATION_ID GAIN_CODE_COMBINATION_ID LOSS_CODE_COMBINATION_ID INTEREST_ACCTS_PAY_CCID RATE_VAR_GAIN_CCID RATE_VAR_LOSS_CCID FREIGHT_CODE_COMBINATION_ID ROUNDING_ERROR_CCID DEFAULT_EXCHANGE_RATE_TYPE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE LOCATION_ID

QuickCodes Columns Column


ACCOUNTING_METHOD_OPTION

QuickCodes Type ACCOUNTING BASIS METHOD Accrual Cash

QuickCodes Table AP_LOOKUP_CODES Selects accrual basis accounting Selects cash basis accounting AP_LOOKUP_CODES Batch invoice approval only Batch and optional online invoice approval

APPROVALS_OPTION

SYSTEM APPROVALS OPTION BATCH BOTH

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 62 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type DISCOUNT_DIST_OPTIONS EXPENSE SYSTEM TAX QuickCodes Table AP_LOOKUP_CODES Return prorated discount to all expense accounts System level discount account Return prorated discount to tax accounts, rest to discount AP_LOOKUP_CODES Payment Document Supplier Site AP_LOOKUP_CODES Payment Issue Payment Maturity AP_LOOKUP_CODES GL date defaults to invoice date GL date defaults to receipt date or invoice date GL date defaults to system date GL date defaults to receipt date or system date AP_LOOKUP_CODES Account segment value overlay Balancing segment overlay AP_LOOKUP_CODES Match to Purchase Order Match to Receipt AP_LOOKUP_CODES Pay on discount date Pay on due date AP_LOOKUP_CODES Selects accrual basis accounting Selects cash basis accounting No secondary accounting method in use AP_LOOKUP_CODES Current date Goods received date Invoice date Invoice received date

DISCOUNT_DISTRIBUTION_METHOD

FUTURE_DATED_PMT_ACCT_SOURCE

FUTURE PAY ACCT SOURCE BANK ACCOUNT SUPPLIER SITE FUTURE PAY LIAB RELIEF ISSUE MATURITY GL DATE OPTIONS I N S Y

FUTURE_DATED_PMT_LIAB_RELIEF

GL_DATE_FROM_RECEIPT_FLAG

LIABILITY_POST_LOOKUP_CODE

LIABILITY FLEXBUILD METHOD ACCOUNT_SEGMENT_VALUE BALANCING_SEGMENT

MATCH_OPTION

MATCH_OPTION P R PAY DATE BASIS DISCOUNT DUE SECONDARY ACCOUNTING METHOD Accrual Cash None

PAY_DATE_BASIS_LOOKUP_CODE

SECONDARY_ACCOUNTING_METHOD

TERMS_DATE_BASIS

TERMS DATE BASIS Current Goods Received Invoice Invoice Received

Column Descriptions Name


LAST_UPDATE_DATE LAST_UPDATED_BY SET_OF_BOOKS_ID BASE_CURRENCY_CODE

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

Description Standard Who column Standard Who column Set of books identifier Functional currency code

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 63

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(1) Description Flag that indicates if scheduled payments automatically recalculate for Automatic Interest Calculation (Y or N) Flag that indicates whether interest invoices are automatically created for past due invoice payments (Y or N) Default invoice currency code Default payment currency code (must be same as INVOICE_CURRENCY_CODE or must be an associated fixedrate currency) No longer used Default bank account for automatic payment processes No longer used Flag that indicates if batch control feature is used (Y or N) Default terms Flag that indicates if available discount for supplier will be taken, regardless of when invoice is paid (Y or N) Basis used for selecting invoices for payment Accounting Flexfield identifier for accounts payable liability account No longer used No longer used Accounting Flexfield identifier for discounts taken account No longer used No longer used Value that indicates if advances will be applied to employee expense reports (Y or N) Number of days added to system date to calculate settlement date for a prepayment No longer used Number of days between normal payment printing cycles, used to determine Pay Through Date for automatic payment batch Federal Tax Identification number of your company Location identifier for headquarters location of your company (prints on 1099 forms) Flag that indicates if suppliers are automatically created from employees for whom expense reports have been entered (Y or N) Employee terms identifier

RECALC_PAY_SCHEDULE_FLAG

AUTO_CALCULATE_INTEREST_FLAG

NOT NULL VARCHAR2(1)

INVOICE_CURRENCY_CODE PAYMENT_CURRENCY_CODE

NULL VARCHAR2(15) NULL VARCHAR2(15)

INVOICE_NET_GROSS_FLAG BANK_ACCOUNT_ID CHECK_OVERFLOW_LOOKUP_CODE BATCH_CONTROL_FLAG TERMS_ID ALWAYS_TAKE_DISC_FLAG

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

PAY_DATE_BASIS_LOOKUP_CODE ACCTS_PAY_CODE_COMBINATION_ID SALES_TAX_CODE_COMBINATION_ID DISC_LOST_CODE_COMBINATION_ID DISC_TAKEN_CODE_COMBINATION_ID HOLD_GAIN_CODE_COMBINATION_ID TRANS_GAIN_CODE_COMBINATION_ID APPLY_ADVANCES_DEFAULT

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

ADD_DAYS_SETTLEMENT_DATE COST_OF_MONEY DAYS_BETWEEN_CHECK_CYCLES

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

FEDERAL_IDENTIFICATION_NUM LOCATION_ID CREATE_EMPLOYEE_VENDOR_FLAG

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

EMPLOYEE_TERMS_ID

NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 64 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(25) NULL NUMBER(2) NULL NUMBER(15) NULL VARCHAR2(1) Description Name of Pay Group used for payment of employee expense reports Payment priority number for payment of employee expense reports Accounting Flexfield identifier for prepayment account Flag that indicates if popup window will display during invoice entry to confirm that invoice date can be used as default for invoice number (Y or N) Flag that indicates if changes to supplier payment address on manual payments or Quick payments is allowed (Y or N) Exchange rate type Accounting Flexfield identifier for account to which realized exchange rate gains are posted Accounting Flexfield identifier for account to which realized exchange rate losses are posted Flag that indicates if exchange rates must be entered for multiple currency invoices and payments (Y or N) Flag that indicates if multiple currency features used (Y or N) Date used as accounting date during invoice entry Flag that indicates if tax amount excluded from invoice amount when invoice amount applicable to discount calculated (Y or N) Flag that instructs Oracle Payables to check that tax name on invoice line is same as tax name on corresponding purchase order shipment (Y or N) Accounting method used with primary set of books No longer used No longer used No longer used No longer used No longer used No longer used Flag that indicates if check replacement for Quick Payments is allowed (Y or N) Flag that indicates if immediate online printing for Quick Payments is allowed (Y or N) Number which identifies your company as a user of electronic funds transfer services to bank or clearing organization

EMPLOYEE_PAY_GROUP_LOOKUP_CODE EMPLOYEE_PAYMENT_PRIORITY PREPAY_CODE_COMBINATION_ID CONFIRM_DATE_AS_INV_NUM_FLAG

UPDATE_PAY_SITE_FLAG

NULL VARCHAR2(1)

DEFAULT_EXCHANGE_RATE_TYPE GAIN_CODE_COMBINATION_ID LOSS_CODE_COMBINATION_ID MAKE_RATE_MANDATORY_FLAG

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

MULTI_CURRENCY_FLAG GL_DATE_FROM_RECEIPT_FLAG DISC_IS_INV_LESS_TAX_FLAG

NULL VARCHAR2(1) NULL VARCHAR2(25) NULL VARCHAR2(1)

MATCH_ON_TAX_FLAG

NULL VARCHAR2(1)

ACCOUNTING_METHOD_OPTION EXPENSE_POST_OPTION DISCOUNT_TAKEN_POST_OPTION GAIN_LOSS_POST_OPTION CASH_POST_OPTION FUTURE_PAY_POST_OPTION DATE_FORMAT_LOOKUP_CODE REPLACE_CHECK_FLAG ONLINE_PRINT_FLAG

NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(1)

NULL VARCHAR2(1)

EFT_USER_NUMBER

NULL VARCHAR2(30)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 65

Column Descriptions Name


MAX_OUTLAY

(Continued)
Null? Type NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(25) NULL NUMBER(15) NULL VARCHAR2(1) NULL NUMBER Description Maximum amount of a payment batch Name of supplier Pay Group Flag that indicates if tax entry is required during invoice entry (Y or N) Method used for approving invoices Flag that indicates if payment date can be prior to system date (Y or N) Accounting method used for secondary set of books Secondary set of books identifier No longer used Minimum interest amount owed on past due invoice for interest invoice to be automatically created Accounting Flexfield identifier for interest expense account Date used together with payment terms and invoice amount to create invoice scheduled payment No longer used Flag that indicates whether tax amount is automatically calculated for the sales tax name entered on an invoice (Y or N) Flag that indicates whether offsetting, balancing accounting entries are automatically created for invoice and payment distributions (Y or N) Code for method used to build offsetting Accounting Flexfields for invoice and payment distributions (Automatic Offsets/Fund Accounting) Accounting Flexfield identifier for interest liability account No longer used Method for distributing discount amounts taken on invoice payments Not used (never implemented) Flag that indicates whether your organization participates in the Combined Filing Program for income tax reporting Default income tax region assigned to invoice distribution lines for 1099 suppliers

VENDOR_PAY_GROUP_LOOKUP_CODE REQUIRE_TAX_ENTRY_FLAG APPROVALS_OPTION POST_DATED_PAYMENTS_FLAG SECONDARY_ACCOUNTING_METHOD SECONDARY_SET_OF_BOOKS_ID TAKE_VAT_BEFORE_DISCOUNT_FLAG INTEREST_TOLERANCE_AMOUNT

INTEREST_CODE_COMBINATION_ID TERMS_DATE_BASIS

NULL NUMBER(15) NULL VARCHAR2(25)

ALLOW_FUTURE_PAY_FLAG AUTO_TAX_CALC_FLAG

NULL VARCHAR2(1) NULL VARCHAR2(1)

AUTOMATIC_OFFSETS_FLAG

NULL VARCHAR2(1)

LIABILITY_POST_LOOKUP_CODE

NULL VARCHAR2(25)

INTEREST_ACCTS_PAY_CCID LIABILITY_POST_OPTION DISCOUNT_DISTRIBUTION_METHOD RATE_VAR_CODE_COMBINATION_ID COMBINED_FILING_FLAG

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

INCOME_TAX_REGION

NULL VARCHAR2(10)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 66 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) Description Flag that indicates whether you use supplier tax region or default tax region as default for 1099 invoice distribution lines Default Hold Unmatched Invoices value for suppliers created from employees on an expense report Flag that indicates whether you can match to a purchase order distribution line or match only across an entire purchase order shipment Flag that indicates whether you allow final matching to purchase orders Flag that indicates whether you can override the matching Accounting Flexfield for an invoice distribution line matched to a purchase order distribution line Flag that indicates whether you allow adjustments to paid invoices USSGL Transaction Code for automatically generated interest invoices USSGL Transaction Code Descriptive Flexfield context column Flag that indicates whether you can override the default document category (Sequential Numbering) for invoices Flag that indicates whether you can override the default document category (Sequential Numbering) for payments Default Automatic Interest Calculation value that defaults to suppliers (Y or N) No longer used 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 order Enter Yes to transfer descriptive flexfield information from a purchase order distribution during purchase order matching Flag to indicate whether Automatic Withholding Tax is allowed (Y or N) Default Withholding Tax group for new suppliers

INCOME_TAX_REGION_FLAG

HOLD_UNMATCHED_INVOICES_FLAG

NULL VARCHAR2(1)

ALLOW_DIST_MATCH_FLAG

NULL VARCHAR2(1)

ALLOW_FINAL_MATCH_FLAG ALLOW_FLEX_OVERRIDE_FLAG

NULL VARCHAR2(1) NULL VARCHAR2(1)

ALLOW_PAID_INVOICE_ADJUST USSGL_TRANSACTION_CODE USSGL_TRX_CODE_CONTEXT INV_DOC_CATEGORY_OVERRIDE

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

PAY_DOC_CATEGORY_OVERRIDE

NULL VARCHAR2(1)

VENDOR_AUTO_INT_DEFAULT SUMMARY_JOURNALS_DEFAULT RATE_VAR_GAIN_CCID

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

RATE_VAR_LOSS_CCID

NULL NUMBER(15)

TRANSFER_DESC_FLEX_FLAG

NULL VARCHAR2(1)

ALLOW_AWT_FLAG DEFAULT_AWT_GROUP_ID

NULL VARCHAR2(1) NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 67

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) NULL VARCHAR2(25) NULL VARCHAR2(25) Description Flag to indicate whether override of withholding tax amount is allowed (Y, N, null) Indicates when system should automatically withhold tax (Never, Approval, Payment) Indicates when the system should automatically create withholding tax invoices (Never, Approval, Payment) Flag to indicate whether the discount amount is included in withholding tax calculation Flag to indicate whether the tax amount is included in the withholding tax calculation Organization identifier Flag to indicate if cash clearing account is used Flag that indicates whether a freight distribution is automatically created Accounting Flexfield identifier for accounts payable freight account 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

ALLOW_AWT_OVERRIDE CREATE_AWT_DISTS_TYPE CREATE_AWT_INVOICES_TYPE

AWT_INCLUDE_DISCOUNT_AMT AWT_INCLUDE_TAX_AMT ORG_ID RECON_ACCOUNTING_FLAG AUTO_CREATE_FREIGHT_FLAG FREIGHT_CODE_COMBINATION_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

NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER(15) NULL VARCHAR2(1) 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) 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 68 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(150) Reserved for countryspecific functionality NULL VARCHAR2(1) Flag to indicate whether user can charge remitto bank at payment creation time. NULL VARCHAR2(1) No longer used NULL VARCHAR2(1) Flag to indicate whether user can change the tax calculation method at the supplier level NULL VARCHAR2(1) Flag to indicate if supplier invoice amount includes tax NULL VARCHAR2(1) Flag to indicate if user can change Amount Includes Tax check box during invoice entry NULL VARCHAR2(15) VAT code NULL VARCHAR2(1) Flag to indicate if Bank Charge feature is used NULL VARCHAR2(1) Default bank charge bearer NULL NUMBER(15) Rounding error account code combination NULL VARCHAR2(25) No longer used NULL VARCHAR2(1) Flag that indicates whether you want to take the tax from a purchase order when you match an invoice to a purchase order shipment NULL VARCHAR2(1) Flag that indicates whether you want to default tax from the supplier site when you enter an invoice NULL VARCHAR2(1) Flag that indicates whether you want to default tax from the supplier when you enter an invoice NULL VARCHAR2(1) Flag that indicates whether you want to default tax from the natural account when you enter an invoice NULL VARCHAR2(1) Flag that indicates whether you want to default tax from Financials Options when you enter an invoice NULL VARCHAR2(1) Flag that indicates whether you want to default tax from the invoice header when you enter an invoice NULL VARCHAR2(1) Flag that indicates whether you want to default tax from the distribution set or expense report template when you enter an invoice NULL NUMBER Indicates the priority of tax from the purchase order source in your tax defaulting hierarchy NULL NUMBER Indicates the priority of tax from the supplier source in your tax defaulting hierarchy

GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 ALLOW_SUPPLIER_BANK_OVERRIDE USE_MULTIPLE_SUPPLIER_BANKS AUTO_TAX_CALC_OVERRIDE AMOUNT_INCLUDES_TAX_FLAG AMOUNT_INCLUDES_TAX_OVERRIDE VAT_CODE USE_BANK_CHARGE_FLAG BANK_CHARGE_BEARER ROUNDING_ERROR_CCID ROUNDING_ERROR_POST_OPTION TAX_FROM_PO_FLAG

TAX_FROM_VENDOR_SITE_FLAG

TAX_FROM_VENDOR_FLAG

TAX_FROM_ACCOUNT_FLAG

TAX_FROM_SYSTEM_FLAG

TAX_FROM_INV_HEADER_FLAG

TAX_FROM_TEMPLATE_FLAG

TAX_HIER_PO_SHIPMENT

TAX_HIER_VENDOR

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 69

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER Description Indicates the priority of tax from the supplier site source in your tax defaulting hierarchy NUMBER Indicates the priority of tax from the account source in your tax defaulting hierarchy NUMBER Indicates the priority of tax from the Financials Options source in your tax defaulting hierarchy NUMBER Indicates the priority of tax from the invoice header source in your tax defaulting hierarchy NUMBER Indicates the priority of tax from the template source in your tax defaulting hierarchy VARCHAR2(1) Flag that indicates you want to enforce the rule to default tax from the natural account VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id, functional currency pairs VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books id VARCHAR2(25) Flag to indicate whether to match invoices to purchase orders (P) or receipts (R) VARCHAR2(30) Level at which Payables will calculate gain and loss, either Payment or Payment Line VARCHAR2(30) Time when Payables will account for payments, either Always (payment and clearing) or Clearing Only VARCHAR2(30) Time when Payables will account for gain and loss, either Always (payment and clearing) or Clearing Only VARCHAR2(30) Specifies the source for the future dated payment account VARCHAR2(30) Specifies when the liability for future dated payments is relieved VARCHAR2(1) Option that allows the user to change the default values for program parameters when the user submits the transfer to GL process NUMBER(15) Not currently used VARCHAR2(1) GL Interface Transfer Summary Level. Detail (D), summarized by accounting date (A), summarized by accounting period (P) VARCHAR2(1) Option for submitting Journal Import to Oracle General Ledger at the same time as the transfer to GL process

TAX_HIER_VENDOR_SITE

TAX_HIER_ACCOUNT TAX_HIER_SYSTEM

NULL NULL

TAX_HIER_INVOICE

NULL

TAX_HIER_TEMPLATE ENFORCE_TAX_FROM_ACCOUNT MRC_BASE_CURRENCY_CODE

NULL NULL NULL

MRC_SECONDARY_SET_OF_BOOKS_ID MATCH_OPTION GAIN_LOSS_CALC_LEVEL WHEN_TO_ACCOUNT_PMT

NULL NULL NULL NULL

WHEN_TO_ACCOUNT_GAIN_LOSS

NULL

FUTURE_DATED_PMT_ACCT_SOURCE FUTURE_DATED_PMT_LIAB_RELIEF GL_TRANSFER_ALLOW_OVERRIDE

NULL NULL NULL

GL_TRANSFER_PROCESS_DAYS GL_TRANSFER_MODE

NULL NULL

GL_TRANSFER_SUBMIT_JOURNAL_IMP

NULL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 70 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) Description If this option is set to Y then all MRC reporting SOBs will automatically be selected for transfer with the same selection criteria as the main SOBs Default expense report template Default terms for prepayment

INCLUDE_REPORTING_SOB

EXPENSE_REPORT_ID PREPAYMENT_TERMS_ID

NULL NUMBER(15) NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 71

AR_ADJUSTMENTS_ALL
This table stores information about your invoice adjustments. Each row includes general information about the adjustment you are making such as activity name, amount, accounting information, reason, and type of adjustment. You need one row for each adjustment you are making to an invoice. Oracle Receivables uses this information to update the AMOUNT_ADJUSTED and AMOUNT_DUE_REMAINING columns in AR_PAYMENT_SCHEDULES_ALL. If you create an adjustment through the Receipts window, Oracle Receivables fills in ASSOCIATED_CASH_RECEIPT_ID. This stores the cash receipt ID of the receipt you entered when you created the adjustment to your invoice, debit memo, or chargeback. The primary key for this table is ADJUSTMENT_ID.

Foreign Keys Primary Key Table


AR_APPROVAL_USER_LIMITS AR_BATCHES_ALL AR_CASH_RECEIPTS_ALL AR_DISTRIBUTION_SETS_ALL AR_PAYMENT_SCHEDULES_ALL AR_RECEIVABLES_TRX_ALL AR_RECEIVABLE_APPLICATIONS_ALL GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_LINES_ALL

Primary Key Column USER_ID BATCH_ID CASH_RECEIPT_ID DISTRIBUTION_SET_ID PAYMENT_SCHEDULE_ID RECEIVABLES_TRX_ID RECEIVABLE_APPLICATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUSTOMER_TRX_ID CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID

Foreign Key Column APPROVED_BY BATCH_ID ASSOCIATED_CASH_RECEIPT_ID DISTRIBUTION_SET_ID PAYMENT_SCHEDULE_ID RECEIVABLES_TRX_ID ASSOCIATED_APPLICATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUSTOMER_TRX_ID SUBSEQUENT_TRX_ID CUSTOMER_TRX_LINE_ID

QuickCodes Columns Column


REASON_CODE

QuickCodes Type ADJUST_REASON DISCOUNT INT ADJUST OFFSET REFUND SMALL AMT REMAINING TAX User defined W/O TAX WRITE OFF APPROVAL_TYPE

QuickCodes Table AR_LOOKUPS DISCOUNT INT ADJUST OFFSET REFUND SMALL AMT REMAINING TAX W/O TAX WRITE OFF AR_LOOKUPS

STATUS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 72 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type A M R U User defined W QuickCodes Table Approved More Research Rejected Unaccrued Charges Waiting Approval AR_LOOKUPS Charges Adjustments Freight Adjustments Invoice Adjustments Line Adjustments Tax Adjustments

TYPE

ADJUSTMENT_TYPE CHARGES FREIGHT INVOICE LINE TAX

Column Descriptions Name


ADJUSTMENT_ID (PK) LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE AMOUNT APPLY_DATE GL_DATE SET_OF_BOOKS_ID CODE_COMBINATION_ID TYPE ADJUSTMENT_TYPE STATUS

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

Description Adjustment Identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Adjustment amount Date adjustment applied to payment General Ledger date General Ledger Set of Books Used (only one supported currently) General Ledger Code Combination (account) TYPEs domain is ADJUSTMENT_TYPE in ar_lookups ADJUSTMENT_TYPEs domain is ADJUSTMENT_CREATION_TYPE in ar_lookups. This is the approval status. A for approve; U for unaccrued adjustments; R for rejected; any other code for unapproved. Line amount adjusted as part of this adjustment Freight amount adjusted as part of this adjustment Tax amount adjusted as part of this adjustment Charges adjusted as part of this adjustment Identifier of cash receipt associated with this adjustment Identifier of chargeback transaction associated with this adjustment Identifier of batch associated with this adjustment Identifier of customer transaction associated with this adjustment

LINE_ADJUSTED FREIGHT_ADJUSTED TAX_ADJUSTED RECEIVABLES_CHARGES_ADJUSTED ASSOCIATED_CASH_RECEIPT_ID CHARGEBACK_CUSTOMER_TRX_ID BATCH_ID CUSTOMER_TRX_ID

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 73

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL Description Identifier of customer transaction line associated with this adjustment NUMBER(15) CUSTOMER_TRX_ID of the invoice against the guarantee NUMBER(15) Identifier of payment schedule associated with this adjustment NUMBER(15) Identifier of receivables transaction associated with this adjustment NUMBER(15) Identifier of distribution set associated with this adjustment DATE Date adjustment posted to General Ledger VARCHAR2(2000) Comments VARCHAR2(1) Y or N. No longer used. VARCHAR2(30) Form or concurrent program name where this adjustment was created. VARCHAR2(30) Identifier of reason for this adjustment VARCHAR2(1) Indicates whether this adjustment is postable it should be null valued to Y. NUMBER(15) Identifier of user approving the adjustment VARCHAR2(30) Descriptive Flexfield Structure Defining Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column NUMBER(15) Receivables posting batch identifier; 1 means it was posted by the old posting program (ARXGLP); 2 means its posted from old rel8 RA; 3 means its not posted; 4 means its posted by rel9 RAPOST NUMBER Amount of journal entries VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column VARCHAR2(150) Descriptive Flexfield Segment Column

CUSTOMER_TRX_LINE_ID SUBSEQUENT_TRX_ID PAYMENT_SCHEDULE_ID RECEIVABLES_TRX_ID DISTRIBUTION_SET_ID GL_POSTED_DATE COMMENTS AUTOMATICALLY_GENERATED CREATED_FROM REASON_CODE POSTABLE APPROVED_BY ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 POSTING_CONTROL_ID

ACCTD_AMOUNT ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13

NOT NULL NULL NULL NULL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 74 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE14 ATTRIBUTE15

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL NUMBER(15) Standard Who column NULL NUMBER(15) Standard Who column NULL DATE Standard Who column NULL NUMBER(15) Request ID number NOT NULL VARCHAR2(20) This column is always automatically generated from AR_ADJUSTMENT_NUMBER_S. For records prior to release 10, it is equal to ADJUSTMENT_ID. NULL NUMBER(15) Operating Unit Identifier NULL VARCHAR2(30) Value for the USSGL Transaction Code Flexfield NULL VARCHAR2(30) Context value for the USSGL Transaction Code Flexfield NULL NUMBER(15) Document sequence number NULL NUMBER(15) Document sequence identifier NULL NUMBER(15) Identifier of the receipt application associated with this adjustment NULL NUMBER(15) Consolidated invoice number on which this transaction appeared NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, posted date for reporting book(s) pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, receivables posting batch identifier pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, the amount in reporting currency(s) pairs NULL VARCHAR2(3) Numeric code that identifies the tax accounting rule used to create the accounting NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality

PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE REQUEST_ID ADJUSTMENT_NUMBER

ORG_ID USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE_CONTEXT DOC_SEQUENCE_VALUE DOC_SEQUENCE_ID ASSOCIATED_APPLICATION_ID CONS_INV_ID MRC_GL_POSTED_DATE

MRC_POSTING_CONTROL_ID

MRC_ACCTD_AMOUNT

ADJ_TAX_ACCT_RULE GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 75

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality

GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20

Indexes Index Name


AR_ADJUSTMENTS_N10 AR_ADJUSTMENTS_N11 AR_ADJUSTMENTS_N13 AR_ADJUSTMENTS_N14 AR_ADJUSTMENTS_N15 AR_ADJUSTMENTS_N2 AR_ADJUSTMENTS_N3 AR_ADJUSTMENTS_N4 AR_ADJUSTMENTS_N5 AR_ADJUSTMENTS_N6 AR_ADJUSTMENTS_N7 AR_ADJUSTMENTS_N8 AR_ADJUSTMENTS_N9 AR_ADJUSTMENTS_U1 AR_ADJUSTMENTS_U2

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

Sequence 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2

Column Name CUSTOMER_TRX_LINE_ID CHARGEBACK_CUSTOMER_TRX_ID POSTING_CONTROL_ID GL_DATE LAST_UPDATED_BY SUBSEQUENT_TRX_ID CUSTOMER_TRX_ID PAYMENT_SCHEDULE_ID RECEIVABLES_TRX_ID APPLY_DATE GL_DATE CREATION_DATE CREATED_BY ASSOCIATED_CASH_RECEIPT_ID ADJUSTMENT_ID ADJUSTMENT_NUMBER ORG_ID

Sequences Sequence
AR_ADJUSTMENTS_S AR_ADJUSTMENT_NUMBER_S

Derived Column ADJUSTMENT_ID ADJUSTMENT_NUMBER

Database Triggers

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 76 Oracle Applications Global Accounting Engine Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AX_AR_ADJUSTMENTS_ARIU1 BEFORE ROW INSERT, UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger captures accounting events related to Oracle Receivables transaction adjustments. It fires right before an invoice adjustment is approved and not yet posted. This trigger creates adjustment accounting events in the AX_EVENTS table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AR_ADJUSTMENTS_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger updates related accounting events of an Oracle Receivables transaction adjustment when a document sequence is assigned to the adjustment. It fires right after a document sequence is assigned to an existing adjustment. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AR_ADJUSTMENTS_BRD1 BEFORE ROW DELETE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger deletes accounting events related to Oracle Receivables transaction adjustments. It fires right before an unposted and approved adjustment is deleted. It deletes the untranslated event from the AX_EVENTS table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_MRC_ADJUSTMENTS_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_ADJUSTMENTS_ALL. For each record being inserted/updated/deleted in AR_ADJUSTMENTS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_ADJUSTMENTS. In addition, this trigger also populates the MRC VARCHAR2 columns in AR_ADJUSTMENTS_ALL. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_AR_OCC_DOCS_WRT_N_ABTMT2 AFTER ROW INSERT

Inserts a new record in JL_BR_AR_OCCURRENCE_DOCS_ALL after a negative adjustment is created and the payment schedule is in the bank to be collected. This trigger fires after insert in the AR_ADJUSTMENTS_ALL table. This trigger is active only if Oracle Financials for the Americas is used.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 77

AR_CASH_RECEIPTS_ALL
This table stores one record for each receipt that you enter. Oracle Receivables creates records concurrently in the AR_CASH_RECEIPT_HISTORY_ALL, AR_PAYMENT_SCHEDULES_ALL, and AR_RECEIVABLE_APPLICATIONS tables for invoicerelated receipts. For receipts that are not related to invoices (Miscellaneous Receipts), Oracle Receivables creates records in the AR_MISC_CASH_DISTRIBUTIONS table instead of the AR_RECEIVABLE_APPLICATIONS_ALL table. Oracle Receivables associates a STATUS with each receipt. These statuses include applied (APP), unapplied (UNAPP), unidentified (UNID), nonsufficient funds (NSF), reversed receipt (REV), and stop payment (STOP). Oracle Receivables does not update the status of a receipt from UNAPP to APP until the entire amount of the receipt is either applied or placed on account. A receipt can have a status of APP even if the entire receipt amount is placed on account. In Release 10, the CODE_COMBINATION_ID column was moved to the AR_CASH_RECEIPT_HISTORY_ALL table. Cash receipts now go through a cycle of steps that include confirmation, remittance, and clearance. Each step creates rows in the AR_CASH_RECEIPT_HISTORY table. The CODE_COMBINATION_ID column in that table stores the accounts that are debited and credited as part of these steps. RECEIVABLES_TRX_ID links the AR_CASH_RECEIPTS_ALL table to the AR_RECEIVABLES_TRX_ALL table. This column identifies the Receivables Activity you select when you enter Miscellaneous Receipts. DISTRIBUTION_SET_ID links the AR_CASH_RECEIPTS_ALL table to the AR_DISTRIBUTION_SETS_ALL table. This column identifies the distribution set and the distribution set line accounts that are credited when you enter Miscellaneous Receipts. CUSTOMER_BANK_ACCOUNT_ID replaced CUSTOMER_MICR_ID as a pointer to the customer bank account. It is a foreign key to the AP_BANK_ACCOUNTS_ALL table to a bank account with a type of EXTERNAL (meaning not one of your own bank accounts). GL_DATE and REVERSAL_GL_DATE have also been moved to the AR_CASH_RECEIPT_HISTORY_ALL table as each step has its own GL_DATE and accounting impact. The primary key for this table is CASH_RECEIPT_ID, which identifies the receipt transaction that created the row for the receipt.
Foreign Keys Primary Key Table
AP_BANK_ACCOUNTS_ALL AP_BANK_ACCOUNTS_ALL

Primary Key Column BANK_ACCOUNT_ID BANK_ACCOUNT_ID

Foreign Key Column REMITTANCE_BANK_ACCOUNT_ID CUSTOMER_BANK_ACCOUNT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 78 Oracle Applications Global Accounting Engine Technical Reference Manual

Foreign Keys (Continued) Primary Key Table


AR_BATCHES_ALL AR_DISTRIBUTION_SETS_ALL AR_RECEIVABLES_TRX_ALL AR_VAT_TAX_ALL_B FND_CURRENCIES GL_SETS_OF_BOOKS RA_CUSTOMERS RA_SITE_USES_ALL

Primary Key Column BATCH_ID DISTRIBUTION_SET_ID RECEIVABLES_TRX_ID VAT_TAX_ID CURRENCY_CODE SET_OF_BOOKS_ID CUSTOMER_ID SITE_USE_ID

Foreign Key Column SELECTED_REMITTANCE_BATCH_ID DISTRIBUTION_SET_ID RECEIVABLES_TRX_ID VAT_TAX_ID CURRENCY_CODE SET_OF_BOOKS_ID PAY_FROM_CUSTOMER CUSTOMER_SITE_USE_ID

QuickCodes Columns Column


OVERRIDE_REMIT_ACCOUNT_FLAG

QuickCodes Type YES/NO N Y REVERSAL_CATEGORY_TYPE NSF REV STOP CKAJST_REASON ACCT CLOSED NSF PAYMENT REVERSAL RESUBMIT CHECK UNCOLLECTABLE User defined WRONG AMOUNT WRONG CUSTOMER WRONG INVOICE CHECK_STATUS APP NSF REV STOP UNAPP UNID PAYMENT_CATEGORY_TYPE CASH MISC

QuickCodes Table AR_LOOKUPS No Yes AR_LOOKUPS Nonsufficient Funds Reverse Payment Stop Payment AR_LOOKUPS ACCT CLOSED NSF PAYMENT REVERSAL RESUBMIT CHECK UNCOLLECTABLE WRONG AMOUNT WRONG CUSTOMER WRONG INVOICE AR_LOOKUPS Applied NonSufficient Funds ReversalUser Error Stopped Payment Unapplied Unidentified AR_LOOKUPS Cash Miscellaneous

REVERSAL_CATEGORY

REVERSAL_REASON_CODE

STATUS

TYPE

Column Descriptions Name


CASH_RECEIPT_ID (PK) LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE AMOUNT

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

Description Identifier of the cash receipt Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Amount of the payment entry denormalized from the history record to allow querying on amount

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 79

Column Descriptions Name


SET_OF_BOOKS_ID CURRENCY_CODE

(Continued)
Null? Type NOT NULL NUMBER(15) NOT NULL VARCHAR2(15) NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(30) Description General Ledger Set of Books Used (only one supported currently) Currency code of the payment batch associated with this payment entry Identifier of the transaction associated with this payment entry Identifier of the customer associated with this payment entry Identifies whether the status of this payment entry is applied, unapplied, unidentified, insufficient funds, reverse payment or stop payment Identifies the category of the payment entry either CASH or MISC; when coding, please use = MISC or != MISC (instead of = CASH) because of internal customization Cash receipt number Date of the payment entry Identifies the source of the miscellaneous receipt Comments Identifier of the distribution set associated with this payment entry Date payment entry reversed Identifies the reason why the payment entry was reversed Indicates reason for reversing receipt, defined by user Comments regarding reversal Defines multiple currency exchange rates for the same date Exchange rate used to convert foreign amounts into functional currency Date for which rate selected 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

RECEIVABLES_TRX_ID PAY_FROM_CUSTOMER STATUS

TYPE

NULL VARCHAR2(20)

RECEIPT_NUMBER RECEIPT_DATE MISC_PAYMENT_SOURCE COMMENTS DISTRIBUTION_SET_ID REVERSAL_DATE REVERSAL_CATEGORY REVERSAL_REASON_CODE REVERSAL_COMMENTS EXCHANGE_RATE_TYPE EXCHANGE_RATE EXCHANGE_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7

NULL VARCHAR2(30) NOT NULL DATE NULL VARCHAR2(30) NULL VARCHAR2(240) NULL NUMBER(15) NULL DATE NULL VARCHAR2(20) NULL VARCHAR2(30) NULL VARCHAR2(240) NULL VARCHAR2(30) NULL NUMBER 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 80 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL NUMBER(15) Identifies the users bank account for depositing the receipt NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(1) This is null or Y when the cash receipt is confirmed. It is N if the cash receipt is not confirmed. Always use null value (confirmed_flag,Y) when checking this column. NULL NUMBER(15) Identifies the customers bank account from where the receipt was paid NULL NUMBER(15) Identifies the customers location NULL DATE This will be a user column, and will have no significance within the system NULL NUMBER(15) Identifies the application owning the program that created the row NULL NUMBER(15) Identifies the program that created the row NULL DATE Date that the program stamped on the row NOT NULL NUMBER(15) Identifies the payment method of the receipt NULL NUMBER(15) Identifies the concurrent request of the program which created the row NULL VARCHAR2(1) Indicates whether the receipts amount is factored (discounted ) NULL NUMBER(15) Identifies the batch created by the receipt remitting process NULL NUMBER The amount determined to factor the receipt NULL VARCHAR2(30) Code defined by public sector accounting NULL VARCHAR2(30) Descriptive Flexfield Structure Defining Column for public sector accounting NULL NUMBER(15) Value assigned to document receipt NULL NUMBER(15) Identifies database sequence used to assign document number to receipt

REMITTANCE_BANK_ACCOUNT_ID ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CONFIRMED_FLAG

CUSTOMER_BANK_ACCOUNT_ID CUSTOMER_SITE_USE_ID DEPOSIT_DATE PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE RECEIPT_METHOD_ID REQUEST_ID SELECTED_FOR_FACTORING_FLAG SELECTED_REMITTANCE_BATCH_ID FACTOR_DISCOUNT_AMOUNT USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE_CONTEXT DOC_SEQUENCE_VALUE DOC_SEQUENCE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 81

Column Descriptions Name


VAT_TAX_ID REFERENCE_TYPE

(Continued)
Null? Type NULL NUMBER(15) NULL VARCHAR2(30) Description This column refers to the VAT tax that this miscellaneous receipt is subject Indicates whether this Miscellaneous Receipts is a PAYMENT, RECEIPT or REMITTANCE A foreign key to AR_BATCHES, AR_CASH_RECEIPTS or AP_CHECKS This column is used to store a customer reference value that the customer supplies at confirmation time This flag is Y when the remittance bank account is overrideable by the remittance selection process and N when it is not. When it is null, it should be treated as Y. Operating Unit Identifier Date the receipt is expected to clear the bank 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

REFERENCE_ID CUSTOMER_RECEIPT_REFERENCE

NULL NUMBER(15) NULL VARCHAR2(30)

OVERRIDE_REMIT_ACCOUNT_FLAG

NULL VARCHAR2(1)

ORG_ID ANTICIPATED_CLEARING_DATE 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

NULL NUMBER(15) NULL DATE 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 82 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) NULL NULL NULL NULL NULL Description Reserved For Globalization Functionality VARCHAR2(50) Issuer name of Notes Receivable (Asia Pacific requirement) DATE Date this Note Receivable was issued (Asia Pacific requirement) NUMBER(15) Bank / Branch issuing the Note Receivable (Asia Pacific requirement) NUMBER(15) Unique identifier for customer bank branch ID VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID, currency conversion rate type pairs VARCHAR2(2000) Multiple Reporting Currencies only:Concatenated string of reporting set of books ID, currency conversion rate pairs VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID, currency conversion date pairs VARCHAR2(80) Identifies credit card payment authorized by Oracle Payment Server VARCHAR2(50) Payment approval code from credit card issuer VARCHAR2(80) Credit card address verification code from Oracle Payment Server NUMBER The new tax rate entered when you override the rate for an ad hoc tax code DATE The date cash is withdrawn or deposited in a bank account

GLOBAL_ATTRIBUTE_CATEGORY ISSUER_NAME ISSUE_DATE ISSUER_BANK_BRANCH_ID CUSTOMER_BANK_BRANCH_ID MRC_EXCHANGE_RATE_TYPE

MRC_EXCHANGE_RATE

NULL

MRC_EXCHANGE_DATE

NULL

PAYMENT_SERVER_ORDER_NUM APPROVAL_CODE ADDRESS_VERIFICATION_CODE TAX_RATE ACTUAL_VALUE_DATE

NULL NULL NULL NULL NULL

Indexes Index Name


AR_CASH_RECEIPTS_N1 AR_CASH_RECEIPTS_N2 AR_CASH_RECEIPTS_N3 AR_CASH_RECEIPTS_N5 AR_CASH_RECEIPTS_N6 AR_CASH_RECEIPTS_N7 AR_CASH_RECEIPTS_N8 AR_CASH_RECEIPTS_U1

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

Sequence 1 1 2 2 1 2 1 5 1

Column Name SELECTED_REMITTANCE_BATCH_ID PAY_FROM_CUSTOMER CUSTOMER_SITE_USE_ID RECEIVABLES_TRX_ID RECEIPT_NUMBER DEPOSIT_DATE REVERSAL_DATE RECEIPT_DATE CASH_RECEIPT_ID

Sequences Sequence
AR_CASH_RECEIPTS_S

Derived Column CASH_RECEIPT_ID

Database Triggers

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 83

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AX_AR_CASH_RECEIPTS_ARD1 BEFORE ROW DELETE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables receipts deletion. It fires before a receipt is deleted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AR_CASH_RECEIPTS_ARI1 AFTER ROW INSERT

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables receipts. It fires right after a receipt is created. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AR_CASH_RECEIPTS_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger updates a row of the AX_DOCUMENT_STATUSES table. This trigger captures accounting events related to Oracle Receivables receipts. It fires right after a customer site of the receipt is changed. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_MRC_CASH_RECEIPTS_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_CASH_RECEIPTS_ALL. For each record being inserted/updated/deleted in AR_CASH_RECEIPTS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_CASH_RECEIPTS. In addition, this trigger also populates the MRC VARCHAR2 columns in AR_CASH_RECEIPTS_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 84 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_CASH_RECEIPT_HISTORY_ALL
This table contains each step in the life cycle of a receipt. Each row represents one step. The status field tells you which step the receipt has reached: APPROVED This is only valid for an automatically created receipt. This status indicates that the receipt has been approved for automatic creation. CONFIRMED This is only valid for an automatically created receipt. This status indicates that the receipt has been confirmed by the customer. REMITTED This is valid for both automatically and manually created receipts. This status indicates that the receipt has been remitted. CLEARED This is valid for both automatically and manually created receipts. This status indicates that the receipt has been cleared. REVERSED This is valid for both automatically and manually created receipts. This status indicates that the receipt has been reversed. The rows in this table are posted to the General Ledger. Each row debits the account represented by the ACCOUNT_CODE_COMBINATION_ID column on the given GL_DATE and credits the account on the given REVERSAL_GL_DATE (if one is present). Optionally, it will also debit (on the GL_DATE) and credit (on the REVERSAL_GL_DATE) the account represented by the BANK_CHARGE_ACCOUNT_CCID for the FACTOR_DISCOUNT_AMOUNT which represents the difference between the remitted amount and the cleared amount. POSTABLE_FLAG determines whether a row can be posted to General Ledger. The CURRENT_RECORD_FLAG points you to the current row that is, the current status of the cash receipt.
Foreign Keys Primary Key Table
AR_BATCHES_ALL AR_CASH_RECEIPTS_ALL AR_CASH_RECEIPT_HISTORY_ALL AR_POSTING_CONTROL AR_POSTING_CONTROL GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS

Primary Key Column BATCH_ID CASH_RECEIPT_ID CASH_RECEIPT_HISTORY_ID POSTING_CONTROL_ID POSTING_CONTROL_ID CODE_COMBINATION_ID CODE_COMBINATION_ID

Foreign Key Column BATCH_ID CASH_RECEIPT_ID PRV_STAT_CASH_RECEIPT_HIST_ID POSTING_CONTROL_ID REVERSAL_POSTING_CONTROL_ID ACCOUNT_CODE_COMBINATION_ID BANK_CHARGE_ACCOUNT_CCID

Column Descriptions Name


CASH_RECEIPT_HISTORY_ID CASH_RECEIPT_ID STATUS TRX_DATE (PK)

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

Description Cash receipt history identifier MRC only: Concatenated string of reporting set of books ID, cash receipt identifier pairs One of the following: APPROVED, CONFIRMED, REMITTED, CLEARED, REVERSED The transaction date when this history row occurs as entered by the user

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 85

Column Descriptions Name


AMOUNT

(Continued)
Null? Type NOT NULL NUMBER Description The amount for this step of the life cycle of the receipt. Most of the amounts will be similar to the original amount of the cash receipt but the cleared amount might be different from the remitted due to any charges the bank took. This is Y if this is the first row that is posted for this cash receipts; N otherwise. This is Y if the row is postable and N otherwise. It is N for the approved row and N for the REVERSED row. It is Y for all the other statuses. This is Y if the status is REMITTED and the cash receipt was factored as specified by the user on the remittance step. The General Ledger Date that is used when debiting the ACCOUNT_CODE_COMBINATION_ID This is Y if this row is the latest step for this cash receipt; it is null otherwise. This is a foreign key to the AR_BATCHES table that points to the batch that was used to create this row for this cash receipt. This is the account that is either debited or credited (on the GL_DATE and REVERSAL_GL_DATE respectively). This is the General Ledger Date that is used to credit the ACCOUNT_CODE_COMBINATION_ID. It also signifies that this row has been reversed. It could mean that the receipt went on to the next step or reverted one step. This is a unique key that sequences the reversal of this row and is sourced from the same sequence as CASH_RECEIPT_HISTORY_ID. This is the amount of the bank charge and/or factor discount taken by the bank at clearance and/or factoring time. This is the account that is debited and/or credited for the FACTOR_DISCOUNT_AMOUNT. Receivables posting batch identifier; 1 means it was posted by the old posting program (ARXGLP); 2 means its posted from old rel8 RA; 3 means its not posted; 4 means its posted by rel9 RAPOST

FIRST_POSTED_RECORD_FLAG POSTABLE_FLAG

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

FACTOR_FLAG

NOT NULL VARCHAR2(1)

GL_DATE CURRENT_RECORD_FLAG BATCH_ID

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

ACCOUNT_CODE_COMBINATION_ID

NULL NUMBER(15)

REVERSAL_GL_DATE

NULL DATE

REVERSAL_CASH_RECEIPT_HIST_ID

NULL NUMBER(15)

FACTOR_DISCOUNT_AMOUNT

NULL NUMBER

BANK_CHARGE_ACCOUNT_CCID POSTING_CONTROL_ID

NULL NUMBER(15) NOT NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 86 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) Description Receivables posting batch identifier; 1 means it was posted by the old posting program (ARXGLP); 2 means its posted from RA; 3 means its not posted; this should be null if reversal_gl_date is null. Date given when you submit record for General Ledger posting Date given when you submit reversal for General Ledger posting Standard Who column This is AMOUNT in the functional currency. This is FACTOR_DISCOUNT_AMOUNT in the functional currency. Standard Who column Standard Who column Date for which rate selected Exchange rate used to convert foreign currency amounts into functional currency Used to define multiple currency exchange rates for the same date Standard Who column Standard Who column Standard Who column Standard Who column Request ID number Standard Who column This column has the CASH_RECEIPT_HISTORY_ID of the record that precedes the current record in status. Normally, it is the ID of the reversed record. For rate adjustments, it has the same value as that of the record it reversed/adjusted. This is populated with R10UPGRADE during the upgrade from release9 to release10. For new rows, it has a code pointing to the forms/program that created this row. This is populated with R10UPGRADE during the upgrade from release9 to release10. For new rows, it has a code pointing to the forms/program that reversed this row. Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column

REVERSAL_POSTING_CONTROL_ID

GL_POSTED_DATE REVERSAL_GL_POSTED_DATE LAST_UPDATE_LOGIN ACCTD_AMOUNT ACCTD_FACTOR_DISCOUNT_AMOUNT CREATED_BY CREATION_DATE EXCHANGE_DATE EXCHANGE_RATE EXCHANGE_RATE_TYPE LAST_UPDATE_DATE PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE REQUEST_ID LAST_UPDATED_BY PRV_STAT_CASH_RECEIPT_HIST_ID

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

CREATED_FROM

NOT NULL VARCHAR2(30)

REVERSAL_CREATED_FROM

NULL VARCHAR2(30)

ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 87

Column Descriptions Name


ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(30) Descriptive Flexfield Structure Defining Column NULL VARCHAR2(30) The state of the Note Receivable NULL NUMBER(15) Operating Unit Identifier NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, receivable posting batch identifier pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, posted date for reporting book(s) pairs NULL VARCHAR2(2000) Concatenated string of reporting set of books ID, posted date for the reversal for reporting book(s) pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, amount in reporting currency(s) pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, FACTOR_DISCOUNT_AMOUNT in reporting currency(s) pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, exchange date pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, exchange rate pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, exchange rate type pairs

ATTRIBUTE_CATEGORY NOTE_STATUS ORG_ID MRC_POSTING_CONTROL_ID

MRC_GL_POSTED_DATE

MRC_REVERSAL_GL_POSTED_DATE

MRC_ACCTD_AMOUNT

MRC_ACCTD_FACTOR_DISC_AMOUNT

MRC_EXCHANGE_DATE MRC_EXCHANGE_RATE MRC_EXCHANGE_RATE_TYPE

Indexes Index Name


AR_CASH_RECEIPT_HISTORY_N1

Index Type NOT UNIQUE

Sequence 1 2

Column Name CASH_RECEIPT_ID CURRENT_RECORD_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 88 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes (Continued) Index Name


AR_CASH_RECEIPT_HISTORY_N2 AR_CASH_RECEIPT_HISTORY_N3 AR_CASH_RECEIPT_HISTORY_N4 AR_CASH_RECEIPT_HISTORY_N6 AR_CASH_RECEIPT_HISTORY_N8 AR_CASH_RECEIPT_HISTORY_U1 AR_CASH_RECEIPT_HISTORY_U2

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

Sequence 1 2 1 1 2 1 2 1 1 1

Column Name GL_DATE FIRST_POSTED_RECORD_FLAG BATCH_ID POSTING_CONTROL_ID GL_DATE CURRENT_RECORD_FLAG STATUS REQUEST_ID CASH_RECEIPT_HISTORY_ID REVERSAL_CASH_RECEIPT_HIST_ID

Sequences Sequence
AR_CASH_RECEIPT_HISTORY_S

Derived Column CASH_RECEIPT_HISTORY_ID

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

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables receipts. It fires right before a receipt is reversed or its postable_flag is changed to Y. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_MRC_CASH_HISTORY_BID BEFORE ROW INSERT, 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_CASH_RECEIPT_HISTORY_ALL. For each record being inserted/updated/deleted in AR_CASH_RECEIPT_HISTORY_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_CASH_RECEIPT_HIST. In addition, this trigger also populates the MRC VARCHAR2 columns in AR_CASH_RECEIPT_HISTORY_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 89

AR_DISTRIBUTIONS_ALL
This table stores the distributions generated by the different steps in the life cycle of a cash receipt. This information was moved from the AR_CASH_RECEIPT_HISTORY_ALL table as there could be more than one account associated with each history row. The primary key for this table is SOURCE_ID, SOURCE_TABLE, SOURCE_TYPE. In the current release, only the SOURCE_TABLE is recognized.
Foreign Keys Primary Key Table
AR_CASH_RECEIPT_HISTORY_ALL GL_CODE_COMBINATIONS

Primary Key Column CASH_RECEIPT_HISTORY_ID CODE_COMBINATION_ID

Foreign Key Column SOURCE_ID CODE_COMBINATION_ID

Column Descriptions Name


LINE_ID

Null? Type NOT NULL NUMBER(15)

Description This is a unique key in the table. It is used to uniquely identify rows in this table primarily when these rows are passed on to General Ledger. This is a foreign key to AR_CASH_RECEIPT_HISTORY.CASH_RE CEIPT_HISTORY_ID and refers to the transaction that created these distributions. This will always be CRH in 10.6. In future releases, this might have other values to represent other tables. This is one of the following values: CONFIRMATION, REMITTANCE, CASH, FACTOR, SHORT_TERM_DEBT, BANK_CHARGES and represents the account for which the distribution is being posted. This is the foreign key to GL_CODE_COMBINATIONS.CODE_COMBI NATION_ID. It is the account to create the journals for. This is the amount of the journal entries. This is the amount of the journal entries. This is the amount of the journal entries. This is the amount of the journal entries. The date this receipt was created. Standard Who column Standard Who column Standard Who column Standard Who column Operating Unit Identifier Abbreviation which represents another table

SOURCE_ID

(PK)

NOT NULL NUMBER(15)

SOURCE_TABLE

(PK)

NOT NULL VARCHAR2(10)

SOURCE_TYPE

(PK)

NOT NULL VARCHAR2(30)

CODE_COMBINATION_ID

NOT NULL NUMBER(15)

AMOUNT_DR AMOUNT_CR ACCTD_AMOUNT_DR ACCTD_AMOUNT_CR CREATION_DATE CREATED_BY LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN ORG_ID SOURCE_TABLE_SECONDARY

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 90 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL VARCHAR2(15) NULL NUMBER NULL VARCHAR2(30) NULL DATE NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) Description Foreign key for entity in SOURCE_TABLE_SECONDARY Code defined for a currency Exchange rate Supports multiple currency exchange rates for the same date Date the currency was converted using the given exchange rate For line of type Tax, the taxable debit to which the tax applies. For line of type Tax, the taxable credit to which the tax applies. Accounted taxable debit amount Accounted taxable credit amount Links tax and taxable lines within the AR_DISTRIBUTIONS table. Billto customer ID for transactions; paidfrom customer ID for receipts Billto site use ID for transactions; customer site use ID for receipts The source ID from which the reversal record was created. Used for receipt application (APP) records to get the debit/ credit for the Gain/Loss account. Foreign key to AR_VAT_TAX Foreign key to AR_LOCATION_VALUES Source Type Secondary

SOURCE_ID_SECONDARY CURRENCY_CODE CURRENCY_CONVERSION_RATE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE TAXABLE_ENTERED_DR TAXABLE_ENTERED_CR TAXABLE_ACCOUNTED_DR TAXABLE_ACCOUNTED_CR TAX_LINK_ID THIRD_PARTY_ID THIRD_PARTY_SUB_ID REVERSED_SOURCE_ID

TAX_CODE_ID LOCATION_SEGMENT_ID SOURCE_TYPE_SECONDARY

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

Indexes Index Name


AR_DISTRIBUTIONS_N1 AR_DISTRIBUTIONS_U2

Index Type NOT UNIQUE UNIQUE

Sequence 2 3 4 1

Column Name SOURCE_ID SOURCE_TABLE SOURCE_TYPE LINE_ID

Sequences Sequence
AR_DISTRIBUTIONS_S

Derived Column LINE_ID

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 91

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_DISTRIBUTIONS_ALL. For each record being inserted/updated/deleted in AR_DISTRIBUTIONS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_DISTRIBUTIONS_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 92 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_MISC_CASH_DISTRIBUTIONS_ALL
This table stores all accounting entries for your miscellaneous cash applications. Miscellaneous cash is nonrevenue income such as stock revenue, interest income, and investment income. AR_CASH_RECEIPTS_ALL stores one record for each payment while AR_MISC_CASH_DISTRIBUTIONS_ALL stores one record for each distribution of the receipt. The primary key for this table is MISC_CASH_DISTRIBUTION_ID.
Foreign Keys Primary Key Table
AR_CASH_RECEIPTS_ALL GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS

Primary Key Column CASH_RECEIPT_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID

Foreign Key Column CASH_RECEIPT_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID

Column Descriptions Name


MISC_CASH_DISTRIBUTION_ID LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE CASH_RECEIPT_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID GL_DATE PERCENT AMOUNT COMMENTS GL_POSTED_DATE APPLY_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 (PK)

Null? Type NOT NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL DATE NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL DATE NOT NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL DATE NULL NUMBER(19,3) NOT NULL NUMBER NULL VARCHAR2(240) NULL DATE NOT 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)

Description Primary key for distributions of miscellaneous cash Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Identifier for the cash receipt of the miscellaneous cash General Ledger Code Combination (account) General Ledger Set of Books used (only one supported currently) General Ledger date Percent of the distribution attributed to this record Amount of the distribution Comments The date that this line was posted to the General Ledger The Apply Date of the line 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 93

Column Descriptions Name


ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NOT NULL NUMBER Receivables posting batch identifier; 1 means it was posted by the old posting program (ARXGLP); 2 means its posted from old rel8 RA; 3 means its not posted; 4 means its posted by rel9 RAPOST NOT NULL NUMBER Amount of journal entries NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL NUMBER(15) Standard Who column NULL NUMBER(15) Standard Who column NULL DATE Standard Who column NULL NUMBER(15) Request ID number NULL VARCHAR2(30) USSGL Transaction Code NULL VARCHAR2(30) Context value for the USSGL Transaction Code Flexfield. NOT NULL VARCHAR2(30) This is populated with X during upgrade from release9 to release10 NULL DATE This is filled in for the records that have been reversed and for the reversing record as well. The main purposes of this column for release 10 is to limit the number of records that get reversed by rate adjustments and receipt reversal. NULL NUMBER(15) Operating Unit Identifier NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, posted date for reporting book(s) pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, receivables posting batch identifier pairs NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, amount in reporting currency(s) pairs

POSTING_CONTROL_ID

ACCTD_AMOUNT ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE REQUEST_ID USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE_CONTEXT CREATED_FROM REVERSAL_GL_DATE

ORG_ID MRC_GL_POSTED_DATE

MRC_POSTING_CONTROL_ID

MRC_ACCTD_AMOUNT

Indexes Index Name


AR_MISC_CASH_DISTRIBUTIONS_N1 AR_MISC_CASH_DISTRIBUTIONS_N2

Index Type NOT UNIQUE NOT UNIQUE

Sequence 1 1

Column Name CASH_RECEIPT_ID GL_DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 94 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes (Continued) Index Name


AR_MISC_CASH_DISTRIBUTIONS_N3 AR_MISC_CASH_DISTRIBUTIONS_N4 AR_MISC_CASH_DISTRIBUTIONS_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 1 2 1

Column Name GL_POSTED_DATE POSTING_CONTROL_ID GL_DATE MISC_CASH_DISTRIBUTION_ID

Sequences Sequence
AR_MISC_CASH_DISTRIBUTIONS_S

Derived Column MISC_CASH_DISTRIBUTION_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_MRC_MISC_CASH_DISTS_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_MISC_CASH_DISTRIBUTIONS_ALL. For each record being inserted/updated/deleted in AR_MISC_CASH_DISTRIBUTIONS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_MISC_CASH_DISTS. In addition, this trigger also populates the MRC VARCHAR2 columns in AR_MISC_CASH_DISTRIBUTIONS_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 95

AR_RECEIPT_METHODS
This table stores information about Payment Methods, receipt attributes that you define and assign to Receipt Classes to account for receipts and their applications. For automatically created receipts, a Payment Method defines the rules for creating these receipts. For manually created receipts, a Payment Method defines a userdefinable type for the receipt. Each Payment Method is associated with a set of bank accounts, which forms the set of bank accounts you can assign to your receipt. For example, if you normally receive Lockbox transmissions from bank ABC and bank DEF, you might create a Payment Method called LOCKBOX and assign bank accounts from bank ABC and bank DEF to this Payment Method.
Foreign Keys Primary Key Table
AP_PAYMENT_PROGRAMS AR_RECEIPT_CLASSES

Primary Key Column PROGRAM_ID RECEIPT_CLASS_ID

Foreign Key Column AUTO_PRINT_PROGRAM_ID RECEIPT_CLASS_ID

Column Descriptions Name


RECEIPT_METHOD_ID CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE NAME RECEIPT_CLASS_ID START_DATE AUTO_PRINT_PROGRAM_ID (PK)

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

Description Identifier of the receipt method Standard Who column Standard Who column Standard Who column Standard Who column Name of the receipt method Identifier of the receipt class which is associated with this receipt method Date this receipt method is active Identifier of the program that will be used to print automatic receipt which are created with this receipt method Identifier of the program that will be used to transmit automatic receipt which are created with this receipt method Date this receipt method is inactive Standard Who column Number of days before the invoice due date that an invoice will become eligible to be selected for receipt application of automatic receipts that you create using this payment method Determines the maturity date of an automatic receipt that is used to pay invoices that have different due dates

NOT NULL DATE NULL NUMBER(15)

AUTO_TRANS_PROGRAM_ID

NULL NUMBER(15)

END_DATE LAST_UPDATE_LOGIN LEAD_DAYS

NULL DATE NULL NUMBER(15) NULL NUMBER(5)

MATURITY_DATE_RULE_CODE

NULL VARCHAR2(30)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 96 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) Description Indicates the rule that will be used to group automatic receipts that are created with this receipt method (for example, one per customer or one per site) 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 Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column This column holds the string to be printed in statements when referring to this receipt method. 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

RECEIPT_CREATION_RULE_CODE

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

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 VARCHAR2(30)

GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10

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


Detailed Design 3 97

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(30) Reserved For Globalization Functionality NULL VARCHAR2(30) The payment type for this Payment Method. Values include Cash, Check, and Credit Card. NULL NUMBER(15) Merchants identifier for the Credit Card Processor. This number is usually provided by the bank or credit card issuer. NULL VARCHAR2(1) Flag to indicate whether a receipt created by the Automatic Receipts program should be assigned the same document number as the transaction it is paying. NULL VARCHAR2(1) Flag to indicate whether the debit memo created by a debit memo reversal is assigned the same document number as the reversed receipt.

GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY PAYMENT_TYPE_CODE MERCHANT_ID

RECEIPT_INHERIT_INV_NUM_FLAG

DM_INHERIT_RECEIPT_NUM_FLAG

Indexes Index Name


AR_RECEIPT_METHODS_U1 AR_RECEIPT_METHODS_U2

Index Type UNIQUE UNIQUE

Sequence 1 2

Column Name RECEIPT_METHOD_ID NAME

Sequences Sequence
AR_RECEIPT_METHODS_S

Derived Column RECEIPT_METHOD_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 98 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_RECEIPT_METHOD_ACCOUNTS_ALL
This table is an intersection of Payment Methods and bank accounts. For each receipt method, each bank account that can handle this Payment Method is defined as a row in this table. The accounting entries that are used for each step of the life cycle of the receipt are also defined at this level, so they can vary by Payment Method and bank accounts.
Foreign Keys Primary Key Table
AP_PAYMENT_PROGRAMS AP_PAYMENT_PROGRAMS AP_PAYMENT_PROGRAMS AP_PAYMENT_PROGRAMS AR_RECEIVABLES_TRX_ALL AR_RECEIVABLES_TRX_ALL 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_CODE_COMBINATIONS

Primary Key Column PROGRAM_ID PROGRAM_ID PROGRAM_ID PROGRAM_ID RECEIVABLES_TRX_ID RECEIVABLES_TRX_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 CODE_COMBINATION_ID CODE_COMBINATION_ID

Foreign Key Column FACTOR_PRINT_PROGRAM_ID FACTOR_TRANSMISSION_PROGRAM_ID REMIT_PRINT_PROGRAM_ID REMIT_TRANSMISSION_PROGRAM_ID EDISC_RECEIVABLES_TRX_ID UNEDISC_RECEIVABLES_TRX_ID CASH_CCID EARNED_CCID ON_ACCOUNT_CCID UNAPPLIED_CCID UNEARNED_CCID UNIDENTIFIED_CCID BANK_CHARGES_CCID FACTOR_CCID REMITTANCE_CCID RECEIPT_CLEARING_CCID

QuickCodes Columns Column


OVERRIDE_REMIT_ACCOUNT_FLAG

QuickCodes Type YES/NO N Y

QuickCodes Table AR_LOOKUPS No Yes

Column Descriptions Name


BANK_ACCOUNT_ID (PK) (PK)

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

Description Identifier of the bank account associated with this receipt method Identifier of the receipt method associated with this bank account Identifier of the Accounting Flexfield for the Cash Account Standard Who column Standard Who column Identifier of the Accounting Flexfield for the Earned Account Standard Who column Standard Who column Identifier of the Accounting Flexfield for the On Account Account

RECEIPT_METHOD_ID CASH_CCID CREATED_BY CREATION_DATE EARNED_CCID LAST_UPDATED_BY LAST_UPDATE_DATE ON_ACCOUNT_CCID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 99

Column Descriptions Name


START_DATE UNAPPLIED_CCID UNEARNED_CCID

(Continued)
Null? Type NOT NULL DATE NOT NULL NUMBER(15) NULL NUMBER(15) NOT NULL NUMBER(15) NULL NUMBER(15) NULL DATE NULL NUMBER(15) NULL NUMBER(15) Description Date this combination of receipt method and bank account is active Identifier of the Accounting Flexfield for the Unapplied Account Identifier of the Accounting Flexfield for the Unearned Account Identifier of the Accounting Flexfield for the Unidentified Account Identifier of the Accounting Flexfield for the Bank Charges Account Date this combination of receipt method and bank account is inactive Identifier of the Accounting Flexfield for the Factor Account Identifier of the program that will be used to print receipt that are selected for factoring and which use these receipt method and bank account Identifier of the program that will be used to transmit receipt that are selected for factoring and which use these receipt method and bank account Standard Who column Indicates the minimum receipt amount in this currency that must be specified when an automatic receipt is created with this payment method Identifier of the Accounting Flexfield for the Receipt Confirmation Account Identifier of the Accounting Flexfield for the Remittance Account Identifier of the program that will be used to print automatic receipts that are selected for remittance and which use these receipt method and bank account Identifier of the program that will be used to transmit automatic receipts that are selected for remittance and which use these receipt method and bank account Descriptive Flexfield Structure Defining Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column Descriptive Flexfield Segment Column

UNIDENTIFIED_CCID BANK_CHARGES_CCID END_DATE FACTOR_CCID FACTOR_PRINT_PROGRAM_ID

FACTOR_TRANSMISSION_PROGRAM_ID

NULL NUMBER(15)

LAST_UPDATE_LOGIN MIN_RECEIPT_AMOUNT

NULL NUMBER(15) NULL NUMBER

RECEIPT_CLEARING_CCID REMITTANCE_CCID REMIT_PRINT_PROGRAM_ID

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

REMIT_TRANSMISSION_PROGRAM_ID

NULL NUMBER(15)

ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 100 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 PRIMARY_FLAG

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NOT NULL VARCHAR2(1) Y or N indicates whether this remittance bank is the primary bank account in this currency for this payment method NULL NUMBER(5) This stores the number of clearing days it takes for a bank account to clear a payment method. On a factored receipt, it is also the number of days after maturity date when customer risk of nonpayment is eliminated. NULL NUMBER(15) Stores the short term debt liability account that is credited when receipts are factored to the bank. The account is debited at risk elimination time. It is mandatory for receipt classes whose remit_method_code allows factoring. NULL VARCHAR2(1) This column will be used to default the OVERRIDE_REMIT_ACCOUNT_FLAG for receipts created with this payment method and bank account combination. It is considered Y when null. NULL NUMBER(5) Stores the number of days after the maturity date of a discounted receipt before the risk of nonpayment of the receipt can be eliminated. The Automatic Clearing program uses this date. It is 0 when null. NULL NUMBER(15) Operating Unit Identifier NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality

CLEARING_DAYS

SHORT_TERM_DEBT_CCID

OVERRIDE_REMIT_ACCOUNT_FLAG

RISK_ELIMINATION_DAYS

ORG_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 101

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(30) Reserved For Globalization Functionality NULL NUMBER(15) Foreign key to AR_RECEIVABLES_TRX. This indicates the Receivables Activity to use when accounting for tax on earned discounts. NULL NUMBER(15) Foreign key to AR_RECEIVABLES_TRX. This indicates the Receivables Activity to use when accounting for tax on unearned discounts.

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 EDISC_RECEIVABLES_TRX_ID

UNEDISC_RECEIVABLES_TRX_ID

Indexes Index Name


AR_RECEIPT_METHOD_ACCOUNTS_U1

Index Type UNIQUE

Sequence 1 2

Column Name RECEIPT_METHOD_ID BANK_ACCOUNT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 102 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_RECEIVABLES_TRX_ALL
This table links accounting information with your Receivables Activities. Possible types of activities include Adjustment, Miscellaneous Cash, and Finance Charges. If your type is Miscellaneous Cash, you can associate either a distribution set or a standard accounting flexfield to your Receivables Activity. Oracle Receivables uses one row for each activity. You use your receivables activities to speed receipt entry and generate finance charges. The other types of activities that were valid in Release 9 and no longer valid in Release 10 were converted (as part of the upgrade) such that the actual accounting flexfield CODE_COMBINATION_ID is stored in the table instead of the RECEIVABLES_TRX_ID. In Release 9, all of these references were in AR_BATCH_SOURCES; they are now in AR_RECEIPT_METHOD_ACCOUNTS_ALL. The primary key for this table is RECEIVABLES_TRX_ID.
Foreign Keys Primary Key Table
AR_DISTRIBUTION_SETS_ALL GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS

Primary Key Column DISTRIBUTION_SET_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID

Foreign Key Column DEFAULT_ACCTG_DISTRIBUTION_SET CODE_COMBINATION_ID SET_OF_BOOKS_ID

QuickCodes Columns Column


STATUS

QuickCodes Type CODE_STATUS A I RECEIVABLES_TRX ADJUST BANK_ERROR FINCHRG MISCCASH

QuickCodes Table AR_LOOKUPS Active Inactive AR_LOOKUPS Adjustments Bank Error Finance Charge Miscellaneous Cash

TYPE

Column Descriptions Name


RECEIVABLES_TRX_ID LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATION_DATE CREATED_BY NAME CODE_COMBINATION_ID SET_OF_BOOKS_ID DESCRIPTION (PK)

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

Description

Record identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Name of the receivables activity NULL NUMBER(15) General Ledger Code Combination (account) NOT NULL NUMBER(15) General Ledger Set of Books used (only one supported currently) NULL VARCHAR2(240) Description of the receivables activity

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 103

Column Descriptions Name


STATUS TYPE

(Continued)
Null? Type NOT NULL VARCHAR2(30) NULL VARCHAR2(30) NULL DATE NULL DATE NULL NUMBER 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) 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) Description Lookup code for the status of the activity Lookup code for the type of the receivables activity The date from which the activity is valid The date at which the activity becomes invalid The default distribution set for the activity The date on which the activity becomes inactive 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 Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column 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

START_DATE_ACTIVE END_DATE_ACTIVE DEFAULT_ACCTG_DISTRIBUTION_SET INACTIVE_DATE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ORG_ID GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 104 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(30) Reserved for Globalization functionality NULL VARCHAR2(150) Reserved for Globalization functionality NULL VARCHAR2(50) Asset tax code from AR_VAT_TAX (tax groups are not allowed) NULL VARCHAR2(50) Liability tax code from AR_VAT_TAX. (tax groups are not allowed) NULL VARCHAR2(30) Lookup for GL_ACCOUNT_SOURCE. Values include Activity GL Account, Distribution Set, Revenue on Invoice, and Tax Code on Invoice. NULL VARCHAR2(30) Lookup for TAX_CODE_SOURCE. Values include Activity, Invoice, and None. NULL VARCHAR2(1) Indicates whether tax for this activity is recoverable (not applicable to miscellaneous cash transactions)

GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 GLOBAL_ATTRIBUTE11 GLOBAL_ATTRIBUTE12 GLOBAL_ATTRIBUTE13 GLOBAL_ATTRIBUTE14 GLOBAL_ATTRIBUTE15 GLOBAL_ATTRIBUTE16 GLOBAL_ATTRIBUTE17 GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE20 ASSET_TAX_CODE LIABILITY_TAX_CODE GL_ACCOUNT_SOURCE

TAX_CODE_SOURCE TAX_RECOVERABLE_FLAG

Indexes Index Name


AR_RECEIVABLES_TRX_N1 AR_RECEIVABLES_TRX_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 1 11

Column Name NAME RECEIVABLES_TRX_ID ORG_ID

Sequences Sequence
AR_RECEIVABLES_TRX_S

Derived Column RECEIVABLES_TRX_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 105

AR_RECEIVABLE_APPLICATIONS_ALL
This table stores all accounting entries for your cash and credit memo applications. Each row includes the amount applied, status, and accounting flexfield information. Possible statuses of your applications include APP, UNAPP, ACC, and UNID. You use this information to determine the applications of your payments or credit memos. CONFIRMED_FLAG is a denormalization from AR_CASH_RECEIPTS_ALL. If the cash receipt is not confirmed, the applications of that receipt are not reflected in the payment schedule of the transaction it is applied against. There are two kinds of applications: CASH and CM (for credit memo applications). This is stored in the column APPLICATION_TYPE. CASH applications represent applications of a cash receipt. When a cash receipt is initially created, a row is created in this table that has a status of UNAPP for the amount of the cash receipt. Each subsequent application creates two rows one with a status of APP for the amount being applied to the invoice and one with status UNAPP for the negative of the amount being applied. If you reverse a cash application, a row with status APP with the inverse amount of the original application (i.e. the negative of the original application amount) is created. The corresponding UNAPP row is also created which will have a positive amount (the same amount as the application being reversed). For example: UNAPP APP UNAPP APP UNAPP 100 60 60 60 creation of a $100 cash receipt application of $60 of this cash receipt this row takes away (debits) unapplied reversal of the $60 application

60 this rows puts back (credits) unapplied

The sum of the AMOUNT_APPLIED column for CASH applications should always equal the amount of the cash receipt. CM applications, on the other hand, do not have rows of status UNAPP. They only use rows with a status of APP. CASH_RECEIPT_ID stores the cash receipt ID of the receipt you entered. Oracle Receivables concurrently creates a record of this receipt in the AR_CASH_RECEIPTS_ALL table. This column is null for a credit memo application. CODE_COMBINATION_ID stores valid Accounting Flexfield segment value combinations that will be credited in the General Ledger when this application is posted. A negative value in AMOUNT_APPLIED becomes a debit. The STATUS of a receivable application determines which flexfield account Oracle Receivables uses. For example, if you enter a cash receipt of $500 as Unidentified, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table with
Oracle Proprietary, Confidential InformationUse Restricted by Contract
3 106 Oracle Applications Global Accounting Engine Technical Reference Manual

AMOUNT_APPLIED = 500 and STATUS = UNID. Oracle Receivables uses the foreign key CODE_COMBINATION_ID to associate this payment with the Unidentified flexfield account. CUSTOMER_TRX_ID, CASH_RECEIPT_ID, and PAYMENT_SCHEDULE_ID identify the transaction that you are actually applying. APPLIED_CUSTOMER_TRX_ID and APPLIED_PAYMENT_SCHEDULE_ID identify the invoice or credit memo that receives the application. For example, if you apply a receipt against an invoice, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table. The CASH_RECEIPT_ID and the PAYMENT_SCHEDULE_ID of this record identify the receipt you are applying. APPLIED_PAYMENT_SCHEDULE_ID and APPLIED_CUSTOMER_TRX_ID for this record belong to the invoice that is receiving the application. If you apply a credit memo against the invoice, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table that has the CUSTOMER_TRX_ID and the PAYMENT_SCHEDULE_ID of the credit memo you are applying. The APPLIED_PAYMENT_SCHEDULE_ID and the APPLIED_CUSTOMER_TRX_ID of this record belong to the invoice that is receiving the application. If you combine an on account credit and a receipt, Oracle Receivables creates a record in the AR_RECEIVABLE_APPLICATIONS_ALL table. The PAYMENT_SCHEDULE_ID and the CASH_RECEIPT_ID of this record identify the receipt. The APPLIED_PAYMENT_SCHEDULE_ID and the APPLIED_CUSTOMER_TRX_ID of this record identify the on account credit that you are combining with the receipt. The primary key for this table is RECEIVABLE_APPLICATION_ID, which uniquely identifies the transaction that created the row.
Foreign Keys Primary Key Table
AR_CASH_RECEIPTS_ALL AR_CASH_RECEIPT_HISTORY_ALL AR_PAYMENT_SCHEDULES_ALL AR_PAYMENT_SCHEDULES_ALL GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_LINES_ALL

Primary Key Column CASH_RECEIPT_ID CASH_RECEIPT_HISTORY_ID PAYMENT_SCHEDULE_ID PAYMENT_SCHEDULE_ID CODE_COMBINATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUSTOMER_TRX_ID CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID

Foreign Key Column CASH_RECEIPT_ID CASH_RECEIPT_HISTORY_ID PAYMENT_SCHEDULE_ID APPLIED_PAYMENT_SCHEDULE_ID CODE_COMBINATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUSTOMER_TRX_ID APPLIED_CUSTOMER_TRX_ID APPLIED_CUSTOMER_TRX_LINE_ID

QuickCodes Columns Column


STATUS

QuickCodes Type PAYMENT_TYPE ACC

QuickCodes Table AR_LOOKUPS On Account

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 107

QuickCodes Columns Column

(Continued)
QuickCodes Type APP UNAPP UNID QuickCodes Table Applied Unapplied Unidentified

Column Descriptions Name


RECEIVABLE_APPLICATION_ID LAST_UPDATED_BY LAST_UPDATE_DATE CREATED_BY CREATION_DATE AMOUNT_APPLIED (PK)

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

Description Identifies the receivable application Standard Who column Standard Who column Standard Who column Standard Who column For same currency applications, the total amount of the application in the currency of the receipt and transaction. For cross currency applications, the total amount of the application in the currency of the transaction. The amount applied to the transaction in the receipt currency. This field is used only for cross currency applications (will be null for same currency applications). The exchange rate used to convert the amount applied in the transaction currency to the amount applied in the receipt currency. This field is used only for cross currency receipt applications. Date that this application will post to the General Ledger General Ledger Code Combination (account) General Ledger Set of Books used (only one supported per organization) Y or N flag to indicate whether this is the latest application Date the application was applied Lookup code for the type of application Lookup type for the status of the application Identifies the Payment Schedule of the Payment or Credit Memo being applied Standard Who column Identifies the payment being applied Identifies the debit item or credit memo to which a payment or credit memo is applied The line number of the debit item or credit memo to which a payment or credit memo is applied

AMOUNT_APPLIED_FROM

NULL NUMBER

TRANS_TO_RECEIPT_RATE

NULL NUMBER

GL_DATE CODE_COMBINATION_ID SET_OF_BOOKS_ID DISPLAY APPLY_DATE APPLICATION_TYPE STATUS PAYMENT_SCHEDULE_ID LAST_UPDATE_LOGIN CASH_RECEIPT_ID APPLIED_CUSTOMER_TRX_ID APPLIED_CUSTOMER_TRX_LINE_ID

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 108 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) Description Identifies the Payment Schedule of the debit item or credit memo to which a Payment or Credit Memo has been applied Identifies the debit item or credit memo being applied Line amount applied Tax amount applied Freight amount applied Receivables charges amount applied Amount of earned discount taken towards the application Amount of unearned discount taken towards the application Difference between apply date and due date of transaction Code used internally to identify which SQL statements in which modules created this record Date the application was posted to the General Ledger Users comments 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 Y or N indicates whether the item is postable to the General Ledger Receivables posting batch identifier; 1 means it was posted by the old posting program (ARXGLP); 2 means its posted from old rel8 RA; 3 means its not posted; 4 means its posted by rel9 RAPOST Receipt portion in functional currency, converted using the receipt rate

APPLIED_PAYMENT_SCHEDULE_ID

CUSTOMER_TRX_ID LINE_APPLIED TAX_APPLIED FREIGHT_APPLIED RECEIVABLES_CHARGES_APPLIED EARNED_DISCOUNT_TAKEN UNEARNED_DISCOUNT_TAKEN DAYS_LATE APPLICATION_RULE

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

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

GL_POSTED_DATE COMMENTS ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 POSTABLE POSTING_CONTROL_ID

NULL DATE NULL VARCHAR2(240) 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(1) NOT NULL NUMBER(15)

ACCTD_AMOUNT_APPLIED_FROM

NOT NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 109

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER Description Amount allocated to the transaction in functional currency, converted using the transaction rate Earned discount equivalent in the functional currency obtained using the invoice exchange rate Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column This is null or Y when the cash receipt is confirmed, N if the cash receipt is not confirmed. Always use nvl (confirmed_flag Y) when checking this column. Identifies application owning program that created this row Identifies concurrent program that created this row Indicates date that the program created this row Identifies concurrent request of program that created this row Code defined by public sector accounting Context value for the USSGL Transaction Code Flexfield General Ledger Code Combination for the earned discount General Ledger Code Combination for the unearned discount Unearned discount equivalent in the functional currency obtained using the invoice exchange rate This column is filled in for the records that have been reversed and for the reversing record as well. Foreign key to ar_cash_receipt_history table identifying the row that was current when the receivable application was created. Operating Unit Identifier Tax code for On Account transactions Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality

ACCTD_AMOUNT_APPLIED_TO

ACCTD_EARNED_DISCOUNT_TAKEN

NULL NUMBER

ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CONFIRMED_FLAG

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

PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE REQUEST_ID USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE_CONTEXT EARNED_DISCOUNT_CCID UNEARNED_DISCOUNT_CCID ACCTD_UNEARNED_DISCOUNT_TAKEN

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

REVERSAL_GL_DATE

NULL DATE

CASH_RECEIPT_HISTORY_ID

NULL NUMBER(15)

ORG_ID TAX_CODE GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 110 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(30) Reserved For Globalization Functionality NULL NUMBER(15) Consolidated Invoice ID against which this adjustment appears NULL NUMBER(15) Consolidated billing invoice ID which contains the application to the new site (if application of cash or credit memo is applied to a site that is different from the site that was originally assigned to the cash or credit memo transaction) NULL NUMBER The application rule set ID NULL NUMBER Amount of earned discount taken from the remaining line amount for the item NULL NUMBER Amount of earned discount taken from the remaining tax amount for the item NULL NUMBER Amount of earned discount taken from the remaining freight amount for the item NULL NUMBER Amount of earned discount taken from the remaining receivables charges amount for the item

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_TO

RULE_SET_ID LINE_EDISCOUNTED TAX_EDISCOUNTED FREIGHT_EDISCOUNTED CHARGES_EDISCOUNTED

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 111

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NULL NULL Description Amount of unearned discount taken from the remaining line amount for the item NUMBER Amount of unearned discount taken from the remaining tax amount for the item NUMBER Amount of unearned discount taken from the remaining freight amount for the item NUMBER Amount of unearned discount taken from the remaining receivables charges for the item NUMBER(15) Identifier of receivables activity (no longer used) NUMBER(15) No longer used VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, total amount of the application pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, total amount of the application in the currency of the receipt pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, Y/N flag to indicate the latest application pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, lookup type for the status of the application pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, payment schedule identifier or credit memo being applied pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, payment identifier being applied pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, receivable posting batch identifier pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, receivable posting batch identifier pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, amount of the source converted pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, amount applied to item converted pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, earned discount equivalent in the reporting currency(s) pairs

LINE_UEDISCOUNTED TAX_UEDISCOUNTED FREIGHT_UEDISCOUNTED CHARGES_UEDISCOUNTED

RECEIVABLES_TRX_ID ON_ACCOUNT_CUSTOMER MRC_AMOUNT_APPLIED

NULL NULL NULL

MRC_AMOUNT_APPLIED_FROM

NULL

MRC_DISPLAY

NULL

MRC_STATUS

NULL

MRC_PAYMENT_SCHEDULE_ID

NULL

MRC_CASH_RECEIPT_ID

NULL

MRC_GL_POSTED_DATE

NULL

MRC_POSTING_CONTROL_ID

NULL

MRC_ACCTD_AMOUNT_APPLIED_FROM

NULL

MRC_ACCTD_AMOUNT_APPLIED_TO

NULL

MRC_ACCTD_EARNED_DISC_TAKEN

NULL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 112 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID unearned discount equivalent in the reporting currency(s) pairs NULL VARCHAR2(3) Indicates the rule used to create the accounting for tax on earned discounts. NULL VARCHAR2(3) Indicates the rule used to create the accounting for tax on unearned discounts.

MRC_ACCTD_UNEARNED_DISC_TAKEN

EDISC_TAX_ACCT_RULE UNEDISC_TAX_ACCT_RULE

Indexes Index Name


AR_RECEIVABLE_APPLICATIONS_N1 AR_RECEIVABLE_APPLICATIONS_N10 AR_RECEIVABLE_APPLICATIONS_N11 AR_RECEIVABLE_APPLICATIONS_N12 AR_RECEIVABLE_APPLICATIONS_N2 AR_RECEIVABLE_APPLICATIONS_N3 AR_RECEIVABLE_APPLICATIONS_N5 AR_RECEIVABLE_APPLICATIONS_N6 AR_RECEIVABLE_APPLICATIONS_N7 AR_RECEIVABLE_APPLICATIONS_N8 AR_RECEIVABLE_APPLICATIONS_N9 AR_RECEIVABLE_APPLICATIONS_U1

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

Sequence 1 1 1 2 5 1 1 2 1 1 1 1 2 1 1

Column Name CASH_RECEIPT_ID GL_POSTED_DATE POSTING_CONTROL_ID GL_DATE CONS_INV_ID CUSTOMER_TRX_ID PAYMENT_SCHEDULE_ID GL_DATE APPLY_DATE GL_DATE CREATION_DATE APPLIED_PAYMENT_SCHEDULE_ID GL_DATE APPLIED_CUSTOMER_TRX_ID RECEIVABLE_APPLICATION_ID

NOT UNIQUE UNIQUE

Sequences Sequence
AR_RECEIVABLE_APPLICATIONS_S

Derived Column RECEIVABLE_APPLICATION_ID

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

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables cash receipt and credit memo applications. It fires right after each row is created. For a cash receipt, an application row is created when the cash receipt is created, the cash receipt is applied ,or reversed. For a credit memo, the application is created when the credit memo is applied to an invoice. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AR_RECEIVABLE_APPL_ARU1 AFTER ROW UPDATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 113

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger updates the AX_DOCUMENT_STATUSES table. This trigger updates the unposted line count of the credit memo document as each Oracle Receivables credit memo application is posted. It fires right after a credit memo application is posted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AR_RECEIVABLE_APPL_ARD1 AFTER ROW DELETE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger updates the AX_DOCUMENT_STATUSES table. This trigger maintains line count and unposted line count information in AX_DOCUMENT_STATUSES related to Oracle Receivables credit memo applications. It fires right after a credit memo application is deleted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_RECEIVABLE_APPLICATIONS_BRI BEFORE ROW INSERT

Gets value for current cash_receipt_history_id during a cash receipt application. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AR_MRC_RECEIVABLE_APPS_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_RECEIVABLE_APPLICATIONS_ALL. For each record being inserted/updated/deleted in AR_RECEIVABLE_APPLICATIONS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, AR_MC_RECEIVABLE_APPS. In addition, this trigger also populates the MRC VARCHAR2 columns in AR_RECEIVABLE_APPLICATIONS_ALL. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_AR_OCC_DOCS_WRT_N_ABTMT1 AFTER ROW INSERT

Inserts a new record in JL_BR_AR_OCCURRENCE_DOCS_ALL after a credit is applied or reapplied to a payment schedule which is in the bank to be collected. This trigger fires after insert on AR_RECEIVABLE_APPLICATIONS_ALL table. This trigger is active only if Oracle Financials for the Americas is used.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 114 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_SYSTEM_PARAMETERS_ALL
This table stores information you supply to customize Oracle Receivables. This table stores installationwide options. There is no primary key for this table. There should always be one row in this table.

Foreign Keys Primary Key Table


AR_AUTOCASH_HIERARCHIES AR_RECEIVABLES_TRX_ALL FND_ID_FLEX_STRUCTURES GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS GL_SETS_OF_BOOKS

Primary Key Column AUTOCASH_HIERARCHY_ID RECEIVABLES_TRX_ID ID_FLEX_NUM CODE_COMBINATION_ID SET_OF_BOOKS_ID SET_OF_BOOKS_ID

Foreign Key Column AUTOCASH_HIERARCHY_ID FINCHRG_RECEIVABLES_TRX_ID LOCATION_STRUCTURE_ID CODE_COMBINATION_ID_GAIN SET_OF_BOOKS_ID CASH_BASIS_SET_OF_BOOKS_ID

QuickCodes Columns Column


ACCRUE_INTEREST

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

QuickCodes Table AR_LOOKUPS No Yes AR_LOOKUPS No Yes AR_LOOKUPS No Yes

PRINT_REMIT_TO

UNEARNED_DISCOUNT

Column Descriptions Name


SET_OF_BOOKS_ID CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN ACCOUNTING_METHOD ACCRUE_INTEREST UNEARNED_DISCOUNT PARTIAL_DISCOUNT_FLAG PRINT_REMIT_TO DEFAULT_CB_DUE_DATE AUTO_SITE_NUMBERING

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

Description General Ledger Set of Books used (only one supported currently) Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Lookup code for the accounting method Lookup code to indicate whether to accrue interest (Y or N) Lookup code to indicate whether to allow unearned discount (Y or N) Lookup code to indicate whether more than one currency is allowed (Y or N) Lookup code to indicate whether to print the remit to (Y or N) Default Charge Back due date Lookup code to indicate whether to use Payment Rules (Y or N)

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 115

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NOT NULL VARCHAR2(1) Description General Ledger Set of Books used for cash basis accounting method Code combination ID for realized gains Identifies the default Payment Rule to be used Lookup code to indicate whether to automatically run the General Ledger Journal Import when posting (Y or N) Split amount used by the Collection Effectiveness report Number of Day Sales Outstanding (used by the Collections Effectiveness report) Number of posting days per commit cycle in the posting program Type of validation that will be used for addresses defined in the home country (DEFAULT_COUNTRY) Descriptive Flexfield Segment column Descriptive Flexfield Segment column 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 Indicates whether you allow discount amounts to be calculated using only the line amounts of your invoices Indicates whether you want to allow changes to be made to transactions that have already been printed Code combination ID for realized losses Indicates whether a reciprocal relationship may be created between related customers Name of the country that will be defaulted for addresses

CASH_BASIS_SET_OF_BOOKS_ID CODE_COMBINATION_ID_GAIN AUTOCASH_HIERARCHY_ID RUN_GL_JOURNAL_IMPORT_FLAG

CER_SPLIT_AMOUNT CER_DSO_DAYS POSTING_DAYS_PER_CYCLE ADDRESS_VALIDATION

NOT NULL NUMBER(9) NOT NULL NUMBER(5) NOT NULL NUMBER(5) NOT NULL VARCHAR2(30)

ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE_CATEGORY ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 CALC_DISCOUNT_ON_LINES_FLAG

NULL VARCHAR2(150) NULL VARCHAR2(150) 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) NOT NULL VARCHAR2(1)

CHANGE_PRINTED_INVOICE_FLAG

NOT NULL VARCHAR2(1)

CODE_COMBINATION_ID_LOSS CREATE_RECIPROCAL_FLAG DEFAULT_COUNTRY

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 116 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(30) Description Indicates the Territory Flexfield that will be defaulted into the Transaction windows Indicates whether customer numbers will be generated automatically Indicates whether you allow deletion of incomplete invoices Identifier of the Sales Tax Location Flexfield structure used Indicates whether the bill to site is required for receipts Indicates whether you want to calculate compound taxes (taxes that are based on other taxes). Indicates the method that will be used for printing tax amounts on your invoices Type of tax method used (Sales Tax or Value Added Tax) Indicates whether you want to include customer exemptions when calculating tax for transactions Indicates whether tax rate that you defined for the customer will be used Indicates whether to use the tax rate that you defined for specific products based on the customers ShipTo address Indicates whether to include item exemptions when calculating tax for transactions Indicates whether to use the tax rate that is defined for specific products Indicates whether to use the tax rate that is defined for the customers business purpose Control the detail of message displayed in the AutoInvoice log file Control the amount of scratch memory used in AutoInvoice Stores the segment name (not the left prompt) of one of your accounting flexfield segments which AutoInvoice uses to join to gl_code_combinations table Stores the segment name (not the left prompt) of one of your system items flexfield segments which AutoInvoice uses to join to mtl_system_items table Stores the segment name (not the left prompt) of one of your sales territory flexfield segments which AutoInvoice uses to join to ra_territories table

DEFAULT_TERRITORY

GENERATE_CUSTOMER_NUMBER INVOICE_DELETION_FLAG LOCATION_STRUCTURE_ID SITE_REQUIRED_FLAG TAX_ALLOW_COMPOUND_FLAG TAX_INVOICE_PRINT TAX_METHOD TAX_USE_CUSTOMER_EXEMPT_FLAG

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

TAX_USE_CUST_EXC_RATE_FLAG TAX_USE_LOC_EXC_RATE_FLAG

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

TAX_USE_PRODUCT_EXEMPT_FLAG

NOT NULL VARCHAR2(1)

TAX_USE_PROD_EXC_RATE_FLAG TAX_USE_SITE_EXC_RATE_FLAG AI_LOG_FILE_MESSAGE_LEVEL AI_MAX_MEMORY_IN_BYTES AI_ACCT_FLEX_KEY_LEFT_PROMPT

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

AI_MTL_ITEMS_KEY_LEFT_PROMPT

NULL VARCHAR2(80)

AI_TERRITORY_KEY_LEFT_PROMPT

NULL VARCHAR2(80)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 117

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) Description Y or N indicates whether AutoInvoice will automatically purge successfully processed transactions in the AutoInvoice interface tables Y or N indicates whether to activate SQL trace in AutoInvoice Defines the default grouping rule for customers defined in Oracle Receivables Require salesreps option Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Number of invoices that the Automatic Receipt program will process before saving Number of receipts that the Automatic Receipt program will process before saving If the flag is Y, the cash windows (Receipts, Applications) allow the user to apply cash from one customer to another customers invoice even if the two customers are not related. If Y, document programs will print all country codes in addresses. If N, document programs will print all country codes except the home country. Tax account that will be the default value in the Tax Codes and Rates window Starting code of the postal code range that will default when you enter sales tax rate assignments in the Tax Locations and Rates window Ending code of the postal code range that will default when you enter sales tax rate assignments in the Tax Locations and Rates window Registration number that will be printed on customers invoices if you charge your customers tax If Y, then the General Ledger Transfer Program will populate segments in the gl_interface table.

AI_PURGE_INTERFACE_TABLES_FLAG

AI_ACTIVATE_SQL_TRACE_FLAG DEFAULT_GROUPING_RULE_ID SALESREP_REQUIRED_FLAG ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 AUTO_REC_INVOICES_PER_COMMIT AUTO_REC_RECEIPTS_PER_COMMIT PAY_UNRELATED_INVOICES_FLAG

NULL VARCHAR2(1) NOT NULL NUMBER(15) NOT NULL VARCHAR2(1) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NOT NULL NUMBER(8) NOT NULL NUMBER(8) NOT NULL VARCHAR2(1)

PRINT_HOME_COUNTRY_FLAG

NOT NULL VARCHAR2(1)

LOCATION_TAX_ACCOUNT FROM_POSTAL_CODE

NULL NUMBER(15) NOT NULL VARCHAR2(60)

TO_POSTAL_CODE

NOT NULL VARCHAR2(60)

TAX_REGISTRATION_NUMBER

NULL VARCHAR2(60)

POPULATE_GL_SEGMENTS_FLAG

NOT NULL VARCHAR2(1)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 118 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) Description Used only for Cash Basis accounting method, this is the revenue account to be used when you apply a cash receipt with a balance other than zero to an invoice with a zero balance. Operating Unit Identifier Tax Reporting Currency. When specified, tax amounts will be rounded using the tax precision and minimum accountable unit. Tax Currency Precision Tax Currency Minimum Accountable Unit Tax Rounding Level Flag; Tax is rounded per document per rate when set Tax rounding rule (tax can be rounded up, down or nearest); defined in the System Options window; can be overridden at Customer and Site levels Tax Rounding Allow Override flag; indicates whether rounding rules can be overridden Tax Code 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

UNALLOCATED_REVENUE_CCID

ORG_ID TAX_CURRENCY_CODE

NULL NUMBER(15) NULL VARCHAR2(15)

TAX_PRECISION TAX_MINIMUM_ACCOUNTABLE_UNIT TAX_HEADER_LEVEL_FLAG TAX_ROUNDING_RULE

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

TAX_ROUNDING_ALLOW_OVERRIDE

NOT NULL VARCHAR2(1)

TAX_CODE 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

NULL VARCHAR2(50) 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 119

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(30) Reserved For Globalization Functionality NOT NULL NUMBER The application rule set ID NULL VARCHAR2(1) Y or N indicates whether the tax code defined for a Revenue Account should be used NULL VARCHAR2(1) Y or N indicates whether the tax code assigned at the System Options level should be used NULL NUMBER(15) Indicates tax code defaulting hierarchy associated with a customer site level tax code NULL NUMBER(15) Indicates tax code defaulting hierarchy for a customer level tax code NULL NUMBER(15) Indicates tax code defaulting hierarchy associated with an item level tax code NULL NUMBER(15) Indicates tax code defaulting hierarchy associated with a Revenue Account Tax code NULL NUMBER(15) Indicates tax code defaulting hierarchy associated with the System Option tax code NULL VARCHAR2(1) Indicates if the tax code associated with a Revenue Account must be used at the Invoice Line. NULL VARCHAR2(30) Indicates the tax view set suffix (for example, A for Taxware; V for Vertex; O for Oracle tax views) NULL VARCHAR2(1) If set to Y, the running totals in Transaction Workbench Lines window are disabled NULL NUMBER(15) Code combination ID for the rounding error NOT NULL VARCHAR2(1) Flag to indicate whether Header Level Rounding is enabled. NULL NUMBER(15) The code combination identifier of the Header Rounding account. NULL NUMBER(15) Foreign key to AR_RECEIVABLES_TRX. Indicates the default Receivables Activity for finance charges. NULL VARCHAR2(30) US State and Local Tax Jurisdiction code. Use this field to provide either a Vertex GeoCode or Taxware Geocode value for the Point of Order Origin.

GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY RULE_SET_ID TAX_USE_ACCOUNT_EXC_RATE_FLAG TAX_USE_SYSTEM_EXC_RATE_FLAG TAX_HIER_SITE_EXC_RATE TAX_HIER_CUST_EXC_RATE TAX_HIER_PROD_EXC_RATE TAX_HIER_ACCOUNT_EXC_RATE TAX_HIER_SYSTEM_EXC_RATE TAX_ENFORCE_ACCOUNT_FLAG

TAX_DATABASE_VIEW_SET

INCLUSIVE_TAX_USED CODE_COMBINATION_ID_ROUND TRX_HEADER_LEVEL_ROUNDING TRX_HEADER_ROUND_CCID FINCHRG_RECEIVABLES_TRX_ID

SALES_TAX_GEOCODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 120 Oracle Applications Global Accounting Engine Technical Reference Manual

AR_VAT_TAX_ALL_B
This table contains tax codes that are defined in the Tax Codes and Rates window. Each row represents a tax code and a tax rate valid for the period between the START_DATE and the END_DATE.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS

Primary Key Column CODE_COMBINATION_ID SET_OF_BOOKS_ID

Foreign Key Column TAX_ACCOUNT_ID SET_OF_BOOKS_ID

Column Descriptions Name


VAT_TAX_ID SET_OF_BOOKS_ID TAX_CODE (PK)

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

Description Unique identifier The unique identifier of the set of book The tax code associated with a rate user specified in the Tax Codes and Rates window Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column The tax rate associated with the tax code the user specified in the Tax Codes and Rates window This is a lookup column that uses the lookup_type TAX_TYPE. Indicates whether the tax code is of type Ad Hoc The code combination ID of the accounting flexfield to which the tax should be posted First date that the tax code is active Last date that the tax code is active Allow the creation of unapproved exemption certificates Description of tax code (legal requirement in Italy) 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

LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE TAX_RATE

TAX_TYPE VALIDATE_FLAG TAX_ACCOUNT_ID START_DATE END_DATE UNAPPROVED_EXEMPTION_FLAG DESCRIPTION ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 (PK)

NOT NULL VARCHAR2(30) NULL VARCHAR2(1) NULL NUMBER(15) NOT NULL DATE NULL DATE NULL VARCHAR2(1) NULL VARCHAR2(60) NULL VARCHAR2(30) 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


Detailed Design 3 121

Column Descriptions Name


ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL NUMBER(15) Operating Unit Identifier NULL VARCHAR2(30) VAT Transaction Type NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality

ORG_ID VAT_TRANSACTION_TYPE 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 122 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) NULL Description Reserved For Globalization Functionality VARCHAR2(1) When this flag is set to Y, the tax code is inclusive by default. Otherwise, it is exclusive. VARCHAR2(1) When this flag is set to Y, the value of AMOUNT_INCLUDES_TAX_FLAG can be overridden at time of usage. Otherwise, the AMOUNT_INCLUDES_TAX_FLAG at the tax code level must be used. VARCHAR2(30) Lookup type, AR_TAXABLE_BASIS, for determining the taxable amount. VARCHAR2(2000) PL/SQL block to calculate the tax amount. NUMBER(15) Code combination ID of the accounting flexfield for the deferred tax account. NUMBER(15) Code combination ID of the accounting flexfield for the expense/revenue account for adjustments. NUMBER(15) Code combination ID of the accounting flexfield for the expense account for earned discounts. NUMBER(15) Code combination ID of the accounting flexfield for the expense account for unearned discounts. NUMBER(15) Code combination ID of the accounting flexfield for the revenue account for finance charge. NUMBER(15) Code combination ID of the accounting flexfield for the nonrecoverable tax account for adjustments. NUMBER(15) Code combination ID of the accounting flexfield for the nonrecoverable tax account for earned discounts. NUMBER(15) Code combination ID of the accounting flexfield for the nonrecoverable tax account for unearned discounts. NUMBER(15) Code combination ID of the accounting flexfield for the nonrecoverable VARCHAR2(1) Input of Output. Output Tax Codes are used on Sales Transactions; Input Tax Codes are used on Purchase Transactions. Only Output Tax Codes can be selected by the user for all Tax Code fields except the Liability Tax Code field of the Receivables Activity Window. This field provides list of values choices for Input Tax Codes.

GLOBAL_ATTRIBUTE_CATEGORY AMOUNT_INCLUDES_TAX_FLAG

AMOUNT_INCLUDES_TAX_OVERRIDE

NULL

TAXABLE_BASIS TAX_CALCULATION_PLSQL_BLOCK INTERIM_TAX_CCID ADJ_CCID

NULL NULL NULL NULL

EDISC_CCID

NULL

UNEDISC_CCID

NULL

FINCHRG_CCID

NULL

ADJ_NON_REC_TAX_CCID

NULL

EDISC_NON_REC_TAX_CCID

NULL

UNEDISC_NON_REC_TAX_CCID

NULL

FINCHRG_NON_REC_TAX_CCID TAX_CLASS

NULL NULL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 123

Column Descriptions Name


DISPLAYED_FLAG

(Continued)
Null? Type NULL VARCHAR2(1) Description Controls whether this Tax Code can be selected using the list of values to choose a tax code or Tax Group. By default, all Tax Groups are Displayed, as are all Tax Codes not used within a Tax Group. Tax Codes already used within Tax Groups are not displayed. Y or N indicates whether the tax code is enabled. This field is used in conjunction with START_DATE and END_DATE and allows the tax code to be enabled/disabled even for the start date specified in the START_DATE field. Identifies a Condition Set which can be used to optionally validate the Tax Group as it is built for any given transaction line. Using Tax Conditions you can check to ensure that a Tax Group has built all the required taxes and raise a user error message if a required tax has not been used. This column is a foreign key to TAX_CONDITIONS_ALL.

ENABLED_FLAG

NULL VARCHAR2(1)

TAX_CONSTRAINT_ID

NULL NUMBER(15)

Indexes Index Name


AR_VAT_TAX_ALL_B_N1 AR_VAT_TAX_ALL_B_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 2 3 1

Column Name SET_OF_BOOKS_ID TAX_CODE START_DATE VAT_TAX_ID

Sequences Sequence
AR_VAT_TAX_S

Derived Column VAT_TAX_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 124 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_AP_ACCOUNTING_EVENTS_ALL_V
When the Global Accounting Engine is used, the AP Accounting Engine is not used and the AP_ACCOUNTING_EVENTS_ALL table is not populated. This view is created to provide the same format as the Oracle Payables table, but based on information in the AX_EVENTS table. It provides an interface allowing other modules that normally reference data in the AP_ACCOUNTING_EVENTS table to reference the data in the AX_EVENTS table.
View Definition CREATE VIEW AX_AP_ACCOUNTING_EVENTS_ALL_V as SELECT axe.event_id ACCOUNTING_EVENT_ID, axe.event_type EVENT_TYPE_CODE, axe.event_date ACCOUNTING_DATE, 1 EVENT_NUMBER, DECODE(axe.translation_status, N, CREATED, P, CREATED, T, ACCOUNTED, W, ACCOUNTED, E, ACCOUNTED WITH ERROR , U, ACCOUNTED WITH ERROR, UNDEFINED ) EVENT_STATUS_CODE, DECODE(axe.event_type, NON_CASH_APPROVED, AP_INVOICES, NON_CASH_ADJUSTED, AP_INVOICES, PREPAYMENT_APPLIED, AP_INVOICES, PREPAYMENT_UNAPPLIED, AP_INVOICES, SUPPLIER_MERGE, AP_INVOICES, CASH_APPLIED, AP_CHECKS, CASH_ADJUSTED, AP_CHECKS, CASH_CLEARED, AP_CHECKS, CASH_UNCLEARED, AP_CHECKS, FUTURE_APPLIED, AP_CHECKS, FUTURE_ADJUSTED, AP_CHECKS, FUTURE_MATURED, AP_CHECKS, FUTURE_CLEARED, AP_CHECKS, FUTURE_UNCLEARED, AP_CHECKS, UNDEFINED) SOURCE_TABLE, axe.event_field1 SOURCE_ID, axe.creation_date CREATION_DATE, axe.created_by CREATED_BY, axe.last_update_date LAST_UPDATE_DATE, axe.last_updated_by LAST_UPDATED_ BY, axe.last_update_login LAST_UPDATE_LOGIN,

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 125

axe.program_update_date PROGRAM_UPDATE_DATE, axe.program_id PROGRAM_ID, axe.program_application_id PROGRAM_APPLICATION_ID, axe.request_id REQUEST_ID, axe.org_id ORG_ID FROM ax_events axe Where axe.application_id = 200

Column Descriptions Name


ACCOUNTING_EVENT_ID EVENT_TYPE_CODE ACCOUNTING_DATE EVENT_NUMBER EVENT_STATUS_CODE SOURCE_TABLE SOURCE_ID CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROGRAM_UPDATE_DATE PROGRAM_ID PROGRAM_APPLICATION_ID REQUEST_ID ORG_ID

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

Description Accounting event identifier Event type code used to classify different transactions The transaction accounting date Number of accounting events for a document Event status code (Created, Accounted, or Accounted with Error) Source table of the document the accounting event is linked to Source document identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Extended Who column Extended Who column Extended Who column Extended Who column Organization identifier

NOT NOT NOT NOT

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 126 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_AP_AE_HEADERS_ALL_V
When the Global Accounting Engine is used, the AP Accounting Engine is not used and the AP_AE_HEADERS_ALL table is not populated. This view is created to provide the same format as the Oracle Payables table, but based on information in the AX_SLE_HEADERS table. It provides an interface allowing other product modules that normally reference data in the AP Accounting Headers table to reference data in the AX table.
View Definition CREATE VIEW AX_AP_AE_HEADERS_ALL_V as SELECT axsh.journal_sequence_id journal_sequence_id ,axsh.sle_header_id ae_header_id ,axsh.event_id accounting_event_id ,axe.event_field1 document_id ,axsh.set_of_books_id set_of_books_id ,ax_payables_pkg.ae_category (axe.event_type) ae_category ,ax_payables_pkg.ae_cross_currency_flag (axe.event_type ,axe.event_field1 ,axsh.currency_code) cross_currency_flag ,axsh.period_name period_name ,axsh.effective_date accounting_date ,axsh.gl_transfer_flag gl_transfer_flag ,axsh.gl_transfer_run_id gl_transfer_run_id ,ax_payables_pkg.ae_header_description (axe.event_type ,axsh.description) description ,axsh.org_id org_id ,axsh.creation_date creation_date ,axsh.created_by created_by ,axsh.last_update_date last_update_date ,axsh.last_updated_by last_update_by ,axsh.last_update_login last_update_login ,axsh.program_update_date program_update_date ,axsh.program_application_id program_aplication_id ,axsh.program_id program_id ,axsh.request_id request_id ,NULL accounting_error_code ,NULL gl_transfer_error_code FROM ax_events axe ,ax_sle_headers axsh

WHERE axsh.application_id AND axe.event_id

= 200 = axsh.event_id

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 127

Column Descriptions Name


JOURNAL_SEQUENCE_ID AE_HEADER_ID ACCOUNTING_EVENT_ID DOCUMENT_ID SET_OF_BOOKS_ID AE_CATEGORY CROSS_CURRENCY_FLAG PERIOD_NAME ACCOUNTING_DATE GL_TRANSFER_FLAG GL_TRANSFER_RUN_ID DESCRIPTION ORG_ID CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROGRAM_UPDATE_DATE PROGRAM_APPLICATION_ID PROGRAM_ID REQUEST_ID ACCOUNTING_ERROR_CODE GL_TRANSFER_ERROR_CODE

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

Description

Journal sequence identifier Accounting header identifier (the value of the journal sequence) NOT NULL NUMBER(15) Accounting event identifier NULL NUMBER(15) Subledger document identifier NULL NUMBER(15) Set of books identifier NULL VARCHAR2(30) Journal category NOT NULL VARCHAR2(1) Indicates a cross currency transaction NOT NULL VARCHAR2(15) Period name NULL DATE Accounting date of the transaction defaulted from the accounting event NULL VARCHAR2(1) Indicates a transfer to GL was completed (values can be Y or N) NULL NUMBER(15) Batch ID of GL transfer run that transfer the accounting entry NULL VARCHAR2(240) Accounting entry header description NULL NUMBER(15) Organization identifier NOT NULL DATE Standard Who column NOT NULL NUMBER(15) Standard Who column NOT NULL DATE Standard Who column NOT NULL NUMBER(15) Standard Who column NULL NUMBER(15) Standard Who column NULL DATE Extended Who column NULL NUMBER(15) Extended Who column NULL NUMBER(15) Extended Who column NULL NUMBER(15) Extended Who column NULL VARCHAR2(30) Accounting entry level error occurs when accounting for this accounting entry NULL VARCHAR2(30) Error code of transfer to GL errors for this accounting entry

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 128 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_AP_AE_LINES_ALL_V
When the Global Accounting Engine is used, the AP Accounting Engine is not used and the AP_AE_LINES_ALL table is not populated. Instead, the Global Accounting Engine populates the AX_SLE_LINES table when the accounting events are translated. This view is created to provide the same format as the Oracle Payables table, but based on information in the AX_SLE_LINES table. It provides an interface allowing other product modules that normally reference data in the AP_AE_LINES_ALL table to reference data in the AX table.
View Definition CREATE VIEW AX_AP_AE_LINES_ALL_V as SELECT 1 ae_line_id ,axsl.journal_sequence_id journal_sequence_id ,axsl.sle_header_id ae_header_id ,axsl.sle_line_num ae_line_number ,axsl.reference_14 ae_line_type_code ,axsl.code_combination_id code_combination_id ,axsl.currency_code currency_code ,axsl.currency_conversion_type currency_conversion_type ,axsl.currency_conversion_date currency_conversion_date ,axsl.currency_conversion_rate currency_conversion_rate ,axsl.entered_dr entered_dr ,axsl.entered_cr entered_cr ,axsl.accounted_dr accounted_dr ,axsl.accounted_cr accounted_cr ,axsl.source_table source_table ,axsl.source_id source_id ,TO_NUMBER(axsl.reference_15) account_overlay_source_id ,axsl.gl_sl_link_id gl_sl_link_id ,ax_payables_pkg.ae_line_description (axe.event_type ,axsl.reference_1 ,TO_NUMBER(axsl.reference_22) ,TO_NUMBER(axsl.reference_23)) description ,NULL accounting_error_code ,NULL gl_transfer_error_code ,axsl.third_party_id vendor_id ,axsl.sub_id vendor_site_id
,axsl.stat_amount stat_amount ,axe.doc_sequence_id subledger_doc_sequence_id ,axe.doc_sequence_value subledger_doc_sequence_value ,axsl.org_id org_id ,axsl.creation_date creation_date ,ax_payables_pkg.ae_ussgl_transaction_code (axe.event_type ,axsl.reference_1 ,TO_NUMBER(axsl.reference_22) ,TO_NUMBER(axsl.reference_23))

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 129

,axsl.created_by ,axsl.last_update_date ,axsl.last_updated_by ,axsl.last_update_login ,axsl.program_update_date ,axsl.program_application_id ,axsl.program_id ,axsl.request_id ,axsl.reference_21 ,axsl.reference_22 ,axsl.reference_23 ,NULL ,axsl.reference_25 ,axsl.reference_26 ,axsl.reference_27 ,NULL ,NULL ,axsl.reference_1 ,axsl.applied_from_doc_entity ,axsl.applied_from_doc_id ,axsl.applied_to_doc_entity ,axsl.applied_to_doc_id ,axsl.tax_code_id ,axsl.taxable_entered_dr ,axsl.taxable_entered_cr ,axsl.taxable_accounted_dr ,axsl.taxable_accounted_cr ,axsl.tax_link_id ,axsl.third_party_id ,axsl.sub_id FROM ap_system_parameters_all ,ax_events ,ax_sle_headers ,ax_sle_lines Where WHERE apsp.set_of_books_id AND axsh.journal_sequence_id AND axsh.sle_header_id AND axsh.application_id AND axe.event_id

= = = =

ussgl_transaction_code created_by last_update_date last_updated_by last_update_login program_update_date program_application_id program_id request_id reference1 reference2 reference3 reference4 reference5 reference6 reference7 reference8 reference9 reference10 applied_from_trx_hdr_table applied_from_trx_hdr_id applied_to_trx_hdr_table applied_to_trx_hdr_id tax_code_id taxable_entered_dr taxable_entered_cr taxable_accounted_dr taxable_accounted_cr tax_link_id third_party_id third_party_sub_id apsp axe axsh axsl = axsh.set_of_books_id axsl.journal_sequence_id axsl.sle_header_id 200 axsh.event_id

Column Descriptions Name


AE_LINE_ID JOURNAL_SEQUENCE_ID AE_HEADER_ID AE_LINE_NUMBER AE_LINE_TYPE_CODE CODE_COMBINATION_ID CURRENCY_CODE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE ENTERED_DR

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 130 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL 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 NUMBER NUMBER NUMBER VARCHAR2(30) NUMBER(15) NUMBER(15) NUMBER(15) VARCHAR2(240) VARCHAR2(30) VARCHAR2(30) NUMBER(15) NUMBER(15) NUMBER NUMBER(15) NUMBER(15) NUMBER(15) DATE VARCHAR2(30) NUMBER(15) DATE NUMBER(15) NUMBER(15) DATE NUMBER(15) NUMBER(15) NUMBER(15) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(30) NUMBER(15) VARCHAR2(30) NUMBER(15) NUMBER(15) NUMBER NUMBER NUMBER NUMBER NUMBER(15) NUMBER(15) NUMBER(15) 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 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 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 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.

ENTERED_CR ACCOUNTED_DR ACCOUNTED_CR SOURCE_TABLE SOURCE_ID ACCOUNT_OVERLAY_SOURCE_ID GL_SL_LINK_ID DESCRIPTION ACCOUNTING_ERROR_CODE GL_TRANSFER_ERROR_CODE VENDOR_ID VENDOR_SITE_ID STAT_AMOUNT SUBLEDGER_DOC_SEQUENCE_ID SUBLEDGER_DOC_SEQUENCE_VALUE ORG_ID CREATION_DATE USSGL_TRANSACTION_CODE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROGRAM_UPDATE_DATE PROGRAM_APPLICATION_ID PROGRAM_ID REQUEST_ID REFERENCE1 REFERENCE2 REFERENCE3 REFERENCE4 REFERENCE5 REFERENCE6 REFERENCE7 REFERENCE8 REFERENCE9 REFERENCE10 APPLIED_FROM_TRX_HDR_TABLE APPLIED_FROM_TRX_HDR_ID APPLIED_TO_TRX_HDR_TABLE APPLIED_TO_TRX_HDR_ID TAX_CODE_ID TAXABLE_ENTERED_DR TAXABLE_ENTERED_CR TAXABLE_ACCOUNTED_DR TAXABLE_ACCOUNTED_CR TAX_LINK_ID THIRD_PARTY_ID THIRD_PARTY_SUB_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 131

AX_AP_CHECK_ASSET_V
This view provides the bank, clearing, and future clearing account code combinations of each Oracle Payables check. It is used for creating Oracle Payables accounting rules.
View Definition CREATE VIEW AX_AP_CHECK_ASSET_V as SELECT AC.Check_ID, DECODE(AC.Payment_Type_Flag, R, DECODE(ASP.Recon_Accounting_Flag, Y, ABA.Cash_Clearing_CCID, ABA.Asset_Code_Combination_ID), DECODE(AC.Future_Pay_Due_Date, NULL, DECODE(ASP.Recon_Accounting_Flag, Y, ACS.Cash_Clearing_CCID, ABA.Asset_Code_Combination_ID), DECODE(ASP.Future_Dated_Pmt_Acct_Source, SUPPLIER SITE, NVL(PVS.Future_Dated_Payment_CCID,
NVL(ACS.Future_Pay_Code_Combination_ID, ABA.Asset_Code_Combination_ID) ), NVL(ACS.Future_Pay_Code_Combination_ID, ABA.Asset_Code_Combination_ID) ) ) ) Asset_CCID, AC.Payment_Type_Flag AC_Payment_Type_Flag, AC.Future_Pay_Due_Date AC_Future_Pay_Due_Date, ACS.Future_Pay_Code_Combination_ID ACS_Future_Pay_CCID, ACS.Cash_Clearing_CCID ACS_Cash_Clearing_CCID, ABA.Cash_Clearing_CCID ABA_Cash_Clearing_CCID, ABA.Asset_Code_Combination_ID ABA_Asset_CCID, PVS.Future_Dated_Payment_CCID PVS_Future_Dated_Payment_CCID, ASP.Recon_Accounting_Flag ASP_Recon_Accounting_Flag, ASP.Future_Dated_Pmt_Acct_Source ASP_Future_Pmt_Acct_Source FROM AP_Checks_All AC, AP_Check_Stocks_All ACS, AP_Bank_Accounts_All ABA, PO_Vendors PV, PO_Vendor_Sites_All PVS, AP_System_Parameters_All ASP Where AC.Bank_Account_ID = ABA.Bank_Account_ID AND AC.Check_Stock_ID = ACS.Check_Stock_ID AND AC.Vendor_ID = PV.Vendor_ID AND AC.Vendor_Site_ID = PVS.Vendor_Site_ID AND AC.Org_ID = PVS.Org_ID AND AC.Org_ID = ASP.Org_ID AND ABA.Set_Of_Books_ID = ASP.Set_Of_Books_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 132 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


CHECK_ID ASSET_CCID AC_PAYMENT_TYPE_FLAG AC_FUTURE_PAY_DUE_DATE ACS_FUTURE_PAY_CCID ACS_CASH_CLEARING_CCID ABA_CASH_CLEARING_CCID ABA_ASSET_CCID PVS_FUTURE_DATED_PAYMENT_CCID ASP_RECON_ACCOUNTING_FLAG ASP_FUTURE_PMT_ACCT_SOURCE

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 133

AX_AP_TAXABLE_V
This view is used for Payables rules creation. The rules are used to map subledger transactions into accounting entries. The purpose of this view is to get the taxable amount of the original distribution lines given a TAX distribution line for an invoice.
View Definition CREATE VIEW AX_AP_TAXABLE_V as SELECT aid2.invoice_id ,aid2.invoice_distribution_id ,aid2.tax_code_id ,aid2.vat_code ,SUM(aid.amount) ,SUM(NVL(aid.base_amount,aid.amount)) FROM ap_invoice_distributions_all ,ap_chrg_allocations_all ,ap_invoice_distributions_all
WHERE aid.invoice_distribution_id AND aca.charge_dist_id AND aid2.line_type_lookup_code GROUP BY aid2.invoice_id ,aid2.invoice_distribution_id ,aid2.tax_code_id ,aid2.vat_code

l_taxable_amount l_taxable_base_amount aid aca aid2

= aca.item_dist_id = aid2.invoice_distribution_id IN (TAX,AWT)

Column Descriptions Name


INVOICE_ID INVOICE_DISTRIBUTION_ID TAX_CODE_ID VAT_CODE L_TAXABLE_AMOUNT L_TAXABLE_BASE_AMOUNT

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

Description Invoice identifier Unique invoice distribution identifier The identifier of the tax code that was used on this invoice distribution The tax code that was used on this invoice distribution Sum of taxable amount of invoice distributions linked to this tax distribution line Sum of taxable base amount of invoice distribution lines linked to this tax distribution line

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 134 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_ARITHMETIC_EXPR
This table stores information about arithmetic expressions used by amount structures. Each row corresponds to an elementary expression and includes the operator (+, , * or /), the type of the right operand (COLUMN, CONSTANT or EVENT_DATA) and its value.
Foreign Keys Primary Key Table
AX_STRUCTURES

Primary Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER

Foreign Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER

QuickCodes Columns Column


OPERAND_TYPE

QuickCodes Type AX_ARITH_OPERAND_TYPE COLUMN CONSTANT EVENT_DATA AX_OPERATOR_TYPE != < <= = > >= IS_NOT_NULL IS_NULL NVL=

QuickCodes Table AX_LOOKUPS COLUMN CONSTANT EVENT_DATA AX_LOOKUPS != < <= = > >= IS NOT NULL IS NULL NVL=

OPERATOR

Column Descriptions Name


SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) TRANSLATION_SCHEME (PK) PLAN_NAME (PK) STRUCTURE_TYPE (PK) STRUCTURE_NUMBER (PK) EXPRESSION_NUMBER LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN OPERATOR OPERAND_TYPE SOURCE_TABLE (PK)

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

Description Set of books identifier Application identifier Translation scheme name Plan name Type of structure Number of structure within its type per distribution plan Number of the expression within the structure Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Arithmetic operator Operand type Source table name for the operand

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 135

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(30) Description Source column name or constant for the operand

SOURCE_COLUMN_VALUE

Indexes Index Name


AX_ARITHMETIC_EXPR_U1

Index Type UNIQUE

Sequence 1 2 3 4 5 6 7

Column Name SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_NUMBER STRUCTURE_TYPE EXPRESSION_NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 136 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_BALANCES
This table stores accounting subledger balance information for control accounts. For every application and set of books, it includes a row for every period, control account and third party suborganization. UPDATED_FLAG is set to Y to mark the balance information when the period net amounts are modified; this means that the period end amounts in the following periods need to be recalculated. No row in AX_BALANCES should contain a Y after the balance calculation completes successfully. HISTORIC_BALANCE is set to H for a historic balance, P for a purged balance, and N for other balances. Historic balances are balances entered initially before using the Global Accounting Engine. Such balances are not modified or deleted by Global Accounting Engine. Purged balances are balances within a period for which the accounting entries have been purged. They are marked with a P so that they will not be deleted by the Balance Synchronization program when the accounting entries no longer exist. BALANCE_SEGMENT and ACCOUNT_SEGMENT are a denormalization of the column CODE_COMBINATION_ID containing respectively the balancing and accounting segment of the key flexfield. The denormalization is used as most of the reports group their results using these values. For a balance calculation that includes yearend periods, a carry forward balance is automatically created with the special period name NETXXXX, where XXXX is the fiscal year. This NET balance is the difference between the years total debits and credits. The balance is stored as a positive amount in either the END_BALANCE_DR or END_BALANCE_CR column, but not both. Note that this is not a partitioned table and that the column ORG_ID is not used.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_PERIOD_STATUSES

Primary Key Column CODE_COMBINATION_ID APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME

Foreign Key Column CODE_COMBINATION_ID APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME

QuickCodes Columns Column


UPDATED_FLAG

QuickCodes Type AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes

Column Descriptions Name


LAST_UPDATE_DATE LAST_UPDATED_BY

Null? Type NOT NULL DATE NOT NULL NUMBER

Description Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 137

Column Descriptions Name

(Continued)
Null? Type NOT NULL DATE NOT NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL DATE NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NOT NULL NULL NULL NULL VARCHAR2(30) NUMBER NUMBER NUMBER Description Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Posting set of books identifier Application identifier Code combination identifier Third party identifier Third party suborganization identifier Period name Debit activity for the period Credit activity for the period Running debit balance for the fiscal year up to the end of the period. If period name starts with NET, then it is the carry forward debit amount to the next fiscal year Running credit balance for the fiscal year up to the end of the period. If period name starts with NET, then it is the carry forward credit amount to the next fiscal year Not used The period status history number at the balance creation (no longer used) Updated flag Balance classification (P for purged, H for historic balance) Balancing segment value Balancing segment value

CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) CODE_COMBINATION_ID (PK) THIRD_PARTY_ID (PK) SUB_ID (PK) PERIOD_NAME (PK) PERIOD_NET_DR PERIOD_NET_CR END_BALANCE_DR

END_BALANCE_CR

NULL NUMBER

ORG_ID PERIOD_HISTORY_NUM UPDATED_FLAG HISTORIC_BALANCE BALANCE_SEGMENT ACCOUNT_SEGMENT

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

Indexes Index Name


AX_BALANCES_N1

Index Type NOT UNIQUE

Sequence 2 4 6 8 1 2 3 10 12 14 16 18 20 22

Column Name SET_OF_BOOKS_ID APPLICATION_ID CODE_COMBINATION_ID PERIOD_NAME THIRD_PARTY_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME THIRD_PARTY_ID SUB_ID BALANCE_SEGMENT ACCOUNT_SEGMENT

AX_BALANCES_N2 AX_BALANCES_N3

NOT UNIQUE NOT UNIQUE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 138 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes (Continued) Index Name


AX_BALANCES_N4

Index Type NOT UNIQUE

Sequence 10 12 14 16 18 20 22 2 4 6 8 10 12

Column Name SET_OF_BOOKS_ID APPLICATION_ID BALANCE_SEGMENT ACCOUNT_SEGMENT THIRD_PARTY_ID SUB_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID APPLICATION_ID CODE_COMBINATION_ID PERIOD_NAME THIRD_PARTY_ID SUB_ID

AX_BALANCES_U1

UNIQUE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 139

AX_CLAUSES
This table stores information about the clauses used by a query chain table. It contains a row for each clause. Each row, except for the first row of each table, includes the logical operator (AND or OR), the column of the table involved in the clause, the type of the right operand and its value. The column RIGHT_OP_COLUMN_VALUE contains either a column name or a constant value depending on the type of operand.
Foreign Keys Primary Key Table
AX_QUERY_TABLES

Primary Key Column APPLICATION_ID QUERY_CHAIN_NAME TABLE_NUMBER

Foreign Key Column APPLICATION_ID QUERY_CHAIN_NAME TABLE_NUMBER

QuickCodes Columns Column


COMPARISON_OPERATOR

QuickCodes Type AX_OPERATOR_TYPE != < <= = > >= IS_NOT_NULL IS_NULL NVL= AX_LOG_OP_TYPE AND OR AX_OPERAND_TYPE BOOLEAN COLUMN CONSTANT EVENT_DATA LITTERAL

QuickCodes Table AX_LOOKUPS != < <= = > >= IS NOT NULL IS NULL NVL= AX_LOOKUPS AND OR AX_LOOKUPS Boolean Column Constant EVENT_DATA Literal

LOGIC_OPERATOR

RIGHT_OPERAND_TYPE

Column Descriptions Name


APPLICATION_ID (PK) QUERY_CHAIN_NAME (PK) TABLE_NUMBER (PK) CLAUSE_NUMBER (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN LOGIC_OPERATOR

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

Description Application identifier Query chain name Query chain table number Clause number within the query chain table Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Logical operator

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 140 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(30) NOT NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(255) Description Query chain table column Comparison operator Right operand type Right operand table name Right operand table name or value

LEFT_COLUMN COMPARISON_OPERATOR RIGHT_OPERAND_TYPE RIGHT_OP_TABLE RIGHT_OP_COLUMN_VALUE

Indexes Index Name


AX_CLAUSES_U1

Index Type UNIQUE

Sequence 1 2 3 4

Column Name CLAUSE_NUMBER APPLICATION_ID QUERY_CHAIN_NAME TABLE_NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 141

AX_CONDITIONS
This table stores information about conditions used by a distribution plan structure or distribution header. It contains a row for each condition. Each row includes the logical operator (AND or OR), the table and the column involved as left operand, the type of the right operand and its value.
Foreign Keys Primary Key Table
AX_DISTRIB_HEADERS

Primary Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME HEADER_NUMBER SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER

Foreign Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME HEADER_NUMBER SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER

AX_STRUCTURES

QuickCodes Columns Column


COMPARISON_OPERATOR

QuickCodes Type AX_OPERATOR_TYPE != < <= = > >= IS_NOT_NULL IS_NULL NVL= AX_LOG_OP_TYPE AND OR AX_OPERAND_TYPE BOOLEAN COLUMN CONSTANT EVENT_DATA LITTERAL

QuickCodes Table AX_LOOKUPS != < <= = > >= IS NOT NULL IS NULL NVL= AX_LOOKUPS AND OR AX_LOOKUPS Boolean Column Constant EVENT_DATA Literal

LOGIC_OPERATOR

RIGHT_OPERAND_TYPE

Column Descriptions Name


CONDITION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN

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

Description Condition identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 142 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


CONDITION_NUMBER

(Continued)
Null? Type NOT NULL NUMBER NOT NOT NOT Description Condition number within the distribution header or distribution plan structure NULL NUMBER Set of books identifier NULL NUMBER Application identifier NULL VARCHAR2(30) Translation scheme name NULL NUMBER Distribution header number NULL VARCHAR2(30) Distribution plan name NULL VARCHAR2(30) Type of structure NULL NUMBER Number of structure within the plan and the structure type NULL VARCHAR2(30) Logical operator NULL VARCHAR2(30) Left table name NULL VARCHAR2(30) Left table column name NULL VARCHAR2(30) Comparison operator NULL VARCHAR2(30) Right operand type NULL VARCHAR2(255) Value of the right operand or the column name of the right operand. NULL VARCHAR2(30) Right operand table name

SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME HEADER_NUMBER PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER LOGIC_OPERATOR LEFT_TABLE LEFT_COLUMN COMPARISON_OPERATOR RIGHT_OPERAND_TYPE RIGHT_OP_COLUMN_VALUE RIGHT_OP_TABLE

NOT NOT NOT

Indexes Index Name


AX_CONDITIONS_N1

Index Type NOT UNIQUE

Sequence 2 4 6 8 10 12 2 4 6 8 1

Column Name SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME HEADER_NUMBER CONDITION_ID

AX_CONDITIONS_N2

NOT UNIQUE

AX_CONDITIONS_U1

UNIQUE

Sequences Sequence
AX_CONDITIONS_S

Derived Column CONDITION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 143

AX_CST_COST_DETAILS_V1
This view is based on MTL_CST_TXN_COST_DETAILS and MTL_CST_ACTUAL_COST_DETAILS tables to have in one table both the transaction and the actual cost of transactions. This is used by the Inventory rules to calculate the purchase price variance for a transaction.
View Definition CREATE VIEW AX_CST_COST_DETAILS_V1 as SELECT TCD.ORGANIZATION_ID ORGANIZATION_ID, TCD.TRANSACTION_ID TRANSACTION_ID, TCD.COST_ELEMENT_ID COST_ELEMENT_ID, TCD.LEVEL_TYPE LEVEL_TYPE, TCD.INVENTORY_ITEM_ID INVENTORY_ITEM_ID, TCD.TRANSACTION_COST TRANSACTION_COST, ACD.ACTUAL_COST ACTUAL_COST, (TCD.TRANSACTION_COSTACD.ACTUAL_COST) PRICE_VARIANCE, ACD.LAYER_ID FROM MTL_CST_TXN_COST_DETAILS TCD, MTL_CST_ACTUAL_COST_DETAILS ACD
Where TCD.ORGANIZATION_ID = ACD.ORGANIZATION_ID AND TCD.TRANSACTION_ID = ACD.TRANSACTION_ID AND TCD.COST_ELEMENT_ID = ACD.COST_ELEMENT_ID AND TCD.LEVEL_TYPE = ACD.LEVEL_TYPE AND TCD.INVENTORY_ITEM_ID = ACD.INVENTORY_ITEM_ID

Column Descriptions Name


ORGANIZATION_ID TRANSACTION_ID COST_ELEMENT_ID LEVEL_TYPE INVENTORY_ITEM_ID TRANSACTION_COST ACTUAL_COST PRICE_VARIANCE LAYER_ID

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

Description Organization identifier Transaction identifier Cost element identifier Level identifier Inventory item identifier Transaction cost Actual cost of the transaction Difference between transaction cost and actual cost Layer identifier

NOT NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 144 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_CST_ITEM_COST_DETAILS_V1
This view is based on CST_ITEM_COST_DETAILS and MTL_PARAMETERS table to allow access to the resource ID for organizations at standard cost and average cost. The cost type identifier is either in one column or in another, depending on the primary cost method.
View Definition CREATE VIEW AX_CST_ITEM_COST_DETAILS_V1 as SELECT mp.organization_id, cicd.inventory_item_id, cicd.cost_type_id, cicd.level_type, cicd.cost_element_id, cicd.resource_id from cst_item_cost_details cicd, mtl_parameters mp
Where cicd.organization_id = mp.organization_id and mp.primary_cost_method = 1 and cicd.cost_type_id = mp.primary_cost_method and cicd.cost_element_id = 2 UNION select mp.organization_id, cicd.inventory_item_id, cicd.cost_type_id, cicd.level_type, cicd.cost_element_id, cicd.resource_id from cst_item_cost_details cicd, mtl_parameters mp where cicd.organization_id = mp.organization_id and mp.primary_cost_method = 2 and cicd.cost_type_id = mp.avg_rates_cost_type_id and cicd.cost_element_id = 2

Column Descriptions Name


ORGANIZATION_ID INVENTORY_ITEM_ID COST_TYPE_ID LEVEL_TYPE COST_ELEMENT_ID RESOURCE_ID

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

Description Organization identifier Inventory item identifier Cost type identifier Level identifier Cost element identifier Resource identifier (subelement)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 145

AX_CST_QUANTITY_LAYERS_V1
This view contains the LAYER_ID per inventory organization, item, cost group, and secondary inventory. For organizations at standard cost, the LAYER_ID is 1. This allows the Inventory rules to access the MTL_CST_ACTUAL_COST_DETAILS table based on the LAYER_ID. It works both for organizations at standard cost and average cost. Access depends on the COST_GROUP_ID or SUBINVENTORY_NAME. This information is stored in EVENT_FIELD6 of table AX_EVENTS.
View Definition CREATE VIEW AX_CST_QUANTITY_LAYERS_V1 as SELECT msi.organization_id organization_id, msi.inventory_item_id inventory_item_id, amsi.cost_group_id cost_group_id, amsi.secondary_inventory_name secondary_inventory_name, TO_NUMBER(1) layer_id from ax_mtl_secondary_inv_v1 amsi, mtl_system_items msi
where msi.organization_id = amsi.organization_id AND amsi.cost_group_id is null UNION select cql.organization_id organization_id, cql.inventory_item_id inventory_item_id, amsi.cost_group_id cost_group_id, amsi.secondary_inventory_name secondary_inventory_name, cql.layer_id layer_id from ax_mtl_secondary_inv_v1 amsi, cst_quantity_layers cql where amsi.cost_group_id is not null AND cql.organization_id = amsi.organization_id AND cql.cost_group_id = amsi.cost_group_id

Column Descriptions Name


ORGANIZATION_ID INVENTORY_ITEM_ID COST_GROUP_ID SECONDARY_INVENTORY_NAME LAYER_ID

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

Description Organization identifier Inventory item identifier Cost group identifier Secondary inventory organization name Layer identifier

NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 146 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_DISTRIB_HEADERS
This table stores information about the distribution headers of a translation scheme. It contains a row for each distribution header. Each row includes the number of the distribution header within the translation scheme, the header column that it populates, the query chain used and the source table and column.
Foreign Keys Primary Key Table
AX_QUERY_CHAINS AX_TRANS_SCHEMES

Primary Key Column APPLICATION_ID QUERY_CHAIN_NAME SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

Foreign Key Column APPLICATION_ID QUERY_CHAIN_NAME SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

Column Descriptions Name


SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) TRANSLATION_SCHEME (PK) HEADER_NUMBER (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN HEADER_COLUMN QUERY_CHAIN_NAME SOURCE_TABLE SOURCE_COLUMN

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

Description Set of books identifier Application identifier Translation scheme name Distribution header number Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Header column name Query chain name used Query chain table name Query chain table column name

Indexes Index Name


AX_DISTRIB_HEADERS_N1 AX_DISTRIB_HEADERS_U1

Index Type NOT UNIQUE UNIQUE

Sequence 2 4 1 2 3 4

Column Name APPLICATION_ID QUERY_CHAIN_NAME SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME HEADER_NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 147

AX_DISTRIB_PLANS
This table stores information about the distribution plans of a translation scheme. It contains a row for each distribution plan. Each row includes the name of the distribution plan, its type (LINE, SINGLE or ARRAY) and the nature of the plan.
Foreign Keys Primary Key Table
AX_TRANS_SCHEMES

Primary Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

Foreign Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

QuickCodes Columns Column


CR_DR_FLAG

QuickCodes Type AX_DEBIT_CREDIT 3 4 5 6 C D AX_PLAN_TYPE ARRAY LINE SINGLE

QuickCodes Table AX_LOOKUPS Sign Opposite Debit Opposite Credit Opposite Sign Credit Debit AX_LOOKUPS ARRAY LINE SINGLE

PLAN_TYPE

Column Descriptions Name


SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) TRANSLATION_SCHEME (PK) PLAN_NAME (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN PLAN_TYPE CR_DR_FLAG

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

Description Set of books identifier Application identifier Translation scheme name Distribution plan name Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Type of plan Distribution plan nature

Indexes Index Name


AX_DISTRIB_PLANS_U1

Index Type UNIQUE

Sequence 1 2 3 4

Column Name SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 148 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_DOCUMENT_STATUSES
This table stores information about the status of documents. It contains a row for every relevant document not having status information stored on its base table. Each row contains the type, the identifier and the status of the document. The status is stored in the reference columns according to the type of document. By convention, REFERENCE19 and REFERENCE20 always contain the DOC_SEQUENCE_ID and DOC_SEQUENCE_VALUE of the document.
Column Descriptions Name
APPLICATION_ID (PK) SET_OF_BOOKS_ID (PK) DOCUMENT_CODE (PK) DOCUMENT_ID1 (PK) DOCUMENT_ID2 (PK) DOCUMENT_ID3 (PK) DOCUMENT_ID4 (PK) DOCUMENT_ID5 (PK) LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE REFERENCE1 REFERENCE2 REFERENCE3 REFERENCE4 REFERENCE5 REFERENCE6 REFERENCE7 REFERENCE8 REFERENCE9 REFERENCE10 REFERENCE11 REFERENCE12 REFERENCE13 REFERENCE14 REFERENCE15 REFERENCE16 REFERENCE17 REFERENCE18 REFERENCE20 REFERENCE19 ORG_ID REFERENCE_NUM1

Null? Type NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 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 NUMBER(15) NUMBER(15) VARCHAR2(30) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) DATE NUMBER(15) NUMBER(15) NUMBER(15) DATE VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) NUMBER NUMBER

Description Application identifier Set of books identifier Document code ID of the document ID of the document ID of the document ID of the document ID of the document Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Status variable of the document Organization identifier Numeric status variable of the document

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 149

Column Descriptions Name


REFERENCE_NUM2 REFERENCE_NUM3 REFERENCE_NUM4 REFERENCE_NUM5 REFERENCE_NUM6 REFERENCE_NUM7 REFERENCE_NUM8 REFERENCE_NUM9 REFERENCE_NUM10 REFERENCE_DATE1 REFERENCE_DATE2 REFERENCE_DATE3 REFERENCE_DATE4 REFERENCE_DATE5 REFERENCE_DATE6 REFERENCE_DATE7 REFERENCE_DATE8 REFERENCE_DATE9 REFERENCE_DATE10

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE NULL DATE Description Numeric status variable document Numeric status variable document Numeric status variable document Numeric status variable document Numeric status variable document Numeric status variable document Numeric status variable document Numeric status variable document Numeric status variable document Date status variable of document Date status variable of document Date status variable of document Date status variable of document Date status variable of document Date status variable of document Date status variable of document Date status variable of document Date status variable of document Date status variable of document of the of the of the of the of the of the of the of the of the the the the the the the the the the the

Indexes Index Name


AX_DOCUMENT_STATUSES_U1

Index Type UNIQUE

Sequence 2 4 6 8 10 12 14 16

Column Name APPLICATION_ID SET_OF_BOOKS_ID DOCUMENT_CODE DOCUMENT_ID1 DOCUMENT_ID2 DOCUMENT_ID3 DOCUMENT_ID4 DOCUMENT_ID5

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_DOCUMENT_STATUSES_BRU2 BEFORE ROW UPDATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 150 Oracle Applications Global Accounting Engine Technical Reference Manual

This trigger executes upon update of an Oracle Payables subledger payment document. It evaluates the document to determine its transition status and updates the AX_EVENTS table if the accounting events associated with this document need to be changed or new accounting events need to be created. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_DOCUMENT_STATUSES_BRU3 BEFORE ROW INSERT, UPDATE, DELETE

This trigger executes upon update of an Oracle Receivables subledger customer transaction document. It evaluates the document to determine its transition status and updates the AX_EVENTS table if the accounting events associated with this document need to be changed or new events need to be generated. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_DOCUMENT_STATUSES_BRU4 BEFORE ROW UPDATE

This trigger executes upon update of an Oracle Receivables subledger receipt document. It evaluates the document to determine its transition status and updates the AX_EVENTS table if the accounting events associated with this document need to be generated. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_DOCUMENT_STATUSES_BRU6 BEFORE ROW UPDATE

This trigger executes upon update of an Oracle Receivables subledger credit memo document. It evaluates the document to determine its transition status and updates the AX_EVENTS table if the accounting events associated with this document need to be changed or new events need to be generated. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_DOCUMENT_STATUSES_BRU1 BEFORE ROW UPDATE

This trigger executes upon update of an Oracle Payables subledger invoice document. It evaluates the document to determine its transition status and updates the AX_EVENTS table if the accounting events associated with this document needs to be changed.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 151

AX_EVENTS
This table stores information about the events that occurred in the system and that need to be translated into a subledger entry. It includes a row for each event. Each row includes the type of the event, the identifier of the document (invoice, payment or other) to which the event is related and the status of the event; the following statuses are possible: N: not translated P: document not ready for translation T: successfully translated E: recoverable error during translation U: unrecoverable error during translation; a manual operation is required W: warning; translation is successful but an abnormal status has been met If the type is E, U, or W, then the message text contains an explanation.
Column Descriptions Name
EVENT_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE SET_OF_BOOKS_ID APPLICATION_ID EVENT_TYPE EVENT_FIELD1 EVENT_FIELD2 EVENT_FIELD3 EVENT_FIELD4 EVENT_FIELD5 EVENT_FIELD6 EVENT_FIELD7 EVENT_FIELD8 EVENT_FIELD9 EVENT_FIELD10 EVENT_DATE TRANSLATION_STATUS

Null? Type 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 NULL NULL NULL NULL NUMBER DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER NUMBER DATE NUMBER NUMBER VARCHAR2(30) NUMBER NUMBER NUMBER NUMBER NUMBER VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) VARCHAR2(255) DATE VARCHAR2(1)

Description Event 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 Set of books identifier Application identifier Event type Numeric document identifier Numeric document identifier Numeric document identifier Numeric document identifier Numeric document identifier Character Document identifier Character Document identifier Character Document identifier Character Document identifier Character Document identifier Event accounting date Status

NOT NOT NOT

NOT NOT

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 152 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


TRANSLATED_DATE DOC_SEQUENCE_ID

(Continued)
Null? Type NULL DATE NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL Description Date of translation Sequence identifier of the document DATE Additional data NUMBER Additional data VARCHAR2(255) Additional data VARCHAR2(2000) Error or warning message NUMBER Value of the document sequence NUMBER Organization identifier DATE Date document identifier DATE Numeric document identifier DATE Numeric document identifier DATE Numeric document identifier DATE Numeric document identifier NUMBER Numeric document identifier NUMBER Numeric document identifier NUMBER Numeric document identifier NUMBER Numeric document identifier NUMBER Numeric document identifier VARCHAR2(255) Character Document identifier VARCHAR2(255) Character Document identifier VARCHAR2(255) Character Document identifier VARCHAR2(255) Character Document identifier VARCHAR2(255) Character Document identifier

ADDITIONAL_DATE ADDITIONAL_NUMBER ADDITIONAL_VARCHAR2 MESSAGE_TEXT DOC_SEQUENCE_VALUE ORG_ID EVENT_FIELD11 EVENT_FIELD12 EVENT_FIELD13 EVENT_FIELD14 EVENT_FIELD15 EVENT_FIELD16 EVENT_FIELD17 EVENT_FIELD18 EVENT_FIELD19 EVENT_FIELD20 EVENT_FIELD21 EVENT_FIELD22 EVENT_FIELD23 EVENT_FIELD24 EVENT_FIELD25

Indexes Index Name


AX_EVENTS_N1 AX_EVENTS_N2

Index Type NOT UNIQUE NOT UNIQUE

Sequence 1 2 1 2 4 8 1

Column Name TRANSLATION_STATUS EVENT_ID EVENT_FIELD1 EVENT_FIELD5 EVENT_FIELD4 EVENT_DATE EVENT_ID

AX_EVENTS_U1

UNIQUE

Sequences Sequence
AX_EVENTS_S

Derived Column EVENT_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_EVENTS_BRDI1 BEFORE ROW INSERT, DELETE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 153

AX_EVENT_MAPPINGS
This table stores information about the mapping of the primary key column(s) of the base event table of a translation scheme. It contains a row for each primary key column of the base event table. Each row includes the name of the primary key column and its mapping to a column of AX_EVENTS (the column to which it has to be compared).
Foreign Keys Primary Key Table
AX_TRANS_SCHEMES

Primary Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

Foreign Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

QuickCodes Columns Column


EVENT_FIELD

QuickCodes Type AX_EVENT_COLUMNS ADDITIONAL_DATE ADDITIONAL_NUMBER ADDITIONAL_VARCHAR2 APPLICATION_ID EVENT_DATE EVENT_FIELD1 EVENT_FIELD10 EVENT_FIELD11 EVENT_FIELD12 EVENT_FIELD13 EVENT_FIELD14 EVENT_FIELD15 EVENT_FIELD16 EVENT_FIELD17 EVENT_FIELD18 EVENT_FIELD19 EVENT_FIELD2 EVENT_FIELD20 EVENT_FIELD21 EVENT_FIELD22 EVENT_FIELD23 EVENT_FIELD24 EVENT_FIELD25 EVENT_FIELD3 EVENT_FIELD4 EVENT_FIELD5 EVENT_FIELD6 EVENT_FIELD7 EVENT_FIELD8 EVENT_FIELD9 EVENT_ID EVENT_TYPE SET_OF_BOOKS_ID TRANSLATED_DATE

QuickCodes Table AX_LOOKUPS Additional Date Additional Number Additional varchar2 Application ID Event Date Event Field 1 Event Field 10 Event Field 11 Event Field 12 Event Field 13 Event Field 14 Event Field 15 Event Field 16 Event Field 17 Event Field 18 Event Field 19 Event Field 2 Event Field 20 Event Field 21 Event Field 22 Event Field 23 Event Field 24 Event Field 25 Event Field 3 Event Field 4 Event Field 5 Event Field 6 Event Field 7 Event Field 8 Event Field 9 Event ID Event Type Set of Books ID Translated Date

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 154 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type TRANSLATION_STATUS QuickCodes Table Translation Status

Column Descriptions Name


SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) TRANSLATION_SCHEME (PK) PRIMARY_KEY_COLUMN (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN EVENT_FIELD

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

Description Set of books identifier Application identifier Translation scheme name Name of the primary key column of the base event table Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Mapping column in AX_EVENTS table

NULL NULL NULL NULL NULL NOT NULL

Indexes Index Name


AX_EVENT_MAPPINGS_U1

Index Type UNIQUE

Sequence 1 2 3 4

Column Name SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PRIMARY_KEY_COLUMN

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 155

AX_EVENT_TYPES
This table stores the event types. There is a row for every event type defined per main set of books and posting set of books. Every row includes the set of books and the application in which the event is defined, the event type, the translation scheme used to translate the event, the direction of the event type (direct, reverse or offset), the category used to generate the journal sequence and an optional PL/SQL user exit that will be executed before translation.
Foreign Keys Primary Key Table
AX_TRANS_PROGRAMS AX_TRANS_SCHEMES

Primary Key Column APPLICATION_ID MAIN_SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

Foreign Key Column APPLICATION_ID SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

QuickCodes Columns Column


DIRECT_FLAG

QuickCodes Type AX_DIRECT_TRANS N O Y AX_YES_NO N Y AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS Reverse Offset Direct AX_LOOKUPS No Yes AX_LOOKUPS No Yes

ENABLED_FLAG

INCLUDE_IN_PROGRAM_FLAG

Column Descriptions Name


CATEGORY_CODE SET_OF_BOOKS_ID (PK) POSTING_SET_OF_BOOKS_ID APPLICATION_ID (PK) EVENT_TYPE (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN DESCRIPTION ENABLED_FLAG TRANSLATION_SCHEME DIRECT_FLAG USER_EXIT INCLUDE_IN_PROGRAM_FLAG

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

Description

(PK)

NOT NOT NOT NOT

VARCHAR2(30) Category code NUMBER Set of books identifier NUMBER Posting set of books identifier NUMBER Application identifier VARCHAR2(30) Event type DATE Standard Who column NUMBER Standard Who column DATE Standard Who column NUMBER Standard Who column NUMBER Standard Who column VARCHAR2(255) Description VARCHAR2() Enabled flag VARCHAR2(30) Translation scheme name VARCHAR2() Event type direction VARCHAR2(1996) PL/SQL user exit code VARCHAR2() Y if the event is included in the Translator Program, N otherwise

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 156 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes Index Name


AX_EVENT_TYPES_N1 AX_EVENT_TYPES_U1

Index Type NOT UNIQUE UNIQUE

Sequence 2 4 6 1 2 4 5

Column Name SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME SET_OF_BOOKS_ID APPLICATION_ID POSTING_SET_OF_BOOKS_ID EVENT_TYPE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 157

AX_ID_HASH_RESULTS
This table stores hashed values for numeric identifiers. It contains a row for each different identifier of each type of object. The column IDENTIFIER_TYPE identifies the type of object; valid values are: APPLICATION SET_OF_BOOKS The identifiers are hashed transforming them in a string of characters having a predetermined length. Do not access this table directly; to maintain data integrity, always use the package AX_HASH_PKG.
Column Descriptions Name
IDENTIFIER_TYPE (PK) IDENTIFIER (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE HASH_VALUE

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

Description Type of identifier Identifier value 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 Hashed value of the identifier

Indexes Index Name


AX_ID_HASH_RESULTS_U1

Index Type UNIQUE

Sequence 2 4

Column Name IDENTIFIER_TYPE IDENTIFIER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 158 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_LOOKUPS
This view is based on FND_LOOKUP_VALUES. It retrieves the lookup values for the current language or the base language if the language is not defined.
View Definition CREATE VIEW AX_LOOKUPS as SELECT LV.LOOKUP_TYPE , LV.LOOKUP_CODE , LV.MEANING , LV.DESCRIPTION , LV.ENABLED_FLAG , LV.START_DATE_ACTIVE , LV.END_DATE_ACTIVE , LV.CREATED_BY , LV.CREATION_DATE , LV.LAST_UPDATED_BY , LV.LAST_UPDATE_DATE , LV.LAST_UPDATE_LOGIN from FND_LOOKUP_VALUES LV Where LANGUAGE = userenv(LANG) and VIEW_APPLICATION_ID = 600 and SECURITY_GROUP_ID = fnd_global.lookup_security_group(LV.LOOKUP_TYPE, LV.VIEW_APPLICATION_ID)

Column Descriptions Name


LOOKUP_TYPE LOOKUP_CODE MEANING DESCRIPTION ENABLED_FLAG START_DATE_ACTIVE END_DATE_ACTIVE CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN

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

Description Lookup type Lookup code Meaning Description Lookup enabled flag Lookup activation date Lookup deactivation date 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 159

AX_MC_TABLES
This table contains information about the tables used by Multiple Reporting Currency. It contains a row for each column in each relevant table. This information is used to automatically generate the accounting rules for Multiple Reporting Currency when loading a new set of rules for the main set of books.
Column Descriptions Name
MC_TABLE_NAME (PK) COLUMN_NAME (PK) CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PRIMARY_TABLE_NAME FULL_REPLICATE MC_REPLACES

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

Description MRC renamed table Column name; 0 if table is fully replicated Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Base table name of the primary set of books Fully replicated table flag N if part of foreign key, Y if used for accounting

NULL VARCHAR2(1) NULL VARCHAR2(1)

Indexes Index Name


AX_MC_TABLES_U1

Index Type UNIQUE

Sequence 2 4

Column Name MC_TABLE_NAME COLUMN_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 160 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_MTL_CATEGORY_ACCOUNTS_V1
This view guarantees a common access to material accounts either by subinventory code or cost groups.
View Definition CREATE VIEW AX_MTL_CATEGORY_ACCOUNTS_V1 as SELECT MCA.ORGANIZATION_ID ORGANIZATION_ID, MCA.SUBINVENTORY_CODE SUBINVENTORY_CODE, TO_CHAR(MCA.COST_GROUP_ID) COST_GROUP_ID, MIC.INVENTORY_ITEM_ID INVENTORY_ITEM_ID, MCA.MATERIAL_ACCOUNT MATERIAL_ACCOUNT, MCA.MATERIAL_OVERHEAD_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT, MCA.RESOURCE_ACCOUNT RESOURCE_ACCOUNT, MCA.OUTSIDE_PROCESSING_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT, MCA.OVERHEAD_ACCOUNT OVERHEAD_ACCOUNT, MCA.EXPENSE_ACCOUNT EXPENSE_ACCOUNT, MCA.ENCUMBRANCE_ACCOUNT ENCUMBRANCE_ACCOUNT, MCA.BRIDGING_ACCOUNT BRIDGING_ACCOUNT, MCA.ANALYTICAL_IPV ANALYTICAL_IPV, MCA.ANALYTICAL_PO_MIRROR ANALYTICAL_PO_MIRROR, MCA.NON_INVOICED_SO NON_INVOICED_SO, MCA.NON_INVOICED_REVENUE NON_INVOICED_REVENUE, MCA.ANALYTICAL_REVENUE_MIRROR ANALYTICAL_REVENUE_MIRROR, MCA.ANALYTICAL_MOGS ANALYTICAL_MOGS FROM MTL_CATEGORY_ACCOUNTS MCA, MTL_CATEGORY_SETS MCS, MTL_ITEM_CATEGORIES MIC
Where MCS.CATEGORY_SET_NAME = Accounting AND MCA.CATEGORY_SET_ID = MCS.CATEGORY_SET_ID AND MIC.CATEGORY_SET_ID = MCS.CATEGORY_SET_ID AND MIC.CATEGORY_ID = MCA.CATEGORY_ID AND MIC.ORGANIZATION_ID = MCA.ORGANIZATION_ID

Column Descriptions Name


ORGANIZATION_ID SUBINVENTORY_CODE COST_GROUP_ID INVENTORY_ITEM_ID MATERIAL_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT RESOURCE_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT OVERHEAD_ACCOUNT EXPENSE_ACCOUNT ENCUMBRANCE_ACCOUNT BRIDGING_ACCOUNT ANALYTICAL_IPV

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

Description 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 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.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 161

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER NUMBER Description Refer Refer Refer Refer Refer to to to to to base base base base base table. table. table. table. table.

ANALYTICAL_PO_MIRROR NON_INVOICED_SO NON_INVOICED_REVENUE ANALYTICAL_REVENUE_MIRROR ANALYTICAL_MOGS

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 162 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_MTL_SECONDARY_INV_V1
This view provides access to secondary inventory organizations by organization and cost group. It is used in the development of Inventory rules.
View Definition CREATE VIEW AX_MTL_SECONDARY_INV_V1 as SELECT ASI.ORGANIZATION_ID ORGANIZATION_ID, ASI.SECONDARY_INVENTORY_ID SECONDARY_INVENTORY_ID, ASI.SECONDARY_INVENTORY_NAME SECONDARY_INVENTORY_NAME, NULL COST_GROUP_ID FROM AX_SECONDARY_INVENTORY ASI, MTL_PARAMETERS MP
Where ASI.ORGANIZATION_ID = MP.ORGANIZATION_ID UNION SELECT CCG.ORGANIZATION_ID ORGANIZATION_ID, 0 SECONDARY_INVENTORY_ID, CCG.DESCRIPTION SECONDARY_INVENTORY_NAME, TO_CHAR(CCG.COST_GROUP_ID) COST_GROUP_ID FROM CST_COST_GROUPS CCG, MTL_PARAMETERS MP WHERE CCG.ORGANIZATION_ID IS NOT NULL AND CCG.ORGANIZATION_ID = MP.ORGANIZATION_ID AND MP.PRIMARY_COST_METHOD = 2 UNION SELECT MP.ORGANIZATION_ID ORGANIZATION_ID, 0 SECONDARY_INVENTORY_ID, CCG.DESCRIPTION SECONDARY_INVENTORY_NAME, TO_CHAR(CCG.COST_GROUP_ID) COST_GROUP_ID FROM CST_COST_GROUPS CCG, MTL_PARAMETERS MP WHERE CCG.ORGANIZATION_ID IS NULL AND MP.PRIMARY_COST_METHOD = 2

Column Descriptions Name


ORGANIZATION_ID SECONDARY_INVENTORY_ID SECONDARY_INVENTORY_NAME COST_GROUP_ID

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

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 163

AX_MTL_SYSTEM_ITEMS_KFV_V2
The purpose of this view is to get the item code associated with an item identifier stored in an item flexfield. It is used by the Inventory rules to populate a reference field in the AX_SLE_LINES table when creating accounting entries.
View Definition CREATE VIEW AX_MTL_SYSTEM_ITEMS_KFV_V2 as SELECT organization_id ,inventory_item_id ,concatenated_segments FROM mtl_system_items_kfv

Column Descriptions Name


ORGANIZATION_ID INVENTORY_ITEM_ID CONCATENATED_SEGMENTS

Null? Type

Description

NULL NUMBER Refer to base table. NULL NUMBER Refer to base table. NULL VARCHAR2(600) Refer to base table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 164 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_PERIOD_STATUSES
This table stores the number of Inventory organizations having opened an accounting period. The period is considered closed if it is not open for any organization and opened if it is open for at least one organization. Each row contains the period identifier in GL_PERIOD_STATUSES and a counter for the number of Inventory organizations having the period open.
Column Descriptions Name
APPLICATION_ID (PK) SET_OF_BOOKS_ID (PK) PERIOD_NAME (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN INV_USAGE_COUNT

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

Description Application identifier Set of books identifier Period name Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Number of Inventory organizations having the period open

Indexes Index Name


AX_PERIOD_STATUSES_U1

Index Type UNIQUE

Sequence 2 4 6

Column Name APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_AX_PERIOD_STATUSES_BUR1 BEFORE ROW UPDATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 165

AX_POSTING_CTRL
This table stores marks used during the posting process. It includes a row for every application and set of books. The column STATUS may have the following values: S: Translate Events started T: Events Translated P: AP Posting terminated X: Transfer to GL terminated

This table should not be accessed directly but through the package AX_POSTING_CTRL_PKG.
Column Descriptions Name
APPLICATION_ID (PK) SET_OF_BOOKS_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE STATUS

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

Description Application identifier Set of books 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 Status of the posting process

Indexes Index Name


AX_POSTING_CTRL_U1

Index Type UNIQUE

Sequence 1 2

Column Name APPLICATION_ID SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 166 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_PURGE_RUNS
This table stores the status and audit information of each Subledger Archive and Purge execution.
Column Descriptions Name
PURGE_ID (PK) APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME PERIOD_STATUS ERROR_CODE BATCHSIZE PURGE_STATUS_CODE LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE

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

Description

Purge identifier Application identifier Set of books identifier Period name Period status (purged or not purged) NULL VARCHAR2(100) Archive and Purge error code NULL NUMBER Commit batch size NULL VARCHAR2(30) Status of the purge execution 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 NULL NUMBER Standard Who column NULL NUMBER Standard Who column NULL NUMBER Standard Who column NULL DATE Standard Who column

Indexes Index Name


AX_PURGE_RUNS_U1

Index Type UNIQUE

Sequence 5

Column Name PURGE_ID

Sequences Sequence
AX_PURGES_S

Derived Column PURGE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 167

AX_QUERY_CHAINS
This table stores the query chains. There is a row for every query chain defined. Every row includes the application in which the query chain is defined, its name and the table from which the chain starts.
QuickCodes Columns Column
ENABLED_FLAG

QuickCodes Type AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes

Column Descriptions Name


APPLICATION_ID (PK) QUERY_CHAIN_NAME (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ENABLED_FLAG DESCRIPTION TABLE_APPLICATION_ID STARTING_TABLE FREQUENCY

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

Description Application identifier Query chain name Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Enabled flag Description Application owning the starting table Starting table name Frequency

NOT NULL VARCHAR2(30) NOT NULL NUMBER

Indexes Index Name


AX_QUERY_CHAINS_U1

Index Type UNIQUE

Sequence 1 2

Column Name APPLICATION_ID QUERY_CHAIN_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 168 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_QUERY_TABLES
This table stores the tables used by a query chain. There is a row for every table used by a query chain. Every row includes the table name and the type of join that is used (ONE, MANY or ONE AMONG MANY).
Foreign Keys Primary Key Table
AX_QUERY_CHAINS

Primary Key Column APPLICATION_ID QUERY_CHAIN_NAME

Foreign Key Column APPLICATION_ID QUERY_CHAIN_NAME

QuickCodes Columns Column


JOIN_TYPE

QuickCodes Type AX_COMPONENT_TYPE MANY ONE ONE_AMONG_MANY

QuickCodes Table AX_LOOKUPS MANY ONE ONE AMONG MANY

Column Descriptions Name


APPLICATION_ID (PK) QUERY_CHAIN_NAME (PK) TABLE_NUMBER (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN TABLE_APPLICATION_ID TABLE_NAME JOIN_TYPE

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

Description Application identifier Query chain name Table number within the query chain Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Application owning the table Table name Type of join

Indexes Index Name


AX_QUERY_TABLES_U1 AX_QUERY_TABLES_U2

Index Type UNIQUE UNIQUE

Sequence 1 2 3 1 2 3

Column Name APPLICATION_ID QUERY_CHAIN_NAME TABLE_NUMBER APPLICATION_ID QUERY_CHAIN_NAME TABLE_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 169

AX_REPORT_PARAMETERS
This table stores official runs of Final Daily Journal Book Header Descriptions per period. It contains one row for every officially completed run.
Column Descriptions Name
CONCURRENT_PROGRAM_ID SET_OF_BOOKS_ID CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN REQUEST_ID (PK) RUN_DATE REPORT_STATUS PARAMETER_1 PARAMETER_2 PARAMETER_3 PARAMETER_4 PARAMETER_5 PARAMETER_6 PARAMETER_7 PARAMETER_8 PARAMETER_9 PARAMETER_10

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

Description Concurrent program identifier Set of books identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Run date Report status Parameter value Parameter value Parameter value Parameter value Parameter value Parameter value Parameter value Parameter value Parameter value Parameter value

Indexes Index Name


AX_REPORT_PARAMETERS_U1

Index Type UNIQUE

Sequence 2

Column Name REQUEST_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 170 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_RULES
This table stores the header information for each archived rule set. It contains a row for every archived rule set available for an application. Each row contains the identifier, the name of the rule set and the identifier of the related application.
Column Descriptions Name
APPLICATION_ID RULE_ID (PK) RULE_NAME CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN RULE_VERSION RULE_SUB_VERSION RULE_REVISION

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

Description Application identifier Rule identifier Rule name Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Reserved for a future release Reserved for a future release Reserved for a future release

Indexes Index Name


AX_RULES_U1

Index Type UNIQUE

Sequence 2

Column Name RULE_ID

Sequences Sequence
AX_RULES_S

Derived Column RULE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 171

AX_RULE_CATEGORY
This temporary table stores the categories used by event types. It is populated when the Translation Programs are deleted so that the category setup can be restored when a new version of the rules is restored. It includes a row for every event type for an applications main and posting set of books. Each row contains the event type name and the category it uses.
Column Descriptions Name
APPLICATION_ID (PK) SET_OF_BOOKS_ID (PK) POSTING_SET_OF_BOOKS_ID EVENT_TYPE (PK) CATEGORY_NAME CREATED_BY CREATION_DATE LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN

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

Description Application identifier Main set of books identifier Posting set of books identifier Event type name Used category Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

(PK)

Indexes Index Name


AX_RULE_CATEGORY_U1

Index Type UNIQUE

Sequence 2 4 6 8

Column Name APPLICATION_ID SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID EVENT_TYPE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 172 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_RULE_LINES
This table stores the components of a rule set. It includes a row for every field of every row of every table used by the rule set. The standard RowWho fields are not stored. Each row contains the table name, the column name and the column value.
Foreign Keys Primary Key Table
AX_RULES

Primary Key Column RULE_ID

Foreign Key Column RULE_ID

Column Descriptions Name


RULE_ID RECORD_ID TABLE_NAME COLUMN_NAME COLUMN_VALUE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN

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

Description Rule identifier Record identifier Table name Column name Column value Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Indexes Index Name


AX_RULE_LINES_N1 AX_RULE_LINES_N2

Index Type NOT UNIQUE NOT UNIQUE

Sequence 1 2 2 4 6 8

Column Name RULE_ID RECORD_ID RULE_ID TABLE_NAME RECORD_ID COLUMN_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 173

AX_SECONDARY_INVENTORY
This table stores numeric identifiers for Inventory suborganizations. It contains a row for every Inventory suborganization. Each row contains the suborganization name and the numeric identifier. Numeric identifiers are used to make the Inventory suborganization identifiers consistent with those of Payables and Receivables suborganizations.
Column Descriptions Name
SECONDARY_INVENTORY_ID LAST_UPDATED_BY LAST_UPDATE_DATE LAST_UPDATE_LOGIN CREATED_BY CREATION_DATE ORGANIZATION_ID (PK)

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

Description Secondary inventory identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Inventory organization identifier Secondary inventory name

SECONDARY_INVENTORY_NAME

Indexes Index Name


AX_SECONDARY_INVENTORY_U1

Index Type UNIQUE

Sequence 2

Column Name SECONDARY_INVENTORY_ID

Sequences Sequence
AX_SECONDARY_INVENTORY_S

Derived Column SECONDARY_INVENTORY_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 174 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_SETUP_BOOKS
This table stores setup parameters at the set of books level. The information is stored through the Subledger Setup screen.
Column Descriptions Name
SET_OF_BOOKS_ID GL_SEQUENCING_FLAG LEGAL_SEQUENCING_MODE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN

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

Description Set of Books ID GL Sequencing Flag Legal Sequencing Mode Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Indexes Index Name


AX_SETUP_BOOKS_U1

Index Type UNIQUE

Sequence 5

Column Name SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 175

AX_SETUP_GLOBAL
This table stores the global system parameters. It is a single row table. The column CHAR_MODE_FLAG exists for backward compatibility purposes and it is used to detect nonGUI installations not having used the Setup forms. This column is preseeded with Y and it is updated to N every time the GUI setup form performs a commit. Users cannot use the Load program to load rules once the GUI Setup forms are used. This is to ensure that the users continue setup using the forms once it is initiated. The column AX_ENABLED is set to Y if at least a subledger is defined (row in AX_SETUP_SUBLEDGER). As such, it is a denormalization. The column SETUP_STATUS shows the status of the AX setup. It is initially set to NOT_FROZEN and is set to FROZEN when the setup freeze process completes successfully.
QuickCodes Columns Column
AX_ENABLED

QuickCodes Type AX_YES_NO N Y AX_YES_NO N Y AX_FREEZE_STATUS ERROR FREEZING FROZEN INCOMPLETE NOT_FROZEN PART_FROZEN SUBMITTED

QuickCodes Table AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS Error Freezing Frozen Incomplete Not Frozen Partially Frozen Submitted

CHAR_MODE_FLAG

SETUP_STATUS

Column Descriptions Name


LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE AX_ENABLED COMMIT_BATCH_SIZE BAL_COMMIT_BATCH_SIZE SLEEP_TIME

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

Description 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 AX is enabled in at least one subledger system Size of commit batch for event translation Size of commit batch for balance calculation Sleep time for concurrent processing

NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 176 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


CHAR_MODE_FLAG SETUP_STATUS UPGRADE_STATUS

(Continued)
Null? Type Description NOT NULL VARCHAR2(1) Character mode flag NOT NULL VARCHAR2(30) Status of AX setup NULL VARCHAR2(255) Status of balance calculation upgrade

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 177

AX_SETUP_INV_ORG_PROCS
This table contains setup parameters specific to the Inventory organization. Therefore, all the rows in this table have the APPLICATION_ID column set to 401 (Oracle Inventory); this column exists to properly define a foreign key towards AX_SETUP_SUBLEDGERS. It contains one row for each organization connected with the main Set of Books.
Foreign Keys Primary Key Table
AX_SETUP_SUBLEDGERS

Primary Key Column APPLICATION_ID MAIN_SET_OF_BOOKS_ID

Foreign Key Column APPLICATION_ID MAIN_SET_OF_BOOKS_ID

QuickCodes Columns Column


COST_UPDATE_BRIDGING

QuickCodes Type AX_YES_NO N Y AX_YES_NO N Y AX_YES_NO N Y AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS No Yes

INV_ADJUSTMENT_BRIDGING

MISC_ISSUE_BRIDGING

MISC_RECEIPT_BRIDGING

Column Descriptions Name


LAST_UPDATED_BY APPLICATION_ID (PK) MAIN_SET_OF_BOOKS_ID (PK) ORGANIZATION_ID (PK) LAST_UPDATE_DATE CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE COST_UPDATE_BRIDGING INV_ADJUSTMENT_BRIDGING MISC_ISSUE_BRIDGING MISC_RECEIPT_BRIDGING

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

Description Standard Who column Application identifier Main Set of Books identifier Inventory organization 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 Cost update bridging flag Inventory adjustment bridging flag Miscellaneous issue bridging flag Miscellaneous receipt bridging flag

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 178 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes Index Name


AX_SETUP_INV_ORG_PROCS_N1 AX_SETUP_INV_ORG_PROCS_U1

Index Type NOT UNIQUE UNIQUE

Sequence 2 4 2 4 6

Column Name APPLICATION_ID MAIN_SET_OF_BOOKS_ID APPLICATION_ID MAIN_SET_OF_BOOKS_ID ORGANIZATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 179

AX_SETUP_POSTING_BOOKS
This table stores information about posting set of books for each main set of books. For each main set of books, it contains at least one row having posting set of books equal to main set of books. If the main set of books is a Multiple Reporting Currency book, then it also contains a row for each reporting set of books. RULE_NAME contains the name of the rules used by the subledger; it can be null in a development environment where the rules are under construction. RULE_NAME is used instead of RULE_ID because this is keeping historical information while editing rules. Rules could be discarded losing the ID but this column should always keep track of the rules that were used at load time. The column RULE_CHANGED_FLAG is set to Y by the Setup forms when the user changes the rule set for a posting set of books. It is used to identify the rule sets that need to be loaded.
Foreign Keys Primary Key Table
AX_SETUP_SUBLEDGERS AX_TRANS_PROGRAMS GL_SETS_OF_BOOKS

Primary Key Column APPLICATION_ID MAIN_SET_OF_BOOKS_ID APPLICATION_ID MAIN_SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID SET_OF_BOOKS_ID

Foreign Key Column APPLICATION_ID MAIN_SET_OF_BOOKS_ID APPLICATION_ID MAIN_SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID

QuickCodes Columns Column


ERROR_TO_SUSPENSE_ACCNT

QuickCodes Type AX_YES_NO N Y AX_YES_NO N Y AX_YES_NO N Y AX_LINE_TYPE DAILY_SUMMARY DETAIL SUMMARY AX_YES_NO N Y AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS Daily Summary Detail Summary AX_LOOKUPS No Yes AX_LOOKUPS No Yes

EZL_REQUIRED

GL_POST_REQUIRED

JE_LINE_TYPE

RULE_CHANGED_FLAG

TRANSFER_TO_GL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 180 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


PROGRAM_ID APPLICATION_ID (PK) MAIN_SET_OF_BOOKS_ID SOURCE_ORG_ID (PK)

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

Description

(PK)

POSTING_SET_OF_BOOKS_ID LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_UPDATE_DATE RULE_NAME TRANSFER_TO_GL JE_LINE_TYPE EZL_REQUIRED ERROR_TO_SUSPENSE_ACCNT GL_POST_REQUIRED RULE_CHANGED_FLAG RULE_SUB_VERSION RULE_REVISION DUAL_POSTING_CODE DUAL_POSTING_FLAG

(PK)

Standard Who column Application identifier Main set of books identifier Organization identifier; 0 if no organization. Form displays All NOT NULL NUMBER Posting set of books identifier 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 NULL NUMBER Standard Who column NULL NUMBER Standard Who column NULL DATE Standard Who column NULL VARCHAR2(100) Rule set used for this posting set of books NOT NULL VARCHAR2(1) Default for Submit Posting Manager Form NOT NULL VARCHAR2(30) Default for Submit Posting Manager Form NOT NULL VARCHAR2(1) Default for Submit Posting Manager Form NOT NULL VARCHAR2(1) Default for Submit Posting Manager Form NOT NULL VARCHAR2(1) Default for Submit Posting Manager Form NOT NULL VARCHAR2(1) Y if rules have been changed NULL VARCHAR2(30) Reserved for a future Release NULL VARCHAR2(30) Reserved for a future Release NULL VARCHAR2(30) Specify how the accounting combination are handled by the rules. NULL VARCHAR2(1) Identify the type of the set of books (main, reporting, mrc reporting)

Indexes Index Name


AX_SETUP_POSTING_BOOKS_N1 AX_SETUP_POSTING_BOOKS_U1

Index Type NOT UNIQUE UNIQUE

Sequence 2 4 2 4 6 8

Column Name APPLICATION_ID MAIN_SET_OF_BOOKS_ID APPLICATION_ID MAIN_SET_OF_BOOKS_ID SOURCE_ORG_ID POSTING_SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 181

AX_SETUP_SUBLEDGERS
This table stores the subledger dependent parameters. It contains a row for each subledger (application and Main set of books). The following columns are populated only if the application is Oracle Inventory: IPV_AUTOMATIC_PROCESSING PPV_AUTOMATIC_PROCESSING
Foreign Keys Primary Key Table
AX_SETUP_BOOKS FND_APPLICATION GL_SETS_OF_BOOKS

Primary Key Column SET_OF_BOOKS_ID APPLICATION_ID SET_OF_BOOKS_ID

Foreign Key Column MAIN_SET_OF_BOOKS_ID APPLICATION_ID MAIN_SET_OF_BOOKS_ID

QuickCodes Columns Column


IPV_AUTOMATIC_PROCESSING

QuickCodes Type AX_YES_NO N Y AX_YES_NO N Y AX_YES_NO N Y AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS No Yes AX_LOOKUPS No Yes

PPV_AUTOMATIC_PROCESSING

SECURE_POSTING

TRANSLATE_EVENTS

Column Descriptions Name


APPLICATION_ID (PK) MAIN_SET_OF_BOOKS_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE TRANSLATE_EVENTS SECURE_POSTING IPV_AUTOMATIC_PROCESSING PPV_AUTOMATIC_PROCESSING PERIOD_FROM PERIOD_TO

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

Description Application identifier Main set of books 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 Default for Submit Posting Manager form Secure Posting Manager parameters Automatic processing for IPV Automatic processing for PPV Starting Period End Period

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 182 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes Index Name


AX_SETUP_SUBLEDGERS_U1

Index Type UNIQUE

Sequence 2 4

Column Name APPLICATION_ID MAIN_SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 183

AX_SLE_HEADERS
This table stores the subledger accounting entry headers. One header exists for each accounting entry. The accounting entry header is used to group accounting entry lines. Each row includes the journal sequence identifier, the value of the journal sequence associated with the entry, the application, the posting set of books, the accounting date, the information related to currency conversion if applicable, and the identifier of the event that generated the entry.
Foreign Keys Primary Key Table
AX_EVENTS GL_PERIOD_STATUSES

Primary Key Column EVENT_ID APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME

Foreign Key Column EVENT_ID APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME

Column Descriptions Name


JOURNAL_SEQUENCE_ID (PK) SLE_HEADER_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE SET_OF_BOOKS_ID APPLICATION_ID EVENT_ID EFFECTIVE_DATE PERIOD_NAME CURRENCY_CODE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE CURRENCY_CONVERSION_TYPE REFERENCE_1 REFERENCE_2 REFERENCE_3 REFERENCE_4 REFERENCE_5 ORG_ID LEGAL_SEQUENCE_ID LEGAL_SEQUENCE_VALUE TRANSACTION_DATE REFERENCE_NUM1

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

Description Journal sequence identifier Value of the journal sequence Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Extended Who column Extended Who column Extended Who column Extended Who column Set of books identifier Application identifier Event identifier Accounting date Period name Transaction currency Currency conversion date (no longer used) Currency conversion rate (no longer used) Currency conversion type (no longer used) Character reference column Character reference column Character reference column Character reference column Character reference column Organization identifier Gapless sequence identifier Gapless sequence value Trading partner accounting date for which tax is reported (for future use) Numeric reference column

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

NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 184 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


REFERENCE_NUM2 REFERENCE_NUM3 REFERENCE_NUM4 REFERENCE_NUM5 REFERENCE_DATE1 REFERENCE_DATE2 REFERENCE_DATE3 REFERENCE_DATE4 REFERENCE_DATE5 DESCRIPTION DOC_SEQUENCE_ID

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER DATE DATE DATE DATE DATE VARCHAR2(255) Description Numeric reference column Numeric reference column Numeric reference column Numeric reference column Date reference column Date reference column Date reference column Date reference column Date reference column Subledger accounting header description document sequence identifier (for future use) document sequence value (for future use) GL Transfer Flag GL Transfer Date Ledger Transfer Id GL Category

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

DOC_SEQUENCE_NUMBER GL_TRANSFER_FLAG GL_TRANSFER_DATE GL_TRANSFER_RUN_ID GL_CATEGORY

Indexes Index Name


AX_SLE_HEADERS_N1 AX_SLE_HEADERS_N2 AX_SLE_HEADERS_N3 AX_SLE_HEADERS_N4 AX_SLE_HEADERS_U1

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 2 2 2 4 6 1 2 2 4

Column Name EVENT_ID PERIOD_NAME APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME EFFECTIVE_DATE GL_TRANSFER_FLAG JOURNAL_SEQUENCE_ID SLE_HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 185

AX_SLE_HEADERS_ARCH
This table stores the rows purged from the AX_SLE_HEADERS table by the Subledger Archive and Purge program.
Foreign Keys Primary Key Table
AX_EVENTS

Primary Key Column EVENT_ID

Foreign Key Column EVENT_ID

Column Descriptions Name


JOURNAL_SEQUENCE_ID (PK) SLE_HEADER_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE SET_OF_BOOKS_ID APPLICATION_ID EVENT_ID EFFECTIVE_DATE PERIOD_NAME CURRENCY_CODE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE CURRENCY_CONVERSION_TYPE REFERENCE_1 REFERENCE_2 REFERENCE_3 REFERENCE_4 REFERENCE_5 ORG_ID LEGAL_SEQUENCE_ID LEGAL_SEQUENCE_VALUE TRANSACTION_DATE REFERENCE_NUM1 REFERENCE_NUM2 REFERENCE_NUM3 REFERENCE_NUM4 REFERENCE_NUM5 REFERENCE_DATE1 REFERENCE_DATE2 REFERENCE_DATE3 REFERENCE_DATE4 REFERENCE_DATE5

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

Description Journal sequence identifier Value of the journal sequence Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Extended Who column Extended Who column Extended Who column Extended Who column Set of books identifier Application identifier Event identifier Accounting date Period name Transaction currency Currency conversion date (no longer used) Currency conversion rate (no longer used) Currency conversion type (no longer used) Character reference column Character reference column Character reference column Character reference column Character reference column Organization identifier Gapless sequence identifier Gapless sequence value Trading partner accounting date for which tax is reported (for future use) Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Date reference column Date reference column Date reference column Date reference column Date reference column

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 186 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


DESCRIPTION DOC_SEQUENCE_ID

(Continued)
Null? Type Description NULL VARCHAR2(255) Subledger accounting header description NULL NUMBER(15) document sequence identifier (for future use) NULL NUMBER(15) document sequence value (for future use) NULL VARCHAR2(1) GL Transfer Flag NULL DATE GL Transfer Date NULL NUMBER GL Transfer run id NULL VARCHAR2(30) GL Category

DOC_SEQUENCE_NUMBER GL_TRANSFER_FLAG GL_TRANSFER_DATE GL_TRANSFER_RUN_ID GL_CATEGORY

Indexes Index Name


AX_SLE_HEADERS_ARCH_U1

Index Type UNIQUE

Sequence 1 2

Column Name JOURNAL_SEQUENCE_ID SLE_HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 187

AX_SLE_LINES
This table stores subledger accounting entry lines. An accounting entry line is either a debit or a credit. Accounting entry lines are grouped together by an accounting entry header. The combination of the header and its lines comprises an accounting entry. All lines grouped under a header are balanced, meaning that the total debits equal the total credits for the functional currency. Each row is one accounting entry line. The BALANCE_FLAG is set to Y when the row has contributed to a balance; it is either NULL or N otherwise. Only lines with the account code combination with the control account qualifier set can have the BALANCE_FLAG set to Y.
Foreign Keys Primary Key Table
AX_SLE_HEADERS GL_CODE_COMBINATIONS

Primary Key Column SLE_HEADER_ID JOURNAL_SEQUENCE_ID CODE_COMBINATION_ID

Foreign Key Column SLE_HEADER_ID JOURNAL_SEQUENCE_ID CODE_COMBINATION_ID

QuickCodes Columns Column


BALANCE_FLAG

QuickCodes Type AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes

Column Descriptions Name


JOURNAL_SEQUENCE_ID (PK) SLE_HEADER_ID (PK) SLE_LINE_NUM (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE GL_POSTED_FLAG GL_POSTED_DATE CODE_COMBINATION_ID ACCOUNTED_CR ACCOUNTED_DR ENTERED_CR ENTERED_DR THIRD_PARTY_ID SUB_ID COMMENT_LINE REFERENCE_1 REFERENCE_2

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

Description

Journal sequence identifier Value of the journal sequence Entry line number Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Extended Who column Extended Who column Extended Who column Extended Who column Line transferred to GL flag Date line transferred to GL Code combination identifier Credit in functional currency Debit in functional currency Credit in transaction currency Debit in transaction currency Third party identifier Third party suborganization identifier NULL VARCHAR2(255) Comment NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 188 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


REFERENCE_3 REFERENCE_4 REFERENCE_5 REFERENCE_6 REFERENCE_7 REFERENCE_8 REFERENCE_9 REFERENCE_10 REFERENCE_11 REFERENCE_12 REFERENCE_13 REFERENCE_14 REFERENCE_15 REFERENCE_16 REFERENCE_17 REFERENCE_18 REFERENCE_19 REFERENCE_20

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) Description Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Reference column (reserved for Global Accounting Engine use) Reference column (reserved for Global Accounting Engine use) Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Used to contain the conversion date for crosscurrency (now no longer used) Used to contain the conversion rate for crosscurrency (now no longer used) Used to contain the conversion type for crosscurrency (now no longer used) Used to contain the currency code for crosscurrency transaction (now no longer used) Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column

NULL VARCHAR2(240) NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240)

NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240)

REFERENCE_21 REFERENCE_22 REFERENCE_23 REFERENCE_24 REFERENCE_25 REFERENCE_26 REFERENCE_27 REFERENCE_28 REFERENCE_29 REFERENCE_30 REFERENCE_31 REFERENCE_32 REFERENCE_33 REFERENCE_34 REFERENCE_35 REFERENCE_36 REFERENCE_37 REFERENCE_38 REFERENCE_39 REFERENCE_40 REFERENCE_41 REFERENCE_42 REFERENCE_43 REFERENCE_44 REFERENCE_45 REFERENCE_46 REFERENCE_47 REFERENCE_48

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(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 189

Column Descriptions Name


REFERENCE_49 REFERENCE_50 REFERENCE_51 REFERENCE_52 REFERENCE_53 REFERENCE_54 REFERENCE_55 REFERENCE_56 REFERENCE_57 REFERENCE_58 REFERENCE_59 REFERENCE_60 ORG_ID BALANCE_FLAG CURRENCY_CODE

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) NUMBER(15) VARCHAR2() Description Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Organization identifier Line contributed to balance calculation Currency code of an entered currency of a crosscurrency transaction Exchange rate type for foreign currency accounting entry line Date currency exchange rate is effective. Currency exchange rate used to convert a foreign currency amount to a functional currency amount Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Foreign key to the transaction originating the accounting entry line Source table of the transaction that created this accounting entry line (for future use) For future use For future use For future use For future use

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

CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE

REFERENCE_NUM1 REFERENCE_NUM2 REFERENCE_NUM3 REFERENCE_NUM4 REFERENCE_NUM5 REFERENCE_NUM6 REFERENCE_NUM7 REFERENCE_NUM8 REFERENCE_NUM9 REFERENCE_NUM10 REFERENCE_DATE1 REFERENCE_DATE2 REFERENCE_DATE3 REFERENCE_DATE4 REFERENCE_DATE5 REFERENCE_DATE6 REFERENCE_DATE7 REFERENCE_DATE8 REFERENCE_DATE9 REFERENCE_DATE10 SOURCE_ID SOURCE_TABLE APPLIED_FROM_DOC_ENTITY APPLIED_FROM_DOC_ID APPLIED_TO_DOC_ENTITY APPLIED_TO_DOC_ID

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

NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE NUMBER(15)

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 190 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


TAX_CODE_ID

(Continued)
Null? Type NULL NUMBER(15) Description Tax code identifier, along with the application identifier and set of books identifier, uniquely identifies a tax code in AP or AR Foreign key to AR_LOCATION_VALUES to determine location based tax for AR (for future use) Link tax line with the associated accounting line (for future use) Debit taxable amount in entered currency Credit taxable amount in entered currency Debit taxable amount in functional currency Credit taxable amount in functional currency Statistical amount The type of account the accounting line is posted for (for future use) Identifier used for maintaining audit trail upon transfer of the accounting entry line to GL (for future use) GL Transfer Line num

LOCATION_SEGMENT_ID

NULL NUMBER(15)

TAX_LINK_ID TAXABLE_ENTERED_DR TAXABLE_ENTERED_CR TAXABLE_ACCOUNTED_DR TAXABLE_ACCOUNTED_CR STAT_AMOUNT LINE_TYPE GL_SL_LINK_ID

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

GL_TRANSFER_LINE_NUM

NULL NUMBER

Indexes Index Name


AX_SLE_LINES_N1 AX_SLE_LINES_N2 AX_SLE_LINES_N3 AX_SLE_LINES_N4 AX_SLE_LINES_N5 AX_SLE_LINES_N6 AX_SLE_LINES_N7 AX_SLE_LINES_U1

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

Sequence 2 4 6 2 4 2 4 6 2 4 5 1 2 3 2 5 1 2 3

Column Name BALANCE_FLAG JOURNAL_SEQUENCE_ID SLE_HEADER_ID THIRD_PARTY_ID SUB_ID JOURNAL_SEQUENCE_ID SLE_HEADER_ID GL_POSTED_FLAG REFERENCE_10 REFERENCE_9 CODE_COMBINATION_ID JOURNAL_SEQUENCE_ID SLE_HEADER_ID GL_TRANSFER_LINE_NUM SOURCE_TABLE SOURCE_ID JOURNAL_SEQUENCE_ID SLE_HEADER_ID SLE_LINE_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 191

AX_SLE_LINES_ARCH
This table stores the rows purged from the AX_SLE_LINES table by the Subledger Archive and Purge program.
Foreign Keys Primary Key Table
AX_SLE_HEADERS_ARCH

Primary Key Column JOURNAL_SEQUENCE_ID SLE_HEADER_ID

Foreign Key Column JOURNAL_SEQUENCE_ID SLE_HEADER_ID

Column Descriptions Name


JOURNAL_SEQUENCE_ID (PK) SLE_HEADER_ID (PK) SLE_LINE_NUM (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE GL_POSTED_FLAG GL_POSTED_DATE CODE_COMBINATION_ID ACCOUNTED_CR ACCOUNTED_DR ENTERED_CR ENTERED_DR THIRD_PARTY_ID SUB_ID COMMENT_LINE REFERENCE_1 REFERENCE_2 REFERENCE_3 REFERENCE_4 REFERENCE_5 REFERENCE_6 REFERENCE_7 REFERENCE_8 REFERENCE_9 REFERENCE_10 REFERENCE_11 REFERENCE_12 REFERENCE_13 REFERENCE_14 REFERENCE_15 REFERENCE_16

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

Description Journal sequence identifier Value of the journal sequence Entry line number Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Extended Who column Extended Who column Extended Who column Extended Who column Line transferred to GL flag Date line transferred to GL Code combination identifier Credit in functional currency Debit in functional currency Credit in transaction currency Debit in transaction currency Third party identifier Third party suborganization identifier Comment Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column Reference column (reserved for Global Accounting Engine use) Reference column (reserved for Global Accounting Engine use) Character reference column Character reference column Character reference column Character reference column Character reference column Character reference column

NULL VARCHAR2(240) NULL NULL NULL NULL NULL NULL VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 192 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


REFERENCE_17

(Continued)
Null? Type Description NULL VARCHAR2(240) Used to contain the conversion date for crosscurrency transaction (now no longer used) NULL VARCHAR2(240) Used to contain the conversion rate for crosscurrency transaction (now no longer used) NULL VARCHAR2(240) Used to contain the conversion type for crosscurrency transaction (now no longer used) NULL VARCHAR2(240) Used to contain the currency code for crosscurrency transaction (now no longer used) NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL VARCHAR2(240) Character reference column NULL NUMBER(15) Organization identifier

REFERENCE_18

REFERENCE_19

REFERENCE_20

REFERENCE_21 REFERENCE_22 REFERENCE_23 REFERENCE_24 REFERENCE_25 REFERENCE_26 REFERENCE_27 REFERENCE_28 REFERENCE_29 REFERENCE_30 REFERENCE_31 REFERENCE_32 REFERENCE_33 REFERENCE_34 REFERENCE_35 REFERENCE_36 REFERENCE_37 REFERENCE_38 REFERENCE_39 REFERENCE_40 REFERENCE_41 REFERENCE_42 REFERENCE_43 REFERENCE_44 REFERENCE_45 REFERENCE_46 REFERENCE_47 REFERENCE_48 REFERENCE_49 REFERENCE_50 REFERENCE_51 REFERENCE_52 REFERENCE_53 REFERENCE_54 REFERENCE_55 REFERENCE_56 REFERENCE_57 REFERENCE_58 REFERENCE_59 REFERENCE_60 ORG_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 193

Column Descriptions Name


BALANCE_FLAG CURRENCY_CODE

(Continued)
Null? Type NULL VARCHAR2(1) NULL VARCHAR2(15) NULL VARCHAR2(30) NULL DATE NULL NUMBER Description Line contributed to balance calculation Currency code of an entered currency of a crosscurrency transaction Exchange rate type for foreign currency accounting entry line Date currency exchange rate is effective. Currency exchange rate used to convert a foreign currency amount to a functional currency amount Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Numeric reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Date reference column Foreign key to the transaction originating the accounting entry line Source table of the transaction that created this accounting entry line (for future use) For future use For future use For future use For future use Tax code identifier, along with the application identifier and set of books identifier, uniquely identifies a tax code in AP or AR, Foreign key to AR_LOCATION_VALUES to determine location based tax for AR Link tax line with the associated accounting line (for future use) Debit taxable amount in entered currency Credit taxable amount in entered currency

CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_RATE

REFERENCE_NUM1 REFERENCE_NUM2 REFERENCE_NUM3 REFERENCE_NUM4 REFERENCE_NUM5 REFERENCE_NUM6 REFERENCE_NUM7 REFERENCE_NUM8 REFERENCE_NUM9 REFERENCE_NUM10 REFERENCE_DATE1 REFERENCE_DATE2 REFERENCE_DATE3 REFERENCE_DATE4 REFERENCE_DATE5 REFERENCE_DATE6 REFERENCE_DATE7 REFERENCE_DATE8 REFERENCE_DATE9 REFERENCE_DATE10 SOURCE_ID SOURCE_TABLE APPLIED_FROM_DOC_ENTITY APPLIED_FROM_DOC_ID APPLIED_TO_DOC_ENTITY APPLIED_TO_DOC_ID TAX_CODE_ID

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

NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER DATE DATE DATE DATE DATE DATE DATE DATE DATE DATE NUMBER(15)

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

LOCATION_SEGMENT_ID TAX_LINK_ID TAXABLE_ENTERED_DR TAXABLE_ENTERED_CR

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 194 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) NULL NUMBER(15) Description Debit taxable amount in functional currency Credit taxable amount in functional currency Statistical amount The type of account the accounting line is posted for (for future use) Identifier used for maintaining audit trail upon transfer of the accounting entry line to GL (for future use) GL Transfer line num

TAXABLE_ACCOUNTED_DR TAXABLE_ACCOUNTED_CR STAT_AMOUNT LINE_TYPE GL_SL_LINK_ID

GL_TRANSFER_LINE_NUM

NULL NUMBER

Indexes Index Name


AX_SLE_LINES_ARCH_N1 AX_SLE_LINES_ARCH_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 2 3 1 2 3

Column Name CODE_COMBINATION_ID THIRD_PARTY_ID SUB_ID JOURNAL_SEQUENCE_ID SLE_HEADER_ID SLE_LINE_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 195

AX_STRUCTURES
This table stores structures used by a distribution plan to retrieve the information it needs. It contains a row for every structure. Each row includes the structure type (ACCOUNT, ACCOUNTED AMOUNT, COMMENT, DESCRIPTION, ENTERED_AMOUNT or THIRD PARTY), the source type (depending on the structure type), the query chain used, and the source of the information.
Foreign Keys Primary Key Table
AX_DISTRIB_PLANS

Primary Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME APPLICATION_ID QUERY_CHAIN_NAME

Foreign Key Column SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME APPLICATION_ID QUERY_CHAIN_NAME

AX_QUERY_CHAINS

Column Descriptions Name


SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) TRANSLATION_SCHEME (PK) PLAN_NAME (PK) STRUCTURE_TYPE (PK) STRUCTURE_NUMBER (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN SOURCE_TYPE QUERY_CHAIN_NAME SOURCE_TABLE SOURCE_COLUMN_VALUE SOURCE_SEGMENT TARGET_SEGMENT

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

Description

START_POSITION END_POSITION TARGET_COLUMN_NAME

Set of books identifier Application identifier Translation scheme name Distribution plan name Type of structure Order number of the structure within a plan and structure type NULL DATE Standard Who column NULL NUMBER Standard Who column NULL DATE Standard Who column NULL NUMBER Standard Who column NULL NUMBER Standard Who column NULL VARCHAR2(30) Type of source NULL VARCHAR2(30) Query chain name NULL VARCHAR2(30) Source table name NULL VARCHAR2(255) Source column name or source value NULL NUMBER Source segment number for structure type ACCOUNT of source type SEGMENT NULL NUMBER Target segment number for structure type ACCOUNT with source type of COLUMN, CONSTANT, or SEGMENT NULL NUMBER Start of the substring used for structure type COMMENT NULL NUMBER End of the substring used for structure type COMMENT NULL VARCHAR2(30) Target column name

Indexes Index Name


AX_STRUCTURES_N1

Index Type NOT UNIQUE

Sequence 2 4

Column Name APPLICATION_ID QUERY_CHAIN_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 196 Oracle Applications Global Accounting Engine Technical Reference Manual

Indexes (Continued) Index Name


AX_STRUCTURES_N2

Index Type NOT UNIQUE

Sequence 2 4 6 8 1 2 3 4 5 6

Column Name APPLICATION_ID SET_OF_BOOKS_ID TRANSLATION_SCHEME QUERY_CHAIN_NAME SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME PLAN_NAME STRUCTURE_TYPE STRUCTURE_NUMBER

AX_STRUCTURES_U1

UNIQUE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 197

AX_SUBLEDGERS
This table stores information that depend on the application. It includes a row for every installed subledger application.
Column Descriptions Name
APPLICATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN JE_SOURCE_NAME JE_CATEGORY_NAME

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

Description Application identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Journal entry source name Journal entry category name

Indexes Index Name


AX_SUBLEDGERS_U1

Index Type UNIQUE

Sequence 1

Column Name APPLICATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 198 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_SUBS_V
This view is made of the union of the third party subidentification tables of different Subledger applications. It unifies the concept of third party identification across applications.
View Definition CREATE VIEW AX_SUBS_V as SELECT 200 ,vendor_id ,vendor_site_id ,vendor_site_code
Where FROM po_vendor_sites_all UNION SELECT 222 ,ra.customer_id ,rsu.site_use_id ,ra.address1 || || ra.address2 || || ra.address3 || || ra.address4 || || ra.city || || nvl(ra.state, ra.province)|| || ra.postal_code FROM ra_addresses_all ,ra_site_uses_all WHERE rsu.site_use_code AND ra.customer_id AND rsu.address_id UNION SELECT 222 ,999 ,999 ,meaning FROM ax_lookups WHERE lookup_type AND lookup_code UNION SELECT 222 ,rc.customer_id ,999 ,al.meaning FROM ra_customers ,ax_lookups WHERE rc.customer_id AND al.lookup_type AND al.lookup_code UNION SELECT 401 ,asi.organization_id ,asi.second ary_inventory_id sub_id ,asi.secondary_inventory_name

application_id third_party_id sub_id sub_name

application_id third_party_id sub_id

sub_name ra rsu = BILL_TO <> 999 = ra.address_id application_id third_party_id sub_id sub_name = AX_3RD_PARTY_UNIDENTIFIED = CUSTOMER_SITE application_id third_party_id sub_id sub_name rc al <> 999 = AX_3RD_PARTY_UNIDENTIFIED = CUSTOMER_SITE application_id third_party_id

sub_name

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 199

FROM WHERE AND UNION SELECT

ax_secondary_inventory ,mtl_parameters mtp.organization_id mtp.primary_cost_method 401 ,mtp.organization_id ,ccg.cost_group_id ,ccg.cost_group cst_cost_groups ,mtl_parameters mtp.organization_id mtp.primary_cost_method 401 ,ood.organization_id ,0 ,al.meaning org_organization_definitions ,ax_lookups al.lookup_type al.lookup_code ood.organization_id 401 ,0 ,0 ,meaning ax_lookups lookup_type lookup_code

asi mtp = asi.organization_id <> 2 application_id third_party_id sub_id sub_name ccg mtp = NVL(ccg.organization_id,mtp.organization_id) = 2 application_id third_party_id sub_id sub_name ood al = AX_3RD_PARTY_UNIDENTIFIED = INVENTORY_SITE <> 0 application_id third_party_id sub_id sub_name = AX_3RD_PARTY_UNIDENTIFIED = INVENTORY_SITE

FROM WHERE AND UNION SELECT

FROM WHERE AND AND UNION SELECT

FROM WHERE AND

Column Descriptions Name


APPLICATION_ID THIRD_PARTY_ID SUB_ID SUB_NAME

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

Description

Application identifier Trading partner identifier (third party identifier) NULL NUMBER(15) Trading partner site identifier (third party sub identification identifier) NULL VARCHAR2(1146) Trading partner site (third party sub identification name)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 200 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_TAX_CODES_V
This view contains the subledger tax codes per application and set of books. It provides a single view of the Oracle Payables tax codes and Oracle Receivables tax codes tables.
View Definition CREATE VIEW AX_TAX_CODES_V as SELECT 200 application_id, set_of_books_id, tax_id, name tax_code from ap_tax_codes_all UNION select 222 application_id, set_of_books_id, vat_tax_id tax_id, tax_code from ar_vat_tax_all_b

Column Descriptions Name


APPLICATION_ID SET_OF_BOOKS_ID TAX_ID TAX_CODE

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

Description Application identifier Set of books identifier Tax identifier Tax code

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 201

AX_TEMP_OUT
This temporary table is used by the AX Compiler during the fetch phase to extract the data from the translation scheme tables. It includes a row for every token that has to be generated by the fetch phase. Each row contains the order position of the token, the token type and its value.
Column Descriptions Name
IND (PK) TOKEN VALUE CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN

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

Description Position of the token Token type Token value Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

Indexes Index Name


AX_TEMP_OUT_U1

Index Type UNIQUE

Sequence 2

Column Name IND

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 202 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_THIRD_PARTIES_V
This view is made of the union of the third party tables of different Subledger applications. It unifies the concept of third party across applications.
View Definition CREATE VIEW AX_THIRD_PARTIES_V as SELECT 200 APPLICATION_ID , VENDOR_ID THIRD_PARTY_ID , VENDOR_NAME THIRD_PARTY_NAME , SEGMENT1 THIRD_PARTY_NUMBER
Where FROM po_vendors UNION SELECT 222 application_id, customer_id third_party_id, customer_name third_party_name, customer_number third_party_number FROM ra_customers WHERE customer_id <> 999 UNION SELECT 222 application_id, 999 third_party_id, meaning third_party_name, meaning third_party_number FROM ax_lookups WHERE lookup_type = AX_3RD_PARTY_UNIDENTIFIED AND lookup_code = CUSTOMER UNION SELECT 401 application_id, organization_id third_party_id, organization_name third_party_name, organization_code third_party_number FROM org_organization_definitions WHERE organization_id <> 0 UNION SELECT 401 application_id, 0 third_party_id, meaning third_party_name, meaning third_party_number FROM ax_lookups WHERE lookup_type = AX_3RD_PARTY_UNIDENTIFIED AND lookup_code = INVENTORY

Column Descriptions Name


APPLICATION_ID THIRD_PARTY_ID THIRD_PARTY_NAME

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

Description Application identifier Trading partner identifier (third party identifier) Trading partner name (third party name)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 203

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) Description Trading partner number (third party number)

THIRD_PARTY_NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 204 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_TRANS_PROGRAMS
This table stores information about translator programs. It contains a row for every application, main set of books and posting set of books for which a translator program is required.
QuickCodes Columns Column
FROZEN_FLAG

QuickCodes Type AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes

Column Descriptions Name


APPLICATION_ID (PK) MAIN_SET_OF_BOOKS_ID (PK) POSTING_SET_OF_BOOKS_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE FROZEN_FLAG RULE_NAME FROZEN_DATE

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

Description Application identifier Main set of books identifier Posting set of books 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 No longer used Rule set the translator program was loaded from Frozen date

NULL DATE

Indexes Index Name


AX_TRANS_PROGRAMS_U1

Index Type UNIQUE

Sequence 1 2 5

Column Name APPLICATION_ID MAIN_SET_OF_BOOKS_ID POSTING_SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 205

AX_TRANS_SCHEMES
This table stores information about translation schemes. It contains a row for each translation scheme defined. Every row includes information about the set of books and application to which the scheme is related, the name, the table on which the translation scheme is based, and a description.
QuickCodes Columns Column
ENABLED_FLAG

QuickCodes Type AX_YES_NO N Y

QuickCodes Table AX_LOOKUPS No Yes

Column Descriptions Name


SET_OF_BOOKS_ID (PK) APPLICATION_ID (PK) TRANSLATION_SCHEME (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN BASE_APPLICATION_ID BASE_EVENT_TABLE ENABLED_FLAG DESCRIPTION

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

Description

Posting set of books identifier Application identifier Translation scheme name Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Application owning the base event table NOT NULL VARCHAR2(30) Base event table name NOT NULL VARCHAR2() Enabled flag NULL VARCHAR2(255) Description

Indexes Index Name


AX_TRANS_SCHEMES_U1

Index Type UNIQUE

Sequence 1 2 3

Column Name SET_OF_BOOKS_ID APPLICATION_ID TRANSLATION_SCHEME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 206 Oracle Applications Global Accounting Engine Technical Reference Manual

AX_VARIANCES
This table stores the information needed to adjust the inventory values at the end of each accounting period. It contains a row for each Inventory organization, subinventory, inventory item, accounting period, variance type, primary cost method, and account. Each row includes quantities and amounts used to calculate adjustment.
Column Descriptions Name
ORGANIZATION_ID (PK)

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

Description Inventory organization identifier Secondary inventory name Inventory item identifier Accounting period identifier Variance type (1 PPV, 2 IPV, 3 EPV) Primary cost method (1 average cost, 2 standard cost) Onhand quantity as of the last day of the accounting period Received quantity since the most recent between the latest absorption date and the year opening date Variance amount Variance amount * onhand quantity / received quantity Variance amount onhand amount Onhand amount adjusted flag (1 not processed, 2 adjusted, 3 offset) Issued amount absorbed flag (1 not absorbed, 2 absorbed) Accounting period identifier of the last active period for this variance; 0 if no previous activity exists Code combination identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

SECONDARY_INVENTORY_NAME (PK) INVENTORY_ITEM_ID (PK) ACCOUNTING_PERIOD_ID (PK) VARIANCE_TYPE (PK) PRIMARY_COST_METHOD ONHAND_QUANTITY RECEIVED_QUANTITY

NULL NUMBER NULL NUMBER NULL NUMBER

VARIANCE_AMOUNT ONHAND_AMOUNT ISSUED_AMOUNT ONHAND_AMOUNT_FLAG ISSUED_AMOUNT_FLAG PREVIOUS_VARIANCE

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER

CODE_COMBINATION_ID LAST_UPDATE_DATE CREATION_DATE CREATED_BY LAST_UPDATED_BY LAST_UPDATE_LOGIN

(PK)

NOT NULL NULL NULL NULL NULL NULL

NUMBER DATE DATE NUMBER NUMBER NUMBER

Indexes Index Name


AX_VARIANCES_U1

Index Type UNIQUE

Sequence 1 2 3 4 5 7

Column Name ORGANIZATION_ID SECONDARY_INVENTORY_NAME INVENTORY_ITEM_ID ACCOUNTING_PERIOD_ID VARIANCE_TYPE CODE_COMBINATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 207

AX_VARIANCE_STATUSES
This table stores the absorption information. It contains a row for each Inventory organization, accounting period, and variance type.
Column Descriptions Name
ORGANIZATION_ID (PK) (PK)

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

Description Inventory organization identifier Accounting period identifier Variance type (1 PPV, 2 IPV, 3 EPV) Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column To be absorbed flag Beginning date of the absorption period Period year

ACCOUNTING_PERIOD_ID VARIANCE_TYPE (PK) LAST_UPDATE_DATE CREATION_DATE CREATED_BY LAST_UPDATED_BY LAST_UPDATE_LOGIN ABSORBTION_FLAG ABSORBTION_DATE PERIOD_YEAR

NULL NUMBER

Indexes Index Name


AX_VARIANCE_STATUSES_U1

Index Type UNIQUE

Sequence 1 2 3

Column Name ORGANIZATION_ID ACCOUNTING_PERIOD_ID VARIANCE_TYPE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 208 Oracle Applications Global Accounting Engine Technical Reference Manual

FINANCIALS_SYSTEM_PARAMS_ALL
FINANCIALS_SYSTEM_PARAMS_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_ENCUMBRANCE_TYPES GL_ENCUMBRANCE_TYPES GL_ENCUMBRANCE_TYPES GL_SETS_OF_BOOKS HR_LOCATIONS_ALL HR_LOCATIONS_ALL

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 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 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 Columns Column


MANUAL_VENDOR_NUM_TYPE

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 VENDOR NUMBER ENTRY

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 AP_LOOKUP_CODES

MATCH_OPTION

PAYMENT_METHOD_LOOKUP_CODE

PAY_DATE_BASIS_LOOKUP_CODE

TERMS_DATE_BASIS

USER_DEFINED_VENDOR_NUM_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 209

QuickCodes Columns Column

(Continued)
QuickCodes Type AUTOMATIC MANUAL QuickCodes Table Automatic entry of numbers Manual entry of numbers FND_COMMON_LOOKUPS Home Office AR_LOOKUPS

EXPENSE_CHECK_ADDRESS_FLAG

HOME_OFFICE H O FOB

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

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

NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 210 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(3) NULL VARCHAR2(1) Description Maximum number of future periods allowed 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)

FUTURE_PERIOD_LIMIT RESERVE_AT_COMPLETION_FLAG

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

NULL NUMBER(15) NULL VARCHAR2(1)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 211

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) Description Default Pay Alone value for suppliers; defaults from supplier to invoices for supplier Not used ValueAdded Tax registration number for your organization 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

EXCLUSIVE_PAYMENT_FLAG

REVISION_SORT_ORDERING VAT_REGISTRATION_NUM VAT_COUNTRY_CODE RATE_VAR_GAIN_CCID

NULL NUMBER NULL VARCHAR2(20) 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 212 Oracle Applications Global Accounting Engine 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

Primary Key Column ID_FLEX_NUM TEMPLATE_ID

Foreign Key Column CHART_OF_ACCOUNTS_ID TEMPLATE_ID

QuickCodes Columns Column


ACCOUNT_TYPE

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 213

QuickCodes Columns Column


SUMMARY_FLAG

(Continued)
QuickCodes Type YES/NO N Y QuickCodes Table 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 (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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 214 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


END_DATE_ACTIVE

(Continued)
Null? Type NULL DATE 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(60) Description Date after which key flexfield combination is invalid 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 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

ATTRIBUTE1 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

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 215

Column Descriptions Name

(Continued)
Null? Type 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 NULL NULL NULL NULL NULL VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) VARCHAR2(1) Description 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 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

SEGMENT_ATTRIBUTE24 SEGMENT_ATTRIBUTE25 SEGMENT_ATTRIBUTE26 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(30) NULL VARCHAR2(1) NULL VARCHAR2(1)

Indexes Index Name


GL_CODE_COMBINATIONS_N31 GL_CODE_COMBINATIONS_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 1

Column Name TEMPLATE_ID CODE_COMBINATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 216 Oracle Applications Global Accounting Engine Technical Reference Manual

Sequences Sequence
GL_CODE_COMBINATIONS_S

Derived Column CODE_COMBINATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 217

GL_INTERFACE
GL_INTERFACE is the table you use to import journal entry batches through Journal Import. You insert rows in this table and then use the Import Journals form to create journal batches. You must supply values for all NOT NULL columns. For a complete description of how to load this table, see the Oracle General Ledger User Guide.
Foreign Keys Primary Key Table
FND_CONCURRENT_REQUESTS FND_CURRENCIES FND_CURRENCIES FND_FLEX_VALUES GL_BUDGET_VERSIONS GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_TYPES GL_ENCUMBRANCE_TYPES GL_JE_BATCHES GL_JE_CATEGORIES_TL GL_JE_HEADERS GL_JE_LINES GL_JE_SOURCES_TL GL_PERIODS GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES

Primary Key Column REQUEST_ID CURRENCY_CODE CURRENCY_CODE FLEX_VALUE BUDGET_VERSION_ID CODE_COMBINATION_ID USER_CONVERSION_TYPE ENCUMBRANCE_TYPE_ID JE_BATCH_ID USER_JE_CATEGORY_NAME JE_HEADER_ID JE_HEADER_ID JE_LINE_NUM USER_JE_SOURCE_NAME PERIOD_NAME SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE

Foreign Key Column REQUEST_ID CURRENCY_CODE FUNCTIONAL_CURRENCY_CODE ORIGINATING_BAL_SEG_VALUE BUDGET_VERSION_ID CODE_COMBINATION_ID USER_CURRENCY_CONVERSION_TYPE ENCUMBRANCE_TYPE_ID JE_BATCH_ID USER_JE_CATEGORY_NAME JE_HEADER_ID JE_HEADER_ID JE_LINE_NUM USER_JE_SOURCE_NAME PERIOD_NAME SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE

QuickCodes Columns Column


ACTUAL_FLAG

QuickCodes Type BATCH_TYPE A B E YES/NO N Y

QuickCodes Table GL_LOOKUPS A B E GL_LOOKUPS No Yes

AVERAGE_JOURNAL_FLAG

Column Descriptions Name


STATUS SET_OF_BOOKS_ID ACCOUNTING_DATE CURRENCY_CODE DATE_CREATED CREATED_BY ACTUAL_FLAG USER_JE_CATEGORY_NAME

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

Description Journal Import status Accounting books defining column Effective date of the transaction Currency Standard Who column Standard Who column Balance type (actual, budget, or encumbrance) Journal entry category user defined name

NOT NULL VARCHAR2(25)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 218 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(25) NULL DATE NULL NUMBER 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 VARCHAR2(30) NUMBER VARCHAR2(1) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) VARCHAR2(25) NUMBER Description Journal entry source user defined name Date of exchange rate Encumbrance type defining column Budget version defining column Type of exchange rate Foreign currency exchange rate Average journal flag Originating balancing segment value Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Transaction debit amount, entered currency Transaction credit amount, entered currency Transaction debit amount, base currency Transaction credit amount, base currency Date of transaction Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column

USER_JE_SOURCE_NAME CURRENCY_CONVERSION_DATE ENCUMBRANCE_TYPE_ID BUDGET_VERSION_ID USER_CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_RATE AVERAGE_JOURNAL_FLAG ORIGINATING_BAL_SEG_VALUE 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 ENTERED_DR ENTERED_CR ACCOUNTED_DR ACCOUNTED_CR TRANSACTION_DATE REFERENCE1 REFERENCE2 REFERENCE3 REFERENCE4 REFERENCE5 REFERENCE6

NULL NUMBER NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL DATE VARCHAR2(100) VARCHAR2(240) VARCHAR2(100) VARCHAR2(100) VARCHAR2(240) VARCHAR2(100)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 219

Column Descriptions Name


REFERENCE7 REFERENCE8 REFERENCE9 REFERENCE10 REFERENCE11 REFERENCE12 REFERENCE13 REFERENCE14 REFERENCE15 REFERENCE16 REFERENCE17 REFERENCE18 REFERENCE19 REFERENCE20 REFERENCE21 REFERENCE22 REFERENCE23 REFERENCE24 REFERENCE25 REFERENCE26 REFERENCE27 REFERENCE28 REFERENCE29 REFERENCE30 JE_BATCH_ID PERIOD_NAME JE_HEADER_ID

(Continued)
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 VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(240) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(100) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) VARCHAR2(240) NUMBER(15) Description Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal Import reference column Journal entry batch defining column Accounting period Journal entry header defining column Journal entry line number Key flexfield structure defining column Accounting books base currency Key flexfield combination defining column Date Journal Import created batch Not currently used Journal import status description Statistical amount Interface group defining column Concurrent program request id Sequential numbering sequence defining column Sequential numbering sequence value 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

NOT NULL VARCHAR2(15) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NOT NULL VARCHAR2(15) NULL NUMBER(15) NULL DATE NULL VARCHAR2(4) NULL VARCHAR2(240) NULL NULL NULL NULL NUMBER NUMBER(15) NUMBER(15) NUMBER

JE_LINE_NUM CHART_OF_ACCOUNTS_ID FUNCTIONAL_CURRENCY_CODE CODE_COMBINATION_ID DATE_CREATED_IN_GL WARNING_CODE STATUS_DESCRIPTION STAT_AMOUNT GROUP_ID REQUEST_ID SUBLEDGER_DOC_SEQUENCE_ID SUBLEDGER_DOC_SEQUENCE_VALUE ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9

NULL NUMBER 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 220 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE16 ATTRIBUTE17 ATTRIBUTE18 ATTRIBUTE19 ATTRIBUTE20 CONTEXT CONTEXT2 INVOICE_DATE TAX_CODE

(Continued)
Null? Type 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) 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 context column Descriptive flexfield context column Value added tax descriptive flexfield column Value added tax descriptive flexfield column Value added tax descriptive flexfield column Value added tax descriptive flexfield column Descriptive flexfield context column Government transaction code Descriptive flexfield error message Global reconciliation reference Link to associated subledger data Table containing associated subledger data

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

INVOICE_IDENTIFIER INVOICE_AMOUNT CONTEXT3 USSGL_TRANSACTION_CODE DESCR_FLEX_ERROR_MESSAGE JGZZ_RECON_REF GL_SL_LINK_ID GL_SL_LINK_TABLE

Indexes Index Name


GL_INTERFACE_N1 GL_INTERFACE_N2

Index Type NOT UNIQUE NOT UNIQUE

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

Column Name USER_JE_SOURCE_NAME SET_OF_BOOKS_ID GROUP_ID REQUEST_ID JE_HEADER_ID STATUS CODE_COMBINATION_ID SUBLEDGER_DOC_SEQUENCE_VALUE SUBLEDGER_DOC_SEQUENCE_ID REFERENCE26 REFERENCE22 REFERENCE23

GL_INTERFACE_N3 GL_INTERFACE_N4

NOT UNIQUE NOT UNIQUE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 221

GL_INTERFACE_CONTROL
GL_INTERFACE_CONTROL is used to control Journal Import execution. Whenever you start Journal Import from the Import Journals form, a row is inserted into this table for each source and group ID that you specified. When Journal Import completes, it deletes these rows from the table.
Foreign Keys Primary Key Table
GL_JE_SOURCES_TL GL_SETS_OF_BOOKS

Primary Key Column JE_SOURCE_NAME SET_OF_BOOKS_ID

Foreign Key Column JE_SOURCE_NAME SET_OF_BOOKS_ID

Column Descriptions Name


JE_SOURCE_NAME STATUS INTERFACE_RUN_ID GROUP_ID SET_OF_BOOKS_ID PACKET_ID

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

Description Journal entry source Journal Import status Journal Import process defining column Interface group defining column Accounting books defining column Budgetary control packet defining column

Indexes Index Name


GL_INTERFACE_CONTROL_N1

Index Type NOT UNIQUE

Sequence 1 2 3

Column Name JE_SOURCE_NAME SET_OF_BOOKS_ID INTERFACE_RUN_ID

Sequences Sequence
GL_JOURNAL_IMPORT_S GL_INTERFACE_CONTROL_S

Derived Column INTERFACE_RUN_ID GROUP_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 222 Oracle Applications Global Accounting Engine Technical Reference Manual

GL_JE_LINES
GL_JE_LINES stores the journal entry lines that you enter in the Enter Journals form. There is a onetomany relationship between journal entries and journal entry lines. Each row in this table stores the associated journal entry header ID, the line number, the associated code combination ID, and the debits or credits associated with the journal line. STATUS is U for unposted or P for posted.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_JE_HEADERS GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES

Primary Key Column CODE_COMBINATION_ID JE_HEADER_ID SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE

Foreign Key Column CODE_COMBINATION_ID JE_HEADER_ID SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE

QuickCodes Columns Column


AMOUNT_INCLUDES_TAX_FLAG

QuickCodes Type YES/NO N Y YES/NO N Y YES/NO N Y TAX_ROUNDING_RULE D N U TAX_TYPE I O

QuickCodes Table GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes GL_LOOKUPS Down Nearest Up GL_LOOKUPS Input Output

TAXABLE_LINE_FLAG

TAX_LINE_FLAG

TAX_ROUNDING_RULE_CODE

TAX_TYPE_CODE

Column Descriptions Name


JE_HEADER_ID (PK)

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

Description Journal entry header defining column Journal entry line number Standard Who column Standard Who column Accounting books defining column Key flexfield combination defining column Accounting period Journal entry line effective date Journal entry line status Standard Who column Standard Who column

JE_LINE_NUM (PK) LAST_UPDATE_DATE LAST_UPDATED_BY SET_OF_BOOKS_ID CODE_COMBINATION_ID PERIOD_NAME EFFECTIVE_DATE STATUS CREATION_DATE CREATED_BY

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 223

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(240) NULL VARCHAR2(20) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) NULL VARCHAR2(240) 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) VARCHAR2(150) VARCHAR2(150) Description Standard Who column Journal entry line debit amount in entered currency Journal entry line credit amount in entered currency Journal entry line debit amount in base currency Journal entry line credit amount in base currency Journal entry line description Line type Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference column Journal entry line reference 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 Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield context column Descriptive flexfield context column Value added tax descriptive flexfield column

LAST_UPDATE_LOGIN ENTERED_DR ENTERED_CR ACCOUNTED_DR ACCOUNTED_CR DESCRIPTION LINE_TYPE_CODE REFERENCE_1 REFERENCE_2 REFERENCE_3 REFERENCE_4 REFERENCE_5 REFERENCE_6 REFERENCE_7 REFERENCE_8 REFERENCE_9 REFERENCE_10 ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE16 ATTRIBUTE17 ATTRIBUTE18 ATTRIBUTE19 ATTRIBUTE20 CONTEXT CONTEXT2 INVOICE_DATE

NULL VARCHAR2(150) NULL DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 224 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


TAX_CODE

(Continued)
Null? Type NULL VARCHAR2(15) NULL VARCHAR2(20) NULL NUMBER NULL VARCHAR2(150) NULL NUMBER NULL VARCHAR2(1) NULL VARCHAR2(150) NOT NULL VARCHAR2(30) NULL NUMBER NULL VARCHAR2(150) NULL NUMBER NULL NUMBER NULL VARCHAR2(30) 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(1) NULL DATE NULL NUMBER NULL VARCHAR2(240) NULL VARCHAR2(30) NULL VARCHAR2(1) NULL VARCHAR2(1) Description Value added tax descriptive flexfield column Value added tax descriptive flexfield column Value added tax descriptive flexfield column Value added tax descriptive flexfield column Statistical Amount Modify amounts if exchange rate changes Descriptive flexfield context column Government transaction code Sequential numbering sequence defining column Descriptive flexfield structure defining column Sequential numbering sequence value Link to associated subledger data Table containing associated subledger data 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 Global reconciliation descriptive flexfield segment Global reconciliation descriptive flexfield segment Global reconciliation descriptive flexfield segment Global reconciliation descriptive flexfield segment Global reconciliation descriptive flexfield context column Taxable line flag for automatic tax calculations Tax type (Input or Output) for automatic tax calculations

INVOICE_IDENTIFIER INVOICE_AMOUNT NO1 STAT_AMOUNT IGNORE_RATE_FLAG CONTEXT3 USSGL_TRANSACTION_CODE SUBLEDGER_DOC_SEQUENCE_ID CONTEXT4 SUBLEDGER_DOC_SEQUENCE_VALUE GL_SL_LINK_ID GL_SL_LINK_TABLE GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 JGZZ_RECON_STATUS JGZZ_RECON_DATE JGZZ_RECON_ID JGZZ_RECON_REF JGZZ_RECON_CONTEXT TAXABLE_LINE_FLAG TAX_TYPE_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 225

Column Descriptions Name


TAX_CODE_ID

(Continued)
Null? Type NULL NUMBER(15) Description Tax code defining column for automatic tax calculations NULL VARCHAR2(1) Rounding rule used for automatic tax calculations NULL VARCHAR2(1) Amount includes tax flag for automatic tax calculations NULL VARCHAR2(50) Tax document identifier NULL DATE Tax document date NULL VARCHAR2(240) Tax customer name NULL VARCHAR2(240) Tax customer reference NULL VARCHAR2(50) Tax registration number NULL VARCHAR2(1) Automatically generated tax line flag NULL NUMBER(15) Tax group id for automatic tax calculations

TAX_ROUNDING_RULE_CODE AMOUNT_INCLUDES_TAX_FLAG TAX_DOCUMENT_IDENTIFIER TAX_DOCUMENT_DATE TAX_CUSTOMER_NAME TAX_CUSTOMER_REFERENCE TAX_REGISTRATION_NUMBER TAX_LINE_FLAG TAX_GROUP_ID

Indexes Index Name


GL_JE_LINES_N1 GL_JE_LINES_N3 GL_JE_LINES_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 2 1 2 1 2

Column Name CODE_COMBINATION_ID PERIOD_NAME SUBLEDGER_DOC_SEQUENCE_VALUE SUBLEDGER_DOC_SEQUENCE_ID JE_HEADER_ID JE_LINE_NUM

Sequences Sequence
GL_JE_LINES_S

Derived Column TAX_GROUP_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 226 Oracle Applications Global Accounting Engine Technical Reference Manual

GL_PERIOD_STATUSES
GL_PERIOD_STATUSES stores the statuses of your accounting periods. Each row includes the accounting period name and status. Other applications maintain their calendars in this table, so each row also includes the relevant application identifier. CLOSING_STATUS is either O for open, F for future enterable, C for closed, P for permanently closed, or N for never opened. Note that you cannot successfully open a period in your Oracle General Ledger application by changing a periods status to O if it has never been opened before. You must use the Open and Close Periods form to properly open a period.
Foreign Keys Primary Key Table
FND_APPLICATION GL_PERIODS GL_PERIOD_TYPES GL_SETS_OF_BOOKS

Primary Key Column APPLICATION_ID PERIOD_NAME PERIOD_TYPE SET_OF_BOOKS_ID

Foreign Key Column APPLICATION_ID PERIOD_NAME PERIOD_TYPE SET_OF_BOOKS_ID

QuickCodes Columns Column


ADJUSTMENT_PERIOD_FLAG

QuickCodes Type YES/NO N Y CLOSING_STATUS C F N O P YES/NO N Y

QuickCodes Table GL_LOOKUPS No Yes GL_LOOKUPS Closed Future Entry Never Opened Open Permanently Closed GL_LOOKUPS No Yes

CLOSING_STATUS

ELIMINATION_CONFIRMED_FLAG

Column Descriptions Name


APPLICATION_ID (PK) SET_OF_BOOKS_ID (PK) PERIOD_NAME (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CLOSING_STATUS START_DATE END_DATE YEAR_START_DATE QUARTER_NUM

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

Description Application defining column Accounting books defining column Accounting period name Standard Who column Standard Who column Accounting period status Date on which accounting period begins Date on which accounting period ends Date on which the year containing this accounting period starts Quarter number

NOT NULL DATE NOT NULL DATE NOT NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 227

Column Descriptions Name

(Continued)
Null? Type NOT NULL DATE NOT NULL VARCHAR2(15) NOT NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL NUMBER(15) NOT NULL VARCHAR2(1) NULL DATE NULL NUMBER(15) NULL NUMBER(15) NULL VARCHAR2(1) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) Description Date on which the quarter containing this accounting period starts Accounting period type Accounting period year Denormalized period number (period_year*10000 + period_num) Accounting period number Calendar period adjustment flag Standard Who column Standard Who column Standard Who column Elimination confirmed flag Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield context

QUARTER_START_DATE PERIOD_TYPE PERIOD_YEAR EFFECTIVE_PERIOD_NUM PERIOD_NUM ADJUSTMENT_PERIOD_FLAG CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ELIMINATION_CONFIRMED_FLAG ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 CONTEXT

Indexes Index Name


GL_PERIOD_STATUSES_N1 GL_PERIOD_STATUSES_U1 GL_PERIOD_STATUSES_U2

Index Type NOT UNIQUE UNIQUE UNIQUE

Sequence 1 1 2 3 1 2 3 4

Column Name CLOSING_STATUS APPLICATION_ID SET_OF_BOOKS_ID PERIOD_NAME APPLICATION_ID SET_OF_BOOKS_ID EFFECTIVE_PERIOD_NUM CLOSING_STATUS

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : GL_MRC_PERIOD_STATUSES_AU AFTER STATEMENT UPDATE

The GL_MRC_PERIOD_STATUSES_AU trigger maintains the subledger period statuses for reporting sets of books. Whenever a subledger period is opened, closed, or permanently closed for a primary set of books, this trigger opens, closes, or permanently closes the corresponding subledger period in the associated reporting sets of books. Trigger Trigger Trigger Trigger Name Time Level Event : : : : GL_MRC_PERIOD_STATUSES_BRU BEFORE ROW UPDATE

The GL_MRC_PERIOD_STATUSES_BRU trigger caches data necessary for the GL_MRC_PERIOD_STATUSES_AU trigger. It also does some maintenance of period statuses necessary for the Global Accounting Engine.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 228 Oracle Applications Global Accounting Engine 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

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 Columns Column


ALLOW_INTERCOMPANY_POST_FLAG

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 229

QuickCodes Columns Column

(Continued)
QuickCodes Type N Y QuickCodes Table No Yes GL_LOOKUPS No Yes GL_LOOKUPS No Yes

TRANSLATE_QATD_FLAG

YES/NO N Y YES/NO N Y

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

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

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 230 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL NUMBER(15) 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) Description Net income key flexfield defining column Rounding imbalances key flexfield defining column 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

NET_INCOME_CODE_COMBINATION_ID ROUNDING_CODE_COMBINATION_ID 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 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)

Indexes Index Name


GL_SETS_OF_BOOKS_U1 GL_SETS_OF_BOOKS_U2

Index Type UNIQUE UNIQUE

Sequence 1 1

Column Name NAME SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 231

Sequences Sequence
GL_SETS_OF_BOOKS_S

Derived Column SET_OF_BOOKS_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 232 Oracle Applications Global Accounting Engine Technical Reference Manual

GL_SUSPENSE_ACCOUNTS
GL_SUSPENSE_ACCOUNTS stores the additional suspense accounts you have specified for each source and category. This is the base table for the Suspense Accounts form in your Oracle General Ledger application. The posting program in your Oracle General Ledger application uses the suspense account you specify in the Suspense Accounts form to balance journal entries where running debits and running credits are not equal.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_JE_CATEGORIES_TL GL_JE_SOURCES_TL GL_SETS_OF_BOOKS

Primary Key Column CODE_COMBINATION_ID JE_CATEGORY_NAME JE_SOURCE_NAME SET_OF_BOOKS_ID

Foreign Key Column CODE_COMBINATION_ID JE_CATEGORY_NAME JE_SOURCE_NAME SET_OF_BOOKS_ID

Column Descriptions Name


SET_OF_BOOKS_ID (PK)

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

Description Accounting books defining column Journal entry source Journal entry category Key flexfield combination defining column 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 context

JE_SOURCE_NAME (PK) JE_CATEGORY_NAME (PK) CODE_COMBINATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 CONTEXT

Indexes Index Name


GL_SUSPENSE_ACCOUNTS_U1

Index Type UNIQUE

Sequence 1 2 3

Column Name SET_OF_BOOKS_ID JE_SOURCE_NAME JE_CATEGORY_NAME

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 233

MTL_CATEGORY_ACCOUNTS
Use this table to store asset, expense, encumbrance and bridging accounts by item category by subinventory. This table is intended to be used by Oracle Financials for Europe and is not part of the base product.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS MTL_CATEGORIES_B MTL_PARAMETERS MTL_SECONDARY_INVENTORIES

Primary Key Column CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CATEGORY_ID ORGANIZATION_ID SECONDARY_INVENTORY_NAME

Foreign Key Column MATERIAL_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT RESOURCE_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT OVERHEAD_ACCOUNT EXPENSE_ACCOUNT ENCUMBRANCE_ACCOUNT BRIDGING_ACCOUNT CATEGORY_ID ORGANIZATION_ID SUBINVENTORY_CODE

Column Descriptions Name


CATEGORY_ID (PK) ORGANIZATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN CATEGORY_SET_ID SUBINVENTORY_CODE (PK) MATERIAL_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT RESOURCE_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT OVERHEAD_ACCOUNT EXPENSE_ACCOUNT ENCUMBRANCE_ACCOUNT BRIDGING_ACCOUNT REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE COST_GROUP_ID (PK) ANALYTICAL_IPV ANALYTICAL_PO_MIRROR NON_INVOICED_SO NON_INVOICED_REVENUE ANALYTICAL_REVENUE_MIRROR ANALYTICAL_MOGS

Null? Type 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 NULL NULL NUMBER NUMBER DATE NUMBER DATE NUMBER NUMBER NUMBER VARCHAR2(10) NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER DATE NUMBER NUMBER

Description Item category identifier Organization identifier Standard Who Column Standard Who Column Standard Who Column Standard Who Column Standard Who Column Category set cross reference Subinventory name Material account Material overhead account Resource account Outside processing account Overhead account Expense account Encumbrance account Bridging account Concurrent Who column Concurrent Who column Concurrent Who column Concurrent Who column Cost group identifier Analytical invoice price variance Analytical purchase order mirror Noninvoiced sales order Noninvoiced revenue Analytical revenue mirror Analytical margin of goods sold

NULL NUMBER NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 234 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER Description Specifies the average cost variance account

AVERAGE_COST_VAR_ACCOUNT

Indexes Index Name


MTL_CATEGORY_ACCOUNTS_U1

Index Type UNIQUE

Sequence 1 3 5 7

Column Name ORGANIZATION_ID CATEGORY_ID COST_GROUP_ID SUBINVENTORY_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 235

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

Primary Key Column CATEGORY_ID

Foreign Key Column DEFAULT_CATEGORY_ID

QuickCodes Columns Column


VALIDATE_FLAG

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


3 236 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


VALIDATE_FLAG

(Continued)
Null? Type 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 Description 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

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

Index Type UNIQUE

Sequence 1

Column Name CATEGORY_SET_ID

Sequences Sequence
MTL_CATEGORY_SETS_S

Derived Column CATEGORY_SET_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 237

MTL_INTERORG_PARAMETERS
MTL_INTERORG_PARAMETERS identifies the receiving organizations (To distribution organizations) linked to a particular organization (From distribution organizations). The TO_ORGANIZATION_ID identifies the organization that receives shipments from the organization identified by the FROM_ORGANIZATION_ID. You must define the interorganizational relationship here before you perform any interorganization transfers in the transaction system. INTRANSIT_TYPE indicates whether interorganizational transfers between the two organizations will use direct or intransit transfer. FOB_POINT indicates the Free on board point and determines the point of transfer of liability/ownership. Unit of measure, distance, transfer charge, and accounting information are also specified in this table.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS MTL_PARAMETERS MTL_PARAMETERS MTL_UNITS_OF_MEASURE_TL

Primary Key Column CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID ORGANIZATION_ID ORGANIZATION_ID UOM_CODE

Foreign Key Column INTRANSIT_INV_ACCOUNT INTERORG_TRANSFER_CR_ACCOUNT INTERORG_RECEIVABLES_ACCOUNT INTERORG_PAYABLES_ACCOUNT INTERORG_PRICE_VAR_ACCOUNT FROM_ORGANIZATION_ID TO_ORGANIZATION_ID DISTANCE_UOM_CODE

QuickCodes Columns Column


FOB_POINT

QuickCodes Type MTL_FOB_POINT 1 2 SYS_YES_NO 1 2 ORG_INTRANSIT 1 2

QuickCodes Table MFG_LOOKUPS Shipment Receipt MFG_LOOKUPS Yes No MFG_LOOKUPS Do not use intransit inventory Use intransit inventory MFG_LOOKUPS No transfer charges Requested added value Requested percent of transaction value Predefined percent of transaction value

INTERNAL_ORDER_REQUIRED_FLAG

INTRANSIT_TYPE

MATL_INTERORG_TRANSFER_CODE

MTL_INTER_INV_TRANSFER 1 2 3 4

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 238 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


FROM_ORGANIZATION_ID (PK) TO_ORGANIZATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN INTRANSIT_TYPE DISTANCE_UOM_CODE TO_ORGANIZATION_DISTANCE FOB_POINT MATL_INTERORG_TRANSFER_CODE ROUTING_HEADER_ID INTERNAL_ORDER_REQUIRED_FLAG INTRANSIT_INV_ACCOUNT INTERORG_TRNSFR_CHARGE_PERCENT INTERORG_TRANSFER_CR_ACCOUNT INTERORG_RECEIVABLES_ACCOUNT INTERORG_PAYABLES_ACCOUNT INTERORG_PRICE_VAR_ACCOUNT ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 GLOBAL_ATTRIBUTE_CATEGORY GLOBAL_ATTRIBUTE1 GLOBAL_ATTRIBUTE2 GLOBAL_ATTRIBUTE3 GLOBAL_ATTRIBUTE4 GLOBAL_ATTRIBUTE5

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

Description From organization identifier To organization identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Indicates whether to use direct or intransit transfer Distance unit of measure code To organization code distance Free on board point Interorganization transfer charge type Default receipt routing Flag indicating an internal order is required Interorganization transfer debit account Interorganization transfer charge percent Interorganization transfer credit account Interorganization receivables account Interorganization payables account Interorganization price variance account Descriptive flexfield structure defining 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 Global descriptive flexfield structure defining column Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) 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(1)

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 239

Column Descriptions Name

(Continued)
Null? Type Description flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(150) Global descriptive segment NULL VARCHAR2(1)

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 ELEMENTAL_VISIBILITY_ENABLED

Indexes Index Name


MTL_INTERORG_PARAMETERS_N1 MTL_INTERORG_PARAMETERS_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 1 2

Column Name TO_ORGANIZATION_ID TO_ORGANIZATION_ID FROM_ORGANIZATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 240 Oracle Applications Global Accounting Engine Technical Reference Manual

MTL_ITEM_CATEGORIES
MTL_ITEM_CATEGORIES stores the item assignments to categories within a category set. For each category assignment, this table stores the item, the category set, and the category. Items may be assigned to multiple categories and category sets but may be assigned to only one category in a given category set. This table may be populated through the Master Items and Organization Items windows. It can also be populated by performing item assignments when a category set is defined. It is also populated when an item is transferred from engineering to manufacturing.
Foreign Keys Primary Key Table
MTL_CATEGORY_SET_VALID_CATS MTL_PARAMETERS MTL_SYSTEM_ITEMS_B

Primary Key Column CATEGORY_ID CATEGORY_SET_ID ORGANIZATION_ID INVENTORY_ITEM_ID ORGANIZATION_ID

Foreign Key Column CATEGORY_ID CATEGORY_SET_ID ORGANIZATION_ID INVENTORY_ITEM_ID ORGANIZATION_ID

Column Descriptions Name


INVENTORY_ITEM_ID (PK) ORGANIZATION_ID (PK) CATEGORY_SET_ID (PK) 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 WH_UPDATE_DATE

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

Description Inventory item identifier Organization identifier Category set identifier 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 Warehouse update date for tracking changes relevant to data collected in the Data Warehouse

Indexes Index Name


MTL_ITEM_CATEGORIES_N1 MTL_ITEM_CATEGORIES_N2 MTL_ITEM_CATEGORIES_U1

Index Type NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 2 3 2 1 2 3

Column Name ORGANIZATION_ID CATEGORY_SET_ID CATEGORY_ID WH_UPDATE_DATE ORGANIZATION_ID INVENTORY_ITEM_ID CATEGORY_SET_ID

Database Triggers

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 241

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AX_MTL_ITEM_CATEGORIES_ARI1 AFTER ROW INSERT

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger maintains data in AX_CATEGORY_ACCOUNTS table. It ensures that no transactions are created without a subinventory. The trigger fires right after an item is assigned to a category. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_MTL_ITEM_CATEGORIES_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger maintains data in AX_CATEGORY_ACCOUNTS table. It ensures that no transactions are created without a subinventory. The trigger fires right after an item category assignment is changed.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 242 Oracle Applications Global Accounting Engine Technical Reference Manual

MTL_MATERIAL_TRANSACTIONS
MTL_MATERIAL_TRANSACTIONS stores a record of every material transaction or cost update performed in Inventory. Records are inserted into this table either through the transaction processor or by the standard cost update program. The columns TRANSACTION_TYPE_ID, TRANSACTION_ACTION_ID, TRANSACTION_SOURCE_TYPE_ID, TRANSACTION_SOURCE_ID and TRANSACTION_SOURCE_NAME describe what the transaction is and against what entity it was performed. All accounting journal entries for a given transaction are stored in MTL_TRANSACTION_ACCOUNTS, joined by the column TRANSACTION_ID. If the item is under lot control then the lot records are stored in MTL_TRANSACTION_LOT_NUMBERS, joined by the column TRANSACTION_ID. If the item is under serial control then the serial records are stored in MTL_UNIT_TRANSACTIONS, joined by the column TRANSACTION_ID. The Item revision and locator control are stored in the columns REVISION and LOCATOR_ID respectively. Transfer transactions are represented as two single records in the table. They are related through the column TRANSFER_TRANSACTION_ID, which contains the TRANSACTION_ID of the other transaction in the transfer. The index MTL_MATERIAL_TRANSACTIONS_UPGD is used only during install and upgrade, and will be dropped during the course thereof, but is included here for completeness.
Foreign Keys Primary Key Table
CST_COST_GROUPS CST_COST_GROUPS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_TYPES MTL_CYCLE_COUNT_ENTRIES MTL_ITEM_LOCATIONS MTL_ITEM_REVISIONS MTL_PHYSICAL_ADJUSTMENTS MTL_SECONDARY_INVENTORIES MTL_SO_RMA_INTERFACE MTL_SO_RMA_INTERFACE

Primary Key Column COST_GROUP_ID COST_GROUP_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CONVERSION_TYPE CYCLE_COUNT_ENTRY_ID INVENTORY_LOCATION_ID ORGANIZATION_ID REVISION ORGANIZATION_ID INVENTORY_ITEM_ID ADJUSTMENT_ID SECONDARY_INVENTORY_NAME ORGANIZATION_ID RMA_LINE_ID RMA_LINE_ID

Foreign Key Column TRANSFER_COST_GROUP_ID COST_GROUP_ID TRANSFER_COST_DIST_ACCOUNT TRANSPORTATION_DIST_ACCOUNT DISTRIBUTION_ACCOUNT_ID ENCUMBRANCE_ACCOUNT CURRENCY_CODE CYCLE_COUNT_ID LOCATOR_ID ORGANIZATION_ID REVISION ORGANIZATION_ID INVENTORY_ITEM_ID PHYSICAL_ADJUSTMENT_ID SUBINVENTORY_CODE ORGANIZATION_ID RMA_LINE_ID TRX_SOURCE_LINE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 243

Foreign Keys (Continued) Primary Key Table


MTL_SYSTEM_ITEMS_B MTL_TRANSACTION_REASONS MTL_TRANSACTION_TYPES MTL_TXN_REQUEST_LINES MTL_TXN_REQUEST_LINES MTL_TXN_SOURCE_TYPES MTL_UNITS_OF_MEASURE_TL ORG_ACCT_PERIODS RCV_TRANSACTIONS WIP_DISCRETE_JOBS WIP_FLOW_SCHEDULES WIP_MOVE_TRANSACTIONS WIP_REPETITIVE_ITEMS

Primary Key Column INVENTORY_ITEM_ID ORGANIZATION_ID REASON_ID TRANSACTION_TYPE_ID HEADER_ID LINE_ID TRANSACTION_SOURCE_TYPE_ID UOM_CODE ACCT_PERIOD_ID ORGANIZATION_ID TRANSACTION_ID WIP_ENTITY_ID WIP_ENTITY_ID TRANSACTION_ID WIP_ENTITY_ID LINE_ID

Foreign Key Column INVENTORY_ITEM_ID ORGANIZATION_ID REASON_ID TRANSACTION_TYPE_ID TRANSACTION_SOURCE_ID MOVE_ORDER_LINE_ID TRANSACTION_SOURCE_TYPE_ID TRANSACTION_UOM ACCT_PERIOD_ID ORGANIZATION_ID RCV_TRANSACTION_ID TRANSACTION_SOURCE_ID TRANSACTION_SOURCE_ID MOVE_TRANSACTION_ID TRANSACTION_SOURCE_ID REPETITIVE_LINE_ID

QuickCodes Columns Column


TRANSACTION_ACTION_ID

QuickCodes Type MTL_TRANSACTION_ACTION 1 12 2 21 24 27 28 29 3 30 31 32 4 8

QuickCodes Table MFG_LOOKUPS Issue from stores Intransit receipt Subinventory transfer Intransit shipment Cost update Receipt into stores Staging transfer Delivery adjustments Direct organization transfer WIP scrap transaction Assembly completion Assembly return Cycle count adjustment Physical inventory adjustment

Column Descriptions Name


TRANSACTION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE INVENTORY_ITEM_ID REVISION ORGANIZATION_ID SUBINVENTORY_CODE LOCATOR_ID TRANSACTION_TYPE_ID

Null? Type NOT NOT NOT NOT NOT NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL NOT NULL NULL NULL NOT NULL NUMBER DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER NUMBER DATE NUMBER VARCHAR2(3) NUMBER VARCHAR2(10) NUMBER NUMBER

Description Transaction 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 Inventory item identifier Inventory item revision Organization identifier Transaction secondary inventory Locator id for stock locators Transaction type identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 244 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL NUMBER NOT NULL NUMBER Description Transaction action identifier Transaction source type identifier NULL NUMBER Transaction source identifier NULL VARCHAR2(30) Transaction source identifier NULL NUMBER Transaction quantity NULL VARCHAR2(3) Transaction unit of measure NULL NUMBER Transaction quantity in terms of primary uom of the item NULL DATE Transaction date NULL NUMBER Used for average cost update transactions NULL NUMBER Accounting period identifier NULL VARCHAR2(240) Transaction reference code NULL NUMBER Transaction reason identifier NULL NUMBER Distribution account identifier NULL NUMBER Encumbrance account identifier for PO transactions NULL NUMBER Total encumbrance amount NULL NUMBER Cost identifier NULL VARCHAR2(1) Costed flag to mark if the transactions are costed or not NULL NUMBER Transaction group identifier for distribution processing by the cost processor NULL VARCHAR2(1) Invoiced flag to mark if the transactions are invoiced NULL NUMBER Actual cost NULL NUMBER The cost entered by the user during a transaction NULL NUMBER Item cost before the transaction NULL NUMBER Item cost after the transaction processing NULL VARCHAR2(10) Currency conversion code NULL NUMBER Currency conversion rate NULL VARCHAR2(30) Currency conversion type NULL DATE Currency conversion date NULL VARCHAR2(30) ussgl transaction code NULL NUMBER Standard cost quantity adjusted NULL VARCHAR2(10) Transaction requestor NULL NUMBER Department identifier NULL NUMBER Operation sequence number within a routing NULL VARCHAR2(10) Master schedule update code NULL VARCHAR2(10) Receiving document NULL NUMBER Picking line id NULL NUMBER Line level transaction source id NULL NUMBER Sales order delivery identifier NULL NUMBER Repetitive line id NULL NUMBER Physical adjustment identifier NULL NUMBER Cycle count identifier NULL NUMBER Rma line identifier NULL NUMBER Transaction id of the opposing transfer transaction NULL NUMBER Transaction group identifier

TRANSACTION_ACTION_ID TRANSACTION_SOURCE_TYPE_ID TRANSACTION_SOURCE_ID TRANSACTION_SOURCE_NAME TRANSACTION_QUANTITY TRANSACTION_UOM PRIMARY_QUANTITY TRANSACTION_DATE VARIANCE_AMOUNT ACCT_PERIOD_ID TRANSACTION_REFERENCE REASON_ID DISTRIBUTION_ACCOUNT_ID ENCUMBRANCE_ACCOUNT ENCUMBRANCE_AMOUNT COST_UPDATE_ID COSTED_FLAG TRANSACTION_GROUP_ID INVOICED_FLAG ACTUAL_COST TRANSACTION_COST PRIOR_COST NEW_COST CURRENCY_CODE CURRENCY_CONVERSION_RATE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_DATE USSGL_TRANSACTION_CODE QUANTITY_ADJUSTED EMPLOYEE_CODE DEPARTMENT_ID OPERATION_SEQ_NUM MASTER_SCHEDULE_UPDATE_CODE RECEIVING_DOCUMENT PICKING_LINE_ID TRX_SOURCE_LINE_ID TRX_SOURCE_DELIVERY_ID REPETITIVE_LINE_ID PHYSICAL_ADJUSTMENT_ID CYCLE_COUNT_ID RMA_LINE_ID TRANSFER_TRANSACTION_ID TRANSACTION_SET_ID

NOT NOT NOT NOT

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 245

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER Description Receiving transaction cross reference Move transaction cross reference Completion transaction cross reference Flag indicating workflow notifications should be provided for this transaction if shortage exists User entered source code for outside transactions User entered source line identifier for outside transactions Supplier lot number Transfer opposing organization id Transfer transaction opposing subinventory Transfer transaction opposing locator id Intransit shipment identifier Transfer cost specified for interorg transfers Transfer transportation distribution account Transfer transportation cost Transaction transfer cost distribution account Airbill / waybill number Intransit shipment freight code Number of containers Total value change for average cost update Percentage average cost change for average cost update Descriptive flexfield structure defining 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 Movement statistics cross reference Task identifier To task identifier

RCV_TRANSACTION_ID MOVE_TRANSACTION_ID COMPLETION_TRANSACTION_ID SHORTAGE_PROCESS_CODE

SOURCE_CODE SOURCE_LINE_ID VENDOR_LOT_NUMBER TRANSFER_ORGANIZATION_ID TRANSFER_SUBINVENTORY TRANSFER_LOCATOR_ID SHIPMENT_NUMBER TRANSFER_COST TRANSPORTATION_DIST_ACCOUNT TRANSPORTATION_COST TRANSFER_COST_DIST_ACCOUNT WAYBILL_AIRBILL FREIGHT_CODE NUMBER_OF_CONTAINERS VALUE_CHANGE PERCENTAGE_CHANGE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 MOVEMENT_ID TASK_ID TO_TASK_ID

NULL VARCHAR2(30) NULL NUMBER NULL VARCHAR2(30) NULL NUMBER NULL VARCHAR2(10) NULL NUMBER NULL VARCHAR2(30) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NULL NULL NULL VARCHAR2(20) VARCHAR2(25) NUMBER NUMBER

NULL NUMBER NULL VARCHAR2(30) 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

NULL NUMBER(15) NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 246 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NUMBER(15) NUMBER(15) NUMBER NUMBER Description project identifier To project identifier Source project identifier Oracle Projects related expenditure organization identifier NULL NUMBER Source task identifier NULL VARCHAR2(30) Oracle Projects related expenditure type NULL VARCHAR2(240) Error Code NULL VARCHAR2(240) Error explanation NULL NUMBER Costed quantity before this transaction NULL NUMBER Transfer quantity costed before this transaction NULL VARCHAR2(1) Indicates if job costs need to be flushed out for this discrete job completion NULL VARCHAR2(1) Specifies whether the row has been interfaced to Oracle Projects NULL NUMBER Group identifier used by cost collector to process group of records. NULL VARCHAR2(1) Indicates if the shipment transaction has been processed by the cost worker NULL NUMBER Percentage of value to attribute to transfer costs in an InterOrg transfer NULL NUMBER Specifies the material account NULL NUMBER Specifies the material overhead account NULL NUMBER Specifies the resource account NULL NUMBER Specifies the account to be charged for outside processing NULL NUMBER Specifies the overhead account NULL NUMBER Cost group identifier NULL NUMBER Transfer cost group identifier NULL VARCHAR2(1) Specifies whether the WIP transaction is a flow or a schedule type transaction NULL NUMBER Quality Results Identifier NULL NUMBER Overcompletion transaction quantity NULL NUMBER Overcompletion Primary quantity NULL NUMBER Overcompletion transaction Identifier NULL VARCHAR2(240) Flag to indicate that the transaction is updated/processed/new NULL NUMBER BOM identifier of common bill NULL NUMBER Routing identifier of common routing NULL NUMBER organizations cost group id NULL NUMBER cost type id NULL NUMBER transaction quantity converted to primary uom of the transfer organization in case of periodic costing

PROJECT_ID TO_PROJECT_ID SOURCE_PROJECT_ID PA_EXPENDITURE_ORG_ID SOURCE_TASK_ID EXPENDITURE_TYPE ERROR_CODE ERROR_EXPLANATION PRIOR_COSTED_QUANTITY TRANSFER_PRIOR_COSTED_QUANTITY FINAL_COMPLETION_FLAG PM_COST_COLLECTED PM_COST_COLLECTOR_GROUP_ID SHIPMENT_COSTED TRANSFER_PERCENTAGE MATERIAL_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT RESOURCE_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT OVERHEAD_ACCOUNT COST_GROUP_ID TRANSFER_COST_GROUP_ID FLOW_SCHEDULE QA_COLLECTION_ID OVERCOMPLETION_TRANSACTION_QTY OVERCOMPLETION_PRIMARY_QTY OVERCOMPLETION_TRANSACTION_ID MVT_STAT_STATUS COMMON_BOM_SEQ_ID COMMON_ROUTING_SEQ_ID ORG_COST_GROUP_ID COST_TYPE_ID PERIODIC_PRIMARY_QUANTITY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 247

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER Description The move order line that this transaction line is tied to Task group identifier for this task Reservation identifier Pick Slip number for the transaction line

MOVE_ORDER_LINE_ID TASK_GROUP_ID RESERVATION_ID PICK_SLIP_NUMBER

Indexes Index Name


MTL_MATERIAL_TRANSACTIONS_N1 MTL_MATERIAL_TRANSACTIONS_N10 MTL_MATERIAL_TRANSACTIONS_N11 MTL_MATERIAL_TRANSACTIONS_N12 MTL_MATERIAL_TRANSACTIONS_N13 MTL_MATERIAL_TRANSACTIONS_N14 MTL_MATERIAL_TRANSACTIONS_N15

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

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

Column Name INVENTORY_ITEM_ID ORGANIZATION_ID TRANSACTION_DATE COSTED_FLAG TRANSACTION_GROUP_ID INVOICED_FLAG TRANSACTION_SET_ID PM_COST_COLLECTED PM_COST_COLLECTOR_GROUP_ID COMPLETION_TRANSACTION_ID TRANSACTION_ACTION_ID TRANSACTION_TYPE_ID TRANSACTION_SOURCE_TYPE_ID TRANSACTION_DATE TRANSACTION_SOURCE_ID ORGANIZATION_ID TRANSACTION_DATE SUBINVENTORY_CODE ORGANIZATION_ID TRANSACTION_DATE VENDOR_LOT_NUMBER ORGANIZATION_ID TRANSACTION_DATE SHIPMENT_NUMBER ACCT_PERIOD_ID ORGANIZATION_ID TRANSACTION_SOURCE_TYPE_ID ORGANIZATION_ID TRANSACTION_DATE TRANSACTION_SOURCE_NAME TRANSACTION_ACTION_ID ORGANIZATION_ID TRANSACTION_TYPE_ID TRANSACTION_DATE TRANSACTION_ID TRANSACTION_ACTION_ID TRANSACTION_TYPE_ID TRANSACTION_SOURCE_TYPE_ID TRANSACTION_ID

MTL_MATERIAL_TRANSACTIONS_N2 MTL_MATERIAL_TRANSACTIONS_N3 MTL_MATERIAL_TRANSACTIONS_N4 MTL_MATERIAL_TRANSACTIONS_N5 MTL_MATERIAL_TRANSACTIONS_N6 MTL_MATERIAL_TRANSACTIONS_N7 MTL_MATERIAL_TRANSACTIONS_N8

NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE

MTL_MATERIAL_TRANSACTIONS_N9

NOT UNIQUE

MTL_MATERIAL_TRANSACTIONS_U1 MTL_MATERIAL_TRANSACTIONS_U2

UNIQUE UNIQUE

Sequences Sequence
MTL_MATERIAL_TRANSACTIONS_S

Derived Column TRANSACTION_ID

Database Triggers

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 248 Oracle Applications Global Accounting Engine Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AX_MTL_MAT_TRANS_ARI1 AFTER ROW INSERT

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger captures accounting events related to Oracle Inventory cost updates. It fires right after the cost update program create a cost update for an inventory transaction. This trigger populates the AX_EVENTS table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_MTL_MAT_TRANS_BRU1 BEFORE ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger captures accounting events related to Oracle Inventory material transactions. It executes when the inventory transaction is processed by the cost processor. This trigger populates the AX_EVENTS table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JA_AU_LOCAL_ACCOUNTING AFTER ROW UPDATE

This trigger is on the COSTED_FLAG column of MTL_MATERIAL_TRANSACTIONS. It calls a PL/SQL package to update MTL_TRANSCATION_ACCOUNTS.REFERENCE_ACCOUNT with the value in MTL_MATERIAL_TRANSACTIONS.DISTRIBUTION_ACCOUNT_ID. This trigger is installed and active only if you have installed Oracle Financials for Asia/Pacific (JA).

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 249

MTL_PARAMETERS
MTL_PARAMETERS maintains a set of default options like general ledger accounts; locator, lot, and serial controls; interorganization options; costing method; etc. for each organization defined in Oracle Inventory. Each organizations item master organization (MASTER_ORGANIZATION_ID) and costing organization (COST_ORGANIZATION_ID) are maintained here. You specify which manufacturing calendar the organization will use (CALENDAR_CODE), as well as the set of exceptions to this calendar (CALENDAR_EXCEPTION_SET_ID). NEGATIVE_INV_RECEIPT_CODE indicates whether this organization will allow negative balances in inventory. It is used in the transaction system to ensure, for example, that you do not overissue a particular item (if you have indicated that negative balances are not allowed). For lot number and serial number autogeneration, you can specify whether you want the numbers generated from defaults defined at the organization level or the item level (LOT_NUMBER_GENERATION, SERIAL_NUMBER_GENERATION). You can also specify uniqueness constraints for lot numbers (LOT_NUMBER_UNIQUENESS) and serial numbers (SERIAL_NUMBER_TYPE). Among the accounting defaults that can be defined here are valuation accounts, receiving accounts, profit and loss accounts, and inter organization transfer accounts.
Foreign Keys Primary Key Table
BOM_CALENDARS BOM_EXCEPTION_SETS BOM_RESOURCES 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_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS

Primary Key Column CALENDAR_CODE EXCEPTION_SET_ID RESOURCE_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 CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID

Foreign Key Column CALENDAR_CODE CALENDAR_EXCEPTION_SET_ID DEFAULT_MATERIAL_COST_ID AP_ACCRUAL_ACCOUNT COST_OF_SALES_ACCOUNT INTERORG_RECEIVABLES_ACCOUNT INTERORG_PAYABLES_ACCOUNT INTERORG_PRICE_VAR_ACCOUNT INTRANSIT_INV_ACCOUNT RESOURCE_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT MATL_OVHD_ABSORPTION_ACCT OVERHEAD_ACCOUNT MATERIAL_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 250 Oracle Applications Global Accounting Engine Technical Reference Manual

Foreign Keys (Continued) Primary Key Table


GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS HR_ALL_ORGANIZATION_UNITS MTL_ATP_RULES MTL_PARAMETERS MTL_PARAMETERS MTL_PARAMETERS MTL_PICKING_RULES MTL_SECONDARY_INVENTORIES MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL

Primary Key Column CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID ORGANIZATION_ID RULE_ID ORGANIZATION_ID ORGANIZATION_ID ORGANIZATION_ID PICKING_RULE_ID SECONDARY_INVENTORY_NAME ORGANIZATION_ID UOM_CODE UOM_CODE

Foreign Key Column PURCHASE_PRICE_VAR_ACCOUNT ENCUMBRANCE_ACCOUNT INTERORG_TRANSFER_CR_ACCOUNT INVOICE_PRICE_VAR_ACCOUNT AVERAGE_COST_VAR_ACCOUNT SALES_ACCOUNT EXPENSE_ACCOUNT ORGANIZATION_ID DEFAULT_ATP_RULE_ID MASTER_ORGANIZATION_ID COST_ORGANIZATION_ID SOURCE_ORGANIZATION_ID DEFAULT_PICKING_RULE_ID SOURCE_SUBINVENTORY SOURCE_ORGANIZATION_ID ORG_MAX_WEIGHT_UOM_CODE ORG_MAX_VOLUME_UOM_CODE

QuickCodes Columns Column


DEFAULT_DEMAND_CLASS

QuickCodes Type DEMAND_CLASS DEMAND_CL1 DEMAND_CL2 DEMAND_CL3 SYS_YES_NO 1 2 SYS_YES_NO 1 2 MTL_LOT_GENERATION 1 2 3 MTL_LOT_UNIQUENESS 1 2 SYS_YES_NO 1 2 SYS_YES_NO 1 2 MTL_INTER_INV_TRANSFER 1 2 3 4

QuickCodes Table FND_COMMON_LOOKUPS Demand class 1 Demand class 2 Demand class 3 MFG_LOOKUPS Yes No MFG_LOOKUPS Yes No MFG_LOOKUPS At organization level At item level User defined MFG_LOOKUPS Unique for item No uniqueness control MFG_LOOKUPS Yes No MFG_LOOKUPS Yes No MFG_LOOKUPS No transfer charges Requested added value Requested percent of transaction value Predefined percent of transaction value MFG_LOOKUPS Yes

ENCUMBRANCE_REVERSAL_FLAG

GENERAL_LEDGER_UPDATE_CODE

LOT_NUMBER_GENERATION

LOT_NUMBER_UNIQUENESS

LOT_NUMBER_ZERO_PADDING

MAINTAIN_FIFO_QTY_STACK_TYPE

MATL_INTERORG_TRANSFER_CODE

NEGATIVE_INV_RECEIPT_CODE

SYS_YES_NO 1

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 251

QuickCodes Columns Column

(Continued)
QuickCodes Type 2 MTL_PRIMARY_COST 1 2 MTL_SERIAL_GENERATION 1 2 MTL_SERIAL_NUMBER_TYPE 1 2 3 QuickCodes Table No MFG_LOOKUPS Standard Average MFG_LOOKUPS At organization level At item level MFG_LOOKUPS Unique within inventory items Unique within organization Unique across organizations MFG_LOOKUPS Inventory Supplier MFG_LOOKUPS No locator control Prespecified locator control Dynamic entry locator control Locator control determined at subinventory level Locator control determined at item level

PRIMARY_COST_METHOD

SERIAL_NUMBER_GENERATION

SERIAL_NUMBER_TYPE

SOURCE_TYPE

MTL_SOURCE_TYPES 1 2 MTL_LOCATION_CONTROL 1 2 3 4 5

STOCK_LOCATOR_CONTROL_CODE

Column Descriptions Name


ORGANIZATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ORGANIZATION_CODE MASTER_ORGANIZATION_ID PRIMARY_COST_METHOD COST_ORGANIZATION_ID DEFAULT_MATERIAL_COST_ID CALENDAR_EXCEPTION_SET_ID CALENDAR_CODE GENERAL_LEDGER_UPDATE_CODE DEFAULT_ATP_RULE_ID DEFAULT_PICKING_RULE_ID DEFAULT_LOCATOR_ORDER_VALUE DEFAULT_SUBINV_ORDER_VALUE NEGATIVE_INV_RECEIPT_CODE STOCK_LOCATOR_CONTROL_CODE MATERIAL_ACCOUNT MATERIAL_OVERHEAD_ACCOUNT

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

Description Organization identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Organization code Item master organization identifier Primary costing method Cost organization identifier Default material subelement Calendar exception set Manufacturing calendar General ledger update code Default available to promise rule Default picking rule code Default picking order of locators Default picking order for subinventories Indicates whether negative balances are allowed Stock locator control code Inventory material account Inventory material overhead account

NOT NULL NUMBER NOT NULL NUMBER NULL NUMBER NOT NULL NUMBER NOT NULL VARCHAR2(10) NOT NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER NULL NUMBER NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 252 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER Description Material overhead absorption account Resource labor account Purchase price variance account Accounts payable accrual account Inventory overhead account Outside processing account Interorganization transfer debit account Interorganization receivables account Interorganization price variance account Interorganization payables account Cost of sales account Encumbrance account Project Cost Account Interorganization transfer credit account Material interorganization transfer charge type Interorganization transfer charge percent Organization to source items from Subinventory to source items from Inventory or supplier source type Maximum weight Maximum weight unit of measure Maximum volume Maximum volume unit of measure Serial number uniqueness control Organizationlevel serial number prefix Organizationlevel starting serial number Organizationlevel prefix for lot numbers Lot number uniqueness control Lot number generation control Lot number padding control Total lot number length Default starting item revision Descriptive flexfield structure defining 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

MATL_OVHD_ABSORPTION_ACCT RESOURCE_ACCOUNT PURCHASE_PRICE_VAR_ACCOUNT AP_ACCRUAL_ACCOUNT OVERHEAD_ACCOUNT OUTSIDE_PROCESSING_ACCOUNT INTRANSIT_INV_ACCOUNT INTERORG_RECEIVABLES_ACCOUNT INTERORG_PRICE_VAR_ACCOUNT INTERORG_PAYABLES_ACCOUNT COST_OF_SALES_ACCOUNT ENCUMBRANCE_ACCOUNT PROJECT_COST_ACCOUNT INTERORG_TRANSFER_CR_ACCOUNT MATL_INTERORG_TRANSFER_CODE INTERORG_TRNSFR_CHARGE_PERCENT SOURCE_ORGANIZATION_ID SOURCE_SUBINVENTORY SOURCE_TYPE ORG_MAX_WEIGHT ORG_MAX_WEIGHT_UOM_CODE ORG_MAX_VOLUME ORG_MAX_VOLUME_UOM_CODE SERIAL_NUMBER_TYPE AUTO_SERIAL_ALPHA_PREFIX START_AUTO_SERIAL_NUMBER AUTO_LOT_ALPHA_PREFIX LOT_NUMBER_UNIQUENESS LOT_NUMBER_GENERATION LOT_NUMBER_ZERO_PADDING LOT_NUMBER_LENGTH STARTING_REVISION ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8

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

NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NOT NULL NUMBER NOT NULL NUMBER NULL NUMBER NULL NUMBER NOT NULL VARCHAR2(3) NULL VARCHAR2(30) NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 253

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL NULL NULL NULL NULL VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(30) NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER DATE VARCHAR2(30) Description Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Default demand class Reverse encumbrance flag Maintain FIFO quantity stack Invoice price variance account Average cost variance account Sales account Expense account Serial number generation control Standard Who column Standard Who column Standard Who column Standard Who column Global descriptive flexfield structure defining column Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment

ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 DEFAULT_DEMAND_CLASS ENCUMBRANCE_REVERSAL_FLAG MAINTAIN_FIFO_QTY_STACK_TYPE INVOICE_PRICE_VAR_ACCOUNT AVERAGE_COST_VAR_ACCOUNT SALES_ACCOUNT EXPENSE_ACCOUNT SERIAL_NUMBER_GENERATION REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE 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

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 254 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Global descriptive flexfield segment NULL VARCHAR2(150) Global descriptive flexfield segment NULL NUMBER Cost type that holds material overhead costs for an average costing organization NULL NUMBER Project Reference enabled flag that indicates whether project references are allowed in the organization or not NULL NUMBER Project Manufacturing Cost Collection Enabled flag that indicates whether costs will be collected for project references within the organization or not NULL NUMBER Project Control Level that specifies whether project references are being tracked at the project or task level NULL NUMBER Average Rate Cost Type Identifier is used under average costing for resources and overhead rates NULL NUMBER Transfer Order Timeout Period NULL NUMBER Flag indicating that a source location is required before a move order can be approved NULL NUMBER Flag indicating whether pick confirmation is required NULL NUMBER Action to perform when move order approval timeout period has expired NULL NUMBER Material valuation account NULL NUMBER Material overhead valuation account NULL NUMBER Resource valuation account NULL NUMBER Outside processing valuation account NULL NUMBER Overhead valuation account

GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 MAT_OVHD_COST_TYPE_ID PROJECT_REFERENCE_ENABLED

PM_COST_COLLECTION_ENABLED

PROJECT_CONTROL_LEVEL

AVG_RATES_COST_TYPE_ID

TXN_APPROVAL_TIMEOUT_PERIOD MO_SOURCE_REQUIRED MO_PICK_CONFIRM_REQUIRED MO_APPROVAL_TIMEOUT_ACTION BORRPAY_MATL_VAR_ACCOUNT BORRPAY_MOH_VAR_ACCOUNT BORRPAY_RES_VAR_ACCOUNT BORRPAY_OSP_VAR_ACCOUNT BORRPAY_OVH_VAR_ACCOUNT

Indexes Index Name


MTL_PARAMETERS_N1 MTL_PARAMETERS_U1

Index Type NOT UNIQUE UNIQUE

Sequence 1 1

Column Name MASTER_ORGANIZATION_ID ORGANIZATION_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_MTL_PARAMETERS_ARDI1 AFTER ROW INSERT, DELETE

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger ensures that an INTRANS subinventory exists for every inventory organizations. If it does not exist, the subinventory will be created in the table, MTL_SECONDARY_INVENTORY.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 255

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


3 256 Oracle Applications Global Accounting Engine Technical Reference Manual

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

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 Columns Column


ALLOWED_UNITS_LOOKUP_CODE

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


Detailed Design 3 257

QuickCodes Columns Column

(Continued)
QuickCodes Type Y 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 QuickCodes Table 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

ALLOW_ITEM_DESC_UPDATE_FLAG

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


3 258 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type N Y QuickCodes Table No Yes 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

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

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

ELECTRONIC_FLAG

ENABLED_FLAG

END_ASSEMBLY_PEGGING_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 259

QuickCodes Columns Column

(Continued)
QuickCodes Type B I N X Y QuickCodes Table End Assembly/Full Pegging Net by Project/Ignore Excess None Net by Project/Net Excess End Assembly Pegging 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

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

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


3 260 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type I K M OC OO OP P PF PH PL POC PTO REF SA SI QuickCodes Table Inventory Type Kit Model Option Class Outside Operation Outside Processing Item Purchased item Product Family 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

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 261

QuickCodes Columns Column

(Continued)
QuickCodes Type Y YES_NO N Y YES_NO N Y MTL_PLANNING_MAKE_BUY 1 2 MTL_TIME_FENCE 1 2 3 4 QuickCodes Table Yes FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Make Buy 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

OUTSIDE_OPERATION_FLAG

PICK_COMPONENTS_FLAG

PLANNING_MAKE_BUY_CODE

PLANNING_TIME_FENCE_CODE

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

REPLENISH_TO_ORDER_FLAG

RESERVABLE_TYPE

RESTRICT_LOCATORS_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 262 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type 2 QuickCodes Table 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 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

RESTRICT_SUBINVENTORIES_CODE

MTL_SUBINVENTORY_RESTRICTIONS 1 2

RETURNABLE_FLAG

YES_NO N Y MTL_RETURN_INSPECTION 1 2 MTL_ENG_QUANTITY 1 2

RETURN_INSPECTION_REQUIREMENT

REVISION_QTY_CONTROL_CODE

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

SERVICEABLE_PRODUCT_FLAG

SERVICE_ITEM_FLAG

SHELF_LIFE_CODE

SHIPPABLE_ITEM_FLAG

SHIP_MODEL_COMPLETE_FLAG

SOURCE_TYPE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 263

QuickCodes Columns Column

(Continued)
QuickCodes Type 1 2 QuickCodes Table Inventory Supplier 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 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

SO_TRANSACTIONS_FLAG

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 WIP_SUPPLY 1 2 3 4 5 6 7 RECEIVING CONTROL LEVEL NONE REJECT WARNING

STOCK_ENABLED_FLAG

SUMMARY_FLAG

TAXABLE_FLAG

TIME_BILLABLE_FLAG

USAGE_ITEM_FLAG

VEHICLE_ITEM_FLAG

VENDOR_WARRANTY_FLAG

VOL_DISCOUNT_EXEMPT_FLAG

WIP_SUPPLY_TYPE

ENFORCE_SHIP_TO_LOCATION_CODE

OUTSIDE_OPERATION_UOM_TYPE

OUTSIDE OPERATION UOM TYPE ASSEMBLY RESOURCE RECEIVING CONTROL LEVEL NONE REJECT WARNING

QTY_RCV_EXCEPTION_CODE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 264 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type RECEIVING CONTROL LEVEL NONE REJECT WARNING QuickCodes Table PO_LOOKUP_CODES No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message

RECEIPT_DAYS_EXCEPTION_CODE

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 START_DATE_ACTIVE END_DATE_ACTIVE DESCRIPTION

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

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 Flexfield segment start date Flexfield segment end date Item description is maintained in the installation base language only. Translations table (MTL_SYSTEM_ITEMS_TL) holds item descriptions in multiple languages Buyer identifier Accounting rule identifier Invoicing rule identifier Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Key flexfield segment Descriptive flexfield structure defining column Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment

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

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(9) NUMBER NUMBER VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(40) VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 265

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NOT 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(1) VARCHAR2(1) VARCHAR2(1) 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 Flag indicating purchasing item Flag indicating shippable item Flag indicating customer orderable item Flag indicating internally orderable item Flag indicating service item Flag indicating inventory item Flag indicating engineering item 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

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 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

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) 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 266 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type 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) 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) Description 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 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

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 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

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

NULL VARCHAR2(3)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 267

Column Descriptions Name


VOLUME_UOM_CODE UNIT_VOLUME

(Continued)
Null? Type NULL VARCHAR2(3) NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER Description 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 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

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 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

NULL NUMBER NULL VARCHAR2(1) NULL NUMBER NULL NUMBER NULL NULL NULL NULL NUMBER NUMBER NUMBER 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 268 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type 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 Description 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 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

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 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 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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 269

Column Descriptions Name

(Continued)
Null? Type 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 NOT NULL NUMBER NUMBER NUMBER DATE VARCHAR2(1) Description 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 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

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 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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 270 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) NULL VARCHAR2(1) NULL NUMBER Description 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 definable 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 Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Global descriptive flexfield segment Purchasing tax code Overcompletion tolerance type Overcompletion tolerance value Effectivity control code. Indicates if the item is under Date Effectivity or Model/Unit Number Effectivity control. Flag indicating material shortages should be checked for this item Over shipment tolerance Under shipment tolerance

CONTAINER_ITEM_FLAG VEHICLE_ITEM_FLAG MAXIMUM_LOAD_WEIGHT

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 GLOBAL_ATTRIBUTE5 GLOBAL_ATTRIBUTE6 GLOBAL_ATTRIBUTE7 GLOBAL_ATTRIBUTE8 GLOBAL_ATTRIBUTE9 GLOBAL_ATTRIBUTE10 PURCHASING_TAX_CODE OVERCOMPLETION_TOLERANCE_TYPE OVERCOMPLETION_TOLERANCE_VALUE EFFECTIVITY_CONTROL

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 NULL NULL NULL VARCHAR2(50) NUMBER NUMBER NUMBER

CHECK_SHORTAGES_FLAG OVER_SHIPMENT_TOLERANCE UNDER_SHIPMENT_TOLERANCE

NULL VARCHAR2(1) NULL NUMBER NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 271

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(30) Description Over return tolerance Under return tolerance Flag indicating item is equipment Indicates return is required for recovered pars, scrap in field, which is used for spare parts Specifies whether a defect or bug can be filed against the product Flag indicating an item represents usage. Usage items can be sold as a use of something Identifies item as an event Flag indicating an item exists only in electronic format and not physical Flag indicating an item is downloadable Indicates an item does not contribute to volume discount for any order Indicates an item is excluded from coupons even if it is part of the group that any coupon applies Identifies an item as network logistics trackable Used to specify when an asset should be created Indicates an item requires activation on a network Indicates whether an item is orderable on the web or not. iStore will only sell items with this flag to be true If ATP failed, can item be back ordered Specifies item web status, which can be web enabled, web published, or neither Item unit is indivisible

OVER_RETURN_TOLERANCE UNDER_RETURN_TOLERANCE EQUIPMENT_TYPE RECOVERED_PART_DISP_CODE

DEFECT_TRACKING_ON_FLAG USAGE_ITEM_FLAG

NULL VARCHAR2(1) NULL VARCHAR2(1)

EVENT_FLAG ELECTRONIC_FLAG DOWNLOADABLE_FLAG VOL_DISCOUNT_EXEMPT_FLAG COUPON_EXEMPT_FLAG

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

COMMS_NL_TRACKABLE_FLAG ASSET_CREATION_CODE COMMS_ACTIVATION_REQD_FLAG ORDERABLE_ON_WEB_FLAG

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

BACK_ORDERABLE_FLAG WEB_STATUS INDIVISIBLE_FLAG

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

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 272 Oracle Applications Global Accounting Engine Technical Reference Manual

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_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. 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_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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 273

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_T2_VEH AFTER ROW UPDATE data to CARaS to maintain data consistency the Automotive export launcher procedure which it exports it to CARaS.

This trigger exports Automotive specific Item whenever data in Oracle is changed. It calls validates the Automotive specific data before Item data comes from the following tables ECE_TP_GROUP ECE_TP_DETAILS MTL_SYSTEM_ITEMS MTL_CUSTOMER_ITEMS MTL_CUSTOMER_ITEM_XREFS VEH_MTL_CUSTOMER_ITEMS WSH_CONTAINER_LOAD The above tables have triggers to export Item Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T1 BEFORE ROW UPDATE

data to CARaS.

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.
Trigger Trigger Trigger Trigger Name Time Level Event : : : : MTL_SYSTEM_ITEMS_T6_ICX AFTER ROW INSERT

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 274 Oracle Applications Global Accounting Engine Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

MTL_SYSTEM_ITEMS_T7_ICX AFTER ROW UPDATE

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 275

MTL_TRANSACTION_ACCOUNTS
MTL_TRANSACTION_ACCOUNTS holds the accounting information for each material transaction in MTL_MATERIAL_TRANSACTIONS. Oracle Inventory uses this information to track the financial impact of your quantity moves. The two tables are joined by the TRANSACTION_ID, and in most instances, there are at least two account rows for every material transaction. For some transactions, such as expense items or expense subinventories, you may not have any accounting. You should not join these two tables by ORGANIZATION_ID because interorganization transfers occur across organizations. Each row in this table represents a debit or credit accounting entry, and the sum of all rows for a given transaction identifier should be zero. Each row includes the account, transaction date, transaction value, purpose (ACCOUNTING_LINE_TYPE), and the source of the charges (TRANSACTION_SOURCE_TYPE_ID). The TRANSACTION_VALUES and BASE_TRANSACTION_VALUES are transferred to the GL_INTERFACE_TABLE through the period close or GL transfer process, and until this process is run, the GL_BATCH_ID is 1. The index MTL_TRANSACTION_ACCOUNTS_N2 is used only during install and upgrade, and will be dropped during the course thereof, but is included here for completeness. The index is named such to coincide with the equivalent index in Release 9.
Foreign Keys Primary Key Table
BOM_RESOURCES CST_ACTIVITIES CST_COST_ELEMENTS FND_CURRENCIES GL_CODE_COMBINATIONS GL_ENCUMBRANCE_TYPES MTL_MATERIAL_TRANSACTIONS MTL_SYSTEM_ITEMS_B MTL_TXN_SOURCE_TYPES ORG_GL_BATCHES WIP_REPETITIVE_SCHEDULES

Primary Key Column RESOURCE_ID ACTIVITY_ID COST_ELEMENT_ID CURRENCY_CODE CODE_COMBINATION_ID ENCUMBRANCE_TYPE_ID TRANSACTION_ID ORGANIZATION_ID INVENTORY_ITEM_ID TRANSACTION_SOURCE_TYPE_ID GL_BATCH_ID ORGANIZATION_ID REPETITIVE_SCHEDULE_ID

Foreign Key Column RESOURCE_ID ACTIVITY_ID COST_ELEMENT_ID CURRENCY_CODE REFERENCE_ACCOUNT ENCUMBRANCE_TYPE_ID TRANSACTION_ID ORGANIZATION_ID INVENTORY_ITEM_ID TRANSACTION_SOURCE_TYPE_ID GL_BATCH_ID ORGANIZATION_ID REPETITIVE_SCHEDULE_ID

QuickCodes Columns Column


ACCOUNTING_LINE_TYPE

QuickCodes Type CST_ACCOUNTING_LINE_TYPE 1

QuickCodes Table MFG_LOOKUPS Inv valuation

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 276 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type 10 11 12 13 14 15 2 3 4 5 6 7 8 9 99 QuickCodes Table Interorg receivables Interorg transfer credit Interorg freight charge Average cost variance Intransit Inventory Encumbrance Reversal Account Overhead absorption Resource absorption Receiving Inspection Purchase price variance or rate variance WIP valuation WIP variance Interorg payables Unknown MFG_LOOKUPS Item Lot Resource Units Resource Value Total Value Activity

BASIS_TYPE

CST_BASIS 1 2 3 4 5 6

Column Descriptions Name


TRANSACTION_ID REFERENCE_ACCOUNT LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN INVENTORY_ITEM_ID ORGANIZATION_ID TRANSACTION_DATE TRANSACTION_SOURCE_ID TRANSACTION_SOURCE_TYPE_ID TRANSACTION_VALUE PRIMARY_QUANTITY GL_BATCH_ID

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

Description Transaction identifier Transaction distribution account Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Inventory item identifier Organization identifier Transaction date Transaction source identifier Transaction source type identifier Accounting value in the transaction currency (null for base currency transactions) Transaction quantity in primary UOM of the item Batch identifier for all downloaded transaction journal entries (set to 1 if not yet transferred) Purpose or description for the accounting entry Accounting value in the base currency Offset account identifier

NULL NUMBER NULL NUMBER NOT NULL NUMBER

ACCOUNTING_LINE_TYPE BASE_TRANSACTION_VALUE CONTRA_SET_ID

NOT NULL NUMBER NOT NULL NUMBER NOT NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 277

Column Descriptions Name


RATE_OR_AMOUNT BASIS_TYPE RESOURCE_ID COST_ELEMENT_ID ACTIVITY_ID CURRENCY_CODE

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(15) NULL DATE NULL VARCHAR2(30) NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE NUMBER NUMBER NUMBER Description Material or material overhead rate/amount (depending on cost element id) Basis for charging the material or material overhead value Resource or subelement identifier Cost element identifier Activity identifier Currency code used in the transaction Date of the currency conversion Currency conversion type used for the transaction Currency conversion rate used for the transaction Standard Who column Standard Who column Standard Who column Standard Who column Encumbrance type identifier Repetitive schedule identifier

CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_RATE REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ENCUMBRANCE_TYPE_ID REPETITIVE_SCHEDULE_ID GL_SL_LINK_ID

Indexes Index Name


MTL_TRANSACTION_ACCOUNTS_N1 MTL_TRANSACTION_ACCOUNTS_N2 MTL_TRANSACTION_ACCOUNTS_N3 MTL_TRANSACTION_ACCOUNTS_N4 MTL_TRANSACTION_ACCOUNTS_N5 MTL_TRANSACTION_ACCOUNTS_N6

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 3 5 1 2 1 2 3

Column Name TRANSACTION_ID TRANSACTION_DATE REFERENCE_ACCOUNT GL_BATCH_ID ORGANIZATION_ID TRANSACTION_DATE TRANSACTION_SOURCE_TYPE_ID TRANSACTION_DATE ORGANIZATION_ID TRANSACTION_DATE TRANSACTION_SOURCE_TYPE_ID

NOT UNIQUE NOT UNIQUE

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

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger prevents an inventory transaction from being posted twice to GL, once in Global Accounting Engine and again by Oracle Inventory.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 278 Oracle Applications Global Accounting Engine Technical Reference Manual

MTL_TRANSACTION_TYPES
MTL_TRANSACTION_TYPES contains seeded transaction types and the user defined ones. USER_DEFINED_FLAG will distinguish the two. The table also stores the TRANSACTION_ACTION_ID and TRANSACTION_SOURCE_TYPE_ID that is associated with each transaction type.
Foreign Keys Primary Key Table
MTL_TXN_SOURCE_TYPES

Primary Key Column TRANSACTION_SOURCE_TYPE_ID

Foreign Key Column TRANSACTION_SOURCE_TYPE_ID

QuickCodes Columns Column


SHORTAGE_MSG_BACKGROUND_FLAG

QuickCodes Type YES_NO N Y YES_NO N Y MTL_TRANSACTION_ACTION 1 12 2 21 24 27 28 29 3 30 31 32 4 8

QuickCodes Table FND_LOOKUPS No Yes FND_LOOKUPS No Yes MFG_LOOKUPS Issue from stores Intransit receipt Subinventory transfer Intransit shipment Cost update Receipt into stores Staging transfer Delivery adjustments Direct organization transfer WIP scrap transaction Assembly completion Assembly return Cycle count adjustment Physical inventory adjustment

SHORTAGE_MSG_ONLINE_FLAG

TRANSACTION_ACTION_ID

Column Descriptions Name


TRANSACTION_TYPE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY TRANSACTION_TYPE_NAME DESCRIPTION TRANSACTION_ACTION_ID TRANSACTION_SOURCE_TYPE_ID

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

Description Transaction type identifier Standard Who column Standard Who column Standard Who column Standard Who column Name of the transaction type Description of the transaction type Transaction action identifier that is associated with this type Transaction source type identifier that is associated with this transaction type

NOT NULL NUMBER NOT NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 279

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) NULL VARCHAR2(1) NULL DATE NOT NULL VARCHAR2(1) 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(30) Description Shortage message background flag Shortage message online flag Date that this transaction type will be disabled Set to Y if this type is userdefined 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 structure defining column Specifies if the transaction type is Project related

SHORTAGE_MSG_BACKGROUND_FLAG SHORTAGE_MSG_ONLINE_FLAG DISABLE_DATE USER_DEFINED_FLAG ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 ATTRIBUTE_CATEGORY TYPE_CLASS

NULL NUMBER

Indexes Index Name


MTL_TRANSACTION_TYPES_U1

Index Type UNIQUE

Sequence 1

Column Name TRANSACTION_TYPE_ID

Sequences Sequence
MTL_TRANSACTION_TYPES_S

Derived Column TRANSACTION_TYPE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 280 Oracle Applications Global Accounting Engine Technical Reference Manual

ORG_ACCT_PERIODS
ORG_ACCT_PERIODS holds the open and closed financial periods for organizations. When a period is opened, the period open form (INVTTGPO) pulls in the next available period from the GL table GL_PERIODS. ORG_ACCT_PERIODS holds the relevant data, such as period start, end and close dates. Note that only postable periods will be brought over. You may create nonpostable periods in Oracle General Ledger or in the GL forms provided with Oracle Inventory. If data exists in the PERIOD_CLOSE_DATE column, then the period has been closed and no more transactions can be made against the closed period. The combination of the PERIOD_CLOSE_DATE and OPEN_FLAG columns reflects the status of a period. When OPEN_FLAG = P, it means the period close is processing. When it equals N, the period close process is completed. When OPEN_FLAG is Y and PERIOD_CLOSE_DATE is null, it means the period is open. Otherwise, it implies the period close process has failed.
Foreign Keys Primary Key Table
GL_PERIODS MTL_PARAMETERS

Primary Key Column PERIOD_SET_NAME PERIOD_NAME ORGANIZATION_ID

Foreign Key Column PERIOD_SET_NAME PERIOD_NAME ORGANIZATION_ID

Column Descriptions Name


ACCT_PERIOD_ID (PK) ORGANIZATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN PERIOD_SET_NAME PERIOD_YEAR PERIOD_NUM PERIOD_NAME DESCRIPTION PERIOD_START_DATE SCHEDULE_CLOSE_DATE PERIOD_CLOSE_DATE OPEN_FLAG

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

Description Accounting period id Organization identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column GL period set name GL period year GL period number GL period name Description (not currently used) Start date of accounting period Scheduled close date of the accounting period Actual close date of the accounting period Indicates the status of the period: P if the period close is processing; N if the period is closed; Y if the period is either open (if period close date is NULL) or the period close has failed (if period close date is not NULL)

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 281

Column Descriptions Name

(Continued)
Null? Type 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 VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) Description Global descriptive structure defining Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment Global descriptive segment flexfield column flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield flexfield

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

Indexes Index Name


ORG_ACCT_PERIODS_U1

Index Type UNIQUE

Sequence 1 2

Column Name ORGANIZATION_ID ACCT_PERIOD_ID

Sequences Sequence
ORG_ACCT_PERIODS_S

Derived Column ACCT_PERIOD_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 282 Oracle Applications Global Accounting Engine Technical Reference Manual

PO_DISTRIBUTIONS_ALL
PO_DISTRIBUTIONS_ALL contains accounting distribution information for a purchase order shipment line. You need one row for each distribution line you attach to a purchase order shipment. There are four types of documents using distributions in Oracle Purchasing:

Standard Purchase Orders

Planned Purchase Orders

Planned Purchase Order Releases

Blanket Purchase Order Releases

Each row includes the destination type, requestor ID, quantity ordered and deliverto location for the distribution. Oracle Purchasing uses this information to record accounting and requisition information for purchase orders and releases. PO_DISTRIBUTIONS_ALL is one of five tables storing purchase order and release information. Some columns in PO_DISTRIBUTIONS_ALL contain information only if certain conditions exist:

If you autocreate this accounting distribution from a requisition, REQ_DISTRIBUTION_ID corresponds to the ID of the requisition distribution you copy on the purchase order.

If you use a foreign currency on your purchase order, Oracle Purchasing stores currency conversion information in RATE and RATE_DATE.
Oracle Proprietary, Confidential InformationUse Restricted by Contract
Detailed Design 3 283

If you use encumbrance, GL_ENCUMBERED_DATE and GL_ENCUMBERED_PERIOD_NAME contain encumbrance information Oracle Purchasing uses to create journal entries in Oracle General Ledger.

If you do not autocreate the purchase order from online requisitions, REQ_LINE_REFERENCE_NUM and REQ_HEADER_REFERENCE_NUM contain the requisition number and requisition line number of the corresponding paper requisition. These two columns are not foreign keys to another table.

If the distribution corresponds to a blanket purchase order release, PO_RELEASE_ID identifies this release.

If SOURCE_DISTRIBUTION_ID has a value, the distribution is part of a planned purchase order release.

If you cancel the distribution, Oracle Purchasing automatically updates QUANTITY_CANCELLED or GL_CANCELLED_DATE. Oracle Purchasing also enters UNENCUMBERED_AMOUNT if you use encumbrance.

You enter distribution information in the Distributions window, accessible through the Purchase Orders and Releases windows.

Foreign Keys Primary Key Table


BOM_RESOURCES GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS

Primary Key Column RESOURCE_ID CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID

Foreign Key Column BOM_RESOURCE_ID CODE_COMBINATION_ID BUDGET_ACCOUNT_ID ACCRUAL_ACCOUNT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 284 Oracle Applications Global Accounting Engine Technical Reference Manual

Foreign Keys (Continued) Primary Key Table


GL_CODE_COMBINATIONS GL_DAILY_CONVERSION_RATES_R10 GL_SETS_OF_BOOKS GL_USSGL_TRANSACTION_CODES MTL_SECONDARY_INVENTORIES PA_TASKS 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

Primary Key Column CODE_COMBINATION_ID CONVERSION_RATE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE SECONDARY_INVENTORY_NAME ORGANIZATION_ID TASK_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

Foreign Key Column VARIANCE_ACCOUNT_ID RATE SET_OF_BOOKS_ID USSGL_TRANSACTION_CODE DESTINATION_SUBINVENTORY DESTINATION_ORGANIZATION_ID TASK_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_OPERATION_RESOURCES

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 (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 NUMBER NULL DATE NULL 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 285

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER 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 VARCHAR2(30) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) Description Release unique identifier Quantity delivered against the distribution Quantity invoiced by Oracle Payables against the distribution Quantity canceled 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 Distribution encumbered flag 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

PO_RELEASE_ID QUANTITY_DELIVERED 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 286 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 WIP_ENTITY_ID

(Continued)
Null? Type NULL NULL NULL NULL NULL VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) VARCHAR2(150) NUMBER Description Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment Descriptive flexfield segment WIP job or repetitive assembly identifier WIP operation sequence number within a routing WIP resource sequence number WIP repetitive schedule identifier WIP line identifier BOM resource unique identifier 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 distribution should be encumbered United States standard general ledger transaction code USSGL descriptive flexfield context column Protected descriptive flexfield context column for destination details Distribution number Unique identifier of the planned purchase order distribution that was referenced when creating this scheduled release distribution Standard Who column Standard Who column Standard Who column Standard Who column 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 Indicates whether items are accrued upon receipt Project accounting expenditure item date Operating unit unique identifier Primary key for the kanban card Award identifier

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 PREVENT_ENCUMBRANCE_FLAG USSGL_TRANSACTION_CODE GOVERNMENT_CONTEXT DESTINATION_CONTEXT DISTRIBUTION_NUM SOURCE_DISTRIBUTION_ID

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

REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE PROJECT_ID TASK_ID EXPENDITURE_TYPE PROJECT_ACCOUNTING_CONTEXT EXPENDITURE_ORGANIZATION_ID GL_CLOSED_DATE ACCRUE_ON_RECEIPT_FLAG EXPENDITURE_ITEM_DATE ORG_ID KANBAN_CARD_ID AWARD_ID

NULL NULL NULL NULL NULL

NUMBER NUMBER NUMBER DATE NUMBER

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 287

Column Descriptions Name


MRC_RATE_DATE

(Continued)
Null? Type Description 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: Concatenated string 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 VARCHAR2(30) Project Manufacturing end item unit number NULL VARCHAR2(1) Indicator of whether tax recovery should be used NULL NUMBER Recoverable tax amount NULL NUMBER Nonrecoverable tax amount NULL NUMBER Percentage of tax that can be recovered

MRC_RATE

MRC_ENCUMBERED_AMOUNT

MRC_UNENCUMBERED_AMOUNT

END_ITEM_UNIT_NUMBER TAX_RECOVERY_OVERRIDE_FLAG RECOVERABLE_TAX NONRECOVERABLE_TAX RECOVERY_RATE

Indexes Index Name


PO_DISTRIBUTIONS_N1 PO_DISTRIBUTIONS_N10 PO_DISTRIBUTIONS_N11 PO_DISTRIBUTIONS_N12 PO_DISTRIBUTIONS_N2 PO_DISTRIBUTIONS_N3 PO_DISTRIBUTIONS_N4 PO_DISTRIBUTIONS_N5 PO_DISTRIBUTIONS_N6 PO_DISTRIBUTIONS_N7 PO_DISTRIBUTIONS_N8

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

Sequence 1 1 1 2 1 1 1 1 2 1 1 1 2 3 4 5 1 2 1

Column Name LINE_LOCATION_ID BUDGET_ACCOUNT_ID PO_RELEASE_ID SOURCE_DISTRIBUTION_ID REQ_DISTRIBUTION_ID PO_HEADER_ID PO_LINE_ID REQ_HEADER_REFERENCE_NUM REQ_LINE_REFERENCE_NUM DELIVER_TO_PERSON_ID GL_ENCUMBERED_DATE WIP_ENTITY_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM DESTINATION_ORGANIZATION_ID WIP_REPETITIVE_SCHEDULE_ID PROJECT_ID TASK_ID PO_DISTRIBUTION_ID

NOT UNIQUE NOT UNIQUE NOT UNIQUE

PO_DISTRIBUTIONS_N9 PO_DISTRIBUTIONS_U1

NOT UNIQUE UNIQUE

Sequences Sequence
PO_DISTRIBUTIONS_S

Derived Column PO_DISTRIBUTION_ID

Database Triggers

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 288 Oracle Applications Global Accounting Engine Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

PO_MRC_DISTRIBUTIONS_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 PO_DISTRIBUTIONS_ALL. For each record being inserted/updated/deleted in PO_DISTRIBUTIONS_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, PO_MC_DISTRIBUTIONS. In addition, this trigger also populates the MRC VARCHAR2 columns in PO_DISTRIBUTIONS_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 289

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

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 Columns Column


CLOSED_CODE

QuickCodes Type DOCUMENT STATE

QuickCodes Table PO_LOOKUP_CODES

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 290 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type 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 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_BREAK_LOOKUP_CODE

PRICE BREAK TYPE CUMULATIVE NON CUMULATIVE PRICE TYPE COST FEE COST PERCENT 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

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 291

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL VARCHAR2(3) NUMBER VARCHAR2(240) VARCHAR2(25) Description Item revision Item category unique identifier Item description 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

ITEM_REVISION CATEGORY_ID 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 292 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


TAXABLE_FLAG TAX_NAME TYPE_1099

(Continued)
Null? Type NULL VARCHAR2(1) NULL VARCHAR2(15) NULL VARCHAR2(10) 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 Description Indicates whether the document line is taxable or not Tax code applying to the line 1099 type for the purchase order line 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

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

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 293

Column Descriptions Name


BASE_QTY SECONDARY_UOM SECONDARY_QTY

(Continued)
Null? Type NULL NUMBER NULL VARCHAR2(25) 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 VARCHAR2(25) NULL NUMBER NULL NUMBER NULL DATE NULL NUMBER Description 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 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 Audit Trail Reference (needed for 832 EDI transaction) Project accounting project unique identifier Project accounting task unique identifier Date after which the item on this catalog line can no longer be ordered Unique identifier for the tax code

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 LINE_REFERENCE_NUM PROJECT_ID TASK_ID EXPIRATION_DATE TAX_CODE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 294 Oracle Applications Global Accounting Engine Technical Reference Manual

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 PO_LINES_N9 PO_LINES_U1 PO_LINES_U2

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

Sequence 1 1 1 1 1 1 1 1 1 1 1 2

Column Name ITEM_ID CREATION_DATE CATEGORY_ID FROM_LINE_ID ITEM_DESCRIPTION VENDOR_PRODUCT_NUM CONTRACT_NUM CLOSED_BY 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 Requisitions and is required only if this module is used. There is a prerequisite 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 Requisitions and is required only if this module is used. There is a prerequisite 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 Requisitions and is required only if this module is used. There is a prerequisite that ConText be installed. The trigger places a reindex request on the ConText queue.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 295

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

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 Columns Column


FOB_LOOKUP_CODE PAYMENT_METHOD_LOOKUP_CODE PAY_DATE_BASIS_LOOKUP_CODE

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


3 296 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(1) Description 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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 297

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(15) NULL VARCHAR2(1) Description Default payment currency unique identifier 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

PAYMENT_CURRENCY_CODE HOLD_ALL_PAYMENTS_FLAG

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

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 VARCHAR2(35)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 298 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


COUNTY ADDRESS_STYLE LANGUAGE ALLOW_AWT_FLAG AWT_GROUP_ID

(Continued)
Null? Type NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(30) VARCHAR2(30) VARCHAR2(1) Description Supplier site county Style of address Site language 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 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.

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)

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 299

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(25) Description How remittance advice will be sent to the supplier NULL VARCHAR2(1) Indicator of whether this supplier site is a bank charge bearer site NULL VARCHAR2(256) Who will send the remittance advice. Valid values are banks or payables systems. NULL VARCHAR2(25) Which list the bank routing number is on. Valid types are ABA, CHIPS, SWIFT, and OTHER. NULL VARCHAR2(25) When to create an invoice. Currently, the code RECEIPT is used. Future enhancements could include DELIVERY. NULL NUMBER(15) Payment site for the site in which the receipt was entered. NULL VARCHAR2(25) 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. NULL NUMBER EDI transaction header unique identifier NULL VARCHAR2(35) Training partner location code for eCommerce Gateway NULL VARCHAR2(1) Indicator of whether the site allows use of procurement cards NULL VARCHAR2(25) Indicator of whether to match the invoices to the purchase order or receipt NULL VARCHAR2(2) Code for the country of manufacture 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 offset tax is used

EDI_REMITTANCE_METHOD BANK_CHARGE_BEARER EDI_REMITTANCE_INSTRUCTION BANK_BRANCH_TYPE PAY_ON_CODE

DEFAULT_PAY_SITE_ID PAY_ON_RECEIPT_SUMMARY_CODE

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

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


3 300 Oracle Applications Global Accounting Engine Technical Reference Manual

RA_CUSTOMERS
This table stores your customer header information. Only information related to the customer entity is stored in this table. Any information specific to an address for a given customer is stored in RA_ADDRESSES_ALL. You need one row for each customer in Oracle Receivables.
Foreign Keys Primary Key Table
AR_VAT_TAX_ALL_B ORG_FREIGHT_TL RA_SALESREPS_ALL RA_SITE_USES_ALL RA_SITE_USES_ALL RA_TERMS_B SO_ORDER_TYPES_115_ALL SO_PRICE_LISTS_B

Primary Key Column TAX_CODE FREIGHT_CODE SALESREP_ID SITE_USE_ID SITE_USE_ID TERM_ID ORDER_TYPE_ID PRICE_LIST_ID

Foreign Key Column TAX_CODE SHIP_VIA PRIMARY_SALESREP_ID DUNNING_SITE_USE_ID STATEMENT_SITE_USE_ID PAYMENT_TERM_ID ORDER_TYPE_ID PRICE_LIST_ID

QuickCodes Columns Column


CUSTOMER_TYPE

QuickCodes Type CUSTOMER_TYPE I R YES/NO N Y

QuickCodes Table AR_LOOKUPS Internal External AR_LOOKUPS No Yes

TAX_EXEMPT

Column Descriptions Name


CUSTOMER_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY CUSTOMER_NAME CUSTOMER_NUMBER ORIG_SYSTEM_REFERENCE STATUS LAST_UPDATE_LOGIN CUSTOMER_TYPE

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

Description Customer identifier Standard Who column Standard Who column Standard Who column Standard Who column Customer name Customer number Unique customer identifier from foreign system Customer status flag. Lookup code for CODE_STATUS Standard Who column Receivables lookup code for CUSTOMER_TYPE (I for internal customers; R for external customers) Indicates whether customer, prospect, or neither Customer class identifier Primary sales rep identifier Order Management lookup code for SALES_CHANNEL Standard Industry Classification code

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

CUSTOMER_PROSPECT_CODE CUSTOMER_CLASS_CODE PRIMARY_SALESREP_ID SALES_CHANNEL_CODE SIC_CODE

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 301

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL NUMBER(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 NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) NULL DATE NULL VARCHAR2(5) Description Order type identifier Price list identifier 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 Request identifier of last concurrent program to update this record Application identifier of last concurrent program to update this record Program identifier of last concurrent program to update this record Last update date of this record by a concurrent program Fiscal Year upon which financial information is based (net worth, number of employees, potential revenue) Userdefinable category (lookup type = CUSTOMER_CATEGORY) No longer used Derived key created by Oracle Sales and Marketing to facilitate querying No longer used Month in which fiscal year ends for customer No longer used Number of employees of customer Potential revenue this fiscal year for customer Potential revenue next fiscal year for customer No longer used Indicates whether customer has agreed to be a reference (null means No) Tax code for this customer Taxpayer identification number

ORDER_TYPE_ID PRICE_LIST_ID ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ANALYSIS_FY

CUSTOMER_CATEGORY_CODE CUSTOMER_GROUP_CODE CUSTOMER_KEY CUSTOMER_SUBGROUP_CODE FISCAL_YEAREND_MONTH NET_WORTH NUM_OF_EMPLOYEES POTENTIAL_REVENUE_CURR_FY POTENTIAL_REVENUE_NEXT_FY RANK REFERENCE_USE_FLAG TAX_CODE TAX_REFERENCE

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 302 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 THIRD_PARTY_FLAG

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(1) This flag tracks whether a customer is a direct customer of the organization using AR or a third party vendor of some sort. If Oracle Service is installed, the Third Party field in the Customers window should be mandatory NULL VARCHAR2(30) This column is for the Access Control feature. It tracks which template attribute to use to automatically create new access control templates for a given customer. NULL NUMBER(15) This column is for the service personnel dispatching feature in Incident Tracking. This column is a foreign key to PER_PEOPLE. NULL NUMBER(15) This column is for the service personnel dispatching feature in Incident Tracking. This column is a foreign key to PER_PEOPLE. NULL VARCHAR2(1) Indicates whether organization is a competitor (null means No) NULL NUMBER(15) Dunning site identifier NULL NUMBER(15) Statement site NULL VARCHAR2(30) Source of record [partners with ORIG_SYSTEM_REF] NULL NUMBER(4) Year in which customer began doing business NULL VARCHAR2(6) Values for this column will take the form DDMON. Identifies the date on which services ordered by the customer will end. NULL VARCHAR2(30) Group responsible for freight NULL VARCHAR2(30) Order Management lookup code for FREIGHT_TERMS NULL VARCHAR2(1) Flag to indicate whether this is a public sector service agency NULL VARCHAR2(1) Flag if partial shipments are sent NULL VARCHAR2(25) Name of shipping firm NULL NUMBER(15) Warehouse identifier NULL NUMBER(15) This column is not used by AR. (used by Oracle Order Management) NULL VARCHAR2(1) No longer used NULL VARCHAR2(30) No longer used

ACCESS_TEMPLATE_ENTITY_CODE

PRIMARY_SPECIALIST_ID

SECONDARY_SPECIALIST_ID

COMPETITOR_FLAG DUNNING_SITE_USE_ID STATEMENT_SITE_USE_ID ORIG_SYSTEM YEAR_ESTABLISHED COTERMINATE_DAY_MONTH

FOB_POINT FREIGHT_TERM GSA_INDICATOR SHIP_PARTIAL SHIP_VIA WAREHOUSE_ID PAYMENT_TERM_ID TAX_EXEMPT TAX_EXEMPT_NUM

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 303

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) NULL VARCHAR2(20) 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 No longer used This column is used as the Fiscal Code for certain European Countries VARCHAR2(1) Determines whether you can send printed documents to the customer VARCHAR2(2000) Oracle Sales and Marketing column (corporate charter of customer) VARCHAR2(320) Japanese Kana, or phonetic representation of customer name VARCHAR2(1) Tax calculation level (Y means Header; N means Line) VARCHAR2(30) Tax amount rounding rule DATE Warehouse update date when record was recorded or changed VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(150) Reserved For Globalization Functionality VARCHAR2(30) Reserved For Globalization Functionality

TAX_EXEMPT_REASON_CODE JGZZ_FISCAL_CODE DO_NOT_MAIL_FLAG MISSION_STATEMENT CUSTOMER_NAME_PHONETIC TAX_HEADER_LEVEL_FLAG TAX_ROUNDING_RULE WH_UPDATE_DATE 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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 304 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


URL PERSON_FLAG

(Continued)
Null? Type Description NULL VARCHAR2(240) Uniform Resource Locator (Customers Home Page Address on World Wide Web) NULL VARCHAR2(1) Indicates whether the customer is a person (rather than a business or company) NULL VARCHAR2(50) First Name of the person NULL VARCHAR2(50) Last Name of the person NULL NUMBER Negative tolerance for acceptable dates NULL NUMBER Positive tolerance for acceptable dates NULL VARCHAR2(20) Preference for ship or arrival dates NULL NUMBER Percentage tolerance for over shipment NULL NUMBER Percentage tolerance for under shipment NULL VARCHAR2(30) Lookup for item cross reference preference for placing orders NULL NUMBER Percentage tolerance for over return NULL NUMBER Percentage tolerance for under return NULL VARCHAR2(1) Y if lines should automatically be included in ship sets NULL VARCHAR2(1) Y if lines should automatically be included in arrival sets NULL VARCHAR2(1) Y if group schedule date should automatically be pushed NULL VARCHAR2(30) Rule to indicate whether to invoice for ordered quantity or fulfilled quantity NULL VARCHAR2(30) Event at which to price orders. For example, at entry, at shipping, or at invoicing.

FIRST_NAME LAST_NAME DATES_NEGATIVE_TOLERANCE DATES_POSITIVE_TOLERANCE DATE_TYPE_PREFERENCE OVER_SHIPMENT_TOLERANCE UNDER_SHIPMENT_TOLERANCE ITEM_CROSS_REF_PREF OVER_RETURN_TOLERANCE UNDER_RETURN_TOLERANCE SHIP_SETS_INCLUDE_LINES_FLAG ARRIVALSETS_INCLUDE_LINES_FLAG SCHED_DATE_PUSH_FLAG INVOICE_QUANTITY_RULE PRICING_EVENT

Indexes Index Name


RA_CUSTOMERS_N1 RA_CUSTOMERS_N2 RA_CUSTOMERS_N3 RA_CUSTOMERS_N4 RA_CUSTOMERS_U1 RA_CUSTOMERS_U2 RA_CUSTOMERS_U3

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

Sequence 1 1 2 2 2 1 1

Column Name CUSTOMER_NAME CREATION_DATE CUSTOMER_KEY JGZZ_FISCAL_CODE CUSTOMER_ID ORIG_SYSTEM_REFERENCE CUSTOMER_NUMBER

Sequences Sequence
RA_CUSTOMERS_S RA_CUSTOMERS_NUM_S

Derived Column CUSTOMER_ID CUSTOMER_NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 305

RA_CUSTOMER_MERGES
This table is used by the Customer Merge program to store information about customers, addresses, and site uses that you are merging. Each row includes the names and IDs of the customer, address, or site uses being merged. Oracle Receivables uses this information to display all customers, addresses, and site uses that have been merged in the Merge Customers window.
Foreign Keys Primary Key Table
RA_ADDRESSES_ALL RA_ADDRESSES_ALL RA_CUSTOMERS RA_CUSTOMERS RA_SITE_USES_ALL RA_SITE_USES_ALL

Primary Key Column ADDRESS_ID ADDRESS_ID CUSTOMER_ID CUSTOMER_ID SITE_USE_ID SITE_USE_ID

Foreign Key Column CUSTOMER_ADDRESS_ID CUSTOMER_ADDRESS_ID CUSTOMER_ID CUSTOMER_ID CUSTOMER_SITE_ID CUSTOMER_SITE_ID

Column Descriptions Name


CUSTOMER_MERGE_ID CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN PROCESS_FLAG CUSTOMER_ID CUSTOMER_NAME CUSTOMER_NUMBER CUSTOMER_REF CUSTOMER_ADDRESS_ID CUSTOMER_ADDRESS CUSTOMER_SITE_ID CUSTOMER_SITE_CODE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 (PK)

Null? Type NOT NULL NUMBER(15) NOT NOT NOT NOT NULL NULL NULL NULL NULL NOT NULL DATE NUMBER(15) DATE NUMBER(15) NUMBER(15) VARCHAR2(30) NUMBER(15) VARCHAR2(50) VARCHAR2(30) VARCHAR2(240) NUMBER(15) VARCHAR2(240) NUMBER(15) VARCHAR2(40) VARCHAR2(30)

Description Customer merge record identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Y or N indicates whether this record processed successfully New customer identifier New customer name New customer number New customer identifier from foreign system New address identifier New address New site use identifier New site use lookup code 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

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

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 306 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


ATTRIBUTE9 ATTRIBUTE10 REQUEST_ID

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL NUMBER(15) Request identifier of last concurrent program to update this record NULL NUMBER(15) Application identifier of last concurrent program to update this record NULL NUMBER(15) Program identifier of last concurrent program to update this record NULL DATE Last update date of this record by a concurrent program NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment Column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(240) New customer location NULL VARCHAR2(1) New customer primary site use flag NULL VARCHAR2(1) Delete or inactivate duplicate customer flag NULL VARCHAR2(240) Duplicate customer address NULL NUMBER(15) Duplicate customer address identifier NULL NUMBER(15) Duplicate customer identifier NULL VARCHAR2(240) Duplicate customer location NULL VARCHAR2(50) Duplicate customer name NULL VARCHAR2(30) Duplicate customer number NULL VARCHAR2(1) Duplicate customer primary site use flag NULL VARCHAR2(240) Duplicate customer identifier from foreign system NULL VARCHAR2(40) Duplicate customer site use code NULL NUMBER(15) Duplicate customer site identifier NULL NUMBER Set number NULL NUMBER(15) Customer merge header record identifier

PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 CUSTOMER_LOCATION CUSTOMER_PRIMARY_FLAG DELETE_DUPLICATE_FLAG DUPLICATE_ADDRESS DUPLICATE_ADDRESS_ID DUPLICATE_ID DUPLICATE_LOCATION DUPLICATE_NAME DUPLICATE_NUMBER DUPLICATE_PRIMARY_FLAG DUPLICATE_REF DUPLICATE_SITE_CODE DUPLICATE_SITE_ID SET_NUMBER CUSTOMER_MERGE_HEADER_ID NOT NOT

NOT NOT

NOT

Indexes Index Name


RA_CUSTOMER_MERGES_N1 RA_CUSTOMER_MERGES_N2 RA_CUSTOMER_MERGES_N3 RA_CUSTOMER_MERGES_N4 RA_CUSTOMER_MERGES_U1

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE UNIQUE

Sequence 1 2 1 1 1 1

Column Name PROCESS_FLAG DUPLICATE_SITE_ID DUPLICATE_ID DUPLICATE_ADDRESS_ID CUSTOMER_MERGE_HEADER_ID CUSTOMER_MERGE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 307

Sequences Sequence
RA_CUSTOMER_MERGES_S

Derived Column CUSTOMER_MERGE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 308 Oracle Applications Global Accounting Engine Technical Reference Manual

RA_CUSTOMER_TRX_ALL
This table stores invoice, debit memo, commitment, and credit memo header information. Each row includes general invoice information such as customer, transaction type, and printing instructions. You need one row for each invoice, debit memo, commitment, and credit memo you create in Oracle Receivables. Invoices, debit memos, credit memos, and commitments are all distinguished by their transaction types stored in RA_CUST_TRX_TYPES_ALL. If you entered a credit memo, PREVIOUS_CUSTOMER_TRX_ID stores the customer transaction ID of the invoice you credited. In the case of on account credits, which are not related to any invoice at creation, PREVIOUS_CUSTOMER_TRX_ID is null. If you created an invoice against a commitment, Oracle Receivables stores the customer transaction ID of the commitment in INITIAL_CUSTOMER_TRX_ID, otherwise it is null. COMPLETE_FLAG stores Y for Yes and N for No to indicate if your invoice is complete. When you complete an invoice, Oracle Receivables creates your payment schedules and updates any commitments against this invoice. Before an invoice can be completed, it must have at least one invoice line, revenue records must exist for each line and add up to the line amount, and a sales tax record must exist for each line. SOLD_TO_CUSTOMER_ID, SOLD_TO_SITE_USE_ID, BILL_TO_CUSTOMER_ID, BILL_TO_SITE_USE_ID, SHIP_TO_SITE_USE_ID, PRINTING_OPTION, PRINTING_PENDING, TERM_ID, REMIT_TO_ADDRESS_ID, PRIMARY_SALES_REP_ID, and INVOICE_CURRENCY_CODE are required even though they are null allowed. The primary key for this table is CUSTOMER_TRX_ID.
Foreign Keys Primary Key Table
AP_BANK_ACCOUNTS_ALL AR_POSTING_CONTROL FND_CURRENCIES FND_DOCUMENT_SEQUENCES GL_SETS_OF_BOOKS RA_ADDRESSES_ALL RA_BATCH_SOURCES_ALL RA_CONTACTS RA_CONTACTS RA_CONTACTS RA_CUSTOMERS RA_CUSTOMERS RA_CUSTOMERS RA_CUSTOMERS RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_ALL RA_CUST_TRX_TYPES_ALL RA_SALESREPS_ALL

Primary Key Column BANK_ACCOUNT_ID POSTING_CONTROL_ID CURRENCY_CODE DOC_SEQUENCE_ID SET_OF_BOOKS_ID ADDRESS_ID BATCH_SOURCE_ID CONTACT_ID CONTACT_ID CONTACT_ID CUSTOMER_ID CUSTOMER_ID CUSTOMER_ID CUSTOMER_ID CUSTOMER_TRX_ID CUSTOMER_TRX_ID CUSTOMER_TRX_ID CUST_TRX_TYPE_ID SALESREP_ID

Foreign Key Column CUSTOMER_BANK_ACCOUNT_ID POSTING_CONTROL_ID INVOICE_CURRENCY_CODE DOC_SEQUENCE_ID SET_OF_BOOKS_ID REMIT_TO_ADDRESS_ID BATCH_SOURCE_ID BILL_TO_CONTACT_ID SOLD_TO_CONTACT_ID SHIP_TO_CONTACT_ID SOLD_TO_CUSTOMER_ID BILL_TO_CUSTOMER_ID SHIP_TO_CUSTOMER_ID PAYING_CUSTOMER_ID PREVIOUS_CUSTOMER_TRX_ID PREVIOUS_CUSTOMER_TRX_ID INITIAL_CUSTOMER_TRX_ID CUST_TRX_TYPE_ID PRIMARY_SALESREP_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 309

Foreign Keys (Continued) Primary Key Table


RA_SITE_USES_ALL RA_SITE_USES_ALL RA_SITE_USES_ALL RA_SITE_USES_ALL RA_TERMS_B SO_AGREEMENTS_B

Primary Key Column SITE_USE_ID SITE_USE_ID SITE_USE_ID SITE_USE_ID TERM_ID AGREEMENT_ID

Foreign Key Column SOLD_TO_SITE_USE_ID BILL_TO_SITE_USE_ID SHIP_TO_SITE_USE_ID PAYING_SITE_USE_ID TERM_ID AGREEMENT_ID

QuickCodes Columns Column


PRINTING_OPTION

QuickCodes Type INVOICE_PRINT_OPTIONS NOT PRI INVOICING_REASON A/R ERROR CANCELLATION CREDIT and REBILL DUPLICATE BILLING FOREIGN FREE PRODUCT LATE PAYMENT ORDER ENTRY ERROR RETURN SALES TAX ERROR SHIPPING and HANDLING User defined WRONG FREIGHT WRONG TAX RATE

QuickCodes Table AR_LOOKUPS Do Not Print Print AR_LOOKUPS A/R ERROR CANCELLATION CREDIT and REBILL DUPLICATE BILLING FOREIGN FREE PRODUCT LATE PAYMENT ORDER ENTRY ERROR RETURN SALES TAX ERROR SHIPPING and HANDLING WRONG FREIGHT WRONG TAX RATE

REASON_CODE

Column Descriptions Name


CUSTOMER_TRX_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN TRX_NUMBER CUST_TRX_TYPE_ID TRX_DATE SET_OF_BOOKS_ID BILL_TO_CONTACT_ID BATCH_ID BATCH_SOURCE_ID REASON_CODE SOLD_TO_CUSTOMER_ID SOLD_TO_CONTACT_ID SOLD_TO_SITE_USE_ID BILL_TO_CUSTOMER_ID BILL_TO_SITE_USE_ID SHIP_TO_CUSTOMER_ID SHIP_TO_CONTACT_ID

Null? Type NOT NOT 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 NUMBER(15) DATE NUMBER(15) DATE NUMBER(15) NUMBER(15) VARCHAR2(20) NUMBER(15) DATE NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15) VARCHAR2(30) NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15)

Description Invoice identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Transaction number Transaction type identifier Invoice date Set of books identifier Contact identifier to send bills Batch identifier Batch source identifier Reason code identifier Customer identifier Sold to contact identifier Sold to site use identifier Customer identifier Site use identifier billed Customer identifier Contact identifier for shipments

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 310 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER(15) NULL NULL NULL NULL NULL NULL NUMBER(15) NUMBER(15) NUMBER(15) DATE NUMBER(15) NUMBER(15) Description Site identifier for the shipments Not currently used Remit to address identifier Payment term identifier Due date of the first payment Identifier for invoice credited Salesrep given primary credit for the transaction Date the first installment is printed Last date any installment was printed Revenue Accounting lookup code for INVOICE_PRINT_OPTIONS This column shows the number of times this invoice has been printed. If there are multiple installments for this invoice, this will increment once for every installment that was printed. Y or N indicates whether this invoice is waiting to be printed Purchase order Purchase order revision Date of purchase order Customer identifier from foreign system Not currently used Not currently used Notes not printed on invoice Exchange rate type Date of the exchange rate Exchange rate Territory identifier Invoice currency Identifier of a related commitment Agreement identifier Date a commitment becomes active Date a commitment becomes inactive Last installment printed 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

SHIP_TO_SITE_USE_ID SHIPMENT_ID REMIT_TO_ADDRESS_ID TERM_ID TERM_DUE_DATE PREVIOUS_CUSTOMER_TRX_ID PRIMARY_SALESREP_ID PRINTING_ORIGINAL_DATE PRINTING_LAST_PRINTED PRINTING_OPTION PRINTING_COUNT

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

PRINTING_PENDING PURCHASE_ORDER PURCHASE_ORDER_REVISION PURCHASE_ORDER_DATE CUSTOMER_REFERENCE CUSTOMER_REFERENCE_DATE COMMENTS INTERNAL_NOTES EXCHANGE_RATE_TYPE EXCHANGE_DATE EXCHANGE_RATE TERRITORY_ID INVOICE_CURRENCY_CODE INITIAL_CUSTOMER_TRX_ID AGREEMENT_ID END_DATE_COMMITMENT START_DATE_COMMITMENT LAST_PRINTED_SEQUENCE_NUM ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6

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

NULL NUMBER(15) NULL DATE NULL DATE NULL NUMBER(15) NULL VARCHAR2(30) 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


Detailed Design 3 311

Column Descriptions Name


ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10

(Continued)
Null? Type Description NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(40) Batch identifier from foreign system NULL NUMBER(15) No longer used NULL NUMBER(15) Request identifier of last concurrent program to update this record NULL NUMBER(15) Application identifier of last concurrent program to update this record. NULL NUMBER(15) Program identifier of last concurrent program to update this record NULL DATE Last update date of this record by a concurrent program NULL VARCHAR2(1) Y or N indicates whether finance charges are included NOT NULL VARCHAR2(1) Y or N indicates whether the invoice is complete NULL NUMBER(15) No longer used; 1 means this record was posted by the old posting program (ARXGLP); 2 means it was posted from Revenue Accounting (preRelease 10) NULL NUMBER(15) Identifies the BillTo address NULL NUMBER(15) No longer used NULL NUMBER(15) Identifies the ShipTo address NULL VARCHAR2(30) Rule to use when crediting invoice account assignments for invoices that use invoicing and accounting rules NULL VARCHAR2(30) Rule to use when crediting the payment schedules of split term transactions NULL NUMBER(15) Receipt method identifier NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL VARCHAR2(150) Descriptive Flexfield Segment column NULL NUMBER(15) Related transaction identifier NULL NUMBER(15) Invoicing Rule identifier NULL VARCHAR2(30) Ship via NULL DATE Ship date NULL VARCHAR2(50) Waybill number NULL VARCHAR2(30) Free On Board point NULL NUMBER(15) Identifies the customer bank account

ORIG_SYSTEM_BATCH_NAME POST_REQUEST_ID REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE FINANCE_CHARGES COMPLETE_FLAG POSTING_CONTROL_ID

BILL_TO_ADDRESS_ID RA_POST_LOOP_NUMBER SHIP_TO_ADDRESS_ID CREDIT_METHOD_FOR_RULES

CREDIT_METHOD_FOR_INSTALLMENTS RECEIPT_METHOD_ID ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 RELATED_CUSTOMER_TRX_ID INVOICING_RULE_ID SHIP_VIA SHIP_DATE_ACTUAL WAYBILL_NUMBER FOB_POINT CUSTOMER_BANK_ACCOUNT_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 312 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(20) NULL VARCHAR2(30) NULL NUMBER(15) NULL NUMBER(15) NULL NUMBER(15) Description Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header context Default context value for the USSGL Transaction Code Flexfield Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Interface header attribute value Default value for the USSGL Transaction Code Flexfield Model transaction for this record The status of the transaction Identifies the document sequence The value of the document sequence This column is required when the receipt_method_id column is an automatic payment method, otherwise this column should be left null. This column is required when the receipt_method_id column is an automatic payment method, otherwise it must be left null. Related batch source identifier This column defaults to the tax exempt flag in RA_CUSTOMER_TRX_LINES_ALL upon manual data entry.

INTERFACE_HEADER_ATTRIBUTE1 INTERFACE_HEADER_ATTRIBUTE2 INTERFACE_HEADER_ATTRIBUTE3 INTERFACE_HEADER_ATTRIBUTE4 INTERFACE_HEADER_ATTRIBUTE5 INTERFACE_HEADER_ATTRIBUTE6 INTERFACE_HEADER_ATTRIBUTE7 INTERFACE_HEADER_ATTRIBUTE8 INTERFACE_HEADER_CONTEXT DEFAULT_USSGL_TRX_CODE_CONTEXT INTERFACE_HEADER_ATTRIBUTE10 INTERFACE_HEADER_ATTRIBUTE11 INTERFACE_HEADER_ATTRIBUTE12 INTERFACE_HEADER_ATTRIBUTE13 INTERFACE_HEADER_ATTRIBUTE14 INTERFACE_HEADER_ATTRIBUTE15 INTERFACE_HEADER_ATTRIBUTE9 DEFAULT_USSGL_TRANSACTION_CODE RECURRED_FROM_TRX_NUMBER STATUS_TRX DOC_SEQUENCE_ID DOC_SEQUENCE_VALUE PAYING_CUSTOMER_ID

PAYING_SITE_USE_ID

NULL NUMBER(15)

RELATED_BATCH_SOURCE_ID DEFAULT_TAX_EXEMPT_FLAG

NULL NUMBER(15) NULL VARCHAR2(1)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 313

Column Descriptions Name


CREATED_FROM

(Continued)
Null? Type NOT NULL VARCHAR2(30) Description This column indicates where this record was created. It can have values such as RAXTRX (AutoInvoice), RAXMATRX (Transactions window), ARXMAECM (Credit Transactions window), EARLY_REL10 (preproduction version of r10), FORM_REL9 (r9 form). Operating Unit Identifier Date sent to data warehouse 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 Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality Reserved For Globalization Functionality

ORG_ID WH_UPDATE_DATE 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_ATTRIBUTE21 GLOBAL_ATTRIBUTE22 GLOBAL_ATTRIBUTE23 GLOBAL_ATTRIBUTE24 GLOBAL_ATTRIBUTE25

NULL NUMBER(15) NULL DATE 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 VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 314 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(30) Reserved For Globalization Functionality NULL VARCHAR2(1) Y or N indicates whether this invoice was processed by EDI NULL VARCHAR2(10) Status of the invoice (used by EDI) NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID, currency conversion rate type pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID, currency conversion date pairs NULL VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting set of books ID, currency conversion rate pairs NULL VARCHAR2(80) A number that indicates the credit card payment was authorized by Oracle Payment Server. NULL VARCHAR2(50) Payment approval code returned by credit card issuer NULL VARCHAR2(80) Credit card address verification code returned by Oracle Payment Server NULL VARCHAR2(20) If the transaction batch source option Copy Document Number to Transaction Number is set to Yes, this column stores the old transaction number.

GLOBAL_ATTRIBUTE26 GLOBAL_ATTRIBUTE27 GLOBAL_ATTRIBUTE28 GLOBAL_ATTRIBUTE29 GLOBAL_ATTRIBUTE30 GLOBAL_ATTRIBUTE_CATEGORY EDI_PROCESSED_FLAG EDI_PROCESSED_STATUS MRC_EXCHANGE_RATE_TYPE

MRC_EXCHANGE_DATE

MRC_EXCHANGE_RATE

PAYMENT_SERVER_ORDER_NUM

APPROVAL_CODE ADDRESS_VERIFICATION_CODE OLD_TRX_NUMBER

Indexes Index Name


RA_CUSTOMER_TRX_N1 RA_CUSTOMER_TRX_N10 RA_CUSTOMER_TRX_N11 RA_CUSTOMER_TRX_N12 RA_CUSTOMER_TRX_N13 RA_CUSTOMER_TRX_N14 RA_CUSTOMER_TRX_N15 RA_CUSTOMER_TRX_N16 RA_CUSTOMER_TRX_N17 RA_CUSTOMER_TRX_N18 RA_CUSTOMER_TRX_N19 RA_CUSTOMER_TRX_N2 RA_CUSTOMER_TRX_N20

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

Sequence 1 1 1 1 1 1 1 1 1 2 1 5 1 1

Column Name TRX_NUMBER PAYING_SITE_USE_ID BILL_TO_CUSTOMER_ID BATCH_ID PRINTING_LAST_PRINTED LAST_UPDATE_DATE REQUEST_ID INITIAL_CUSTOMER_TRX_ID PRINTING_PENDING TRX_DATE SHIP_TO_CUSTOMER_ID GLOBAL_ATTRIBUTE1 PURCHASE_ORDER SOLD_TO_CUSTOMER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 315

Indexes (Continued) Index Name


RA_CUSTOMER_TRX_N5 RA_CUSTOMER_TRX_N6 RA_CUSTOMER_TRX_N7 RA_CUSTOMER_TRX_N9 RA_CUSTOMER_TRX_U1

Index Type NOT NOT NOT NOT UNIQUE UNIQUE UNIQUE UNIQUE UNIQUE

Sequence 1 1 1 1 1

Column Name TRX_DATE PREVIOUS_CUSTOMER_TRX_ID CREATION_DATE PAYING_CUSTOMER_ID CUSTOMER_TRX_ID

Sequences Sequence
RA_CUSTOMER_TRX_S

Derived Column CUSTOMER_TRX_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : JG_ZZ_AR_AUTO_TRX_NUM_UPD BEFORE ROW UPDATE

This database trigger updates transaction number with a country specific number when transaction is completed. Trigger Trigger Trigger Trigger Name Time Level Event : : : : GMF_AR_CUST_TRX_AIUR_TG AFTER ROW INSERT, UPDATE

This trigger will update the status of the OPM sales order lines to INVOICED and OPM sales order to either PARTIALLY INVOICED or INVOICED after AutoInvoicing inserts a row for them in ra_customer_trx_All table. STATUSCODE STATUS 22 Partially Invoiced 23 Invoiced Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_RA_CUSTOMER_TRX_ARD1 AFTER ROW DELETE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables transactions. It fires right after a transaction is deleted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_RA_CUSTOMER_TRX_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables transactions. It fires right after a transaction is changed.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 316 Oracle Applications Global Accounting Engine Technical Reference Manual

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

AX_RA_CUSTOMER_TRX_BRI1 BEFORE ROW INSERT

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to Oracle Receivables transactions. It fires right before a transaction is created. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_AR_AR_RECT_DM_TRX_NUM_INS BEFORE ROW INSERT

Updates transaction number of the debit memo created from receipt workbench during receipt reversal. This trigger is active only if Oracle Financials for the Americas is used. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_AR_AUTO_INT_PARAM BEFORE ROW INSERT

Defaults Interest Parameters into the global attributes of RA_CUSTOMER_TRX_ALL table if a transaction is created by autoinvoice. This trigger is active only if Oracle Financials for the Americas is used. Trigger Trigger Trigger Trigger Name Time Level Event : : : : RA_MRC_CUSTOMER_TRX_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 RA_CUSTOMER_TRX_ALL. For each record being inserted/updated/deleted in RA_CUSTOMER_TRX_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, RA_MC_CUSTOMER_TRX. In addition, this trigger also populates the MRC VARCHAR2 columns in RA_CUSTOMER_TRX_ALL. Trigger Trigger Trigger Trigger Name Time Level Event : : : : JL_BR_AR_OCC_DOCS_DIS_N_OTHER AFTER ROW UPDATE

Inserts a new record in JL_BR_AR_OCCURRENCE_DOCS_ALL after update of interest parameters of an invoice which is in the bank to be collected. This trigger fires after update on global_attribute1, global_attribute1,global_attribute2, global_attribute3, and global_attribute5, fields of RA_CUSTOMER_TRX_ALL table. This trigger is active only if Oracle Financials for the Americas is used.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 317

RA_CUSTOMER_TRX_LINES_ALL
This table stores information about invoice, debit memo, credit memo, and commitment lines. For example, an invoice can have one line for Product A and another line for Product B. You need one row for each line. Invoice, debit memo, credit memo, and commitment lines are distinguished by the transaction type of the corresponding RA_CUSTOMER_TRX_ALL record. Also, credit memos are required to have a value in PREVIOUS_CUSTOMER_TRX_LINE_ID, except on account credits which are not related to specific invoices/invoice lines at creation time and will not have values in this column. QUANTITY_ORDERED stores the amount of product ordered. QUANTITY_INVOICED stores the amount of product invoiced. For invoices entered through the window, QUANTITY_ORDERED and QUANTITY_INVOICED must be the same. For invoices imported through AutoInvoice, QUANTITY_ORDERED and QUANTITY_INVOICED can be different. If you enter a credit memo, QUANTITY_CREDITED stores the amount of product credited. UOM_CODE stores the unit of measure code as defined in MTL_UNITS_OF_MEASURE. UNIT_STANDARD_PRICE stores the list price per unit for this transaction line. UNIT_SELLING_PRICE stores the selling price per unit for this transaction line. For transactions imported through AutoInvoice, UNIT_STANDARD_PRICE and UNIT_SELLING_PRICE can be different. DESCRIPTION, TAXING_RULE, QUANTITY_ORDERED, UNIT_STANDARD_PRICE, UOM_CODE, and UNIT_SELLING_PRICE are required even though they are null allowed. LINE_TYPE differentiates between the different types of lines that are stored in this table. LINE points to regular invoice lines that normally refer to an item. TAX signifies that this is a tax line. The column LINK_TO_CUST_TRX_LINE_ID references another row in this table that is the invoice line associated with the row of type TAX. FREIGHT works the same way as TAX but there you can have at most one FREIGHT type line per invoice line of type LINE. You can also have one line of type FREIGHT that has a null LINK_TO_CUST_TRX_LINE_ID (and this is referred to as header level freight). CHARGES works just like the LINE type. A line_type of CB is created for a Chargeback line. For every row in this table that belongs to a complete transaction (where RA_CUSTOMER_TRX.COMPLETE_FLAG = Y), there must be at least one row in the table RA_CUST_TRX_LINE_GL_DIST (which stores accounting information), even for nonpostable transactions. The primary key for this table is CUSTOMER_TRX_LINE_ID.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 318 Oracle Applications Global Accounting Engine Technical Reference Manual

Foreign Keys Primary Key Table


AR_LOCATION_VALUES AR_MEMO_LINES_ALL_B AR_SALES_TAX AR_VAT_TAX_ALL_B GL_SETS_OF_BOOKS MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_LINES_ALL RA_CUSTOMER_TRX_LINES_ALL RA_CUSTOMER_TRX_LINES_ALL RA_ITEM_EXCEPTION_RATES RA_RULES RA_TAX_EXEMPTIONS_ALL

Primary Key Column LOCATION_SEGMENT_ID MEMO_LINE_ID SALES_TAX_ID VAT_TAX_ID SET_OF_BOOKS_ID INVENTORY_ITEM_ID UOM_CODE CUSTOMER_TRX_ID CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID CUSTOMER_TRX_LINE_ID CUSTOMER_TRX_LINE_ID ITEM_EXCEPTION_RATE_ID RULE_ID TAX_EXEMPTION_ID

Foreign Key Column LOCATION_SEGMENT_ID MEMO_LINE_ID SALES_TAX_ID VAT_TAX_ID SET_OF_BOOKS_ID INVENTORY_ITEM_ID UOM_CODE CUSTOMER_TRX_ID PREVIOUS_CUSTOMER_TRX_ID PREVIOUS_CUSTOMER_TRX_LINE_ID INITIAL_CUSTOMER_TRX_LINE_ID LINK_TO_CUST_TRX_LINE_ID ITEM_EXCEPTION_RATE_ID ACCOUNTING_RULE_ID TAX_EXEMPTION_ID

QuickCodes Columns Column


REASON_CODE

QuickCodes Type INVOICING_REASON A/R ERROR CANCELLATION CREDIT and REBILL DUPLICATE BILLING FOREIGN FREE PRODUCT LATE PAYMENT ORDER ENTRY ERROR RETURN SALES TAX ERROR SHIPPING and HANDLING User defined WRONG FREIGHT WRONG TAX RATE

QuickCodes Table AR_LOOKUPS A/R ERROR CANCELLATION CREDIT and REBILL DUPLICATE BILLING FOREIGN FREE PRODUCT LATE PAYMENT ORDER ENTRY ERROR RETURN SALES TAX ERROR SHIPPING and HANDLING WRONG FREIGHT WRONG TAX RATE

Column Descriptions Name


CUSTOMER_TRX_LINE_ID LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN CUSTOMER_TRX_ID LINE_NUMBER SET_OF_BOOKS_ID REASON_CODE INVENTORY_ITEM_ID (PK)

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

Description

DESCRIPTION PREVIOUS_CUSTOMER_TRX_ID PREVIOUS_CUSTOMER_TRX_LINE_ID

Invoice line identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Invoice identifier Line number of the invoice Set of books identifier Reason code identifier Inventory item identifier. Mutually exclusive with the column MEMO_LINE_ID. NULL VARCHAR2(240) Line description NULL NUMBER(15) Credit memos invoice identifier NULL NUMBER(15) Credit memo lines invoice line identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 319

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER Description Quantity of an order Quantity credited Quantity of invoice line List price per unit. Price is gross of inclusive taxes. There is no separate gross standard price. Selling price per unit for a transaction line Sales order Not currently used Sales order line Sales order date Accounting rule identifier The number of periods in which revenue is to be recognized. Must be filled in for lines with fixed and variable duration rules. Receivables lookup code for STD_LINE_TYPE 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 Request identifier of last concurrent program to update this record Application identifier of last concurrent program to update this record Program identifier of last concurrent program to update this record Last update date of this record by a concurrent program Not currently used Identifies the initial transaction line for the customer Interface line context Interface line attribute value Interface line attribute value

QUANTITY_ORDERED QUANTITY_CREDITED QUANTITY_INVOICED UNIT_STANDARD_PRICE

UNIT_SELLING_PRICE SALES_ORDER SALES_ORDER_REVISION SALES_ORDER_LINE SALES_ORDER_DATE ACCOUNTING_RULE_ID ACCOUNTING_RULE_DURATION

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

LINE_TYPE ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE RULE_START_DATE INITIAL_CUSTOMER_TRX_LINE_ID INTERFACE_LINE_CONTEXT INTERFACE_LINE_ATTRIBUTE1 INTERFACE_LINE_ATTRIBUTE2

NOT NULL VARCHAR2(20) 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(15) NULL NUMBER(15) NULL DATE NULL DATE NULL NUMBER(15) NULL VARCHAR2(30) NULL VARCHAR2(30) NULL VARCHAR2(30)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 320 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NOT NULL NULL NULL VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) VARCHAR2(50) VARCHAR2(1) NUMBER NUMBER VARCHAR2(1) Description Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value The source of the sales order No longer used Transaction line amount Transaction line revenue amount Y or N indicates whether all account assignments have been created Link to transaction line identifier Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Tax precedence for a tax line Tax rate for a line Tax exception identifier Tax exemption identifier Memo line description identifier. Mutually exclusive with the column INVENTORY_ITEM_ID. Number of times revenue recognition has created distributions for the line Unit of measure code Default value for the USSGL Transaction Code Flexfield Default context value for the USSGL Transaction Code Flexfield Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value Interface line attribute value Unique identifier for AR_VAT_TAX Set to Y if this tax line was generated automatically by the tax engine Last period to credit for unit credit memos against invoices with rules Descriptive Flexfield structure defining column

INTERFACE_LINE_ATTRIBUTE3 INTERFACE_LINE_ATTRIBUTE4 INTERFACE_LINE_ATTRIBUTE5 INTERFACE_LINE_ATTRIBUTE6 INTERFACE_LINE_ATTRIBUTE7 INTERFACE_LINE_ATTRIBUTE8 SALES_ORDER_SOURCE TAXABLE_FLAG EXTENDED_AMOUNT REVENUE_AMOUNT AUTORULE_COMPLETE_FLAG LINK_TO_CUST_TRX_LINE_ID ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 TAX_PRECEDENCE TAX_RATE ITEM_EXCEPTION_RATE_ID TAX_EXEMPTION_ID MEMO_LINE_ID

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

AUTORULE_DURATION_PROCESSED UOM_CODE DEFAULT_USSGL_TRANSACTION_CODE DEFAULT_USSGL_TRX_CODE_CONTEXT INTERFACE_LINE_ATTRIBUTE10 INTERFACE_LINE_ATTRIBUTE11 INTERFACE_LINE_ATTRIBUTE12 INTERFACE_LINE_ATTRIBUTE13 INTERFACE_LINE_ATTRIBUTE14 INTERFACE_LINE_ATTRIBUTE15 INTERFACE_LINE_ATTRIBUTE9 VAT_TAX_ID AUTOTAX LAST_PERIOD_TO_CREDIT ITEM_CONTEXT

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

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 321

Column Descriptions Name


TAX_EXEMPT_FLAG

(Continued)
Null? Type NULL VARCHAR2(1) Description Tax Lines are controlled by the lookup (TAX_CONTROL_FLAG), which allows for Standard tax, Exempt Tax and Required Tax. Exemption Certificate Number, for item lines that have tax_exempt_flag set to E (exempt) Tax Exempt Reason, for item lines that have tax_exempt_flag set to E (exempt) Warning code returned during vendor calculation of a sales tax rate, used for diagnostics and support. Only applicable if the artaxvdr() returns TAX_SUCCESS Not currently used in the production release replaced by location_segment_id This column points to the record in AR_LOCATION_VALUES from which AutoAccounting derived the tax account for this line Intrastat movement ID number Operating Unit Identifier Date sent to data warehouse 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

TAX_EXEMPT_NUMBER

NULL VARCHAR2(80)

TAX_EXEMPT_REASON_CODE TAX_VENDOR_RETURN_CODE

NULL VARCHAR2(30) NULL VARCHAR2(30)

SALES_TAX_ID LOCATION_SEGMENT_ID

NULL NUMBER(15) NULL NUMBER(15)

MOVEMENT_ID ORG_ID WH_UPDATE_DATE 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

NULL NULL NULL NULL

NUMBER(15) NUMBER(15) DATE 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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 322 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type Description NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(150) Reserved For Globalization Functionality NULL VARCHAR2(30) Reserved For Globalization Functionality NULL NUMBER Unit selling price inclusive of tax amounts NULL NUMBER Amount gross of inclusive tax amounts NULL VARCHAR2(1) Y indicates tax is inclusive; N indicates tax is exclusive; NULL for lines indicates tax is notoverrideable or tax is a tax group; cannot be NULL for tax types; must be NULL for other types. NULL NUMBER The taxable amount for lines of type Tax that are taxinclusive. NULL NUMBER(15) Foreign key to HR_ORGANIZATIONS. The warehouse identifies the shipfrom location and can be used to control taxation. Within the US, the Warehouse ID is important when calculating tax on the Origin/Modified Origin state sales tax (outside the US you can use Tax Groups and Conditions to build a schedule of multiple conditional taxes based on both the shipfrom and shipto County/County/State or Provinces). NULL VARCHAR2(240) Translated description of this transaction line.

GLOBAL_ATTRIBUTE18 GLOBAL_ATTRIBUTE19 GLOBAL_ATTRIBUTE20 GLOBAL_ATTRIBUTE_CATEGORY GROSS_UNIT_SELLING_PRICE GROSS_EXTENDED_AMOUNT AMOUNT_INCLUDES_TAX_FLAG

TAXABLE_AMOUNT WAREHOUSE_ID

TRANSLATED_DESCRIPTION

Indexes Index Name


RA_CUSTOMER_TRX_LINES_N1 RA_CUSTOMER_TRX_LINES_N2 RA_CUSTOMER_TRX_LINES_N3 RA_CUSTOMER_TRX_LINES_N4 RA_CUSTOMER_TRX_LINES_N5 RA_CUSTOMER_TRX_LINES_N6 RA_CUSTOMER_TRX_LINES_N7 RA_CUSTOMER_TRX_LINES_N8 RA_CUSTOMER_TRX_LINES_N9 RA_CUSTOMER_TRX_LINES_U1

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

Sequence 1 2 1 2 1 2 1 1 1 1 2 1

Column Name PREVIOUS_CUSTOMER_TRX_LINE_ID LINE_NUMBER CUSTOMER_TRX_ID LINE_NUMBER LINK_TO_CUST_TRX_LINE_ID REQUEST_ID PREVIOUS_CUSTOMER_TRX_ID AUTORULE_COMPLETE_FLAG SALES_TAX_ID ITEM_EXCEPTION_RATE_ID SALES_ORDER CUSTOMER_TRX_LINE_ID

Sequences Sequence
RA_CUSTOMER_TRX_LINES_S

Derived Column CUSTOMER_TRX_LINE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 323

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

The trigger validates that the attribute710 have values in them. This is only done if this is a credit memo line for a OPM invoice and the transaction type attribute10 indicates a return to inventory.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 324 Oracle Applications Global Accounting Engine Technical Reference Manual

RA_CUST_TRX_LINE_GL_DIST_ALL
This table stores the accounting records for revenue, unearned revenue and unbilled receivables for each invoice or credit memo line. Each row includes the GL account and the amount of the accounting entry. The AMOUNT column in this table is required even though it is null allowed. You need one row for each accounting distribution. You must have at least one (but you can have multiple) accounting distributions for each invoice or credit memo line. Oracle Receivables uses this information to post the proper amounts to your general ledger. If your invoice or credit memo has a transaction type where Post to GL is set to No, Oracle Receivables assigns Null to GL_DATE. If your AutoAccounting is unable to complete your general ledger default accounts using the AutoAccounting rules you define, incomplete general ledger accounts are stored in CONCATENATED_SEGMENTS. If you are importing a transaction through AutoInvoice and the general ledger date of your transaction is in a closed accounting period, AutoInvoice uses the general ledger date of the first open accounting period and stores the original general ledger date in ORIGINAL_GL_DATE. ACCOUNT_CLASS defines which type of distribution row you are on. The ACCOUNT_CLASS REC represents the receivable account and is for the total amount of the invoice. There can be at most two REC rows. One that has a ACCOUNT_SET_FLAG set to Y and the other has ACCOUNT_SET_FLAG set to N. Use LATEST_REC_FLAG to join to the later of the two rows. ACCOUNT_SET_FLAG is Y if this row is part of an account set. An account set is a set of rows that represent a model distribution. Account sets are used for invoices with rules. The rows represent how the actual distribution rows should be created and what percentage of the actual distribution should be allocated to each account. For invoices with rules, the distributions are not created when the invoice is initially created. Instead, the invoices are created when the Revenue Recognition program is run. The primary key for this table is CUST_TRX_LINE_GL_DIST_ID.
Foreign Keys Primary Key Table
AR_POSTING_CONTROL GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_LINES_ALL RA_CUST_TRX_LINE_SALESREPS_ALL

Primary Key Column POSTING_CONTROL_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID CUST_TRX_LINE_SALESREP_ID

Foreign Key Column POSTING_CONTROL_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID CUST_TRX_LINE_SALESREP_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 325

Column Descriptions Name


CUST_TRX_LINE_GL_DIST_ID CUSTOMER_TRX_LINE_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN PERCENT AMOUNT GL_DATE GL_POSTED_DATE CUST_TRX_LINE_SALESREP_ID COMMENTS ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE CONCATENATED_SEGMENTS ORIGINAL_GL_DATE POST_REQUEST_ID (PK)

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

Description Revenue distribution identifier Invoice line identifier Account identifier Set of books identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Percent of the line amount represented by this record Amount of this record in the foreign currency General Ledger date Date posted Salesrep credit identifier Comment about the revenue distribution 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 Request identifier of last concurrent program to update this record Application identifier of last concurrent program to update this record Program identifier of last concurrent program to update this record Last update date of this record by a concurrent program Revenue account Expected accounting date Posting batch identifier

NULL NUMBER NULL NULL NULL NULL DATE DATE NUMBER(15) VARCHAR2(240)

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(15) NULL NUMBER(15) NULL DATE NULL VARCHAR2(240) NULL DATE NULL NUMBER(15)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 326 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL NUMBER(15) Description Receivables posting batch identifier: 1 means the record was posted by the old posting program (ARXGLP); 2 means it was posted from old Release 8 Revenue Accounting; 3 means it was not posted; 4 means it was posted by the Release 9 RAPOST program. VARCHAR2(20) Account type Freight, Receivable, Revenue, AutoInvoice Clearing, Tax, Unbilled Receivable, Unearned Revenue, or Charges NUMBER(15) No longer used NUMBER(15) Transaction identifier VARCHAR2(1) Y or N indicates whether this is an account set record NUMBER Amount of this record in the functional currency VARCHAR2(30) USSGL Transaction Code Flexfield Segment column VARCHAR2(30) Context value for the USSGL Transaction Code Flexfield VARCHAR2(150) Descriptive Flexfield Segment column VARCHAR2(150) Descriptive Flexfield Segment column VARCHAR2(150) Descriptive Flexfield Segment column VARCHAR2(150) Descriptive Flexfield Segment column VARCHAR2(150) Descriptive Flexfield Segment column VARCHAR2(1) This column identifies the latest record in this table with an account_class of REC. It can have the following values: Ylatest REC record; Nnot the latest REC record; nullnot an REC record. One Y exists for all customer_trx_ids. NUMBER(15) Operating Unit Identifier VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, account type pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, transaction identifier pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, amount of the distribution pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, posted date for reporting book(s) pairs VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, receivables posting batch identifier pairs

POSTING_CONTROL_ID

ACCOUNT_CLASS

NOT NULL

RA_POST_LOOP_NUMBER CUSTOMER_TRX_ID ACCOUNT_SET_FLAG ACCTD_AMOUNT USSGL_TRANSACTION_CODE USSGL_TRANSACTION_CODE_CONTEXT ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 LATEST_REC_FLAG

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

ORG_ID MRC_ACCOUNT_CLASS MRC_CUSTOMER_TRX_ID MRC_AMOUNT

NULL NULL NULL NULL

MRC_GL_POSTED_DATE

NULL

MRC_POSTING_CONTROL_ID

NULL

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 327

Column Descriptions Name


MRC_ACCTD_AMOUNT

(Continued)
Null? Type Description NULL VARCHAR2(2000) MRC only: Concatenated string of reporting set of books ID, the amount in reporting currency(s) pairs NULL NUMBER(15) Code combination ID for collected tax account (used if the tax is deferred) NULL VARCHAR2(240) Concatenated segments for the collected tax account.

COLLECTED_TAX_CCID COLLECTED_TAX_CONCAT_SEG

Indexes Index Name


RA_CUST_TRX_LINE_GL_DIST_N1 RA_CUST_TRX_LINE_GL_DIST_N2 RA_CUST_TRX_LINE_GL_DIST_N3 RA_CUST_TRX_LINE_GL_DIST_N5 RA_CUST_TRX_LINE_GL_DIST_N6

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

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

Column Name CUSTOMER_TRX_LINE_ID ACCOUNT_SET_FLAG GL_DATE GL_DATE ACCOUNT_CLASS LATEST_REC_FLAG CUST_TRX_LINE_SALESREP_ID POSTING_CONTROL_ID GL_DATE CUSTOMER_TRX_ID ACCOUNT_CLASS LATEST_REC_FLAG CODE_COMBINATION_ID REQUEST_ID CUST_TRX_LINE_GL_DIST_ID

RA_CUST_TRX_LINE_GL_DIST_N7 RA_CUST_TRX_LINE_GL_DIST_U1

NOT UNIQUE UNIQUE

Sequences Sequence
RA_CUST_TRX_LINE_GL_DIST_S

Derived Column CUST_TRX_LINE_GL_DIST_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_CUST_TRX_LINE_GL_ARU2 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger captures accounting events related to Oracle Receivables transactions. It executes when an accounting distribution lines GL_DATE is changed. This is used to create events in the AX_EVENTS table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_CUST_TRX_LINE_GL_ARDI1 AFTER ROW INSERT, DELETE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 328 Oracle Applications Global Accounting Engine Technical Reference Manual

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger may insert/update/delete rows in the AX_DOCUMENT_STATUSES and AX_EVENTS tables. This trigger captures accounting events related to accounting distribution lines for Oracle Receivables invoice or credit memos. It executes when an accounting distribution line is created or deleted. Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_CUST_TRX_LINE_GL_ARU1 AFTER ROW UPDATE

This trigger captures information needed to create subledger accounting events when Oracle Receivables and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger captures accounting events related to Oracle Receivables transaction distribution lines. It executes when an accounting distribution lines posting control identifier is changed. This is used to update the unposted line count in the AX_DOCUMENT_STATUSES table. Trigger Trigger Trigger Trigger Name Time Level Event : : : : RA_CUST_TRX_LINE_GL_DIST_BRI BEFORE ROW INSERT

When a record is inserted into RA_CUST_TRX_LINE_GL_DIST_ALL, the column latest_rec_flag is updated to Y whenever account_class = REC. Trigger Trigger Trigger Trigger Name Time Level Event : : : : RA_MRC_TRX_LINE_GL_DIST_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 RA_CUST_TRX_LINE_GL_DIST_ALL. For each record being inserted/updated/deleted in RA_CUST_TRX_LINE_GL_DIST_ALL, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, RA_MC_TRX_LINE_GL_DIST. In addition, this trigger also populates the MRC VARCHAR2 columns in RA_CUST_TRX_LINE_GL_DIST_ALL.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 329

RA_CUST_TRX_TYPES_ALL
This table stores information about each transaction type used for invoices, commitments and credit memos. Each row includes AutoAccounting information as well as standard defaults for the resulting invoices. POST_TO_GL stores Y for Yes and N for No to indicate whether this transaction can post to your general ledger. ACCOUNTING_AFFECT_FLAG stores Y for Yes and N for No to indicate whether this transaction can update your open receivables balances. If this is Y, you can see this transaction in your agings. TYPE contains INV for invoices, CM for credit memos, DM for debit memos, DEP for deposits, and GUAR for guarantees. If AutoAccounting is based on transaction type, GL_ID_REV, GL_ID_FREIGHT, and GL_ID_REC store the default revenue, freight, and receivables accounts. STATUS and CREDIT_MEMO_TYPE_ID are required even though they are null allowed. The primary key for this table is CUST_TRX_TYPE_ID.
Foreign Keys Primary Key Table
GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_CODE_COMBINATIONS GL_SETS_OF_BOOKS RA_CUST_TRX_TYPES_ALL RA_CUST_TRX_TYPES_ALL RA_TERMS_B

Primary Key Column CODE_COMBINATION_ID CODE_COMBINATION_ID CODE_COMBINATION_ID SET_OF_BOOKS_ID CUST_TRX_TYPE_ID CUST_TRX_TYPE_ID TERM_ID

Foreign Key Column GL_ID_REV GL_ID_FREIGHT GL_ID_REC SET_OF_BOOKS_ID CREDIT_MEMO_TYPE_ID SUBSEQUENT_TRX_TYPE_ID DEFAULT_TERM

QuickCodes Columns Column


TYPE

QuickCodes Type INV/CM CB CM DEP DM GUAR INV PMT

QuickCodes Table AR_LOOKUPS Chargeback Credit Memo Deposit Debit Memo Guarantee Invoice Receipt

Column Descriptions Name


CUST_TRX_TYPE_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN POST_TO_GL

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

Description Transaction type identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Y or N indicates whether transactions should be posted to the General Ledger

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 330 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(1) NULL NUMBER(15) NULL VARCHAR2(30) NULL VARCHAR2(20) NULL VARCHAR2(80) NULL VARCHAR2(20) NULL NUMBER(15) NOT NULL VARCHAR2(20) NOT NULL VARCHAR2(20) NULL NULL NULL NULL NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15) Description Y or N indicates whether transactions affect open receivable balances Transaction type identifier of subsequent credit memos Transaction type status flag. Lookup code for CODE_STATUS Transaction type name Transaction type description Transaction Class, could be one of: INV,CM,DM,GUAR,DEP,CB Term to default for invoices of this type Printing option to default for invoices of this type Status to default for invoices of this type Revenue Account identifier Freight Account identifier Receivables Account identifier Invoice type for invoices related to a commitment of this type Set of books identifier 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 Y or N indicates whether freight is allowed with the transaction Y or N indicates whether applications can exceed the transaction amount Determines allowable signs for transactions Transaction type end date Clearing Account identifier Tax Account identifier Unbilled Account identifier Unearned Account identifier Transaction type start date

ACCOUNTING_AFFECT_FLAG CREDIT_MEMO_TYPE_ID STATUS NAME DESCRIPTION TYPE DEFAULT_TERM DEFAULT_PRINTING_OPTION DEFAULT_STATUS GL_ID_REV GL_ID_FREIGHT GL_ID_REC SUBSEQUENT_TRX_TYPE_ID SET_OF_BOOKS_ID ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ALLOW_FREIGHT_FLAG ALLOW_OVERAPPLICATION_FLAG CREATION_SIGN END_DATE GL_ID_CLEARING GL_ID_TAX GL_ID_UNBILLED GL_ID_UNEARNED START_DATE

NULL NUMBER(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) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(1) NOT NULL VARCHAR2(30) NULL NULL NULL NULL NULL NOT NULL DATE NUMBER(15) NUMBER(15) NUMBER(15) NUMBER(15) DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 331

Column Descriptions Name

(Continued)
Null? Type NOT NULL VARCHAR2(1) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NULL VARCHAR2(150) NOT NULL VARCHAR2(1) Description Y or N indicates whether tax is allowed on transactions Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Descriptive Flexfield Segment column Yes or No flag indicates whether you want to restrict the direction in which items with this transaction type can be updated by applications entered against them 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

TAX_CALCULATION_FLAG ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 NATURAL_APPLICATION_ONLY_FLAG

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

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)

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 332 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


RULE_SET_ID

(Continued)
Null? Type NULL NUMBER Description Application rule set ID for this transaction type

Indexes Index Name


RA_CUST_TRX_TYPES_U1

Index Type UNIQUE

Sequence 1 3

Column Name CUST_TRX_TYPE_ID ORG_ID

Sequences Sequence
RA_CUST_TRX_TYPES_S

Derived Column CUST_TRX_TYPE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 333

RCV_PARAMETERS
RCV_PARAMETERS stores receiving options for each organization in which you want to be able to receive items. The table contains one row for each organization.
Foreign Keys Primary Key Table
RCV_ROUTING_HEADERS

Primary Key Column ROUTING_HEADER_ID

Foreign Key Column RECEIVING_ROUTING_ID

QuickCodes Columns Column


ENFORCE_SHIP_TO_LOCATION_CODE

QuickCodes Type RECEIVING CONTROL LEVEL NONE REJECT WARNING

QuickCodes Table 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 No Receiving Control Enforced Prevent Receipt of Goods or Services Display Warning Message

QTY_RCV_EXCEPTION_CODE

RECEIVING CONTROL LEVEL NONE REJECT WARNING

RECEIPT_DAYS_EXCEPTION_CODE

RECEIVING CONTROL LEVEL NONE REJECT WARNING

Column Descriptions Name


ORGANIZATION_ID (PK) LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATED_LOGIN QTY_RCV_TOLERANCE QTY_RCV_EXCEPTION_CODE ENFORCE_SHIP_TO_LOCATION_CODE ALLOW_EXPRESS_DELIVERY_FLAG DAYS_EARLY_RECEIPT_ALLOWED DAYS_LATE_RECEIPT_ALLOWED RECEIPT_DAYS_EXCEPTION_CODE RECEIVING_ROUTING_ID ALLOW_SUBSTITUTE_RECEIPTS_FLAG ALLOW_UNORDERED_RECEIPTS_FLAG

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

Description Organization identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Receiving quantity tolerance Receiving quantity tolerance exception level Shipto location control exception level Allow express delivery of items Number of days allowed for an early receipt Number of days allowed for a late receipt Receipt days exception level Routing header identifier Allow receipt of substitute items Allow receipt of unordered items

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 334 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(1) NUMBER NUMBER NUMBER DATE NUMBER VARCHAR2(1) VARCHAR2(150) Description Use blind receiving Standard Who column Standard Who column Standard Who column Standard Who column Receiving account identifier Allow cascade delivery of items 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 This field holds the action to be taken when the user selects a purchase order shipment even though an Advance Shipment Notice (ASN) exists Code for receipt number generation Manual or Automatic Type of numbers being generated for manual setting Numeric or Alphanumeric Number for the next receipt

BLIND_RECEIVING_FLAG REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE RECEIVING_ACCOUNT_ID ALLOW_CASCADE_TRANSACTIONS 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 RECEIPT_ASN_EXISTS_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(30) NULL VARCHAR2(30)

USER_DEFINED_RECEIPT_NUM_CODE MANUAL_RECEIPT_NUM_TYPE NEXT_RECEIPT_NUM

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 335

Indexes Index Name


RCV_PARAMETERS_U1

Index Type UNIQUE

Sequence 1

Column Name ORGANIZATION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 336 Oracle Applications Global Accounting Engine Technical Reference Manual

RCV_TRANSACTIONS
RCV_TRANSACTIONS stores historical information about receiving transactions that you have performed. When you enter a receiving transaction and the receiving transaction processor processes your transaction, the transaction is recorded in this table. Once a row has been inserted into this table, it will never be updated. When you correct a transaction, the net transaction quantity is maintained in RCV_SUPPLY. The original transaction quantity does not get updated. You can only delete rows from this table using the Purge feature of Oracle Purchasing.
Foreign Keys Primary Key Table
BOM_RESOURCES GL_DAILY_CONVERSION_TYPES HR_LOCATIONS_ALL MTL_ITEM_LOCATIONS MTL_MATERIAL_TRANSACTIONS MTL_SECONDARY_INVENTORIES MTL_TRANSACTION_REASONS MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL MTL_UNITS_OF_MEASURE_TL ORG_DEPARTMENTS PO_DISTRIBUTIONS_ALL PO_HEADERS_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL PO_RELEASES_ALL PO_REQUISITION_LINES_ALL PO_REQ_DISTRIBUTIONS_ALL PO_VENDORS PO_VENDOR_SITES_ALL RCV_ROUTING_HEADERS RCV_ROUTING_STEPS RCV_SHIPMENT_HEADERS RCV_SHIPMENT_LINES RCV_TRANSACTIONS WIP_ENTITIES WIP_LINES WIP_OPERATIONS

Primary Key Column RESOURCE_ID CONVERSION_TYPE LOCATION_ID INVENTORY_LOCATION_ID ORGANIZATION_ID TRANSACTION_ID SECONDARY_INVENTORY_NAME ORGANIZATION_ID REASON_ID UNIT_OF_MEASURE UNIT_OF_MEASURE UOM_CODE UNIT_OF_MEASURE DEPARTMENT_CODE ORGANIZATION_ID PO_DISTRIBUTION_ID PO_HEADER_ID PO_LINE_ID LINE_LOCATION_ID PO_RELEASE_ID REQUISITION_LINE_ID DISTRIBUTION_ID VENDOR_ID VENDOR_SITE_ID ROUTING_HEADER_ID ROUTING_STEP_ID SHIPMENT_HEADER_ID SHIPMENT_LINE_ID TRANSACTION_ID WIP_ENTITY_ID ORGANIZATION_ID LINE_ID ORGANIZATION_ID WIP_ENTITY_ID ORGANIZATION_ID OPERATION_SEQ_NUM REPETITIVE_SCHEDULE_ID

Foreign Key Column BOM_RESOURCE_ID CURRENCY_CONVERSION_TYPE LOCATION_ID LOCATOR_ID ORGANIZATION_ID INV_TRANSACTION_ID SUBINVENTORY ORGANIZATION_ID REASON_ID UNIT_OF_MEASURE PRIMARY_UNIT_OF_MEASURE UOM_CODE SOURCE_DOC_UNIT_OF_MEASURE DEPARTMENT_CODE ORGANIZATION_ID PO_DISTRIBUTION_ID PO_HEADER_ID PO_LINE_ID PO_LINE_LOCATION_ID PO_RELEASE_ID REQUISITION_LINE_ID REQ_DISTRIBUTION_ID VENDOR_ID VENDOR_SITE_ID ROUTING_HEADER_ID ROUTING_STEP_ID SHIPMENT_HEADER_ID SHIPMENT_LINE_ID PARENT_TRANSACTION_ID WIP_ENTITY_ID ORGANIZATION_ID WIP_LINE_ID ORGANIZATION_ID WIP_ENTITY_ID ORGANIZATION_ID WIP_OPERATION_SEQ_NUM WIP_REPETITIVE_SCHEDULE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 337

Foreign Keys (Continued) Primary Key Table


WIP_OPERATION_RESOURCES

Primary Key Column WIP_ENTITY_ID ORGANIZATION_ID OPERATION_SEQ_NUM RESOURCE_SEQ_NUM REPETITIVE_SCHEDULE_ID REPETITIVE_SCHEDULE_ID ORGANIZATION_ID

Foreign Key Column WIP_ENTITY_ID ORGANIZATION_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM WIP_REPETITIVE_SCHEDULE_ID WIP_REPETITIVE_SCHEDULE_ID ORGANIZATION_ID

WIP_REPETITIVE_SCHEDULES

QuickCodes Columns Column


DESTINATION_TYPE_CODE

QuickCodes Type RCV DESTINATION TYPE EXPENSE INVENTORY MULTIPLE RECEIVING SHOP FLOOR INSPECTION STATUS ACCEPTED NOT INSPECTED REJECTED SHIPMENT SOURCE DOCUMENT TYPE INVENTORY PO REQ RCV TRANSACTION TYPE ACCEPT CORRECT DELIVER MATCH RECEIVE REJECT RETURN TO RECEIVING RETURN TO VENDOR SHIP TRANSFER UNORDERED

QuickCodes Table PO_LOOKUP_CODES Expense Inventory Multiple Receiving Shop Floor PO_LOOKUP_CODES Accepted Not Inspected Rejected PO_LOOKUP_CODES Inventory PO Req PO_LOOKUP_CODES Accept items following an inspection Correct a previous transaction entry Deliver a shipment of items to the requestor Match unordered items to a purchase order Receive a shipment of items Reject items following an inspection Return delivered items to receiving Return Items to the supplier Intransit shipment or internal order Transfer items between receiving locations Receive items without matching to a source document

INSPECTION_STATUS_CODE

SOURCE_DOCUMENT_CODE

TRANSACTION_TYPE

Column Descriptions Name


TRANSACTION_ID (PK)

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

Description Receiving transaction unique identifier Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column

LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 338 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE VARCHAR2(25) DATE NUMBER VARCHAR2(25) NUMBER Description Standard Who column Standard Who column Standard Who column Standard Who column Receiving transaction type Transaction date Transaction quantity Transaction unit of measure Receipt shipment header unique identifier Receipt shipment line unique identifier Userentered or automatically generated transaction Interface transaction source Interface transaction source line Inventory transaction unique identifier Source document type Destination type Transaction quantity in terms of the items primary unit of measure Item primary unit of measure Abbreviated unit of measure code Receiver unique identifier Parent receiving transaction unique identifier Purchase order header unique identifier Purchase order release unique identifier Purchase order line unique identifier Purchase order shipment unique identifier Purchase order distribution unique identifier Purchase order revision number Requisition line unique identifier Unit price at time of receipt Source document foreign currency Foreign currency conversion type Currency conversion rate Currency conversion date Receiving routing unique identifier Not currently used Requestor unique identifier Deliverto location unique identifier Supplier unique identifier Supplier site unique identifier

REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE TRANSACTION_TYPE TRANSACTION_DATE QUANTITY UNIT_OF_MEASURE SHIPMENT_HEADER_ID SHIPMENT_LINE_ID USER_ENTERED_FLAG INTERFACE_SOURCE_CODE INTERFACE_SOURCE_LINE_ID INV_TRANSACTION_ID SOURCE_DOCUMENT_CODE DESTINATION_TYPE_CODE PRIMARY_QUANTITY PRIMARY_UNIT_OF_MEASURE UOM_CODE EMPLOYEE_ID PARENT_TRANSACTION_ID PO_HEADER_ID PO_RELEASE_ID PO_LINE_ID PO_LINE_LOCATION_ID PO_DISTRIBUTION_ID PO_REVISION_NUM REQUISITION_LINE_ID PO_UNIT_PRICE CURRENCY_CODE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_RATE CURRENCY_CONVERSION_DATE ROUTING_HEADER_ID ROUTING_STEP_ID DELIVER_TO_PERSON_ID DELIVER_TO_LOCATION_ID VENDOR_ID VENDOR_SITE_ID

NOT NOT NOT NOT NOT

NOT NULL NUMBER NOT NULL VARCHAR2(1) NULL VARCHAR2(25) NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(25) NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(3) NULL NUMBER(9) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(15) NULL VARCHAR2(30) NULL NUMBER NULL DATE NULL NUMBER NULL NUMBER NULL NUMBER(9) NULL NUMBER NULL NUMBER NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 339

Column Descriptions Name


ORGANIZATION_ID SUBINVENTORY LOCATOR_ID WIP_ENTITY_ID

(Continued)
Null? Type NULL NUMBER NULL VARCHAR2(10) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(25) NULL VARCHAR2(1) NULL VARCHAR2(25) NULL VARCHAR2(25) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL VARCHAR2(25) VARCHAR2(30) VARCHAR2(30) VARCHAR2(240) 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 Description Destination organization unique identifier Destination subinventory name Destination locator unique identifier WIP job or repetitive assembly identifier WIP line identifier WIP repetitive schedule identifier WIP operation sequence number within a routing WIP resource sequence number BOM resource unique identifier Receiving location unique identifier Substitute or unordered receipt indicator Receipt exception indicator Quality inspection status Receiving transaction accrual status Quality inspection code Supplier lot number RMA reference number Receiver comments 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 Requisition distribution unique identifier WIP department name Transaction reason unique identifier Destination descriptive flexfield context Locator flexfield context Release 9 inspection transaction indicator Source document unit of measure Transaction quantity in terms of the source documents unit of measure Original interface transaction unique identifier

WIP_LINE_ID WIP_REPETITIVE_SCHEDULE_ID WIP_OPERATION_SEQ_NUM WIP_RESOURCE_SEQ_NUM BOM_RESOURCE_ID LOCATION_ID SUBSTITUTE_UNORDERED_CODE RECEIPT_EXCEPTION_FLAG INSPECTION_STATUS_CODE ACCRUAL_STATUS_CODE INSPECTION_QUALITY_CODE VENDOR_LOT_NUM RMA_REFERENCE COMMENTS ATTRIBUTE_CATEGORY ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 REQ_DISTRIBUTION_ID DEPARTMENT_CODE REASON_ID DESTINATION_CONTEXT LOCATOR_ATTRIBUTE CHILD_INSPECTION_FLAG SOURCE_DOC_UNIT_OF_MEASURE SOURCE_DOC_QUANTITY INTERFACE_TRANSACTION_ID

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 340 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


GROUP_ID MOVEMENT_ID INVOICE_ID

(Continued)
Null? Type NULL NUMBER NULL NULL NULL NULL NULL Description Original interface group unique identifier NUMBER Movement identification number NUMBER Transaction 857 Invoice unique identifier VARCHAR2(25) Eligibility status for automated Oracle Payables invoice creation NUMBER Primary key for Oracle Quality results VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID, foreign currency conversion type pairs VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID, currency conversion date pairs VARCHAR2(2000) Multiple Reporting Currencies only: Concatenated string of reporting Set of Books ID, currency conversion rate pairs VARCHAR2(2) Code for the country of manufacture VARCHAR2(30) Indicator of whether the transaction has been processed by the Movement Statistics concurrent program NUMBER Quantity billed VARCHAR2(1) Indicator of whether the purchase order or receipt must be matched to an invoice NUMBER Amount billed by Payable. VARCHAR2(25) Indicator of whether the invoice for this transaction should be matched to the purchase order or the receipt NUMBER Sales order unique identifier NUMBER Sales order line unique identifier NUMBER Customer unique identifier NUMBER Customer site unique identifier

INVOICE_STATUS_CODE QA_COLLECTION_ID MRC_CURRENCY_CONVERSION_TYPE

MRC_CURRENCY_CONVERSION_DATE

NULL

MRC_CURRENCY_CONVERSION_RATE

NULL

COUNTRY_OF_ORIGIN_CODE MVT_STAT_STATUS

NULL NULL

QUANTITY_BILLED MATCH_FLAG AMOUNT_BILLED MATCH_OPTION

NULL NULL NULL NULL

OE_ORDER_HEADER_ID OE_ORDER_LINE_ID CUSTOMER_ID CUSTOMER_SITE_ID

NULL NULL NULL NULL

Indexes Index Name


RCV_TRANSACTIONS_N1 RCV_TRANSACTIONS_N10 RCV_TRANSACTIONS_N11 RCV_TRANSACTIONS_N12 RCV_TRANSACTIONS_N13 RCV_TRANSACTIONS_N14 RCV_TRANSACTIONS_N15 RCV_TRANSACTIONS_N16 RCV_TRANSACTIONS_N17 RCV_TRANSACTIONS_N18 RCV_TRANSACTIONS_N2 RCV_TRANSACTIONS_N3

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

Sequence 1 1 2 3 1 1 1 1 1 5 1 1 1 1

Column Name PARENT_TRANSACTION_ID WIP_ENTITY_ID WIP_LINE_ID WIP_OPERATION_SEQ_NUM INTERFACE_TRANSACTION_ID GROUP_ID EMPLOYEE_ID DELIVER_TO_PERSON_ID TRANSACTION_DATE INVOICE_STATUS_CODE OE_ORDER_HEADER_ID OE_ORDER_LINE_ID SHIPMENT_HEADER_ID SHIPMENT_LINE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 341

Indexes (Continued) Index Name


RCV_TRANSACTIONS_N4 RCV_TRANSACTIONS_N5 RCV_TRANSACTIONS_N6 RCV_TRANSACTIONS_N7 RCV_TRANSACTIONS_N8 RCV_TRANSACTIONS_U1

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

Sequence 1 1 1 1 1 1

Column Name PO_HEADER_ID PO_LINE_ID PO_LINE_LOCATION_ID REQUISITION_LINE_ID REQ_DISTRIBUTION_ID TRANSACTION_ID

Sequences Sequence
RCV_TRANSACTIONS_S

Derived Column TRANSACTION_ID

Database Triggers
Trigger Trigger Trigger Trigger Name Time Level Event : : : : AX_RCV_TRANSACTIONS_ARI1 AFTER ROW UPDATE

NEW.transaction_type IN (CORRECT, RECEIVE, RETURN TO VENDOR) AND NEW.source_document_code != INVENTORY AND NEW.destination_type_code != INVENTORY AND NEW.destination_type_code != EXPENSE This trigger captures accounting events information for the Global Accounting Engine when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. The information is used to create Global Accounting Engine accounting events. This trigger may populate the AX_EVENTS table. This trigger captures accounting events related to Oracle Purchasing receiving transactions created by the transaction processor. It executes when the transaction type is RECEIVE, CORRECT, or RETURN TO VENDOR,and the source document code is not INVENTORY and the destination type code is not EXPENSE or INVENTORY. Purpose: Capture accounting events related to a PO receiving transaction when it is created

Trigger Trigger Trigger Trigger

Name Time Level Event

: : : :

RCV_MRC_TRANSACTIONS_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 RCV_TRANSACTIONS. For each record being inserted/updated/deleted in RCV_TRANSACTIONS, this trigger inserts/updates/deletes corresponding reporting currency records in the MRC subtable, RCV_MC_TRANSACTIONS. In addition, this trigger also populates the MRC VARCHAR2 columns in RCV_TRANSACTIONS.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 342 Oracle Applications Global Accounting Engine Technical Reference Manual

SO_HEADERS_ALL
SO_HEADERS_ALL stores header information for orders in Oracle Order Order Entry/Shipping. Columns S1 through S30 store RESULT_IDs of all the cycle actions an order undergoes. Columns S1_DATE through S30_DATE store the dates on which each RESULT_ID was stored.
Foreign Keys Primary Key Table
FND_CURRENCIES ORG_FREIGHT_TL RA_CONTACTS RA_CONTACTS RA_CONTACTS RA_CUSTOMERS RA_RULES RA_SALESREPS_ALL RA_SITE_USES_ALL RA_SITE_USES_ALL RA_TERMS_B SO_AGREEMENTS_B SO_CYCLES SO_HEADERS_ALL SO_ORDER_TYPES_115_ALL SO_PRICE_LISTS_B

Primary Key Column CURRENCY_CODE FREIGHT_CODE CONTACT_ID CONTACT_ID CONTACT_ID CUSTOMER_ID RULE_ID SALESREP_ID SITE_USE_ID SITE_USE_ID TERM_ID AGREEMENT_ID CYCLE_ID HEADER_ID ORDER_TYPE_ID PRICE_LIST_ID

Foreign Key Column CURRENCY_CODE SHIP_METHOD_CODE ORDERED_BY_CONTACT_ID INVOICE_TO_CONTACT_ID SHIP_TO_CONTACT_ID CUSTOMER_ID ACCOUNTING_RULE_ID SALESREP_ID INVOICE_TO_SITE_USE_ID SHIP_TO_SITE_USE_ID TERMS_ID AGREEMENT_ID CYCLE_ID SOURCE_HEADER_ID ORDER_TYPE_ID PRICE_LIST_ID

QuickCodes Columns Column


CONVERSION_TYPE_CODE FOB_CODE

QuickCodes Type EXCHANGE_RATE_TYPE FOB BUY CUSTOMER SITE FACTORY LOAD SEL SHIP POINT User defined CASH_RECEIPT_TYPE YES_NO N Y CREDIT_CARD DEMAND_CLASS_CODE FREIGHT_TERMS YES_NO N Y ORDER_CATEGORY I

QuickCodes Table AR_LOOKUPS AR_LOOKUPS Buyer Customer Site Factory Loading Dock Seller Shipping Point AR_LOOKUPS FND_LOOKUPS No Yes OE_LOOKUPS OE_LOOKUPS OE_LOOKUPS FND_LOOKUPS No Yes SO_LOOKUPS Internal

PAYMENT_TYPE_CODE CANCELLED_FLAG

CREDIT_CARD_CODE DEMAND_CLASS_CODE FREIGHT_TERMS_CODE OPEN_FLAG

ORDER_CATEGORY

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 343

QuickCodes Columns Column

(Continued)
QuickCodes Type R RMA S QuickCodes Table Regular Return Service OE_LOOKUPS OE_LOOKUPS FND_LOOKUPS No Yes AR_LOOKUPS

SALES_CHANNEL_CODE SHIPMENT_PRIORITY_CODE SHIP_PARTIAL_FLAG

SALES_CHANNEL SHIPMENT_PRIORITY YES_NO N Y TAX_REASON

TAX_EXEMPT_REASON_CODE

Column Descriptions Name


HEADER_ID (PK) CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE ORDER_NUMBER ORDER_CATEGORY ORIGINAL_SYSTEM_SOURCE_CODE ORIGINAL_SYSTEM_REFERENCE SOURCE_HEADER_ID ORDER_TYPE_ID CYCLE_ID DATE_ORDERED OPEN_FLAG CANCELLED_FLAG CUSTOMER_ID ORDERED_BY_CONTACT_ID SHIP_TO_SITE_USE_ID SHIP_TO_CONTACT_ID INVOICE_TO_SITE_USE_ID INVOICE_TO_CONTACT_ID PURCHASE_ORDER_NUM DATE_REQUESTED_CURRENT SHIPMENT_PRIORITY_CODE SHIP_METHOD_CODE FREIGHT_TERMS_CODE

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

Description Systemgenerated ID Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Concurrent request that last updated row Application of concurrent program which last updated row Concurrent program that last updated row Last date changed by concurrent program Uservisible number of order Identifies whether the order is a regular order, return or internal sales order OrderImport source OrderImport original source order number The HEADER_ID of the order from which this order was copied Order type Order cycle this order will follow Date order was placed Indicates whether the order is open Indicates whether the entire order is canceled Soldto customer Contact that placed the order Order level shipto customer/address Contact for shipping Order level invoiceto customer/address Contact for invoicing Customer purchase order number Customer request date Shipment priority Freight carrier Freight terms

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 344 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL VARCHAR2(30) NULL VARCHAR2(1) Description Point of ownership transfer Indicates whether all items on the order must ship together or can ship separately NULL NUMBER Warehouse (Organization) NULL VARCHAR2(30) Demand class NULL VARCHAR2(240) Special shipping instructions NULL VARCHAR2(240) Special packing instructions NULL NUMBER Agreement associated with order NULL NUMBER Primary salesperson NULL VARCHAR2(30) Sales channel through which order was placed NULL NUMBER Price list for order lines NOT NULL VARCHAR2(15) Currency for the order NULL VARCHAR2(30) Currency conversion type NULL NUMBER Rate of currency conversion NULL DATE Date of currency conversion NULL NUMBER Payment terms NULL NUMBER Invoicing rule NULL NUMBER Accounting rule NULL VARCHAR2(1) Taxexempt indicator NULL VARCHAR2(80) Tax exemption certificate number NULL VARCHAR2(30) Tax exemption reason NULL VARCHAR2(30) Type of payment for order NULL NUMBER Amount being paid NULL VARCHAR2(50) Check number NULL VARCHAR2(30) Credit card name NULL VARCHAR2(50) Credit card cardholder name NULL VARCHAR2(50) Credit card number NULL DATE Credit card expiration date NULL VARCHAR2(50) Credit card approval code NULL NUMBER Operating unit which performed this transaction NULL DATE Used by Data Warehousing to determine whether any changes have occurred NULL NUMBER Standard value rule from which DATE_ORDERED is derived. NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which Order Type is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which Ordered By Contact is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived

FOB_CODE SHIP_PARTIAL_FLAG WAREHOUSE_ID DEMAND_CLASS_CODE SHIPPING_INSTRUCTIONS PACKING_INSTRUCTIONS AGREEMENT_ID SALESREP_ID SALES_CHANNEL_CODE PRICE_LIST_ID CURRENCY_CODE CONVERSION_TYPE_CODE CONVERSION_RATE CONVERSION_DATE TERMS_ID INVOICING_RULE_ID ACCOUNTING_RULE_ID TAX_EXEMPT_FLAG TAX_EXEMPT_NUM TAX_EXEMPT_REASON_CODE PAYMENT_TYPE_CODE PAYMENT_AMOUNT CHECK_NUMBER CREDIT_CARD_CODE CREDIT_CARD_HOLDER_NAME CREDIT_CARD_NUMBER CREDIT_CARD_EXPIRATION_DATE CREDIT_CARD_APPROVAL_CODE ORG_ID WH_UPDATE_DATE DATE_SVRID ENTRY_STATUS_SVRID TYPE_SVRID CUSTOMER_SVRID CONTACT_SVRID SHIP_TO_SVRID SHIP_TO_CONTACT_SVRID INVOICE_TO_SVRID INVOICE_TO_CONTACT_SVRID AGREEMENT_SVRID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 345

Column Descriptions Name


PO_NUMBER_SVRID

(Continued)
Null? Type 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 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 Description Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived Standard value rule from attribute is derived which which which which which which which which which which which which which which which which which which which which which which which which which which which which which which

REQUEST_DATE_SVRID SALESPERSON_SVRID SALES_CHANNEL_SVRID PRICE_LIST_SVRID CURRENCY_SVRID CONVERSION_TYPE_SVRID CONVERSION_DATE_SVRID CONVERSION_RATE_SVRID INVOICING_RULE_SVRID ACCOUNTING_RULE_SVRID PAYMENT_TERMS_SVRID TAX_EXEMPT_NUMBER_SVRID TAX_EXEMPT_REASON_SVRID SHIPMENT_PRIORITY_SVRID FREIGHT_CARRIER_SVRID FREIGHT_TERMS_SVRID FOB_SVRID SHIP_PARTIAL_SVRID WAREHOUSE_SVRID DEMAND_CLASS_SVRID PACKING_INSTRUCTIONS_SVRID SHIPPING_INSTRUCTIONS_SVRID PAYMENT_TYPE_SVRID PAYMENT_AMOUNT_SVRID CHECK_NUMBER_SVRID CREDIT_CARD_SVRID CREDIT_CARD_HOLDER_SVRID CREDIT_CARD_NUMBER_SVRID CREDIT_CARD_EXP_DATE_SVRID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 346 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NUMBER NULL NULL NULL NULL NULL NULL NULL NUMBER DATE NUMBER DATE NUMBER DATE NUMBER Description Standard value rule from which attribute is derived Standard value rule from which attribute is derived Entry action status column Entry action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cancel Order action status column Cancel Order action status date column Cycle action status column Cycle action status date column Complete Order action status column Complete Order action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column

CREDIT_CARD_APP_CODE_SVRID DF_SVRID S1 S1_DATE S2 S2_DATE S3 S3_DATE S4 S4_DATE S5 S5_DATE S6 S6_DATE S7 S7_DATE S8 S8_DATE S9 S9_DATE S10 S10_DATE S11 S11_DATE S12 S12_DATE S13 S13_DATE S14 S14_DATE S15 S15_DATE S16 S16_DATE S17 S17_DATE S18 S18_DATE S19 S19_DATE S20 S20_DATE S21 S21_DATE S22 S22_DATE S23 S23_DATE S24 S24_DATE

NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE 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 DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 347

Column Descriptions Name


S25 S25_DATE S26 S26_DATE S27 S27_DATE S28 S28_DATE S29 S29_DATE S30 S30_DATE CONTEXT ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 UPGRADE_FLAG

(Continued)
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 NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER 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) Description Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Descriptive flexfield structure defining 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

Indexes Index Name


SO_HEADERS_N1 SO_HEADERS_N10 SO_HEADERS_N11 SO_HEADERS_N2 SO_HEADERS_N3 SO_HEADERS_N4 SO_HEADERS_N5 SO_HEADERS_N6 SO_HEADERS_N7 SO_HEADERS_N8 SO_HEADERS_N9 SO_HEADERS_U1 SO_HEADERS_U2

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

Sequence 1 1 0 1 1 1 1 1 1 1 1 2 1 1 2

Column Name CUSTOMER_ID WH_UPDATE_DATE SHIP_TO_SITE_USE_ID OPEN_FLAG PURCHASE_ORDER_NUM INVOICE_TO_SITE_USE_ID ORIGINAL_SYSTEM_REFERENCE S1 S4 S6 ORIGINAL_SYSTEM_REFERENCE ORIGINAL_SYSTEM_SOURCE_CODE HEADER_ID ORDER_NUMBER ORDER_TYPE_ID

Sequences Sequence
SO_HEADERS_S

Derived Column HEADER_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 348 Oracle Applications Global Accounting Engine Technical Reference Manual

SO_LINES_ALL
SO_LINES_ALL stores information for all order lines in Oracle Order Entry/Shipping. Columns S1 through S30 store RESULT_IDs of all the cycle action an order line undergoes, so that you can enforce prerequisites for subsequent cycle actions. Columns S1_DATE through S30_DATE hold the dates on which each RESULT_ID was stored.
Foreign Keys Primary Key Table
BOM_BILL_OF_MATERIALS BOM_INVENTORY_COMPONENTS MTL_SYSTEM_ITEMS_B MTL_UNITS_OF_MEASURE_TL ORG_FREIGHT_TL RA_CONTACTS RA_CUSTOMER_TRX_ALL RA_CUSTOMER_TRX_LINES_ALL RA_SITE_USES_ALL RA_TERMS_B SO_AGREEMENTS_B SO_CYCLES SO_HEADERS_ALL SO_LINES_ALL SO_LINES_ALL SO_LINES_ALL SO_LINES_ALL SO_LINES_ALL SO_PRICE_LISTS_B

Primary Key Column BILL_SEQUENCE_ID COMPONENT_SEQUENCE_ID INVENTORY_ITEM_ID UOM_CODE FREIGHT_CODE CONTACT_ID CUSTOMER_TRX_ID CUSTOMER_TRX_LINE_ID SITE_USE_ID TERM_ID AGREEMENT_ID CYCLE_ID HEADER_ID LINE_ID LINE_ID LINE_ID LINE_ID LINE_ID PRICE_LIST_ID

Foreign Key Column COMPONENT_SEQUENCE_ID COMPONENT_SEQUENCE_ID INVENTORY_ITEM_ID UNIT_CODE SHIP_METHOD_CODE SHIP_TO_CONTACT_ID COMMITMENT_ID CREDIT_INVOICE_LINE_ID SHIP_TO_SITE_USE_ID TERMS_ID AGREEMENT_ID CYCLE_ID HEADER_ID LINK_TO_LINE_ID PARENT_LINE_ID SHIPMENT_SCHEDULE_LINE_ID ATO_LINE_ID SERVICE_PARENT_LINE_ID PRICE_LIST_ID

QuickCodes Columns Column


TAX_EXEMPT_REASON_CODE TRANSACTION_REASON_CODE

QuickCodes Type TAX_REASON User defined CREDIT_MEMO_REASON A/R ERROR CANCELLATION CREDIT and REBILL DUPLICATE BILLING FOREIGN FREE PRODUCT LATE PAYMENT ORDER ENTRY ERROR RETURN SALES TAX ERROR SHIPPING and HANDLING User defined WRONG FREIGHT WRONG TAX RATE YES_NO N Y

QuickCodes Table AR_LOOKUPS AR_LOOKUPS A/R ERROR CANCELLATION CREDIT and REBILL DUPLICATE BILLING FOREIGN FREE PRODUCT LATE PAYMENT ORDER ENTRY ERROR RETURN SALES TAX ERROR SHIPPING and HANDLING WRONG FREIGHT WRONG TAX RATE FND_LOOKUPS No Yes

ATO_FLAG

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 349

QuickCodes Columns Column

(Continued)
QuickCodes Type YES_NO N Y DEMAND_CLASS_CODE YES_NO N Y ITEM TYPE LINE TYPE DETAIL PARENT REGULAR YES_NO N Y METHOD AMNT PERC YES_NO N Y SHIPMENT_PRIORITY YES_NO N Y SOURCE TYPE QuickCodes Table FND_LOOKUPS No Yes OE_LOOKUPS FND_LOOKUPS No Yes OE_LOOKUPS SO_LOOKUPS Detail Parent Regular FND_LOOKUPS No Yes SO_LOOKUPS Amount Percent FND_LOOKUPS No Yes OE_LOOKUPS FND_LOOKUPS No Yes OE_LOOKUPS

CONFIGURATION_EDITED_FLAG

DEMAND_CLASS_CODE INSPECTION_REQUIRED_FLAG

ITEM_TYPE_CODE LINE_TYPE_CODE

OPTION_FLAG

PRICING_METHOD_CODE

SERVICE_COTERMINATE_FLAG

SHIPMENT_PRIORITY_CODE SHIP_MODEL_COMPLETE_FLAG

SOURCE_TYPE_CODE

Column Descriptions Name


LINE_ID (PK) CREATION_DATE CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY LAST_UPDATE_LOGIN REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE SOURCE_LINE_ID

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

Description Systemgenerated ID Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Concurrent request that last updated row Application of concurrent program which last updated row Concurrent program that last updated row Last date changed by concurrent program Systemgenerated identifier of shipment schedule parent option line from which shipment schedule line is copied Identifier of line from a source system outside of Oracle Order Management Foreign key reference to SO_HEADERS; the order to which this line belongs

NULL NUMBER NULL NUMBER NULL DATE NULL NUMBER

ORIGINAL_SYSTEM_LINE_REFERENCE HEADER_ID

NULL VARCHAR2(50) NOT NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 350 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NUMBER NULL NULL NULL NULL NOT NULL Description Systemgenerated identifier of shipment schedule parent line NUMBER Systemgenerated identifier of configuration top parent line NUMBER Systemgenerated identifier of ATO configuration top model line NUMBER Systemgenerated identifier of immediate parent component line NUMBER For internal use only VARCHAR2(30) Indicates whether line is part of a shipment schedule, top shipment schedule line, regular line, or return line VARCHAR2(1) Indicates whether line is an option in a configuration VARCHAR2(1) Indicates whether line has completed the order cycle NUMBER Foreign key reference to SO_CYCLES; determines to which cycle this line belongs NUMBER Line sequence number within the order NUMBER Inventory item NUMBER Bill of materials component (option) or bill (top model) VARCHAR2(30) Type of item VARCHAR2(1) Indicates whether line is ATO VARCHAR2(1) Indicates whether line is in a shipcomplete configuration VARCHAR2(1000) Identifier of component within an exploded bill VARCHAR2(240) Sorting sequence for a component within bill DATE Date when included items are frozen, after which date Order Management will not reexplode this bill VARCHAR2(1) Not used NUMBER Quantity ordered NUMBER Quantity cancelled VARCHAR2(3) Unit of measure NUMBER Price list VARCHAR2(30) Method used to calculate price (amount or percent) NUMBER Price list price of the item NUMBER Actual price charged to customer NUMBER Price list percent of the item (percentbased pricing only) NUMBER Percent actually charged to customer (percentbased pricing only) NUMBER Base price used for percentbased pricing DATE Used by Data Warehousing to determine whether any changes have occurred VARCHAR2(1) For returns, indicates whether item being returned is for repair

SHIPMENT_SCHEDULE_LINE_ID PARENT_LINE_ID ATO_LINE_ID LINK_TO_LINE_ID SERVICE_PARENT_LINE_ID LINE_TYPE_CODE

OPTION_FLAG OPEN_FLAG CYCLE_ID LINE_NUMBER INVENTORY_ITEM_ID COMPONENT_SEQUENCE_ID ITEM_TYPE_CODE ATO_FLAG SHIP_MODEL_COMPLETE_FLAG COMPONENT_CODE COMPONENT_SORT_CODE STANDARD_COMPONENT_FREEZE_DATE

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

CONFIGURATION_EDITED_FLAG ORDERED_QUANTITY CANCELLED_QUANTITY UNIT_CODE PRICE_LIST_ID PRICING_METHOD_CODE LIST_PRICE SELLING_PRICE LIST_PERCENT SELLING_PERCENT PERCENT_BASE_PRICE WH_UPDATE_DATE RETURN_FOR_REPAIR_FLAG

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

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 351

Column Descriptions Name


PRICING_CONTEXT

(Continued)
Null? Type 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 NULL NULL NULL NULL NULL NUMBER VARCHAR2(30) DATE NUMBER NUMBER DATE Description Pricing Attributes descriptive flexfield structure defining column Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Pricing Attributes descriptive flexfield segment Warehouse (Organization) Demand class Date planned to ship item Ship set number Quantity shipped Date requested by customer to receive item Date promised to customer to receive item Location to which line is to be shipped Person to which line is to be shipped Shipment priority Freight carrier Internal use only Commitment to apply line against Payment terms Invoicing rule Accounting rule Number of times line has been incrementally billed Quantity invoiced Current quantity outstanding to invoice

PRICING_ATTRIBUTE1 PRICING_ATTRIBUTE2 PRICING_ATTRIBUTE3 PRICING_ATTRIBUTE4 PRICING_ATTRIBUTE5 PRICING_ATTRIBUTE6 PRICING_ATTRIBUTE7 PRICING_ATTRIBUTE8 PRICING_ATTRIBUTE9 PRICING_ATTRIBUTE10 PRICING_ATTRIBUTE11 PRICING_ATTRIBUTE12 PRICING_ATTRIBUTE13 PRICING_ATTRIBUTE14 PRICING_ATTRIBUTE15 WAREHOUSE_ID DEMAND_CLASS_CODE SCHEDULE_DATE SHIP_SET_NUMBER SHIPPED_QUANTITY DATE_REQUESTED_CURRENT PROMISE_DATE SHIP_TO_SITE_USE_ID SHIP_TO_CONTACT_ID SHIPMENT_PRIORITY_CODE SHIP_METHOD_CODE AGREEMENT_ID COMMITMENT_ID TERMS_ID INVOICING_RULE_ID ACCOUNTING_RULE_ID INVOICE_COUNT INVOICED_QUANTITY QUANTITY_TO_INVOICE

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

NULL NUMBER NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 352 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


REVENUE_AMOUNT

(Continued)
Null? Type NULL NUMBER Description Unit price to invoice (prorated prices only) NULL VARCHAR2(80) Tax exemption certificate number NULL VARCHAR2(30) Tax exemption reason NULL VARCHAR2(30) Internal use only NULL VARCHAR2(30) Reason for return of item (returns only) NULL VARCHAR2(240) Internal use only NULL VARCHAR2(30) Type of line (order or invoice) to which return line is related (returns only) NULL NUMBER Order line or invoice line to which return line is related (returns only) NULL NUMBER Credit invoice line of return (returns only) NULL VARCHAR2(1) Inspection required indicator for return NULL NUMBER Internal use only NULL NUMBER Internal use only NULL NUMBER Internal use only NULL NUMBER Internal use only NULL DATE Internal use only NULL DATE Internal use only NULL VARCHAR2(1) Internal use only NULL NUMBER Internal use only NULL NUMBER Internal use only NULL DATE Not used NULL NUMBER Standard value rule from which attribute is derived NULL VARCHAR2(50) Tax code associated with a userspecified rate NULL NUMBER Operating unit which performed this transaction NULL NUMBER Standard value rule from which the line number is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived NULL NUMBER Standard value rule from which attribute is derived

TAX_EXEMPT_NUMBER TAX_EXEMPT_REASON_CODE TRANSACTION_TYPE_CODE TRANSACTION_REASON_CODE TRANSACTION_COMMENTS RETURN_REFERENCE_TYPE_CODE RETURN_REFERENCE_ID CREDIT_INVOICE_LINE_ID INSPECTION_REQUIRED_FLAG CUSTOMER_PRODUCT_ID CP_SERVICE_ID SERVICED_QUANTITY SERVICE_DURATION SERVICE_START_DATE SERVICE_END_DATE SERVICE_COTERMINATE_FLAG SERVICE_PERIOD_CONVERSION_RATE SERVICE_MASS_TXN_TEMP_ID LATEST_ACCEPTABLE_DATE LATEST_ACCEPTABLE_DATE_SVRID TAX_CODE ORG_ID NUMBER_SVRID ITEM_SVRID ORDERED_QUANTITY_SVRID UNIT_SVRID PRICING_ATTRIBUTES_SVRID LIST_PRICE_SVRID SELLING_PRICE_SVRID LIST_PERCENT_SVRID SELLING_PERCENT_SVRID WAREHOUSE_SVRID DEMAND_CLASS_SVRID SHIP_SET_NUMBER_SVRID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 353

Column Descriptions Name

(Continued)
Null? Type 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 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 Description Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived Standard value rule from which attribute is derived. Entry action status column

REQUEST_DATE_SVRID PROMISE_DATE_SVRID SCHEDULE_DATE_SVRID SHIP_TO_SVRID SHIP_TO_CONTACT_SVRID SHIPMENT_PRIORITY_SVRID FREIGHT_CARRIER_SVRID AGREEMENT_SVRID COMMITMENT_SVRID PAYMENT_TERMS_SVRID INVOICING_RULE_SVRID ACCOUNTING_RULE_SVRID TAX_EXEMPT_NUMBER_SVRID TAX_EXEMPT_REASON_SVRID TRANSACTION_TYPE_SVRID TRANSACTION_REASON_SVRID TRANSACTION_COMMENTS_SVRID RETURN_REFERENCE_TYPE_SVRID RETURN_REFERENCE_SVRID CREDIT_INVOICE_LINE_SVRID INSPECTION_REQUIRED_SVRID CUSTOMER_PRODUCT_SVRID CUSTOMER_PRODUCT_SERVICE_SVRID SERVICE_DURATION_SVRID SERVICE_START_DATE_SVRID SERVICE_END_DATE_SVRID SERVICE_PER_CONV_RATE_SVRID SERVICE_COTERMINATE_SVRID DF_SVRID TAX_CODE_SVRID S1

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 354 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name


S1_DATE S2 S2_DATE S3 S3_DATE S4 S4_DATE S5 S5_DATE S6 S6_DATE S7 S7_DATE S8 S8_DATE S9 S9_DATE S10 S10_DATE S11 S11_DATE S12 S12_DATE S13 S13_DATE S14 S14_DATE S15 S15_DATE S16 S16_DATE S17 S17_DATE S18 S18_DATE S19 S19_DATE S20 S20_DATE S21 S21_DATE S22 S22_DATE

(Continued)
Null? Type NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE 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 DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE NUMBER DATE Description Entry action status date column Pick Release action status column Pick Release action status date column Backorder Release action status column Backorder Release action status date column Ship Confirmation action status column Ship Confirmation action status date column Receivables Interface action status column Receivables Interface action status date column Complete Line action status column Complete Line action status date column Cycle action status column Cycle action status date column Inventory Interface action status column Inventory Interface action status date column Cancel Line action status column Cancel Line action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 355

Column Descriptions Name


S23 S23_DATE S24 S24_DATE S25 S25_DATE S26 S26_DATE S27 S27_DATE S28 S28_DATE S29 S29_DATE S30 S30_DATE CONTEXT ATTRIBUTE1 ATTRIBUTE2 ATTRIBUTE3 ATTRIBUTE4 ATTRIBUTE5 ATTRIBUTE6 ATTRIBUTE7 ATTRIBUTE8 ATTRIBUTE9 ATTRIBUTE10 ATTRIBUTE11 ATTRIBUTE12 ATTRIBUTE13 ATTRIBUTE14 ATTRIBUTE15 PRICING_DATE PROJECT_ID TASK_ID DEMAND_STREAM_ID

(Continued)
Null? Type NULL NULL NULL NULL NULL NUMBER DATE NUMBER DATE NUMBER Description Cycle action status column Cycle action status date column Cycle action status column Cycle action status date column Service Interface action status column Service Interface action status date column Purchase Release action status column Purchase Release action status date column Manufacturing Release action status column Manufacturing Release action status date column Demand Interface action status column Demand Interface action status date column RMA Interface action status column RMA Interface action status date column RMA Approval action status column RMA Approval action status date column Descriptive flexfield structure defining 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 Date on which list price or percent is based Project associated with this transaction Task associated with this transaction Demand source identifier from Release Accounting Intermediate shipto site use Dock code Planning production sequence number Customer item ID

NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL NUMBER NULL DATE NULL VARCHAR2(30) 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

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(50) NULL VARCHAR2(50) NULL NUMBER

INTERMEDIATE_SHIP_TO_ID CUSTOMER_DOCK_CODE PLANNING_PROD_SEQ_NUMBER CUSTOMER_ITEM_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 356 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL VARCHAR2(50) VARCHAR2(50) VARCHAR2(50) VARCHAR2(30) Description Customer job number Customer production line Vehicle ID number (VIN) Sourcing indicator (internal or external) Standard value rule from which attribute is derived Planning priority Standard value rule from which attribute is derived End item unit number Configuration item ID Autoselected quantity Selected line ID Configuration header ID Configuration number

CUSTOMER_JOB CUSTOMER_PRODUCTION_LINE CUSTOMER_MODEL_SERIAL_NUMBER SOURCE_TYPE_CODE SOURCE_TYPE_CODE_SVRID PLANNING_PRIORITY PLANNING_PRIORITY_SVRID END_ITEM_UNIT_NUMBER CONFIG_ITEM_ID AUTO_SELECTED_QUANTITY SELECTED_LINE_ID CONFIG_HEADER_ID CONFIG_REV_NBR

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

Indexes Index Name


SO_LINES_N1 SO_LINES_N10 SO_LINES_N11 SO_LINES_N12 SO_LINES_N13 SO_LINES_N14 SO_LINES_N15 SO_LINES_N16 SO_LINES_N17 SO_LINES_N18 SO_LINES_N19 SO_LINES_N2 SO_LINES_N20 SO_LINES_N21 SO_LINES_N22 SO_LINES_N23 SO_LINES_N24 SO_LINES_N25 SO_LINES_N26 SO_LINES_N27 SO_LINES_N28 SO_LINES_N29 SO_LINES_N3 SO_LINES_N4 SO_LINES_N5 SO_LINES_N6 SO_LINES_N7 SO_LINES_N8 SO_LINES_N9 SO_LINES_U1

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

Sequence 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Column Name HEADER_ID S5 S6 S8 S9 S28 S29 S30 PARENT_LINE_ID SHIPMENT_SCHEDULE_LINE_ID ATO_LINE_ID LINK_TO_LINE_ID SERVICE_PARENT_LINE_ID SHIP_TO_SITE_USE_ID SOURCE_LINE_ID ORIGINAL_SYSTEM_LINE_REFERENCE RETURN_REFERENCE_ID S27 CREDIT_INVOICE_LINE_ID S25 WH_UPDATE_DATE DEMAND_STREAM_ID OPEN_FLAG COMMITMENT_ID INVENTORY_ITEM_ID REQUEST_ID S2 S3 S4 LINE_ID

Sequences Sequence
SO_LINES_S

Derived Column LINE_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 357

WIP_TRANSACTIONS
WIP_TRANSACTIONS stores information about WIP resource transactions. Each row represents a single resource transaction and includes a unique transaction Identifier, a transaction date, the job or repetitive schedule charged, the WIP operation and resource charges, and the number of units of measure applied. Oracle Work in Process uses this information to track resource charges and to calculate the values stored in WIP_TRANSACTION_ACCOUNTS.
Foreign Keys Primary Key Table
BOM_DEPARTMENTS BOM_RESOURCES CST_ACTIVITIES MTL_SYSTEM_ITEMS_B MTL_TRANSACTION_REASONS ORG_ACCT_PERIODS PO_HEADERS_ALL PO_LINES_ALL RCV_TRANSACTIONS WIP_ENTITIES WIP_LINES WIP_MOVE_TRANSACTIONS

Primary Key Column DEPARTMENT_ID RESOURCE_ID ACTIVITY_ID INVENTORY_ITEM_ID ORGANIZATION_ID REASON_ID ACCT_PERIOD_ID ORGANIZATION_ID PO_HEADER_ID PO_LINE_ID TRANSACTION_ID WIP_ENTITY_ID LINE_ID TRANSACTION_ID

Foreign Key Column DEPARTMENT_ID RESOURCE_ID ACTIVITY_ID PRIMARY_ITEM_ID ORGANIZATION_ID REASON_ID ACCT_PERIOD_ID ORGANIZATION_ID PO_HEADER_ID PO_LINE_ID RCV_TRANSACTION_ID WIP_ENTITY_ID LINE_ID TRANSACTION_ID

QuickCodes Columns Column


AUTOCHARGE_TYPE

QuickCodes Type BOM_AUTOCHARGE_TYPE 1 2 3 4 CST_BASIS 1 2 3 4 5 6 WIP_TRANSACTION_TYPE 1 2 3 4 5 6

QuickCodes Table MFG_LOOKUPS WIP move Manual PO receipt PO move MFG_LOOKUPS Item Lot Resource Units Resource Value Total Value Activity MFG_LOOKUPS Resource transaction Overhead transaction Outside processing Cost update Period close variance Job close variance

BASIS_TYPE

TRANSACTION_TYPE

Column Descriptions Name


TRANSACTION_ID (PK)

Null? Type NOT NULL NUMBER

Description Transaction Identifier

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 358 Oracle Applications Global Accounting Engine Technical Reference Manual

Column Descriptions Name

(Continued)
Null? Type NOT NOT NOT NOT NULL NULL NULL NULL NULL NOT NULL NOT NULL DATE NUMBER DATE NUMBER NUMBER NUMBER NUMBER Description Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Organization Identifier WIP job or repetitive assembly Identifier Inventory item Identifier of the assembly that the job or schedule creates Accounting period Identifier Department Identifier Transaction type Date transaction was performed Transaction group Identifier WIP line Identifier Code of the source system that generated the transaction record (null if created by Oracle Work in Process) Identifier used by the source system that generated the transaction record (null if created by Oracle Work in Process) Operation sequence number within a routing Resource requirement sequence number Employee Identifier Resource requirement Identifier Method of charging the resource Determines whether or not the resource is charged at the standard rate Rate per assembly or amount per job/schedule Basis for charging the resource requirement Transaction quantity Unit of measure used in the transaction Quantity transacted expressed in the primary unit of measure Primary unit of measure Actual rate of the resource requirement Standard rate of the resource requirement Currency code used in the transaction Date of the currency conversion Currency conversion type used for the transaction Currency conversion rate used for the transaction Actual resource rate converted for the currency code Activity Identifier

LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ORGANIZATION_ID WIP_ENTITY_ID PRIMARY_ITEM_ID ACCT_PERIOD_ID DEPARTMENT_ID TRANSACTION_TYPE TRANSACTION_DATE GROUP_ID LINE_ID SOURCE_CODE

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

SOURCE_LINE_ID

NULL NUMBER

OPERATION_SEQ_NUM RESOURCE_SEQ_NUM EMPLOYEE_ID RESOURCE_ID AUTOCHARGE_TYPE STANDARD_RATE_FLAG USAGE_RATE_OR_AMOUNT BASIS_TYPE TRANSACTION_QUANTITY TRANSACTION_UOM PRIMARY_QUANTITY PRIMARY_UOM ACTUAL_RESOURCE_RATE STANDARD_RESOURCE_RATE CURRENCY_CODE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_RATE CURRENCY_ACTUAL_RESOURCE_RATE ACTIVITY_ID

NULL NUMBER NULL NUMBER NULL NULL NULL NULL NUMBER NUMBER NUMBER NUMBER

NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(3) NULL NUMBER NULL VARCHAR2(3) NULL NUMBER NULL NUMBER NULL VARCHAR2(15) NULL DATE NULL VARCHAR2(10) NULL NUMBER NULL NUMBER NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 359

Column Descriptions Name


REASON_ID REFERENCE

(Continued)
Null? Type Description NULL NUMBER Reason Identifier NULL VARCHAR2(240) Transaction reference descriptive text NULL NUMBER Move transaction Identifier NULL NUMBER Purchase order header Identifier NULL NUMBER Purchase order line Identifier NULL NUMBER Receiving transaction Identifier 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 Enhanced Who column NULL NUMBER Enhanced Who column NULL NUMBER Enhanced Who column NULL DATE Enhanced Who column NULL NUMBER Identifier of the cost update process that updated the record NULL VARCHAR2(1) Flag to indicate if costs have been collected for project manufacturing NULL NUMBER Group identifier used for collecting costs for project manufacturing NULL NUMBER Project Identifier NULL NUMBER Project task Identifier NULL NUMBER Originating completion transaction in MTL_MATERIAL_TRANSACTIONS

MOVE_TRANSACTION_ID PO_HEADER_ID PO_LINE_ID RCV_TRANSACTION_ID 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 COST_UPDATE_ID PM_COST_COLLECTED PM_COST_COLLECTOR_GROUP_ID PROJECT_ID TASK_ID COMPLETION_TRANSACTION_ID

Indexes Index Name


WIP_TRANSACTIONS_N1 WIP_TRANSACTIONS_N2 WIP_TRANSACTIONS_N3 WIP_TRANSACTIONS_N4 WIP_TRANSACTIONS_N5 WIP_TRANSACTIONS_U1

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

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

Column Name WIP_ENTITY_ID TRANSACTION_DATE CREATION_DATE TRANSACTION_ID COST_UPDATE_ID WIP_ENTITY_ID PM_COST_COLLECTED PM_COST_COLLECTOR_GROUP_ID PRIMARY_ITEM_ID ORGANIZATION_ID TRANSACTION_ID

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 360 Oracle Applications Global Accounting Engine Technical Reference Manual

Sequences Sequence
WIP_TRANSACTIONS_S WIP_TRANSACTIONS_S

Derived Column TRANSACTION_ID GROUP_ID

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

This trigger captures information needed to create subledger accounting events when Oracle Inventory and the set of books used is defined as a subledger in the Global Accounting Engine application. This trigger captures accounting events related to WIP resource transactions. It executes when an outside resource transaction is created and the source is from a receiving system. It populates the AX_EVENTS table.

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 361

WIP_TRANSACTION_ACCOUNTS
WIP_TRANSACTION_ACCOUNTS stores the accounting information for each resource transaction in WIP_TRANSACTIONS. These two tables are joined by the column TRANSACTION_ID, and contain at least two account rows for every resource transaction (unless the resource is uncosted). Each row represents a debit or a credit accounting entry, and the sum of all rows for a given transaction Identifier should be zero. Each row includes the account, transaction date, transaction value, purpose (ACCOUNTING_LINE_TYPE), and the source of the charges (the job or repetitive schedule). The TRANSACTION_VALUE and BASE_TRANSACTION_VALUE are transferred to the GL_INTERFACE table through the period close or GL transfer (INTCGL) process. Until this process is run, the GL_BATCH_ID is set to 1. Oracle Work in Process uses the information in this table to track the financial impact of resource transactions.
Foreign Keys Primary Key Table
BOM_RESOURCES CST_ACTIVITIES GL_CODE_COMBINATIONS ORG_GL_BATCHES WIP_DISCRETE_JOBS WIP_ENTITIES WIP_REPETITIVE_SCHEDULES WIP_TRANSACTIONS

Primary Key Column RESOURCE_ID ACTIVITY_ID CODE_COMBINATION_ID ORGANIZATION_ID GL_BATCH_ID WIP_ENTITY_ID WIP_ENTITY_ID REPETITIVE_SCHEDULE_ID TRANSACTION_ID

Foreign Key Column RESOURCE_ID ACTIVITY_ID REFERENCE_ACCOUNT ORGANIZATION_ID GL_BATCH_ID WIP_ENTITY_ID WIP_ENTITY_ID REPETITIVE_SCHEDULE_ID TRANSACTION_ID

QuickCodes Columns Column


ACCOUNTING_LINE_TYPE

QuickCodes Type CST_ACCOUNTING_LINE_TYPE 1 10 11 12 13 14 15 2 3 4 5 6 7 8 9 99

QuickCodes Table MFG_LOOKUPS Inv valuation Interorg receivables Interorg transfer credit Interorg freight charge Average cost variance Intransit Inventory Encumbrance Reversal Account Overhead absorption Resource absorption Receiving Inspection Purchase price variance or rate variance WIP valuation WIP variance Interorg payables Unknown MFG_LOOKUPS Item

BASIS_TYPE

CST_BASIS 1

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 362 Oracle Applications Global Accounting Engine Technical Reference Manual

QuickCodes Columns Column

(Continued)
QuickCodes Type 2 3 4 5 6 QuickCodes Table Lot Resource Units Resource Value Total Value Activity

Column Descriptions Name


TRANSACTION_ID REFERENCE_ACCOUNT LAST_UPDATE_DATE LAST_UPDATED_BY CREATION_DATE CREATED_BY LAST_UPDATE_LOGIN ORGANIZATION_ID TRANSACTION_DATE WIP_ENTITY_ID REPETITIVE_SCHEDULE_ID ACCOUNTING_LINE_TYPE TRANSACTION_VALUE

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

Description Transaction Identifier Transaction reference account Standard Who column Standard Who column Standard Who column Standard Who column Standard Who column Organization Identifier Date transaction was performed Charged entity Identifier (job or schedule number) WIP repetitive schedule Identifier Purpose or description for the accounting entry Accounting value in the transaction currency(NULL if the transaction is in the base currency) Accounting value in the base currency Offset account Identifier Transaction quantity for the accounting row Resource requirement or overhead rate/amount for the transaction based on the COST_ELEMENT_ID Basis for charging the resource requirement Resource requirement or subelement Identifier Cost element Identifier Activity Identifier Currency code used in the transaction Currency conversion date for the transaction Currency conversion type for the transaction Currency conversion rate for the transaction The resource requirement value or resource units the overhead is based upon Resource requirement Identifier for the resource overhead is based on Source General Ledger transaction journal entry batch

NULL NUMBER NULL NUMBER NULL NUMBER

BASE_TRANSACTION_VALUE CONTRA_SET_ID PRIMARY_QUANTITY RATE_OR_AMOUNT

NOT NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER

BASIS_TYPE RESOURCE_ID COST_ELEMENT_ID ACTIVITY_ID CURRENCY_CODE CURRENCY_CONVERSION_DATE CURRENCY_CONVERSION_TYPE CURRENCY_CONVERSION_RATE OVERHEAD_BASIS_FACTOR BASIS_RESOURCE_ID GL_BATCH_ID

NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER NULL VARCHAR2(15) NULL DATE NULL VARCHAR2(10) NULL NUMBER NULL NUMBER NULL NUMBER NULL NUMBER

Oracle Proprietary, Confidential InformationUse Restricted by Contract


Detailed Design 3 363

Column Descriptions Name

(Continued)
Null? Type NULL NULL NULL NULL NULL NUMBER NUMBER NUMBER DATE NUMBER Description Enhanced Who column Enhanced Who column Enhanced Who column Enhanced Who column Identifier linking to GL_INTERFACE during GL transfer

REQUEST_ID PROGRAM_APPLICATION_ID PROGRAM_ID PROGRAM_UPDATE_DATE GL_SL_LINK_ID

Indexes Index Name


WIP_TRANSACTION_ACCOUNTS_N1 WIP_TRANSACTION_ACCOUNTS_N2 WIP_TRANSACTION_ACCOUNTS_N3 WIP_TRANSACTION_ACCOUNTS_N4

Index Type NOT UNIQUE NOT UNIQUE NOT UNIQUE NOT UNIQUE

Sequence 1 2 1 1 2 4 6

Column Name TRANSACTION_ID REFERENCE_ACCOUNT REFERENCE_ACCOUNT WIP_ENTITY_ID GL_BATCH_ID ORGANIZATION_ID TRANSACTION_DATE

Oracle Proprietary, Confidential InformationUse Restricted by Contract


3 364 Oracle Applications Global Accounting Engine Technical Reference Manual

Index
A
Application Building Block, 1 7

Form List, 2 24 See also Form Definitions Forms and Table View List, 2 19

G
GLOBAL_ATTRIBUTE columns, 3 6

C
Column descriptions, 3 4 Columns, Who, 3 4 Concurrent Program List, 2 24 See also Concurrent Program Definitions countryspecific localizations, 3 6

I
Indexes, 3 6 important note about, 3 6 Internal View List, 2 21

L
Lookup types. See QuickCodes

D
Database Diagram, 1 7 Summary Database Diagram, 1 7 Database Diagrams Global Accounting Engine Summary Database Diagram, 2 8 Translator Program Definition, 2 11 database diagrams conventions, 2 6 summary, 2 5 Database triggers, 3 7

M
Module List, 2 24 See also Module Definitions Modules, 1 7 MultiLingual View List, 2 23

O
Oracle8 sequences. See Sequences

F
Foreign keys, 3 3 Form, 1 8

P
Public Table List, 2 12 Public View List, 2 17

Index 1

Q
QuickCodes, 1 8 Columns that contain, 3 3

R
Relationship, 1 7 Report List, 2 24 See also Report Definitions

S
Sequences, 3 6 Single Organization View List, 2 22 summary database diagram. See database diagrams

T
Table and View Definitions AP_ACCOUNTING_EVENTS_ALL, 3 8 AP_AE_HEADERS_ALL, 3 9 AP_AE_LINES_ALL, 3 11 AP_BANK_ACCOUNTS_ALL, 3 14 AP_BANK_BRANCHES, 3 19 AP_CHECK_STOCKS_ALL, 3 31 AP_CHECKS_ALL, 3 23 AP_DUPLICATE_VENDORS_ALL, 3 34 AP_INVOICE_DISTRIBUTIONS_ALL, 3 44 AP_INVOICE_PAYMENTS_ALL, 3 57 AP_INVOICES_ALL, 3 36 AP_SYSTEM_PARAMETERS_ALL, 3 62 AR_ADJUSTMENTS_ALL, 3 72 AR_CASH_RECEIPT_HIST ORY_ALL, 3 85 AR_CASH_RECEIPTS_ALL, 3 78 AR_DISTRIBUTIONS_ALL, 3 90 AR_MISC_CASH_DISTRIBUTIONS_ALL, 3 93 AR_RECEIPT_METHOD_ACCOUNTS_ALL , 3 99 AR_RECEIPT_METHODS, 3 96

AR_RECEIVABLE_APPLICATIONS_ALL, 3 106 AR_RECEIVABLES_TRX_ALL, 3 103 AR_SYSTEM_PARAMETERS_ALL, 3 115 AR_VAT_TAX_ALL_B, 3 121 AX_AP_ACCOUNTING_EVENTS_ALL_V , 3 125 AX_AP_AE_HEADERS_ALL_V, 3 127 AX_AP_AE_LINES_ALL_V, 3 129 AX_AP_CHECK_ASSET_V, 3 132 AX_AP_TAXABLE_V, 3 134 AX_AR_RACTLA_RACTLGDA_V, 2 21 AX_ARITHMETIC_EXPR, 3 135 AX_BALANCES, 3 137 AX_BALANCES_SRS_V, 2 21 AX_CLAUSES, 3 140 AX_COLUMNS_V, 2 19 AX_CONDITIONS, 3 142 AX_CONTEXT_TABLES_V, 2 19 AX_CST_ACTUAL_COST_DET AILS_V1, 2 21 AX_CST_COST_DETAILS_V1, 3 144 AX_CST_ITEM_COST_DETAILS_V1, 3 145 AX_CST_QUANTITY_LAYERS_V1, 3 146 AX_CST_QUANTITY_LAYERS_V2, 2 21 AX_CST_TXN_COST_DETAILS_V1, 2 21 AX_DISTRIB_HEADERS, 3 147 AX_DISTRIB_PLANS, 3 148 AX_DOCUMENT_STATUSES, 3 149 AX_EVENT_CATEGORY_V, 2 19 AX_EVENT_MAPPINGS, 3 154 AX_EVENT_TYPES, 3 156 AX_EVENT_TYPES_V, 2 19 AX_EVENTS, 3 152 AX_EVENTS_V1, 2 19 AX_ID_HASH_RESULTS, 3 158 AX_INTERNAL_LOOKUPS, 2 21 AX_IT_AR_CMAPPTRX_V, 2 21 AX_IT_FND_DOCSEQ_V, 2 21 AX_JOURNAL_ENTRY_LINES_V, 2 19 AX_LOOKUPS, 3 159 AX_MC_AP_TAXABLE_V, 2 21 AX_MC_AR_RACTLA_RACTLGDA_V , 2 21 AX_MC_TABLES, 3 160

Index 2

Oracle Applications Global Accounting Engine Technical Reference Manual

AX_MTL_CATEGORY_ACCOUNTS_V1, 3 161 AX_MTL_CATEGORY_ACCOUNTS_V2, 2 21 AX_MTL_INTERORG_PARAMETERS_V1, 2 21 AX_MTL_ITEM_CATEGORIES_V1, 2 21 AX_MTL_SECONDARY_INV_V1, 3 163 AX_MTL_SECONDARY_INV_V2, 2 21 AX_MTL_SYSTEM_ITEMS_KFV_V2, 3 164 AX_NPI_ACCOUNTS_V1, 2 19 AX_ORGS_SOBS_V, 2 19 AX_ORGS_SUBS_V, 2 19 AX_PERIOD_STATUSES, 3 165 AX_POSTING_CTRL, 3 166 AX_PURGE_RUNS, 3 167 AX_QUERY_CHAINS, 3 168 AX_QUERY_CHAINS_V, 2 19 AX_QUERY_TABLES, 3 169 AX_QUERY_TABLES_V, 2 19 AX_RCV_TRANSACTIONS_V1, 2 21 AX_RCV_TRANSACTIONS_V2, 2 21 AX_REPORT_PARAMETERS, 3 170 AX_RULE_CATEGORY, 3 172 AX_RULE_LINES, 3 173 AX_RULES, 3 171 AX_RULES_V, 2 21 AX_SCHEME_CONTEXTS_V, 2 19 AX_SECONDARY_INVENTORY, 3 174 AX_SETUP_BOOKS, 3 175 AX_SETUP_BOOKS_V, 2 19 AX_SETUP_GLOBAL, 3 176 AX_SETUP_INV_ORG_PROCS, 3 178 AX_SETUP_INV_ORG_PROCS_V, 2 19 AX_SETUP_POSTING_BOOKS, 3 180 AX_SETUP_POSTING_BOOKS_V, 2 19 AX_SETUP_SUBLEDGERS, 3 182 AX_SETUP_SUBLEDGERS_V, 2 19 AX_SLE_HEADERS, 3 184 AX_SLE_HEADERS_ARCH, 3 186 AX_SLE_HEADERS_V, 2 19 AX_SLE_LINES, 3 188 AX_SLE_LINES_ARCH, 3 192 AX_SLE_LINES_V, 2 19 AX_STRUCTURES, 3 196 AX_SUBLEDGERS, 3 198

AX_SUBS_V, 3 199 AX_TABLES_V, 2 19 AX_TAX_CODES_V, 3 201 AX_TEMP_OUT, 3 202 AX_THIRD_PARTIES_SUBS_V, 2 21 AX_THIRD_PARTIES_V, 3 203 AX_TRANS_PROGRAMS, 3 205 AX_TRANS_PROGRAMS_V, 2 19 AX_TRANS_SCHEMES, 3 206 AX_TRANS_SCHEMES_V, 2 19 AX_TRIAL_BALANCE_FORM_V, 2 19 AX_VARIANCE_STATUSES, 3 208 AX_VARIANCES, 3 207 AX_WIP_JOBS_V1, 2 21 AX_WIP_TRANSACTION_ACCOUNTS_V1 , 2 21 CST_COST_GROUPS_V, 2 20 CST_COST_TYPES_V, 2 20 FINANCIALS_SYSTEM_PARAMS_ALL, 3 209 FND_APPLICATION_VL, 2 23 FND_LANGUAGES_VL, 2 23 FND_LOOKUP_TYPES_VL, 2 23 FND_LOOKUP_VALUES_VL, 2 23 GL_CODE_COMBINATIONS, 3 213 GL_INTERFACE, 3 218 GL_INTERFACE_CONTROL, 3 222 GL_JE_LINES, 3 223 GL_PERIOD_STATUSES, 3 227 GL_SETS_OF_BOOKS, 3 229 GL_SUSPENSE_ACCOUNTS, 3 233 MTL_CATEGORY_ACCOUNTS, 3 234 MTL_CATEGORY_SETS_B, 3 236 MTL_INTERORG_PARAMETERS, 3 238 MTL_ITEM_CATEGORIES, 3 241 MTL_MATERIAL_TRANSACTIONS, 3 243 MTL_PARAMETERS, 3 250 MTL_SYSTEM_ITEMS_B, 3 256 MTL_SYSTEM_ITEMS_B_KFV, 2 21 MTL_TRANSACTION_ACCOUNTS, 3 276 MTL_TRANSACTION_TYPES, 3 279 ORG_ACCT_PERIODS, 3 281 ORG_ORGANIZATION_DEFINITIONS, 2 20 PO_DISTRIBUTIONS_ALL, 3 283 PO_LINES_ALL, 3 290

Index 3

PO_VENDOR_SITES_ALL, 3 296 RA_CUST_TRX_LINE_GL_DIST_ALL, 3 325 RA_CUST_TRX_TYPES_ALL, 3 330 RA_CUSTOMER_MERGES, 3 306 RA_CUSTOMER_TRX, 2 22 RA_CUSTOMER_TRX_ALL, 3 309 RA_CUSTOMER_TRX_LINES, 2 22 RA_CUSTOMER_TRX_LINES_ALL, 3 318 RA_CUSTOMERS, 3 301 RCV_PARAMETERS, 3 334 RCV_TRANSACTIONS, 3 337 SO_HEADERS_ALL, 3 343 SO_LINES_ALL, 3 349 WIP_TRANSACTION_ACCOUNTS, 3 362 WIP_TRANSACTIONS, 3 358

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 7

Index 4

Oracle Applications Global Accounting Engine Technical Reference Manual

Index 5

Index 6

Oracle Applications Global Accounting Engine Technical Reference Manual

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.

*A81267-01* *A81267-01*

A8126701

Copy #

Вам также может понравиться