11 Project API
11 Project API
June 2004
Oracle Projects APIs, Client Extentions, and Open Interfaces Reference Release 11i
Part No. B12427–01
Copyright E 1994, 2004, Oracle. All rights reserved.
Author: Janet Buchbinder
Major Contributing Authors: Guriqpal S. Gill, Stephen A. Gordon, Halina Matyla, Matthew Ness, Juli Anne
Tolley
Contributors: Sakthivel Balasubramanian, Sandeep Bharathan, Peter Budelov, B.P. Chandrasekaran, Neeraj
Garg, Srikanth Goteti, Ramesh Krishnamurthy, Jeanne Lowell, Manish Malhotra, Nikhil Mishra, Cedric Ng,
Johnson Paulraj, Fiona Purves, Subramanian Venkataraman
The Programs (which include both the software and documentation) contain proprietary information; they are
provided under a license agreement containing restrictions on use and disclosure and are also protected by
copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or
decompilation of the Programs, except to the extent required to obtain interoperability with other independently
created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in the
documentation, please report them to us in writing. This document is not warranted to be error–free. Except as
may be expressly permitted in your license agreement for these Programs, no part of these Programs may be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS
Programs, software, databases, and related documentation and technical data delivered to U.S. Government
customers are ”commercial computer software” or ”commercial technical data” pursuant to the applicable Federal
Acquisition Regulation and agency–specific supplemental regulations. As such, use, duplication, disclosure,
modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the
licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the
additional rights set forth in FAR 52.227–19, Commercial Computer Software––Restricted Rights (June 1987).
Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065.
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee’s responsibility to take all appropriate fail–safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
The Programs may provide links to Web sites and access to content, products, and services from third parties.
Oracle is not responsible for the availability of, or any content provided on, third–party Web sites. You bear all
risks associated with the use of such content. If you choose to purchase any products or services from a third
party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of
third–party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including
delivery of products or services and warranty obligations related to purchased products or services. Oracle is not
responsible for any loss or damage of any sort that you may incur from dealing with any third party.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of
their respective owners.
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
PART I OVERVIEW
Contents iii
Chapter 3 Oracle Project Foundation APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–1
Project APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–2
Record and Table Datatypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
Project API Procedure Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 21
Using Project APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 68
Creating a Project Using the Load–Execute–Fetch APIs . . . . . . . . 3 – 76
User–Defined Attribute APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 84
Structure APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 120
Resource APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 124
Resource API Procedure Definitions . . . . . . . . . . . . . . . . . . . . . . . . 3 – 127
Contents v
Provider and Receiver Organizations Override Extension . . . . . 9 – 81
Cross–Charge Processing Method Override Extension . . . . . . . . 9 – 83
Transfer Price Determination Extension . . . . . . . . . . . . . . . . . . . . . 9 – 86
Transfer Price Override Extension . . . . . . . . . . . . . . . . . . . . . . . . . . 9 – 89
Transfer Price Currency Conversion Override Extension . . . . . . 9 – 92
Internal Payables Invoice Attributes Override Extension . . . . . . 9 – 94
Glossary
Index
Contents vii
viii Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Preface
Welcome to Release 11i of the Oracle Projects APIs, Client Extensions, and
Open Interfaces Reference.
This guide contains the information you need to implement, maintain,
and use the APIs, client extensions, and open interfaces that are
available when you use Oracle Projects.
• Part I: Overview
– Chapter 1, Overview of Oracle Projects APIs, Client
Extensions, and Open Interfaces, gives a general description
of application programming interfaces (APIs), client
extensions, and open interfaces, and their use in Oracle
Projects.
• Part II: Oracle Projects APIs
– Chapters 2 through 6 give descriptions of the application
programming interfaces (APIs) that are available in Oracle
Projects. Chapter 2 is an overview of Oracle Projects APIs.
The subsequent chapters in this section include descriptions
of APIs, and instructions for using them:
– Chapter 3: Oracle Project Foundation APIs
– Chapter 4: Oracle Project Costing APIs
– Chapter 5 Oracle Project Billing APIs
– Chapter 6: Oracle Project Management APIs.
• Part III: Oracle Projects Client Extensions
Preface ix
– Chapter 7 is an overview of Oracle Projects client
extensions. The subsequent chapters in this section include
descriptions of the client extensions and instructions for
using them:
– Chapter 8: Oracle Project Foundation client extensions
– Chapter 9: Oracle Project Costing client extensions
– Chapter 10 Oracle Project Billing client extensions
– Chapter 11: Oracle Project Resource Management client
extensions
– Chapter 12: Oracle Project Management client extensions.
• Part IV: Oracle Projects Open Interfaces
– Chapter 13, Oracle Projects Open Interfaces, describes the
Transaction Import Open Interface.
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting
documentation accessible, with good usability, to the disabled
community. To that end, our documentation includes features that
make information available to users of assistive technology. This
documentation is available in HTML format, and contains markup to
facilitate access by the disabled community. Standards will continue to
evolve over time, and Oracle is actively engaged with other
market–leading technology vendors to address technical obstacles so
that our documentation can be accessible to all of our customers. For
additional information, visit the Oracle Accessibility Program Web site
at
http://www.oracle.com/accessibility/
Online Documentation
All Oracle Applications documentation is available online (HTML or
PDF).
• Online Help – Online help patches (HTML) are available on
OracleMetaLink.
• About Documents – Refer to the About Document for the
mini–pack or family pack that you have installed to learn about
new documentation or documentation patches that you can
download. About Documents are available on OracleMetaLink.
Preface xi
Oracle Projects Documentation Set
Preface xiii
Oracle Payables User Guide
Refer to this manual to learn how to use Invoice Import to create
invoices in Oracle Payables from Oracle Projects expense reports data
in the Oracle Payables interface tables. This manual also explains how
to define suppliers, and how to specify supplier and employee
numbering schemes for invoices created using Oracle Projects.
Preface xv
Oracle Applications System Administrator’s Guide
This guide provides planning and reference information for the Oracle
Applications System Administrator. It contains information on how to
define security, customize menus and online help, and manage
concurrent processing.
Preface xvii
Oracle Applications User Interface Standards
for Forms–Based Products
This guide contains the user interface (UI) standards followed by the
Oracle Applications development staff. It describes the UI for the
Oracle Applications products and tells you how to apply this UI to the
design of an application built by using Oracle Forms.
Training
Oracle offers a complete set of training courses to help you and your
staff master Oracle Projects and reach full productivity quickly. These
courses are organized into functional learning paths, so you take only
those courses appropriate to your job or area of responsibility.
You have a choice of educational environments. You can attend
courses offered by Oracle University at any of our many Education
Centers, you can arrange for our trainers to teach at your facility, or
you can use Oracle Learning Network (OLN), Oracle University’s
online education utility. In addition, Oracle training professionals can
tailor standard courses or develop custom courses to meet your needs.
For example, you may want to use your organization structure,
Support
From on–site support to central support, our team of experienced
professionals provides the help and information you need to keep
Oracle Projects working for you. This team includes your Technical
Representative, Account Manager, and Oracle’s large staff of
consultants and support specialists with expertise in your business
area, managing an Oracle server, and your hardware and software
environment.
Preface xix
About Oracle
Oracle provides 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
software modules for financial management, supply chain
management, manufacturing, project systems, human resources
management and customer relationship 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 world’s leading supplier of software for information
management, and the world’s 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.
Your Feedback
Thank you for using Oracle Projects and this implementation guide.
Oracle values your comments and feedback. At the end of this guide is
a Reader’s Comment Form you can use to explain what you like or
dislike about Oracle Projects or this implementation guide. Mail your
comments to the following address or contact your Support
representative.
Oracle Applications Documentation Manager
Oracle
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
1 Overview of Oracle
Projects APIs, Client
Extensions, and Open
Interfaces
1–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Oracle Projects Open Interfaces
An open interface is a public API that enables you to migrate data from
an external system using an interface within the product.
Oracle Projects provides the Transaction Import open interface, which
enables you to load transactions from external cost collection systems
into Oracle Projects.
Details about the Transaction Import are provided in Section III, Oracle
Projects Open Interfaces.
2 Introduction to Oracle
Projects APIs
2–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Overview of the Oracle Projects APIs
The Oracle Projects Application Programming Interfaces (APIs) enable
you to integrate Oracle Projects with third–party systems to build a
complete management tool. You can combine the functionality of your
preferred system with the features of Oracle Projects, and then safely
share data and exchange information.
The APIs include more than 150 application programming interfaces
that:
• Perform real–time or batch sharing of data between your system
and Oracle Projects, thereby eliminating duplicate data entry
• Share business rules and workflow from one system to the other
• Share setup, project planning, resource planning, budgeting,
actuals, and progress data
Detailed descriptions of the APIs are provided in the detail chapters for
each Oracle Projects application.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Project templates with Quick Entry (overridable)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
fields
You can override some of the template’s default
values when you create a project.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Resources
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Organizations
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Calendars (both GL and PA periods)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Estimate to Complete (planned for a future release)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Actuals: cost amounts (raw and burdened),
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
commitments (raw and burdened), quantities,
revenue, PA or GL period, inception–to–date ,
Oracle Projects acts as the central repository of all
project actuals, maintains common business rules
(such as transaction controls), and collects a wide
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
period–to–date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
variety of transactions. Such transactions include
phone usage records, labor, depreciation,
commitments, usages, and expenses. Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
also performs complex cost burdening, generates
revenue, and sends summarized information to
external systems.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Table 2 – 1 Oracle Projects originating information (Page 1 of 1)
2–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
The following table illustrates the types of information that originates
in an external system (in this case, a project management system).
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects and tasks of the work breakdown structure
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
(WBS)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Budgets: Types, Time–Phased, Amounts, Quantities, Project managers can enter and baseline budgets from
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Baseline their preferred project management system or from
Oracle Projects. Accounting personnel can enter
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
budgets directly into Oracle Projects. Both types of
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
employees can draft and update their own budget
versions. Budgets created using project management
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
systems integrate with Oracle Projects’ budget
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
calculation extensions.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Schedules and schedule changes
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Task parent reassignment You can reassign a task to a different parent task as
long the reassigned task remains under the same top
task.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Percent complete: project level, WBS (any level) Once you send this information to Oracle Projects, you
can use billing extensions to produce progress
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
billings. You can view this information in Oracle
Projects using the project status inquiry (PSI) client
extension.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Earned value progress reporting: Budgeted Cost of
Work Scheduled, Budgeted Cost of Work Performed,
You can use earned value reporting to determine cost
variance, schedule variance, and variance at
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Actual Cost of Work Performed, Budget at completion. To view this information in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Completion Projects, use the PSI client extension.
2–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Step 2 Create an Oracle Applications user
All API users must first be defined as Oracle Applications users. To
define Oracle Applications users and their required responsibilities, use
the Oracle Applications Release 11i Users window. See: Oracle
Applications System Administrator’s Guide.
For example:
start $PA_TOP/patch/115/sql/pacrgran.sql PMXFACE APPS
APPS PA PA
2–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Security Requirements
Each interface or application that you develop using the Oracle Projects
APIs must prompt users for identifying information and then set up
global variables. Follow the steps below to ensure that proper security
is enforced when users access Oracle Projects data from an external
system.
PA_BU_CORE_NO_VERSION_ID_AMG 28 A budget does not exist for this project with PROJECT_NUMBER
specified budget type.
Table 2 – 4 (Page 1 of 6)
PA_NO_BILL_TO_CONTACT_AMG 25 Active primary billing contact does not exist for PROJECT_NUMBER
the specified customer.
Table 2 – 4 (Page 2 of 6)
PA_PROJ_EVENT_EXIST_D_AMG 25 You cannot delete this project since events exist PROJECT_NUMBER
Table 2 – 4 (Page 3 of 6)
PA_PR_INVALID_START_DATE_AMG 28 Project start date must be earlier than all task PROJECT_NUMBER
start dates.
Table 2 – 4 (Page 4 of 6)
PA_TASK_IN_USE_EXTERNAL_D_AMG 26 You cannot delete this task since task references PROJECT_NUMBER,
exist. TASK__NUMBER
PA_TSK_AP_INV_EXIST_D_AMG 25 You cannot delete this task since supplier in- PROJECT_NUMBER,
voices exist. TASK__NUMBER
PA_TSK_BUDGET_EXIST_D_AMG 25 You cannot delete this task since budgets exist. PROJECT_NUMBER,
TASK__NUMBER
PA_TSK_EVENT_EXIST_D_AMG 24 You cannot delete this task since events exist. PROJECT_NUMBER,
TASK__NUMBER
Table 2 – 4 (Page 5 of 6)
Table 2 – 4 (Page 6 of 6)
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Required Description
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) Yes Set this parameter to T (True) if you want the
APIs themselves to issue the commit to the
ÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
database. Default = F (False)
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
P_INIT_MSG_LIST
ÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(1) Yes Set this parameter to T (True) if you want to
initialize the global message table. Default =
F (False)
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Yes For the current version of the APIs, this
parameter must be set to 1.0. This may
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
change in future versions of the APIs.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) The return status of the APIs. Valid values
are: S (the API completed successfully), E
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
(business rule violation error), and U
(Unexpected error, such as an Oracle error)
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Holds the number of messages in the global
message table. Calling programs should use
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
this as the basis to fetch all the stored
messages. If the value for this parameter = 1,
then the message code is available in
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA. If the value of this parameter
> 1, you must use the GET_MESSAGES API
ÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ to retrieve the messages.
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
OUT VARCHAR2(2000) Holds the message code, if the API returned
only one error/warning message. Otherwise,
the column is left blank.
GET_MESSAGES
GET_MESSAGES is a PL/SQL procedure that retrieves messages from
the message stack. If an API detects only one error during execution,
the API returns the error text via the standard API output parameter
P_MSG_DATA. If the API detects multiple errors, you must use the
GET_MESSAGES API to retrieve the messages.
The following table shows the parameters in GET_MESSAGES.
P_MSG_INDEX_OUT OUT NUMBER The index (cell) of the message in the global
message stack
GET_DEFAULTS
GET_DEFAULTS is a PL/SQL procedure that returns the default values
required to initialize the VARCHAR2, NUMBER, and DATE variables
in your programs. This API has no input parameters.
The following table shows the parameters in GET_DEFAULTS.
Default values are useful when you conditionally set a value for a
variable. For example, while updating a project, you may conditionally
set the value for the variable L_DISTRIBUTION_RULE, depending on
whether you want to update the distribution rule in Oracle Projects. To
accomplish this, you would use a PL/SQL statement similar to this:
Pa_interface_utils.get_defaults (p_def_char => l_def_char,
p_def_num => l_def_num,
p_def_date => l_def_date,
p_return_status => l_return_status,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data );
l_distribution_rule := l_def_char;
GET_ACCUM_PERIOD_INFO
GET_ACCUM_PERIOD_INFO is a PL/SQL procedure that returns
information about the last period through which the project is
summarized in Oracle Projects, as well as the current reporting period.
Use this API to see if the actuals in your external system are current
with those in Oracle Projects.
The following table shows the parameters in
GET_ACCUM_PERIOD_INFO.
A user who tries to delete the project or one of its tasks sees the
following message:
The record originated in an external system. You cannot delete it.
Note: You can specify effective dates for the controls you select
in the Control Actions window.
3 Oracle Project
Foundation APIs
View Description
PA_CLASS_CATEGORIES_LOV_V Retrieves class codes defined in Oracle Projects. You can use
the value in the display_name field (retrieved by the
PA_OVERRIDE_FIELDS_V view) to show only class codes
associated with a class category. For example:
”select code description from pa_class_categories_lov_v
where class_category = ’Funding Source’;”
3–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
View Description
PA_OVERRIDE_FIELDS_V Retrieves the prompts for Quick Entry fields associated with
a project template. For more information about this view,
see; Details about PA_OVERRIDE_FIELDS_V: page 3 – 4.
PA_OVERRIDE_FIELD_VALUES_V Retrieves the values passed to the Quick Entry fields when a
project is created
PA_SERVICE_TYPE_LOV_V Because valid service type codes must be selected for the
parameter service_type_code, you can use this view to
Retrieves valid codes for service_type_code from Oracle
Projects and display them in your external system.
PA_TASK_PROGRESS_AMG_V Retrieves information about all valid task progress for the
organization associated with the user’s responsibility.
PA_STRUCT_TASKS_AMG_V You can use this view to retrieve valid structures from Oracle
Projects and display them in your external system.
PA_STRUCT_VERSIONS_LOV_AMG_V You can use this view to retrieve valid structure versions
from Oracle Projects and display them in your external
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
1020
ÁÁÁÁÁÁÁ
1020 ÁÁÁÁÁ
NAME
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
DESCRIPTION ÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Project Name
ÁÁÁÁÁÁÁÁÁÁÁ
Project
20
30
Y
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 START_DATE Project Start 40 N
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 COMPLETION_DATE Project 50 N
Completion
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 PROJECT_STATUS_CODE Project Status 60 N PA_PROJECT_STATUS_LOV_V
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 PUBLIC_SECTOR_FLAG Public Sector 70 N
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 DISTRIBUTION_RULE
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Distribution
Rule
80 N PA_DISTRIBUTION_RULES_LOV_V
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
1020
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
CARRYING_OUT_
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ORGANIZATION_ID ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Organization 90 N PA_ORGANIZATIONS_LOV_V
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
KEY_MEMBER
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Project PROJECT 100 Y PA_KEY_MEMBERS_LOV_V
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁ
Manager MANAGER
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 KEY_MEMBER Project Project 110 N PA_KEY_MEMBERS_LOV_V
Coordinator Coordinator
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
1020
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
CLASSIFICATION
ÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Funding
Source
Funding
Source
120 Y PA_CLASS_CATEGORIES_LOV_V
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
1020 CLASSIFICATION Market Sector Market Sector 130 N PA_CLASS_CATEGORIES_LOV_V
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
1020
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
CUSTOMER_NAME
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Customer
Name
PRIMARY 140 N PA_CUSTOMERS_LOV_V
Table 3 – 2 PA_OVERRIDE_FIELDS_V for a project with all quick entry fields enabled (Page 1 of 1)
The views you use to select valid values all have CODE and
DESCRIPTION columns. Use these two columns and the value of the
field LOV_VIEW_NAME to retrieve the valid values for any Quick
Entry field. Valid values are stored in the CODE field. The table below
shows the valid values of the quick entry fields.
3–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Quick Entry Fields Valid Values
NAME
CARRYING_OUT_ PA_ORGANIZATIONS_LOV_V
ORGANIZATION_ID
PUBLIC_SECTOR_FLAG Y or N
PROJECT_STATUS_CODE PA_PROJECT_STATUS_LOV_V
DESCRIPTION
DISTRIBUTION_RULE PA_DISTRIBUTION_RULES_LOV_V
3–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Record and Table Datatypes
The record and table datatypes used in the APIs are defined on the
following pages.
PROJECT_IN_REC_TYPE Datatype
The following table shows the PROJECT_IN_REC_TYPE datatype.
Name Type required? Description
PM_PROJECT_REFERENCE VARCHAR2(25) Yes The reference code that
uniquely identifies the
project in the external
system. See Examples and
Remarks: page 3 – 21.
PA_PROJECT_ID NUMBER(15) For update The reference code that
uniquely identifies the
project in Oracle Projects
PA_PROJECT_NUMBER VARCHAR2(25) No The project number that
uniquely identifies the
project in Oracle Projects
PROJECT_NAME VARCHAR2(30) Yes Unique name of the project
uniquely identifies the
project in Oracle Projects
CREATED_FROM_PROJECT_ID NUMBER(15) Yes Number that uniquely
identifies the template from
which this project originates
CARRYING_OUT_ORGANIZATION_ID NUMBER(15) Based on The identification code of the
template setup organization responsible for
the project work
PUBLIC_SECTOR_FLAG VARCHAR2(1) Based on Flag that indicates whether
template setup this project is in the Public
or the Private sector
PROJECT_STATUS_CODE VARCHAR2(30) Based on The status of the project.
template setup Any status other than CLOSED
is considered active.
DESCRIPTION VARCHAR2(250) Based on The description of the project
template setup
START_DATE DATE Based on The date on which the project
template setup starts
COMPLETION_DATE DATE Based on The date on which the project
template setup is completed
DISTRIBUTION_RULE VARCHAR2(30) Based on The distribution rule that
template setup specifies the contract
project’s revenue accrual and
billing method
CUSTOMER_ID NUMBER(15) Based on The identification code of the
template setup project’s customer
3–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Name Type required? Description
LABOR_TP_SCHEDULE_ID NUMBER No Identifier for transfer price
schedule for cross charged
labor transactions. This is
defaulted to a project from
the project template. If
cc_process_labor_flag is set
to ’Y’, this field is
required.
LABOR_TP_FIXED_DATE DATE No Fixed date to find the
effective rate of the bill
rate or burden schedule when
determining the transfer price
for labor transactions. This
is defaulted to a project from
the project template. This
value for the project is
default for the task fixed
date. If cc_process_labor
flag is set to ’Y’, this field
is required.
CC_PROCESS_NL_FLAG VARCHAR2(1) No Flag that indicated cross
charge processing is to be
performed for non–labor
transactions charged to the
project. Defaulted value for
the project template is ’N’.
This is defaulted to a project
from the project template.
NL_TP_SCHEDULE_ID NUMBER No Identifier for transfer price
schedule for cross charged
non–transactions. This is
defaulted to a project from
the project template. If
cc_process_nl_labor flag is
set to ’Y’, this field is
required.
NL_TP_FIXED_DATE DATE No Fixed date to find the
effective rate of the bill
rate or burden schedule when
determining the transfer price
for non–labor transactions.
This is defaulted to a project
from the project template. If
cc_process_nl_flag is set
to’Y’, this field is required.
CC_TAX_TASK_ID NUMBER No Identifier of the task to
which intercompany tax items
on the intercompany AP invoice
are charged.
P_ROLE_LIST_ID NUMBER(15) No Identifier of the role list, a
list of allowable roles that
are displayed when team
members are assigned
P_WORK_TYPE_ID NUMBER(15) No Work type identifier. Work
types are predefined types of
work. For example, Vacation,
Training, and Administration.
PROJECT_OUT_REC_TYPE Datatype
The following table shows the PROJECT_OUT_REC_TYPE datatype.
Name Type Req? Description
PA_PROJECT_ID NUMBER(15) The reference code that
uniquely identifies the
project in Oracle Projects
PA_PROJECT_NUMBER VARCHAR2(25) The number that uniquely
identifies the project in
Oracle Projects
RETURN_STATUS VARCHAR2(1) API standard
PROJECT_ROLE_TBL_TYPE Datatype
The following table shows the PROJECT_ROLE_TBL_TYPE datatype.
Name Type Req? Description
PERSON_ID NUMBER(9) Based on template The identification code of
setup the employee that manages or
administers the project
PROJECT_ROLE_TYPE VARCHAR2(20) Yes, if PERSON_ID is The type of role that the
not NULL project player has on the
project
START_DATE DATE No. Project start Indicates when this person
date is the default. starts playing this role
END_DATE DATE No Indicates when this person
stops playing this role
TASK_IN_TBL_TYPE Datatype
The following table shows the TASK_IN_TBL_TYPE datatype.
Note: If you are using this datatype to update tasks for an
existing project, you must include the entire WBS structure in
the correct hierarchy.
Name Type req? Description
PM_TASK_REFERENCE VARCHAR2(25) Yes, or The reference code that
PA_TASK_ID identifies a project’s task in
is given the external system
PA_TASK_ID NUMBER(15) For update The reference code that uniquely
identifies a task within a
project in Oracle Projects
TASK_NAME VARCHAR2(20) Yes The name that uniquely identifies
a task within a project
PA_TASK_NUMBER VARCHAR2(25) Yes The number that identifies the
task in Oracle Projects. Intended
for systems that maintain a task
number in addition to a unique
task_reference.
TASK_DESCRIPTION VARCHAR2(250) No Description of the task
TASK_START_DATE DATE No The date on which the task starts
TASK_COMPLETION_DATE DATE No The date on which the task is
completed
PM_PARENT_TASK_REFERENCE VARCHAR2(25) No The reference code that
identifies the task’s parent task
in the external system
PA_PARENT_TASK_ID NUMBER For update The identification code of the
task’s parent task in Oracle
Projects
ADDRESS_ID NUMBER No The address of one of the
customers logically linked to
this task
TASK_OUT_TBL_TYPE Datatype
The following table shows the TASK_OUT_TBL_TYPE datatype.
Name Type req? Description
PA_TASK_ID NUMBER(15) The reference code that
uniquely identifies a task
within a project in Oracle
Projects
PM_TASK_REFERENCE VARCHAR2(25) The reference code that
identifies a project’s task
in the external system
RETURN_STATUS VARCHAR2(1) API standard
TASK_VERSION_ID NUMBER Task Version ID
PM_PROJECT_REFERENCE
Systems that you use to create projects in Oracle Projects assign a
unique number to every project. You can set up Oracle Projects either
to generate project numbers automatically or to support manual entry
of numbers.
When Oracle Projects is set up for automatic numbering:
• The number generated automatically by Oracle Projects is stored
in the column SEGMENT1.
• The number assigned by the external system is stored in the
column PM_PROJECT_REFERENCE.
When Oracle Projects is set up for manual numbering, the number
assigned by the external system is stored in both SEGMENT1 and
PM_PROJECT_REFERENCE.
Note: Oracle Projects windows display only SEGMENT1 as
the project number, so you should set up Oracle Projects to
support manual numbering if you plan to integrate Oracle
Projects with an external system.
DELETE_TASK
DELETE_TASK is a PL/SQL procedure used to delete tasks of a project
in Oracle Projects.
UPDATE_PROJECT
UPDATE_PROJECT is a PL/SQL procedure that updates project and
task information from your external system to Oracle Projects to reflect
changes you have made in the external system.
UPDATE_PROJECT uses composite datatypes. For more information
about composite datatypes, see APIs That Use Composite Datatypes:
page 2 – 19.
Oracle Projects imposes project– and task–level business rules that
restrict the changes you can make to project and task information. To
ensure that Oracle Projects accepts all the project or task changes you
make in your external system, review the following rules before you
make changes in your external system. You can also use the check
procedures: page 3 – 61 to identify the types of changes that Oracle
Projects supports.
Project manager A project can have only one active project manager.
New project manager If you assign a new project manager to an existing project,
the default start date for the new project manager is the
system date. The default end date for the current project
manager is the previous day.
Team members A project can have any number of team members other
than the project manager.
Team member start date If the start date of a team member other than a project
manager is not passed or passed as NULL, the start day is
derived from the project start date. When
project_start_date is NULL, the default start date for the
key member is NULL.
Task Attributes
These rules apply to task attributes:
• You cannot change any of the following task attributes to NULL:
– TASK_NAME
– PM_TASK_REFERENCE
– TASK_NUMBER
– READY_TO_BILL_FLAG
– READY_TO_DISTRIBUTE_FLAG
– CARRYING_OUT_ORGANIZATION_ID
– SERVICE_TYPE_CODE
• You can change the following task attributes without restriction:
– Task manager
– Description
– Other flags (not mentioned previously)
– Labor and non–labor data
– Schedules and rates
UPDATE_TASK
UPDATE_TASK is a PL/SQL procedure used to update existing tasks
of a project in Oracle Projects. We replaced the task record type with a
parameter that uses a standard datatype (VARCHAR2, NUMBER, and
DATE) for every field in the record type definition so you can call this
procedure directly.
CLEAR_PROJECT
CLEAR_PROJECT is a Load–Execute–Fetch procedure used to clear the
global data structures set up during the Load process.
EXECUTE_UPDATE_PROJECT
EXECUTE_UPDATE_PROJECT is a Load–Execute–Fetch procedure
used to update an existing project, including changing or adding
project data, adding new tasks, and updating existing tasks. This API
does not delete tasks; rather, it uses the data stored in the global tables
during the Load process.
To update the user–defined attributes in a project, this procedure calls
the user–defined attribute procedures. For more information, see:
User–Defined Attribute APIS: page 3 – 84.
The following table shows the parameters for
EXECUTE_UPDATE_PROJECT.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes
P_COMMIT IN VARCHAR2(1) No Default = ‘F’
FETCH_TASK
FETCH_TASK is a Load–Execute–Fetch procedure used to fetch output
parameters related to tasks.
The following table shows the parameters for FETCH_TASK.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes
P_INIT_MSG_LIST IN VARCHAR2(1) No Default = ‘F’
P_RETURN_STATUS OUT VARCHAR2(1)
P_TASK_INDEX IN NUMBER Yes
P_PA_TASK_ID OUT NUMBER(15)
P_PM_TASK_REFERENCE OUT VARCHAR2(25)
P_TASK_RETURN_STATUS OUT VARCHAR2(1)
FETCH_TASKS
FETCH_TASKS is a wrapper for FETCH_TASK to handle multiple
calls to FETCH_TASK.
The following table shows the parameters for FETCH_TASKS.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes
P_INIT_MSG_LIST IN VARCHAR2(1) No Default = ‘F’
P_RETURN_STATUS OUT VARCHAR2(1)
P_TASK_INDEX IN NUMBER Yes
P_PA_TASK_ID OUT NUMBER(15)
INIT_PROJECT
INIT_PROJECT is a Load–Execute–Fetch procedure used to set up the
global data structures. Other Load–Execute–Fetch procedures use the
structures to create a new project in Oracle Projects.
LOAD_CLASS_CATEGORY
LOAD_CLASS_CATEGORY is a Load–Execute–Fetch procedure used
to load class categories to a global PL/SQL table.
The following table shows the parameters for
LOAD_CLASS_CATEGORY.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_CLASS_CATEGORY IN VARCHAR2(30) Depends on
template setup
P_CLASS_CODE IN VARCHAR2(30) Yes, If
p_class_category
is not NULL
P_CODE_PERCENTAGE IN NUMBER No Class category percentage
LOAD_KEY_MEMBER
LOAD_KEY_MEMBER is a Load–Execute–Fetch procedure used to
load key members to a global PL/SQL table.
The following table shows the parameters for LOAD_KEY_MEMBER.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
LOAD_PROJECT
LOAD_PROJECT is a Load–Execute–Fetch procedure used to load a
project to a global PL/SQL record.
The following table shows the parameters for LOAD_PROJECT.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes
P_INIT_MSG_LIST IN VARCHAR2(1) No Default = ‘F’
P_RETURN_STATUS OUT VARCHAR2(1) No
P_PA_PROJECT_ID IN NUMBER No, used
for
update
only
P_PA_PROJECT_NUMBER IN VARCHAR2(25) No, used
for
update
only
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) Yes
P_PROJECT_NAME IN VARCHAR2(30) Yes
P_CREATED_FROM_PROJECT_ID IN NUMBER(15) Yes
P_CARRYING_OUT_ORGANIZATION_ID IN NUMBER(15) Depends
on
template
setup
P_PUBLIC_SECTOR_FLAG IN VARCHAR2(1) Depends
on
template
setup
P_PROJECT_STATUS_CODE IN VARCHAR2(30) Depends
on
template
setup
Check Procedures
The following check procedures are PL/SQL procedures used to verify
in real time that:
• Project and task information you have entered into your external
system is unique in Oracle Projects
• Certain functions, such as deleting a project or task, follow the
business rules defined in Oracle Projects
CHECK_ADD_SUBTASK_OK
Use the Check procedure CHECK_ADD_SUBTASK_OK to determine if
a subtask can be added to a parent task.
The following table shows the parameters for
CHECK_ADD_SUBTASK_OK.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ‘F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the
project in the external
system
P_PROJECT_ID IN NUMBER(15) No The reference code that
uniquely identifies the
project in Oracle Projects
P_PM_TASK_REFERENCE IN VARCHAR2(25) No The reference code that
identifies the task in the
external system
CHECK_CHANGE_PARENT_OK
Use the Check procedure CHECK_CHANGE_PARENT_OK to
determine if you can move a task from one parent task to another. You
can move a task as long as it retains the same top task.
The following table shows the parameters for
CHECK_CHANGE_PARENT_OK.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) API standard (default = ‘F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the
project in the external
system
P_PROJECT_ID IN NUMBER(15) No The reference code that
uniquely identifies the
project in Oracle Projects
P_PM_TASK_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the task
in the external system
P_TASK_ID IN NUMBER(15) No The reference code that
uniquely identifies the task
within a project in Oracle
Projects
P_NEW_PARENT_TASK_ID IN NUMBER(15) The Oracle Projects
identification code of the
new parent task
P_PM_NEW_PARENT_TASK_REFERENC IN VARCHAR2(25) The external system reference
E code of the new parent task
P_CHANGE_PARENT_OK_FLAG OUT VARCHAR2(1) Indicates whether or not this
task can be assigned to a new
parent task (Y or N)
CHECK_DELETE_PROJECT_OK
Use the Check procedure CHECK_DELETE_PROJECT_OK to
determine if you can delete a project.
The following table shows the parameters for
CHECK_DELETE_PROJECT_OK.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) API standard (default = ‘F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
CHECK_DELETE_TASK_OK
Use the Check procedure CHECK_DELETE_TASK_OK to determine if
you can delete a task.
The following table shows the parameters for
CHECK_DELETE_TASK_OK.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ‘F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the
project in the external
system
P_PROJECT_ID IN NUMBER(15) No The reference code that
uniquely identifies the
project in Oracle Projects
P_PM_TASK_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the task
in the external system
P_TASK_ID IN NUMBER(15) No The reference code that
uniquely identifies the task
within a project in Oracle
Projects
P_DELETE_TASK_OK_FLAG OUT VARCHAR2(1) Indicates whether or not this
task can be deleted (Y or N)
CHECK_UNIQUE_PROJECT_REFERENCE
Use the Check procedure CHECK_UNIQUE_PROJECT_REFERENCE
to determine if a new or changed project reference
(PM_PROJECT_REFERENCE) is unique.
The following table shows the parameters for
CHECK_UNIQUE_PROJECT_REFERENCE.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN BOOLEAN API standard (default = ‘F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
CHECK_UNIQUE_TASK_NUMBER
Use the Check procedure CHECK_UNIQUE_TASK_NUMBER to
determine if a new or changed task number is unique within a project.
The following table shows the parameters for
CHECK_UNIQUE_TASK_NUMBER.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) API standard (default = ‘F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the
project in the external
system
P_PROJECT_ID IN NUMBER(15) No The reference code that
uniquely identifies the
project in Oracle Projects
P_TASK_NUMBER IN VARCHAR2(25) No The number that identifies
the task in Oracle Projects
P_UNIQUE_TASK_NUMBER_FLAG OUT VARCHAR2(1) Indicates whether or not this
task number is unique in the
project within Oracle
Projects (Y or N)
CHECK_UNIQUE_TASK_REFERENCE
Use the Check procedure CHECK_UNIQUE_TASK_REFERENCE to
determine if a new or changed task reference
(PM_TASK_REFERENCE) is unique.
NAME P_PROJECT_NAME
DESCRIPTION P_DESCRIPTION
START_DATE P_START_DATE
COMPLETION_DATE P_COMPLETION_DATE
PROJECT_STATUS_CODE P_PROJECT_STATUS_CODE
PUBLIC_SECTOR_FLAG P_PUBLIC_SECTOR_FLAG
DISTRIBUTION_RULE P_DISTRIBUTION_RULE
CARRYING_OUT_ P_CARRYING_OUT_
ORGANIZATION_ID ORGANIZATION_ID
CUSTOMER_NAME P_CUSTOMER_ID
Table 3 – 5 How the User Interface Relates to LOAD_PROJECT (Page 1 of 1)
LOAD_PROJECT passes the values entered into the Quick Entry value
field to their corresponding parameters. LOAD_PROJECT passes
additional parameters, depending on whether you are updating an
existing project or creating a new one. When you create a new project,
this procedure must also pass the following parameters:
• P_PM_PROJECT_REFERENCE passes the unique reference code
that identifies the project in the external system.
• P_CREATED_FROM_PROJECT_ID passes the unique reference
code that identifies the source template in Oracle Projects
(PA_SOURCE_TEMPLATE_ID).
If your project has multiple key members or class categories, you must
call the APIs LOAD_KEY_MEMBER and LOAD_CLASS_CATEGORY
for every key member and class category associated with your project.
During project creation, the Quick Entry fields Key Members and Class
Category are related to the input parameters shown in the two tables
that follow.
The following table shows the input parameters for the key member
quick entry field.
The following table shows the input parameters for the class category
quick entry field.
☞ Attention: You must load parent tasks before you can load
their subtasks.
Each task must specify at least the following information:
• P_PM_TASK_REFERENCE. The unique reference code that
identifies the task in the external system.
• P_PM_PARENT_TASK_REFERENCE. The unique reference
code that identifies the task’s parent task. This parameter is left
blank for top tasks.
• P_TASK_NAME. The name of the task.
For the names and descriptions of other parameters that LOAD_TASK
can pass, see LOAD_TASK: page 3 – 55.
level1 NUMBER;
level2 NUMBER;
level3 NUMBER;
a NUMBER := 0;
m NUMBER := 0;
parent_level1 VARCHAR2(30);
parent_level2 VARCHAR2(30);
parent_level3 VARCHAR2(30);
number_of_tasks1 NUMBER; ––number of tasks/level
number_of_tasks2 NUMBER;
number_of_tasks3 NUMBER;
number_of_tasks4 NUMBER;
l_created_from_project_id NUMBER;
l_pm_product_code VARCHAR2(10);
l_number_of_task_levels NUMBER;
l_project_name VARCHAR2(30);
l_pm_project_reference VARCHAR2(25);
l_project_status_code VARCHAR2(30);
l_distribution_rule VARCHAR2(30);
BEGIN
––PROJECT DATA
l_created_from_project_id := 1040;
l_project_name := ’PROJECT_NAME’;
l_pm_project_reference := ’PROJECT_NAME’;
l_project_description := ’PROJECT_DESCRIPTION’;
l_project_status_code := ’’;
––l_distribution_rule := ’COST/COST’;
l_carrying_out_organization_id :=2;
l_start_date :=’01–jan–94’;
l_completion_date :=’31–mar–99’;
l_actual_start_date :=’01–jan–93’;
l_actual_finish_date :=’01–apr–99’;
l_early_start_date :=’01–jan–94’;
m:= 1;
l_person_id :=’29’;
l_project_role_type :=’PROJECT MANAGER’;
l_key_member_rec.person_id :=29;
l_key_member_rec.project_role_type :=’PROJECT MANAGER’;
l_key_member_tbl(m) := l_key_member_rec;
m:=2;
l_key_member_rec.person_id :=30;
l_key_member_rec.project_role_type :=’Project Coordinator’;
l_key_member_tbl(m) := l_key_member_rec;
m:=3;
l_key_member_rec.person_id :=7;
l_key_member_rec.project_role_type :=’Project Coordinator’;
l_key_member_tbl(m) := l_key_member_rec;
––TASKS DATA
––Set the number of tasks for every level (there are 4 levels)
number_of_tasks1 := 10;
number_of_tasks2 := 1;
number_of_tasks3 := 1;
number_of_tasks4 := 0;
a:= a + 1;
l_task_rec.pm_task_reference :=a;
l_task_rec.task_name :=’TOP LEVEL ’||a;
l_task_rec.pm_parent_task_reference :=’’;
l_task_rec.task_start_date := ’09–MAR–95’;
l_task_rec.task_completion_date := ’05–JUL–95’;
––l_task_rec.address_id := 1012;
l_tasks_in(a):= l_task_rec;
parent_level1:= a;
end loop;
END LOOP;
end loop;
–––––––––––––––––––––––
––INIT_CREATE_PROJECT
pa_project_pub.init_project;
–––––––––––––––––––––––
––LOAD_PROJECT
pa_project_pub.load_project( p_api_version_number =>
l_api_version_number
,p_return_status => l_return_status
end loop;
WHEN OTHERS THEN
for i in 1..l_msg_count loop
pa_interface_utils_pub.get_messages (
p_msg_count => l_msg_count
,p_msg_data => l_msg_data
,p_data => l_data
,p_msg_index_out => l_msg_index_out);
Global Constants
The package PA_PROJECT_PUB includes global constants, which are
used for the parameter P_TRANSACTION_TYPE. The global
constants are listed in the following table:
Constant Description
LOAD_EXTENSIBLE_ATTRIBUTE
This API loads a single attribute value for a given attribute group for
the specified project and task. The following table shows the
parameters for this procedure:
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER No API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
X_RETURN_STATUS OUT VARCHAR2(1) API standard
P_TRANSACTION_TYPE IN VARCHAR2 No The mode of processing for a
logical attribute group row.
The value should correspond
to the following constants in
PA_PROJECT_PUB:
G_DELETE_MODE, G_UPDATE_MODE,
G_SYNC_MODE (which either
creates or updates, as
appropriate), and
G_CREATE_MODE. Rows are
processed in the order they
are presented (that is,
deletion first, followed by
updates and synchronization,
with creation last), in
accordance with Apps
standards.
P_TASK_ID IN NUMBER 1 (See Identifier of the task, if
Parameter known. Required only if a
Requirements task–level extensible
: page attribute is provided.
3 – 86)
P_TASK_REFERENCE IN VARCHAR2 1 (See Unique task reference, if
Parameter task ID is unknown. Required
Requirements only if a task–level
: page extensible attribute is
3 – 86) provided.
Parameter Requirements
In the preceding parameter table, if the Required column contains a
number, the following logic determines if a value is required:
Of the parameters that have the same number in the Required column,
a value must be supplied for only one of the parameters. For example,
P_TASK_ID and P_TASK_REFERENCE both have the number 1 in the
Required column. A value must be supplied for either P_TASK_ID or
P_TASK_REFERENCE.
Attribute Value
Table 3 – 9 (Page 1 of 2)
Table 3 – 9 (Page 2 of 2)
PL/SQL Attribute Internal Attribute Internal Attribute Name Attribute Attribute Attribute
Record Row Group Name Value Value Value (Date)
Number Identifier (String) (Number)
Table 3 – 10 (Page 1 of 1)
Table 3 – 11 (Page 1 of 1)
PL/SQL Attribute Internal Attribute Internal Attribute Name Attribute Attribute Attribute
Record Row Group Name Value Value Value (Date)
Number Identifier (String) (Number)
Table 3 – 12 (Page 1 of 1)
l_ATTR_GRP_ROW_INDEX number;
l_ATTR_GRP_INTERNAL_NAME varchar2(15);
l_ATTR_INTERNAL_NAME varchar2(15);
l_ATTR_DISP_VALUE varchar2(15);
BEGIN
v_time_before := DBMS_UTILITY.get_time;
––PROJECT DATA
l_created_from_project_id := created_from_project_id;
l_project_name := project_name;
l_project_number := project_name;
l_pm_project_reference := project_name;
l_project_description := project_name;
l_ATTR_GRP_ROW_INDEX := 1;
l_ATTR_GRP_INTERNAL_NAME:= ’Project Complexity’;
l_ATTR_INTERNAL_NAME := ’AIM Project Type’;
l_ATTR_DISP_VALUE := ’AIM’;
––TASKS DATA
––Set the number of tasks for every level (there are 6 levels)
number_of_tasks1 := 5;
number_of_tasks2 := 2;
number_of_tasks3 := 0;
number_of_tasks4 := 0;
number_of_tasks5 := 0;
number_of_tasks6 := 0;
l_tasks_in(a) := l_task_rec;
parent_level1 := a;
–––––––––––––––––––––––
dbms_output.put_line(’Total tasks processed. ’||l_tasks_in.count);
–––––––––––––––––––––––
––INIT_CREATE_PROJECT
pa_project_pub.init_project;
–––––––––––––––––––––––
––dbms_output.put_line(’Before load_project’);
––LOAD_PROJECT
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
–––––––––––––––––––––––
––dbms_output.put_line(’Before load_structure’);
––LOAD_PROJECT
l_structure_type := ’FINANCIAL’;
pa_project_pub.load_structure(
p_api_version_number => l_api_version_number
,p_return_status => l_return_status
,p_structure_type => l_structure_type
);
3 – 100 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
–––––––––––––––––––––––
––EXECUTE_CREATE_PROJECT
pa_project_pub.execute_create_project(
p_api_version_number => l_api_version_number
,p_commit => l_commit
,p_init_msg_list => ’T’
,p_msg_count => l_msg_count
,p_msg_data => l_msg_data
,p_return_status => l_return_status
,p_workflow_started => l_work_flow_started
,p_pm_product_code => l_pm_product_code
,p_pa_project_id => l_project_id
,p_pa_project_number => l_pa_project_number
);
fnd_message.set_encoded(l_encoded_msg);
l_decoded_msg := fnd_message.get;
l_final_msg := l_final_msg || nvl(l_decoded_msg, l_encoded_msg);
pa_project_pub.fetch_structure_version(
3 – 102 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
p_api_version_number => l_api_version_number
,p_return_status => l_return_status
,p_structure_type => ’FINANCIAL’
,p_pa_structure_version_id => l_task_version_id
,p_struc_return_status => l_task_return_status);
EXCEPTION
WHEN API_ERROR THEN
dbms_output.put_line( ’In Exception’ );
3 – 104 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
number_of_tasks4 NUMBER;
number_of_tasks5 NUMBER;
number_of_tasks6 NUMBER;
temp_msg_data VARCHAR2(2000);
t1 varchar2(10);
t2 varchar2(100);
l_data varchar2(200);
t3 VARCHAR2(2000);
l_msg_count NUMBER;
l_msg_index_out NUMBER;
l_created_from_project_id NUMBER;
l_pm_product_code VARCHAR2(10);
l_number_of_task_levels NUMBER;
l_project_name VARCHAR2(30);
l_project_number VARCHAR2(80);
l_pm_project_reference VARCHAR2(25);
l_project_status_code VARCHAR2(30);
l_distribution_rule VARCHAR2(30);
l_public_sector_flag VARCHAR2(1);
l_carrying_out_organization_id NUMBER;
l_start_date DATE;
l_completion_date DATE;
l_actual_start_date DATE;
l_actual_finish_date DATE;
l_role_list_id NUMBER;
l_work_type_id NUMBER;
l_calendar_id NUMBER;
l_location_id NUMBER;
l_probability_member_id NUMBER;
l_project_value NUMBER;
l_opp_value_currency_code VARCHAR2(15) := ’USD’;
l_expected_approval_date DATE;
API_ERROR EXCEPTION;
l_org_member_rec
pa_project_pub.project_role_rec_type;
l_org_member_tbl
pa_project_pub.project_role_tbl_type;
l_task_version_id NUMBER;
3 – 106 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
l_encoded_msg VARCHAR2(4000);
l_decoded_msg VARCHAR2(4000);
l_final_msg VARCHAR2(4000);
l_structure_type VARCHAR2(25);
l_structure_version_name VARCHAR2(25);
l_structure_version_id VARCHAR2(25);
l_structure_description VARCHAR2(150);
l_long_name VARCHAR2(80);
v_time_before NUMBER;
BEGIN
v_time_before := DBMS_UTILITY.get_time;
PA_INTERFACE_UTILS_PUB.Set_Global_Info(
p_api_version_number => l_api_version_number
,p_responsibility_id => 20432
,p_user_id => 1179
,p_advanced_proj_sec_flag => ’Y’
,p_msg_count => l_msg_count
,p_msg_data => l_msg_data
,p_return_status => l_return_status
);
dbms_application_info.set_client_info(458);
for project_loop in 1..1 loop
––PRODUCT RELATED DATA
l_pm_product_code :=’MSPROJECT’;
––PROJECT DATA
l_created_from_project_id := 13086;
l_project_name := ’zk0425_11’;
l_project_number := l_project_name;
l_pm_project_reference := l_project_name;
l_project_description := l_project_name;
l_role_list_id :=1000 ;
l_work_type_id :=10020;
l_calendar_id :=550;
l_location_id :=1;
l_probability_member_id :=1005;
l_project_value :=1000;
l_expected_approval_date := ’31–mar–99’;
l_person_id :=’56’;
l_project_role_type :=’PROJECT MANAGER’;
l_class_category :=’Product’;
l_class_code :=’Non–classified’;
––TASKS DATA
––Set the number of tasks for every level (there are 6 levels)
number_of_tasks1 := 2;
number_of_tasks2 := 1;
number_of_tasks3 := 0;
number_of_tasks4 := 0;
number_of_tasks5 := 0;
number_of_tasks6 := 0;
a := 0;
3 – 108 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
a:= a + 1;
l_task_rec.pm_task_reference :=a;
l_task_rec.task_name :=’TOP LEVEL ’||a;
l_task_rec.pm_parent_task_reference :=’’;
l_task_rec.actual_start_date := ’10–MAR–95’;
l_task_rec.actual_finish_date := ’06–JUL–10’;
l_task_rec.early_start_date := ’09–MAR–95’;
l_task_rec.early_finish_date := ’05–JUL–10’;
l_task_rec.late_start_date := ’09–MAR–95’;
l_task_rec.late_finish_date := ’05–JUL–10’;
l_task_rec.scheduled_start_date := ’01–jan–01’;
l_task_rec.scheduled_finish_date := ’31–dec–05’;
l_tasks_in(a):= l_task_rec;
parent_level1:= a;
l_tasks_in(a) := l_task_rec;
parent_level2 := a;
––can be used to exit this script and see how many tasks should have been
––created
–––––––––––––––––––––––
––INIT_CREATE_PROJECT
pa_project_pub.init_project;
–––––––––––––––––––––––
––dbms_output.put_line(’Before load_project’);
––LOAD_PROJECT
3 – 110 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
,p_long_name => l_long_name
,p_description => l_project_description
,p_pm_project_reference => l_pm_project_reference
,p_pa_project_number => l_project_number
,p_carrying_out_organization_id =>
l_carrying_out_organization_id
,p_public_sector_flag => l_public_sector_flag
,p_customer_id => l_customer_id
,p_project_status_code => l_project_status_code
,p_start_date => l_start_date
,p_completion_date => l_completion_date
,p_actual_start_date => l_actual_start_date
,p_actual_finish_date => l_actual_finish_date
,p_early_start_date => l_early_start_date
,p_early_finish_date => l_early_finish_date
,p_late_start_date => l_late_start_date
,p_late_finish_date => l_late_finish_date
,p_role_list_id => l_role_list_id
,p_work_type_id => l_work_type_id
,p_calendar_id => l_calendar_id
,p_location_id => l_location_id
,p_probability_member_id=>l_probability_member_id
,p_project_value => l_project_value
,p_opp_value_currency_code =>
l_opp_value_currency_code
,p_expected_approval_date=>l_expected_approval_date
,p_distribution_rule => l_distribution_rule);
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
–––––––––––––––––––––––
––dbms_output.put_line(’Before load_structure’);
––LOAD_PROJECT
l_structure_type := ’FINANCIAL’;
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
–––––––––––––––––––––––
–––––––––––––––––––––––
––LOAD_CLASS_CATEGORY (loop for mulitple class categories–This example has
–– only one )
pa_project_pub.load_class_category(
p_api_version_number => l_api_version_number
,p_return_status => l_return_status
,p_class_category => l_class_category
,p_class_code => l_class_code );
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
END LOOP;
3 – 112 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
l_tasks_in(i).task_completion_date
,p_actual_start_date =>
l_tasks_in(i).actual_start_date
,p_actual_finish_date =>
l_tasks_in(i).actual_finish_date
,p_early_start_date =>
l_tasks_in(i).early_start_date
,p_early_finish_date =>
l_tasks_in(i).early_finish_date
,p_late_start_date => l_tasks_in(i).late_start_date
,p_late_finish_date => l_tasks_in(i).late_finish_date
,p_scheduled_start_date => l_tasks_in(i).scheduled_start_date
,p_scheduled_finish_date => l_tasks_in(i).scheduled_finish_date
,p_address_id =>
l_tasks_in(i).address_id);
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
END LOOP;
–––––––––––––––––––––––
dbms_output.put_line(’bef load ext attr’);
––LOAD_EXTENSIBLE_ATTRIBUTE
l_row_identifier_arr.extend;
l_attr_group_int_name.extend;
l_attr_int_name.extend;
l_attr_value_str.extend;
l_attr_value_num.extend;
l_attr_value_date.extend;
l_row_identifier_arr(1) := 1;
l_attr_group_int_name(1) := ’Application Weightings’;
l_attr_int_name(1) := ’Product Family’;
l_attr_value_str(1) := ’Financials’;
l_row_identifier_arr.extend;
l_attr_group_int_name.extend;
l_attr_int_name.extend;
l_attr_value_str.extend;
l_row_identifier_arr(2) := 1;
l_attr_group_int_name(2) := ’Application Weightings’;
l_attr_int_name(2) := ’Application Module’;
l_attr_value_str(2) := ’Assets’;
l_row_identifier_arr.extend;
l_attr_group_int_name.extend;
l_attr_int_name.extend;
l_attr_value_str.extend;
l_attr_value_num.extend;
l_attr_value_date.extend;
l_row_identifier_arr(3) := 1;
l_attr_group_int_name(3) := ’Application Weightings’;
l_attr_int_name(3) := ’Default Weighting’;
l_attr_value_num(3) := 0.6;
l_row_identifier_arr.extend;
l_attr_group_int_name.extend;
l_attr_int_name.extend;
l_attr_value_str.extend;
l_attr_value_num.extend;
l_attr_value_date.extend;
l_row_identifier_arr(4) := 2;
l_attr_group_int_name(4) := ’Application Weightings’;
l_attr_int_name(4) := ’Product Family’;
l_attr_value_str(4) := ’Financials’;
l_row_identifier_arr.extend;
l_attr_group_int_name.extend;
l_attr_int_name.extend;
l_attr_value_str.extend;
l_attr_value_num.extend;
l_attr_value_date.extend;
l_row_identifier_arr(5) := 2;
l_attr_group_int_name(5) := ’Application Weightings’;
l_attr_int_name(5) := ’Application Module’;
l_attr_value_str(5) := ’General Ledger’;
3 – 114 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
l_row_identifier_arr.extend;
l_attr_group_int_name.extend;
l_attr_int_name.extend;
l_attr_value_str.extend;
l_attr_value_num.extend;
l_attr_value_date.extend;
l_row_identifier_arr(6) := 2;
l_attr_group_int_name(6) := ’Application Weightings’;
l_attr_int_name(6) := ’Default Weighting’;
l_attr_value_num(6) := 0.4;
pa_project_pub.load_extensible_attributes(
p_api_version_number => l_api_version_number
,x_return_status => l_return_status
,P_ATTR_GRP_ROW_INDEX => l_row_identifier_arr
,P_ATTR_GRP_INTERNAL_NAME=> l_attr_group_int_name
,P_ATTR_INTERNAL_NAME => l_attr_int_name
,P_ATTR_VALUE_STR => l_attr_value_str
,P_ATTR_VALUE_NUM => l_attr_value_num
,P_ATTR_VALUE_DATE => l_attr_value_date
);
dbms_output.put_line(’After load ext attr’);
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
––––––––––––––––––––––––
–––––––––––––––––––––––
––EXECUTE_CREATE_PROJECT
pa_project_pub.execute_create_project(p_api_version_number =>
THEN
dbms_output.put_line( ’l_msg_data ’||l_msg_data );
dbms_output.put_line( ’Error count ’||l_msg_count );
l_msg_count := fnd_msg_pub.count_msg;
fnd_message.set_encoded(l_encoded_msg);
l_decoded_msg := fnd_message.get;
ELSE
dbms_output.put_line( ’l_return_status ’|| l_return_status|| ’
’||l_msg_data );
END IF;
3 – 116 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
dbms_output.put_line (’Project Id ’||l_project_id);
IF l_return_status != ’S’
OR l_task_return_status != ’S’
THEN
dbms_output.put_line (’error text ’|| SUBSTR (SQLERRM , 1 , 240));
RAISE API_ERROR;
END IF;
END LOOP;
–––––––––––––––––––––––
––FETCH_TASK
pa_project_pub.fetch_structure_version(
p_api_version_number => l_api_version_number
,p_return_status => l_return_status
,p_structure_type => ’WORKPLAN’
,p_pa_structure_version_id => l_task_version_id
,p_struc_return_status =>
l_task_return_status);
IF l_return_status != ’S’
THEN
dbms_output.put_line (’error text ’|| SUBSTR (SQLERRM , 1 , 240));
RAISE API_ERROR;
ELSE
dbms_output.put_line (’ Financial Str ver id ’||l_task_version_id );
END IF;
–––––––––––––––––––––––
––CLEAR_CREATE_PROJECT
pa_project_pub.clear_project;
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
–––––––––––––––––––––––
––HANDLE EXCEPTIONS
end loop;
DBMS_OUTPUT.put_line (
’Time elapsed in secs :’ ||
(DBMS_UTILITY.get_time – v_time_before) / (100)
);
EXCEPTION
3 – 118 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
WHEN API_ERROR THEN
pa_interface_utils_pub.get_messages (
p_encoded => FND_API.G_TRUE,
p_data => l_data
,p_msg_index => i
,p_msg_count => l_msg_count
,p_msg_data => l_msg_data
,p_msg_index_out => l_msg_index_out );
dbms_output.put_line (’error mesg :’||l_data);
end loop;
END ;
/
CHANGE_STRUCTURE_STATUS
Use this PL/SQL procedure to publish, submit, rework, reject, or
approve a structure and thereby change its status code. Valid status
codes are:
• STRUCTURE_WORKING
• STRUCTURE_PUBLISHED
• STRUCTURE_SUBMITTED
• STRUCTURE_REJECTED
• STRUCTURE_APPROVED
The following table shows the parameters for this procedure.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default =F)
P_COMMIT IN VARCHAR2(1) No API standard (default =F)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_STRUCTURE_VERSION_ID IN NUMBER Yes The unique identifier of the
structure
P_PA_PROJECT_ID IN NUMBER Yes The unique identifier of the
project
3 – 120 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Name Usage Type Req? Description
P_STATUS_CODE IN VARCHAR2 Yes One of the valid structure
status codes:
STRUCTURE_WORKING,
STRUCTURE_PUBLISHED,
STRUCTURE_SUBMITTED,
STRUCTURE_REJECTED,
STRUCTURE_APPROVED
P_PUBLISHED_STRUCT_VER_ID OUT NUMBER The unique identifier of the
published structure version
BASELINE_STRUCTURE
BASELINE_STRUCTURE is a PL/SQL procedure to baseline a
structure version
The following table shows the parameters for this procedure.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default =F)
P_COMMIT IN VARCHAR2(1) No API standard (default =F)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_STRUCTURE_VERSION_ID IN NUMBER Yes The unique identifier of the
structure
P_PA_PROJECT_ID IN NUMBER Yes The unique identifier of the
project
LOAD_STRUCTURE
LOAD_STRUCTURE is a Load–Execute–Fetch procedure used to load
structure data.
The following table shows the parameters for this procedure.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default =F)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PA_PROJECT_ID IN NUMBER No The unique identifier of the
project
DELETE_STRUCTURE_VERSION
DELETE_STRUCTURE_VERSION is a PL/SQL procedure used to
delete a structure version from Oracle Projects.
The following table shows the parameters for this procedure.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default =F)
P_COMMIT IN VARCHAR2(1) No API standard (default =F)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_STRUCTURE_VERSION_ID IN NUMBER Yes The unique identifier of the
structure
P_RECORD_VERSION_NUMBER OUT NUMBER The unique identifier of the
published structure version
FETCH_STRUCTURE_VERSION
FETCH_STRUCTURE_VERSION is a Load–Execute–Fetch procedure
that returns structure version IDs of workplan and financial structures.
The following table shows the parameters for this procedure.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default =F)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_STRUCTURE_TYPE IN VARCHAR2 No Structure type
3 – 122 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Name Usage Type Req? Description
P_STRUCTURE_VERSION_ID OUT NUMBER Yes The unique identifier of the
structure
P_STRUC_RETURN_STATUS OUT VARCHAR2 Structure status
View Description
3 – 124 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
View Description
3 – 126 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Resource API Procedure Definitions
This section contains description of the resource APIs, including
business rules and parameters.
ADD_RESOURCE_LIST_MEMBER
ADD_RESOURCE_LIST_MEMBER is a PL/SQL procedure that adds a
resource member to an existing resource list.
Business Rules
1. Calling modules can pass either the RESOURCE_LIST_NAME or
the RESOURCE_LIST_ID.
2. If the calling modules pass both RESOURCE_LIST_NAME and
RESOURCE_LIST_ID, the API uses the latter.
3. If the resource list is grouped, you must pass a valid resource
group alias.
4. The value for P_RESOURCE_ATTR_VALUE must correspond to
the value for P_RESOURCE_TYPE. For example, the person
identification code for P_RESOURCE_ATTR_VALUE must be valid
if P_RESOURCE_TYPE equals EMPLOYEE.
5. If the calling module passes information for both
RESOURCE_GROUP and RESOURCE_MEMBER parameters to
this API, the API first verifies that the resource group exists. If the
resource group does not exist, the API creates the resource group
and then creates the resource.
6. If a given resource member already exists, this API does not return
an error. Instead, it returns a successful return status and the
RESOURCE_LIST_MEMBER_ID of the existing resource member.
Note: Because you can store only one transaction attribute for
a given resource, this API accepts only a single
RESOURCE_ATTR_VALUE, which may hold PERSON_ID,
JOB_ID, and so on.
The following table shows the parameters for
ADD_RESOURCE_LIST_MEMBER.
CREATE_RESOURCE_LIST
CREATE_RESOURCE_LIST is a PL/SQL procedure that creates a
resource list and optionally creates the resource list members.
This API uses composite datatypes. For more information, see APIs
That Use Composite Datatypes: page 2 – 19.
Business Rules
• Valid values for P_GROUP_RESOURCE_TYPE are
EXPENDITURE_CATEGORY, REVENUE_CATEGORY,
ORGANIZATION, and NONE.
• The resource list name must be unique.
3 – 128 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
• If calling programs pass the P_MEMBER_TBL (optional), this
API creates the relevant resource list member records.
• If your resource list is grouped, you must pass a valid resource
group alias.
• The value for P_RESOURCE_ATTR_VALUE must correspond
with the value for P_RESOURCE_TYPE. For example, the
person identification code for P_RESOURCE_ATTR_VALUE
must be valid if P_RESOURCE_TYPE equals EMPLOYEE.
• If the value for GROUP_RESOURCE_TYPE is NONE, this API
will ignore resource group IN parameters.
• If you do not specify the resource group alias, the group resource
type must be NONE.
The following table shows the parameters for
CREATE_RESOURCE_LIST.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RESOURCE_LIST_REC IN RECORD
RESOURCE_LIST_NAME IN VARCHAR2(80) Yes Name of resource list
DESCRIPTION IN VARCHAR2(255) No Description of resource list
GROUP_RESOURCE_TYPE IN VARCHAR2(30) Yes Type of resource group
START_DATE IN DATE No Start date of resource list
END_DATE IN DATE No End date of resource list
P_RESOURCE_LIST_OUT_REC OUT RECORD API standard
RESOURCE_LIST_ID OUT NUMBER The reference code that
uniquely identifies the
resource list
RETURN_STATUS OUT VARCHAR2(1) Return status of specific
resource list
P_MEMBER_TBL IN TABLE OF RECORD
RESOURCE_GROUP_ALIAS IN VARCHAR2(30) No Alias of resource group
RESOURCE_GROUP_NAME IN VARCHAR2(80) No Name of resource group
RESOURCE_TYPE_CODE IN VARCHAR2(30) Yes Type code of resource member
RESOURCE_ATTR_VALUE IN VARCHAR2(80) Yes Attribute value of resource
member
DELETE_RESOURCE_LIST
DELETE_RESOURCE_LIST is a PL/SQL procedure that deletes a given
resource list.
Business Rules
• Calling modules can pass either the P_RESOURCE_LIST_NAME
or the P_RESOURCE_LIST_ID.
• If calling modules pass both P_RESOURCE_LIST_NAME and
the P_RESOURCE_LIST_ID, this API uses the latter.
• You cannot delete a resource list if:
– You summarize project actuals by that resource list.
– A budget uses that resource list.
– The list contains resource list members.
The following table shows the parameters for
DELETE_RESOURCE_LIST.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_RESOURCE_LIST_NAME IN VARCHAR2(30) No Name of the resource list
P_RESOURCE_LIST_ID IN NUMBER No Identification code of the
resource list
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
3 – 130 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Name Usage Type Req? Description
P_RETURN_STATUS OUT VARCHAR2(1) API standard
X_ERR_CODE IN OUT NUMBER The error handling code
X_ERR_STAGE IN OUT VARCHAR2 Error message text
DELETE_RESOURCE_LIST_MEMBER
DELETE_RESOURCE_LIST_MEMBER is a PL/SQL procedure that
deletes a given resource list member.
Business Rules
• Calling modules can pass either the P_RESOURCE_LIST_NAME
or the P_RESOURCE_LIST_ID. Calling modules can also pass
the P_ALIAS or the P_ALIAS_MEMBER_ID.
• If the calling modules pass both P_RESOURCE_LIST_NAME
and the P_RESOURCE_LIST_ID, this API uses the latter.
• You cannot delete a resource list member if:
– You summarize project actuals by that resource list member.
– A budget uses that resource list member.
The following table shows the parameters for
DELETE_RESOURCE_LIST_MEMBER.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_RESOURCE_LIST_NAME IN VARCHAR2(30) No Name of the resource list
P_RESOURCE_LIST_ID IN NUMBER No Identification code of the
resource list
P_RESOURCE_ALIAS IN VARCHAR2(30) No Alias of the resource list
P_RESOURCE_LIST_MEMBER_ID IN NUMBER No Identification code of the
resource list member
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
X_ERR_CODE IN OUT NUMBER The error handling code
X_ERR_STAGE IN OUT VARCHAR2 Error message text
Business Rules
• Calling modules can pass either the P_RESOURCE_LIST_NAME
or the P_RESOURCE_LIST_ID.
• If the calling modules pass both the P_RESOURCE_LIST_NAME
and the P_RESOURCE_LIST_ID, this API uses the latter.
• If you specify a resource group alias, this API sorts only
resources below that resource group. Otherwise, this API sorts
all resources in the resource list.
• You can sort resources by alias or resource name. Valid values
for P_SORT_BY PARAMETER are ALIAS and
RESOURCE_NAME.
The following table shows the parameters for
SORT_RESOURCE_LIST_MEMBERS.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_RESOURCE_LIST_NAME IN VARCHAR2(30) No Name of the resource list
P_RESOURCE_LIST_ID IN NUMBER No Identification code of the
resource list
P_RESOURCE_GROUP_ALIAS IN VARCHAR2(30) No Alias of the resource group
P_SORT_BY IN VARCHAR2(30) Yes Sort–by code
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
UPDATE_RESOURCE_LIST
UPDATE_RESOURCE_LIST is a PL/SQL procedure that updates an
existing resource list, including updating existing or adding new
resource list members.
3 – 132 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
This API uses composite datatypes. For more information, see APIs
That Use Composite Datatypes: page 2 – 19.
Business Rules
• Calling modules can pass either the RESOURCE_LIST_NAME or
the RESOURCE_LIST_ID.
• If the calling modules pass both the RESOURCE_LIST_NAME
and the RESOURCE_LIST_ID, this API uses the latter.
• You cannot change GROUPED_BY_TYPE if the resource list
already contains active members.
• You can change the following fields at any time:
– RESOURCE LIST NAME
– DESCRIPTION
– START DATE
– END DATE
• You must enter a unique new resource list name.
• You can update existing or add new resource list members by
including the member records in the MEMBER_TBL. If a
resource list member already exists, you can update the
following fields:
– ALIAS. Specify the P_NEW_ALIAS.
– SORT_ORDER. Specify the P_SORT_ORDER.
Note: The alias must be unique within a resource group.
The following table shows the parameters for
UPDATE_RESOURCE_LIST.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RESOURCE_LIST_NAME IN VARCHAR2(30) No Name of the resource list
P_RESOURCE_LIST_ID IN NUMBER No Identification code of the
resource list
UPDATE_RESOURCE_LIST_MEMBER
UPDATE_RESOURCE_LIST_MEMBER is a PL/SQL procedure that
updates the alias and enables or disables the resource list members.
Business Rules
• Calling modules can pass either the P_RESOURCE_LIST_NAME
or P_RESOURCE_LIST_ID.
• If the calling modules pass both the P_RESOURCE_LIST_NAME
and the P_RESOURCE_LIST_ID, this API uses the latter.
3 – 134 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
• You can use the P_ENABLED_FLAG to enable or disable a
resource member. If the parameter value is passed as NULL or
something other than Y, the column value remains the same.
Note: The alias must be unique within a resource group.
The following table shows the parameters for
UPDATE_RESOURCE_LIST_MEMBER.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_RESOURCE_LIST_NAME IN VARCHAR2(30) No Name of the resource list
P_RESOURCE_LIST_ID IN NUMBER No Identification code of the
resource list
P_RESOURCE_ALIAS IN VARCHAR2(30) No Alias of the resource member
P_RESOURCE_LIST_MEMBER_ID IN NUMBER No Identification code of the
resource list member
P_NEW_ALIAS IN VARCHAR2(30) No New alias of the resource
member
P_SORT_ORDER IN NUMBER No Sort order of the resource
member
P_ENABLED_FLAG IN VARCHAR2(1) No Enabled flag of the resource
member (default = ’Y’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
CLEAR_CREATE_RESOURCE_LIST
CLEAR_CREATE_RESOURCE_LIST is a Load–Execute–Fetch
procedure used to clear the global data structures set up during the
Initialize step.
CLEAR_UPDATE_MEMBERS
CLEAR_UPDATE_MEMBERS is a Load–Execute–Fetch procedure used
to clear the global data structures that were set up during the Initialize
step for the Load–Execute–Fetch update APIs.
EXEC_UPDATE_RESOURCE_LIST
EXEC_UPDATE_RESOURCE_LIST is a Load–Execute–Fetch procedure
used to execute the composite API UPDATE_RESOURCE_LIST.
The following table shows the parameters for
EXEC_UPDATE_RESOURCE_LIST.
Name Usage Type Req? Description
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_RETURN_STATUS OUt VARCHAR2(1) API standard
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
FETCH_MEMBERS
FETCH_MEMBERS is a Load–Execute–Fetch procedure used to fetch
resource members from the global output structure for resource list
members.
The following table shows the parameters for FETCH_MEMBERS.
3 – 136 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_MEMBER_INDEX IN NUMBER Member Index (default = 1)
P_RESOURCE_LIST_MEMBER_ID OUT NUMBER Identification code of the
resource list member
P_MEMBER_RETURN_STATUS OUT VARCHAR2(1) Return status of the specific
resource list member
FETCH_RESOURCE_LIST
FETCH_RESOURCE_LIST is a Load–Execute–Fetch procedure used to
fetch one resource list identifier at a time from the global output
structure for resource lists.
The following table shows the parameters for
FETCH_RESOURCE_LIST.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_RESOURCE_LIST_ID OUT NUMBER Identification code of the
resource list
P_LIST_RETURN_STATUS OUT VARCHAR2(1) Return status of the specific
resource list
INIT_CREATE_RESOURCE_LIST
INIT_CREATE_RESOURCE_LIST is a Load–Execute–Fetch procedure
used to set up the global data structures used by other
Load–Execute–Fetch procedures.
INIT_UPDATE_MEMBERS
INIT_UPDATE_MEMBERS is a Load–Execute–Fetch procedure used to
set up the global data structures used by other Load–Execute–Fetch
procedures.
Business Rules
• Calling modules can pass either P_RESOURCE_LIST_NAME or
P_RESOURCE_LIST_ID.
• If the calling modules pass both P_RESOURCE_LIST_NAME
and P_RESOURCE_LIST_ID, the API uses the latter.
• If the resource list is grouped, you must pass a valid resource
group alias.
• The value for P_RESOURCE_ATTR_VALUE must correspond to
the value for P_RESOURCE_TYPE. For example, person
identification code for P_RESOURCE_ATTR_VALUE must be
valid if P_RESOURCE_TYPE equals EMPLOYEE.
• If the calling module passes information to this API for both
resource group and resource member parameters, the API first
verifies that the resource group exists. If the resource group does
not exist, the API creates the resource group and then creates the
resource.
• If a given resource member already exists, this API does not
return an error. Instead, it returns a successful return status and
the resource list member identification code of the existing
resource member.
Note: Because you can store only one transaction attribute for
a given resource, this API accepts only a single
RESOURCE_ATTR_VALUE, which may hold PERSON_ID,
JOB_ID, and so on.
• You can use the P_ENABLED_FLAG to enable or disable a
resource member. If the parameter value is passed as NULL or
something other than Y, the column value remains the same.
Note: The alias must be unique within a resource group.
The following table shows the parameters for LOAD_MEMBERS.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_RESOURCE_GROUP_ALIAS IN VARCHAR2(30) No Alias of the resource group
P_RESOURCE_GROUP_NAME IN VARCHAR2(30) No Name of the resource group
3 – 138 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Name Usage Type Req? Description
P_RESOURCE_TYPE_CODE IN VARCHAR2(30) No Type of the resource
P_RESOURCE_ATTR_VALUE IN VARCHAR2(80) No Attribute value of the
resource
P_RESOURCE_ALIAS IN VARCHAR2(30) No Alias of the resource member
P_RESOURCE_LIST_MEMBER_ID IN NUMBER No Identification code of the
resource list member
P_NEW_ALIAS IN VARCHAR2(30) No New alias of the resource
member
P_SORT_ORDER IN NUMBER No Sort order of the resource
member
P_ENABLED_FLAG OUT VARCHAR2(1) No Enabled flag of the resource
member (default = ’Y’)
P_RETURN_STATUS OUT VARCHAR2(1) API standard
LOAD_RESOURCE_LIST
LOAD_RESOURCE_LIST is a Load–Execute–Fetch procedure used to
load the resource list global input structure.
Business Rules
• Valid values for P_GROUP_RESOURCE_TYPE are
EXPENDITURE_CATEGORY, REVENUE_CATEGORY,
ORGANIZATION, and NONE.
• The resource list name must be unique.
• If calling programs pass the P_MEMBER_TBL (optional), this
API creates the relevant resource list member records.
• If your resource list is grouped, you must pass a valid resource
group alias.
• The value for P_RESOURCE_ATTR_VALUE must correspond
with the value for P_RESOURCE_TYPE. For example,
P_RESOURCE_ATTR_VALUE must have a valid person
identification code if P_RESOURCE_TYPE equals EMPLOYEE.
• If the value for GROUP_RESOURCE_TYPE is NONE, this API
ignores resource group IN parameters.
• If you do not specify the resource group alias, the group resource
type must be NONE.
• Calling modules can pass either P_RESOURCE_LIST_NAME or
P_RESOURCE_LIST_ID.
3 – 140 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
CHAPTER
View Description
4–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
• DELETE_ASSET_ASSIGNMENT: page 4 – 10
• LOAD_PROJECT_ASSET: page 4 – 10
• LOAD_ASSET_ASSIGNMENT: page 4 – 12
• EXECUTE_ADD_PROJECT_ASSET: page 4 – 13
ADD_PROJECT_ASSET
This procedure adds a project asset to the specified project If the
validations complete successfully, a new PA_PROJECT_ASSETS_ALL
row is created.
The following table shows the parameters for ADD_PROJECT_ASSET.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the
external project management
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
system from which the project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
was imported
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) Yes The reference code that
uniquely identifies the
ÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
project in the external
system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
IN NUMBER(15) Yes The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE IN VARCHAR2(240) Yes The reference code that
uniquely identifies the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
in the external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_ASSET_NAME IN VARCHAR2(240) Yes The name that uniquely
defines the asset in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_NUMBER IN VARCHAR2(15) Yes Unique asset number
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_DESCRIPTION IN VARCHAR2(80) Yes Asset description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ASSET_TYPE IN VARCHAR2(30) Yes Asset type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_LOCATION_ID IN NUMBER No The identifier of the
location to which the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
is assigned
4–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSIGNED_TO_PERSON_ID IN NUMBER No The identifier of the person
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
to whom the asset is assigned
P_DATE_PLACED_IN_SERVICE IN DATE No Date placed in service of the
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_CATEGORY_ID IN NUMBER No The identifier of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
category to which the asset
is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BOOK_TYPE_CODE IN VARCHAR2(15) No The corporate book to which
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_UNITS IN NUMBER No The number of asset units
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_ASSET_UNITS IN NUMBER No The estimated number of asset
units
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_COST
ÁÁÁÁÁÁÁ
P_DEPRECIATE_FLAG ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁ
IN
NUMBER
VARCHAR2(1)
No
No
The estimated cost
Indicator whether the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
should be depreciated in
Oracle Assets
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEPRECIATE_EXPENSE_CCID
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁ
NUMBER No The depreciation expense
account for the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AMORTISE_FLAG IN VARCHAR2(1) No Indicator whether cost
adjustments should be
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ammortised in Oracle Assets
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_IN_SERVICE_DATE IN DATE No The estimated date placed in
service for the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASEET_KEY_CCID
ÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁ
NUMBER No Key flexfield code
combination identifier for
asset key flexfield
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
P_ATTRIBUTE_CATEGORY
ÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(30) No Used by descriptive
flexfields
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield segment
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE15
IN No
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PARENT_ASSET_ID NUMBER The identifier of the parent
asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MANUFACTUREER_NAME IN VARCHAR2(30) No The name of the manufacturer
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MODEL_NUMBER IN VARCHAR2(40) No The model number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_SERIAL_NUMBER IN VARCHAR2(35) No The serial number of the
asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN No
P_TAG_NUMBER VARCHAR2(15) The tag number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RET_TARGET_ASSET_ID IN NUMBER No The identifier of the target
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID_OUT OUT NUMBER(15) API standard
P_PA_PROJECT_NUMBER_OUT OUT VARCHAR2(25) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID_OUT OUT NUMBER(15) The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE_OUT OUT VARCHAR2(25) The reference code that
uniquely identifies the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
in the external system
UPDATE_PROJECT_ASSET
This procedure updates a project asset on the specified project. If the
validations complete successfully, the PA_PROJECT_ASSETS_ALL row
is updated with any new values specified.
The following table shows the parameters for UPDATE_ASSET.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER YES API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(25) Yes The reference code that uniquely
identifies the project in the
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID
ÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER(15) Yes The reference code that uniquely
identifies the project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID IN NUMBER(15) The reference code that uniquely
identifies the asset within a
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_ASSET_NAME IN VARCHAR2(240) Yes The name that uniquely defines the
asset in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_NUMBER
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_DESCRIPTION IN
VARCHAR2(15)
VARCHAR2(80)
Yes
Yes
Unique asset number
Asset description
4–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ASSET_TYPE IN VARCHAR2(30) Yes Asset type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_LOCATION_ID IN NUMBER No The identifier of the location to
which the asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSIGNED_TO_PERSON_ID
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
NUMBER No The identifier of the person to
whom the asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DATE_PLACED_IN_SERVICE IN DATE No Date placed in service of the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
asset
IN No
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_CATEGORY_ID NUMBER The identifier of the asset
category to which the asset is
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
assigned
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BOOK_TYPE_CODE IN VARCHAR2(15) No The corporate book to which the
asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_UNITS IN NUMBER No The number of asset units
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_ASSET_UNITS IN NUMBER No The estimated number of asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
units
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_COST IN NUMBER No The estimated cost
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEPRECIATE_FLAG IN VARCHAR2(1) No Indicator whether the asset should
be depreciated in Oracle Assets
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEPRECIATE_EXPENSE_CCI
ÁÁÁÁÁÁÁÁÁÁÁÁ
D
ÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
NUMBER No The depreciation expense account
for the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AMORTISE_FLAG IN VARCHAR2(1) No Indicator whether cost adjustments
should be ammortised in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Assets
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_IN_SERVICE_D IN DATE No The estimated date placed in
ATE service for the asset
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASEET_KEY_CCID
ÁÁÁÁÁÁÁÁÁÁÁ
NUMBER No Key flexfield code combination
identifier for asset key flexfield
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Used by descriptive flexfields
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield segment
P_ATTRIBUTE15
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PARENT_ASSET_ID IN NUMBER No The identifier of the parent asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MANUFACTUREER_NAME
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(30) No The name of the manufacturer of
the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MODEL_NUMBER IN VARCHAR2(40) No The model number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_SERIAL_NUMBER IN VARCHAR2(35) No The serial number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TAG_NUMBER IN VARCHAR2(15) No The tag number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RET_TARGET_ASSET_ID IN NUMBER No The identifier of the target asset
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID_OUT OUT NUMBER(15) API standard
P_PA_PROJECT_NUMBER_OUT OUT VARCHAR2(25) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID_OU OUT NUMBER(15) The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE_OUT OUT VARCHAR2(25) The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the asset in the
external system
DELETE_PROJECT_ASSET
This procedure deletes a project asset and any associated asset
assignments from a project.
The following table shows the parameters for
DELETE_PROJECT_ASSET.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) No The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
which the project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that
uniquely identifies the project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
in the external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID IN NUMBER(15) No The reference code that
uniquely identifies the project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE IN VARCHAR2(25) No The reference code that
uniquely identifies the asset
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
in the external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID IN NUMBER(15) No The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the asset
within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Projects
4–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
ADD_ASSET_ASSIGNMENT
This procedure adds an asset assignment to the specified project. If the
validations complete successfully, a
PA_PROJECT_ASSET_ASSIGNMENTS row is created.
The following table shows the parameters for
ADD_ASSET_ASSIGNMENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
which the project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the project in the
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER(15) Yes The reference code that uniquely
identifies the project in Oracle
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_TASK_REFERENCE
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(25) Yes See the TASK_IN_TBL_TYPE Datatype
table on page 3 – 15 for a
description of this field.
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_TASK_ID
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER(15) No The reference code that uniquely
identifies the task within a
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE IN VARCHAR2(25) No The reference code that uniquely
identifies the asset in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID IN NUMBER(15) No The reference code that uniquely
identifies the asset within a
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Used by descriptive flexfields
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield segment
P_ATTRIBUTE15
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_TASK_ID_OUT
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER(15) The reference code that uniquely
identifies the task within a
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID_OUT OUT NUMBER(15) The reference code that uniquely
identifies the asset within a
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) Yes API standard
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
ÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
IN
VARCHAR2(1)
VARCHAR2(30)
Yes
Yes
API standard
The identifier of the external
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project management system from
which the project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(25) Yes The reference code that uniquely
identifies the project in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID IN NUMBER(15) Yes The reference code that uniquely
identifies the project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_TASK_REFERENCE IN VARCHAR2(25) Yes See the TASK_IN_TBL_TYPE Datatype
table on page 3 – 15 for a
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
description of this field.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_TASK_ID IN NUMBER(15) No The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(25) No The reference code that uniquely
identifies the asset in the
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ASSET_ID
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER(15) No The reference code that uniquely
identifies the asset within a
project in Oracle Projects
LOAD_PROJECT_ASSET
This procedure adds a project asset row to the global PL/SQL table
G_ASSETS_IN_TBL. If the asset already exists on the project, the
procedure calls the update_project_asset procedure.
The following table shows the parameters for
LOAD_PROJECT_ASSET.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_ASSET_REFERENCE IN VARCHAR2(240) Yes The reference code that uniquely
identifies the asset in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN Yes
P_PA_ASSET_NAME VARCHAR2(240) The name that uniquely defines the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
asset in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_NUMBER IN VARCHAR2(15) Yes Unique asset number
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_DESCRIPTION IN VARCHAR2(80) Yes Asset description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ASSET_TYPE IN VARCHAR2(30) Yes Asset type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_LOCATION_ID IN NUMBER No The identifier of the location to
which the asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSIGNED_TO_PERSON_ID IN NUMBER No The identifier of the person to
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
whom the asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_DATE_PLACED_IN_SERVICE IN DATE No Date placed in service of the
asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_CATEGORY_ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
NUMBER No The identifier of the asset
category to which the asset is
assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BOOK_TYPE_CODE
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(15) No The corporate book to which the
asset is assigned
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_UNITS IN NUMBER No The number of asset units
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_ASSET_UNITS IN NUMBER No The estimated number of asset
units
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_COST
ÁÁÁÁÁ
P_DEPRECIATE_FLAG ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
IN
NUMBER
VARCHAR2(1)
No
No
The estimated cost
Indicator whether the asset should
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
be depreciated in Oracle Assets
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEPRECIATE_EXPENSE_CCID IN NUMBER No The depreciation expense account
for the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AMORTIZE_FLAG
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(1) No Indicator whether cost adjustments
should be ammortised in Oracle
Assets
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ESTIMATED_IN_SERVICE_DATE
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
DATE No The estimated date placed in
service for the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASEET_KEY_CCID IN NUMBER No Key flexfield code combination
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifier for asset key flexfield
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Used by descriptive flexfields
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE15 ÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(150) No Descriptive flexfield segment
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PARENT_ASSET_ID IN NUMBER No The identifier of the parent asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MANUFACTUREER_NAME IN VARCHAR2(30) No The name of the manufacturer of
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the asset
P_MODEL_NUMBER IN VARCHAR2(40) No The model number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_SERIAL_NUMBER IN VARCHAR2(35) No The serial number of the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TAG_NUMBER
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RET_TARGET_ASSET_ID
IN
IN
VARCHAR2(15)
NUMBER
No
No
The tag number of the asset
The identifier of the target asset
LOAD_ASSET_ASSIGNMENT
This procedure adds an asset assignment row to the global PL/SQL
table G_ASSET_ASSIGNMENTS_IN_TBL. Rows in this table can then
be added in mass to the current project by the
execute_add_project_asset procedure, which calls the
add_asset_assignment procedure for each row in the PL/SQL table.
The following table shows the parameters for
LOAD_ASSET_ASSIGNMENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_TASK_REFERENCE
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(25) Yes See the TASK_IN_TBL_TYPE Datatype
table on page 3 – 15 for a
description of this field.
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_TASK_ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER(15) No The reference code that uniquely
identifies the task within a
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the asset in the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Used by descriptive flexfields
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield segment
P_ATTRIBUTE15
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default
= F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁ
VARCHAR2(1) No API standard (default
= F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the
external project
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁ
management system
from which the
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) Yes The reference code
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
that uniquely
identifies the
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁ
project in the
external system
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁ
NUMBER(15) Yes The reference code
that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁ
identifies the
project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSETS_IN IN ASSET_IN_TBL_TYPE Yes
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ASSETS_OUT OUT ASSET_OUT_TBL_TYPE
NOCOPY
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_ASSET_ASSIGNMENTS_IN IN ASSET_ASSIGNMENT_IN_TBL_TYPE No
ÁÁÁÁÁÁÁÁ
P_ASSET_ASSIGNMENTS_OUT OUT ASSET_ASSIGNMENT_OUT_TBL_TYPE
NOCOPY
Table 4 – 2 (Page 1 of 2)
Table 4 – 2 (Page 2 of 2)
Error Handling
Use the status and stage parameters to help resolve error conditions
should your procedure fail.
The status parameter indicates the processing status of your procedure
as follows:
status = 0 The procedure executed successfully.
status < 0 An Oracle error occurred and the process did not
complete.
Suggestion: Ensure that you are returning the status of the
cost plus procedure to the procedure that you are calling the
cost plus API from to help resolve error conditions.
status > 0 See stage parameter.
The stage parameter shows you where in the processing of the cost plus
API the procedure failed. Use the stage parameter to resolve the
specific problem that caused your procedure to fail. The following
table lists these different stages and what they mean.
100 Cannot find a revision for the given burden schedule and effective date
400 There is no active compiled set for the given burden schedule and
organization
Table 4 – 3 (Page 1 of 1)
See Also
Control Actions
The following new Control Actions have been added for
Agreement/Funding API functionality:
• Update Agreement
• Delete Agreement
• Add Funding
• Update Funding
• Delete Funding
For more information on the control actions, see Control Actions
Window, Oracle Projects User Guide.
5–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
View Description
CREATE_AGREEMENT
This API creates an agreement with associated funds.
Note: To use this API you must have a database environment
that is capable of supporting the PL/SQL table and a user
defined record (for example, Oracle Server 7.3 and PL/SQL
2.3). Otherwise,use the Load–Execute–Fetch APIs supplied in
the pa_agreement_pub_ package.
Business Rules
List of values
• Customer number
• Agreement type
• Agreement number
• Term name
• Revenue limit
• Valid Employee
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
P_PM_PRODUCT_CODE ÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁ
IN
VARCHAR2(1)
VARCHAR2(30) Yes
API standard
The identifier of the
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external project management
system from which the project
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
was imported.
5–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_IN_REC IN AGREEMENT_REC_IN_TYPE Yes The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_OUT_REC OUT AGREEMENT_REC_OUT_TYPE The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
agreement output record in
Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
P_FUNDING_IN_TBL
ÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
IN FUNDING_IN_TBL_TYPE No The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the
funding input record in
ÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
Oracle projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_OUT_TBL OUT FUNDING_OUT_TBL_TYPE The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
funding output record in
Oracle Projects.
DELETE_AGREEMENT
This API deletes an agreement and associated funds.
Business Rules
• If the funding is baselined, the agreement cannot be deleted.
• Check accrued or billed amount:
agreement amount >= total funding amount >=0
AND
total funding amount >= amount accrued or billed
The following table shows the parameters for DELETE_AGREEMENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_PM_AGREEMENT_REFERENCE IN VARCHAR2(25) Yes The reference code that
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the
agreement in the external
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID IN NUMBER Yes The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
agreement in Oracle Projects.
UPDATE_AGREEMENT
This API updates an agreement and associated funds.
Business Rules
• If there is at least one summary project funding that exists where
the sum of the baselined amount and total unbaselined amount
is less then the revenue accrued or billed amount, the API does
not allow the revenue or invoice limit to be changed.
• The agreement amount cannot be be less than the sum of the
total baselined amount and unbaselined amount.
• The customer cannot be changed if there is one fund for the
agreement.
• List of Values
– Customer number
– Agreement type
– Agreement number
– Term name
– Revenue limit
– Valid employee
The following table shows the parameters for UPDATE_AGREEMENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER YES API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST IN VARCHAR2(1) No API standard (default = ’F’)
ÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Yes API standard
5–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
which the project was
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
imported.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_IN_REC IN AGREEMENT_REC_IN_TYPE Yes The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
agreement input record in
Oracle Projects.
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_OUT_REC
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
AGREEMENT_REC_OUT_TYPE The reference code that
uniquely identifies the
agreement output record in
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_IN_TBL IN FUNDING_IN_TBL_TYPE No The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
funding input record in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
projects.
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_OUT_TBL OUT FUNDING_OUT_TBL_TYPE The reference code that
uniquely identifies the
ÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
funding output record in
Oracle Projects.
CREATE_BASELINE_BUDGET
The API procedure
PA_AGREEMENT_PUB.CREATE_BASELINE_BUDGET creates and
baselines an approved revenue budget and baselines the funding for a
project. This procedure calls the
PA_BUDGET_PUB.CREATE_DRAFT_BUDGET procedure to create a
budget and the PA_BUDGET.BASELINE_BUDGET procedure to
baseline the budget.
Business Rules:
• Baseline Funding without Budget must be enabled for the
project. The functionality can be enabled for a project in the
Revenue and Billing Information window.
• If funding for the project is at the project level, the procedure
creates an approved revenue budget that uses the
system–defined budget entry method Project Level Baseline.
This budget entry method budgets at the project level and does
not use a resource list.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2 No API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2 No API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2 Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2 Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2 Yes The product code of the supplier of
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_BUDGET_REFERENCE IN VARCHAR2 No The reference code that uniquely
identifies the budget in the external
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID IN NUMBER Yes The reference code that uniquely
identifies the project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE IN VARCHAR2 No The reference code that uniquely
identifies a project in the external
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_CHANGE_REASON_CODE IN VARCHAR2 No The reference code that identifies the
change reason
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY
ÁÁÁ
P_ATTRIBUTE1 through ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
VARCHAR2
VARCHAR2
No
No
Used by descriptive flexfields
Budget descriptive flexfield
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE15
ADD_FUNDING
This API adds funding to an agreement.
5–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Business Rules
• If the project is funded by multiple customers, funding cannot be
done at the task level.
• If the project is funded by one customer, multiple agreements
generate an error message.
• If the Project Type is not Contract, the fund amount must be
zero.
• If the funding is baselined, the funding amount cannot be
updated.
• If the project’s invoice processing currency is defined as funding
currency, the project cannot be funded by more than one
currency.
• Check funding level: If there is an existing Project Level Funding,
there cannot also be a Top Task Level Funding. A project can
only have one funding level.
• Check accrued or billed amount:
agreement amount >= total funding amount >=0
AND
total funding amount >= amount accrued or billed
The following table shows the parameters for ADD_FUNDING.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
which the project was imported.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN VARCHAR2(35) Yes The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the funding
in the external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID IN OUT NUMBER(15) Yes The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the funding
in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_PROJECT_ID IN NUMBER(15) Yes The reference code that
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the project
in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PA_TASK_ID IN NUMBER No The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the task
within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID IN NUMBER Yes The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
agreement in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ALLOCATED_AMOUNT IN NUMBER Yes The reference code that
uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
allocated funding amount within
a project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_DATE_ALLOCATED
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
IN DATE No The reference code that
uniquely identifies the date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
allocated within a project in
Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_TYPE IN VARCHAR2(30) No Funding currency to project
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
currency exchange rate type
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_DATE IN DATE No Funding currency to project
currency exchange rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_EXCHANGE_RATE
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER No Funding currency to project
currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_TYPE IN VARCHAR2(30) No Funding currency to project
functional currency exchange
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
rate type
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_DATE IN DATE No Funding currency to project
functional currency exchange
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_EXCHANGE_RATE IN NUMBER No Funding currency to project
functional currency exchange
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_CATEGORY IN VARCHAR2 No The identifier of the funding
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DESC_FLEX_NAME IN VARCHAR2 No Descriptive flexfield name
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE10 ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(150) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID_OUT OUT NUMBER The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the funding
within a project in Oracle
Projects.
Business Rules
• If the funding is baselined, the agreement cannot be deleted.
• Check accrued or billed amount:
agreement amount >= total funding amount >=0
AND
total funding amount >= amount accrued or billed
The following table shows the parameters for DELETE_FUNDING.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
ÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
VARCHAR2(1)
VARCHAR2(30) Yes
API standard
The identifier of the external
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project management system from
which the project was imported.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(35) Yes The reference code that uniquely
identifies the supplier funding in
the external system.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the funding within a
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects.
P_CHECK_Y_N IN VARCHAR2(1) No Flag indicating to check whether
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the funding line can be deleted
UPDATE_FUNDING
This API updates a fund for an agreement.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from which
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the project was imported.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN VARCHAR2(35) Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the supplier funding in
the external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID IN NUMBER Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the funding within a
project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ID IN NUMBER No The reference code that uniquely
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
identifies a project in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TASK_ID IN NUMBER No The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
identifies a task within a project
in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the agreement in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_ALLOCATED_AMOUNT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER No The reference code that uniquely
identifies the amount of funding
allocated within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DATE_ALLOCATED IN DATE No The reference code that uniquely
identifies the allocated date within
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
a project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_TYPE IN VARCHAR2(30) No Funding currency to project currency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
exchange rate type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_DATE IN DATE No Funding currency to project currency
exchange rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_EXCHANGE_RATE IN NUMBER No Funding currency to project currency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_TYPE IN VARCHAR2(30) No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_DATE IN DATE No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_EXCHANGE_RATE IN NUMBER No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_CATEGORY
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2 No The identifier of the funding
category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DESCFLEX_NAME IN DATE No Descriptive flexfield name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield attribute
P_ATTRIBUTE10
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID_OUT
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER The reference code that uniquely
identifies the funding (outflows)
within a project in Oracle Projects.
LOAD_AGREEMENT
This API loads an agreement to a PL/SQL record.
The following table shows the parameters for LOAD_AGREEMENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_AGREEMENT_ IN VARCHAR2(25) Yes The reference code that uniquely
REFERENCE identifies the agreement in the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID IN NUMBER Yes The reference code that uniquely
identifies the agreement within a
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_CUSTOMER_ID IN NUMBER Yes The identification code of the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project’s customer in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_CUSTOMER_NAME
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(50) Yes The identification name of the
project’s customer in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_CUSTOMER_NUM
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(30) Yes The identification number of the
project’s customer in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_NUM
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(20) Yes The reference code that uniquely
identifies a agreement number within
a project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_TYPE
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(30) Yes The reference code that uniquely
identifies a agreement type within a
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AMOUNT IN NUMBER Yes The reference code that uniquely
identifies the amount of the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
agreement within a project in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁ
P_TERM_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the terms of the agreement
within a project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TERM_NAME IN VARCHAR2(15) Yes The name that uniquely identifies the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_REVENUE_LIMIT_FLAG IN VARCHAR2(1) No Indicates whether or not the revenue
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
limit has been exceeded.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_EXPIRATION_DATE IN DATE No Indicates the expiration date of the
agreement within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DESCRIPTION IN VARCHAR2(240) No Description of the agreement within a
project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
P_OWNED_BY_PERSON_ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the person who owns the
agreement within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_OWNED_BY_PERSON_NAME IN VARCHAR2(240) Yes The name that uniquely identifies the
person who owns the agreement within
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
a project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_TYPE IN VARCHAR2(30) No Funding currency to project currency
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
exchange rate type
P_PROJECT_RATE_DATE IN DATE No Funding currency to project currency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_EXCHANGE_RATE IN NUMBER No Funding currency to project currency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_TYPE IN VARCHAR2(30) No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
type
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_DATE IN DATE No Funding currency to project
functional currency exchange rate
ÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_EXCHANGE_RATE IN NUMBER No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through
ÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE10
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(150) No Descriptive flexfield attribute
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TEMPLATE_FLAG IN VARCHAR2(1) No Indicates whether or not the project
is a template.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DESC_FLEX_NAME IN VARCHAR2(40) No Descriptive flexfield name
LOAD_FUNDING
This API loads funding to a PL/SQL table.
The following table shows the parameters for LOAD_FUNDING.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN VARCHAR2(35) Yes The reference code that uniquely
identifies the funding in external
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID IN NUMBER Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the funding in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID IN NUMBER Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the agreement in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Yes The reference code that uniquely
identifies the project in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁ
P_TASK_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER No The reference code that uniquely
identifies the task within a project
in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ALLOCATED_AMOUNT
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Yes The reference code that uniquely
identifies the amount of funding
allocated within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DATE_ALLOCATED IN DATE No The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the date funding was
allocated within a project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_TYPE IN VARCHAR2(30) No Funding currency to project currency
exchange rate type
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_DATE
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN DATE No Funding currency to project currency
exchange rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_EXCHANGE_RATE IN NUMBER No Funding currency to project currency
exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_TYPE
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(30) No Funding currency to project
functional currency exchange rate
type
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
P_PROJFUNC_RATE_DATE
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN DATE No Funding currency to project
functional currency exchange rate
date
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_EXCHANGE_RATE
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_CATEGORY IN VARCHAR2 No The identifier of the funding
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
category
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through
ÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE10 ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(150) No Descriptive flexfield attribute
Business Rules
List of values
• Customer number
• Agreement type
• Agreement number
• Term name
• Revenue limit
• Valid Employee
The following table shows the parameters for
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
EXECUTE_CREATE_AGREEMENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
P_PM_PRODUCT_CODE ÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT VARCHAR2(1)
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(30) Yes
API standard
The identifier of the external project
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
management system from which the project
was imported.
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID_OUT
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the agreement in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
P_CUSTOMER_ID_OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the customer in Oracle
Projects.
EXECUTE_UPDATE_AGREEMENT
This API updates an agreement with the funding using the data stored
in the global tables during the Load phase.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default =‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default =‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(30) Yes The identifier of the external project
management system from which the
project was imported.
FETCH_FUNDING
This API gets the return_status that was returned during creation of
funds and stored in a global PL/SQL table.
The following table shows the parameters for FETCH_FUNDING.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER YES API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_INDEX IN NUMBER Yes Pointer to specific funding amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID OUT NUMBER The reference code that uniquely
identifies the funding in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE OUT VARCHAR2(35) The reference code that uniquely
identifies the funding in the external
CLEAR_AGREEMENT
This API clears the globals that were set up during initialization.
Parameters: None
CHECK_DELETE_AGREEMENT_OK
This API checks whether an agreement can be deleted.
Business Rules
• If the funding is baselined, the agreement cannot be deleted.
• Check accrued or billed amount:
agreement amount >= total funding amount >=0
AND
total funding amount >= amount accrued or billed
The following table shows the parameters for
CHECK_DELETE_AGREEMENT_OK.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT
P_MSG_DATA
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
NUMBER
VARCHAR2(2000)
API standard
API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) APi standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_AGREEMENT_REFERENC IN VARCHAR2(25) Yes The reference code that uniquely
E identifies the agreement in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID IN NUMBER Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the agreement in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEL_AGREE_OK_FLAG OUT VARCHAR2(1) Boolean flag for deleting agreement
CHECK_ADD_FUNDING_OK
This API checks whether a fund can be added.
Business Rules
• If the project is funded by multiple customers, task level funding
is not allowed.
• If the project is funded by one customer, multiple agreements
generate an error message.
• If the project’s invoice processing currency is defined as funding
currency, the project cannot be funded by more than one
currency.
• If the project type is not Contract, the fund amount must be zero.
• If the funding is baselined, the funding amount cannot be
updated.
• The funding level must be valid: If there is an existing Project
Level Funding, there cannot also be a Top Task Level Funding. A
project can only have one funding level.
• The accrued/billed amount must be valid:
agreement amount >= total funding amount >=0
AND
total funding amount >= amount accrued or billed
The following table shows the parameters for
CHECK_ADD_FUNDING_OK.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000 API standard
)
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_AGREEMENT_REFERENCE IN
VARCHAR2(1)
VARCHAR2(25) Yes
API standard
The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the agreement in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN VARCHAR2(25) Yes The reference code that uniquely
identifies the funding in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system.
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TASK_ID IN NUMBER Yes The reference code that uniquely
identifies the task within the
ÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
project in Oracle PRojects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ID IN NUMBER Yes The reference code that uniquely
identifies the project in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ADD_FUNDING_OK_FLAG OUT VARCHAR2(1) Boolean flag for adding funding
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_TYPE IN VARCHAR2(30) No Funding currency to project currency
exchange rate type
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁ
P_PROJECT_RATE_DATE
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
DATE No Funding currency to project currency
exchange rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_EXCHANGE_RATE IN NUMBER No Funding currency to project currency
exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_TYPE
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(30) No Funding currency to project
functional currency exchange rate
type
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_DATE
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
DATE No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
date
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_EXCHANGE_RATE IN NUMBER No Funding currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_AMT IN NUMBER No Allocated funding amount
CHECK_DELETE_FUNDING_OK
This API checks whether a fund can be deleted.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN VARCHAR2(35) Yes The reference code that uniquely
identifies the funding in the external
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID IN NUMBER Yes The reference code that uniquely
identifies the funding in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEL_FUNDING_OK_FLAG OUT VARCHAR2(1) Boolean flag for deleting funding
CHECK_UPDATE_FUNDING_OK
This API checks whether a fund can be added.
Business Rules
• If the project is funded by multiple customers, task level funding
is not allowed.
• If the project type is not Contract, the fund amount must be zero.
• If the funding is baselined, the funding amount cannot be
updated.
• If the project’s invoice processing currency is defined as funding
currency, the project cannot be funded by more than one
currency.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = ‘F’)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
which the project was imported.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_FUNDING_REFERENCE IN VARCHAR2(35) Yes The reference code that uniquely
identifies the funding in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_ID IN NUMBER Yes The reference code that uniquely
identifies the funding in Oracle
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PROJECT_REFERENCE IN VARCHAR2(25) No The reference code that uniquely
identifies the project in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_ID IN NUMBER No The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the project in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁ
P_PM_TASK_REFERENCE
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(25) No The reference code that uniquely
identifies the task in the external
system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TASK_ID
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER No The reference code that uniquely
identifies the task within a
project in Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_AGREEMENT_REFERENCE IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(25) Yes The reference code that uniquely
identifies the agreement in the
external system.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The reference code that uniquely
identifies the agreement in Oracle
projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ALLOCATED_AMOUNT IN NUMBER No The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_DATE_ALLOCATED IN DATE No The reference code that uniquely
identifies the date funding was
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
allocated within a project in
Oracle Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_CATEGORY
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 No The identifier of the funding
category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DESC_FLEX_NAME IN VARCHAR2(40) No Descriptive flexfield name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield attribute
P_ATTRIBUTE10
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
P_PROJECT_RATE_TYPE ÁÁÁÁÁÁÁÁÁÁÁÁ
P_UPDATE_FUNDING_OK_FLAG
ÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
IN
VARCHAR2(1)
VARCHAR2(30) No
Boolean flag for deleting funding
Funding currency to project
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
currency exchange rate type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_OWNING_ORGANIZATION_ID IN NUMBER No Unique identifier of the owning
organization
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
P_AGREEMENT_CURRENCY_CODE
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(15) No Funding currency code for the
agreement
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INVOICE_LIMIT_FLAG IN VARCHAR2(1) No Flag indicating whether invoices
for projects funded by this
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
agreement can exceed the allocated
funding amount
l_pm_product_code VARCHAR2(25);
l_agreement_in_rec pa_agreement_pub.Agreem
ent_Rec_In_Type;
l_agreement_out_rec pa_agreement_pub.Agreem
ent_Rec_Out_Type;
l_early_start_date DATE;
l_pm_agreement_reference VARCHAR2(25);
l_agreement_id NUMBER;
l_customer_id NUMBER;
l_customer_name VARCHAR2(25);
l_customer_num VARCHAR2(25);
l_agreement_num VARCHAR2(25);
l_agreement_type VARCHAR2(25);
l_amount NUMBER;
l_term_id NUMBER;
l_term_name VARCHAR2(25);
l_revenue_limit_flag VARCHAR2(25);
l_expiration_date DATE;
l_description VARCHAR2(25);
l_owned_by_person_id NUMBER;
l_owned_by_person_name VARCHAR2(25);
l_attribute_category VARCHAR2(25);
l_attribute1 VARCHAR2(25);
l_attribute2 VARCHAR2(25);
l_attribute3 VARCHAR2(25);
l_attribute4 VARCHAR2(25);
l_attribute5 VARCHAR2(25);
l_attribute6 VARCHAR2(25);
l_attribute7 VARCHAR2(25);
l_attribute8 VARCHAR2(25);
l_attribute9 VARCHAR2(25);
l_attribute10 VARCHAR2(25);
l_template_flag VARCHAR2(25);
–––loop variables
a NUMBER:=0;
API_ERROR EXCEPTION;
–– LOOP CONSTRUCT
l_funding_in(a):= l_funding_rec;
a:= 2;
l_funding_rec.pm_funding_reference := ’C1004’;
l_funding_rec.project_funding_id :=Null;
l_funding_rec.agreement_id := Null;
l_funding_rec.project_id := 1404;
l_funding_rec.task_id := Null;
l_funding_rec.allocated_amount := 1000;
l_funding_rec.date_allocated := ’01–JAN–2000’;
l_funding_rec.attribute_category := Null;
l_funding_rec.attribute1 := Null;
l_funding_rec.attribute2 := Null;
l_funding_rec.attribute3 := Null;
l_funding_rec.attribute4 := Null;
l_funding_rec.attribute5 := Null;
l_funding_rec.attribute6 := Null;
l_funding_rec.attribute7 := Null;
l_funding_rec.attribute8 := Null;
l_funding_rec.attribute9 := Null;
l_funding_rec.attribute10 := Null;
–– LOOP CONSTRUCT
l_funding_in(a) := l_funding_rec;
–––––––––––––––––––––––––––––––––––––––––––––––
––INIT_CREATE_AGREEMENT
pa_agreement_pub.init_agreement;
–––––––––––––––––––––––––––––––––––––––––––––––
––LOAD AGREEMENT
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
END LOOP;
pa_agreement_pub.execute_create_agreement
( p_api_version_number =>
l_api_version_number,
p_commit => l_commit,
p_init_msg_list => l_init_msg_list,
p_msg_count => l_msg_count,
p_msg_data => l_msg_data
p_return_status => l_return_status,
p_pm_product_code => l_pm_product_code,
p_agreement_id_out => l_agreement_id_out,
p_customer_id_out => l_customer_id_out);
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
––FETCH_TASK
IF l_return_status != ’S’
THEN
end loop;
end loop;
END ;
––Funding Variables
l_pm_funding_reference VARCHAR2(25);
–– Loop Variables;
a NUMBER
API_ERROR EXCEPTION
––BEGIN
l_pm_product_code:=‘MSPROJECT’;
––AGREEMENT DATA
p_agreement_in_rec.pm_agreement_reference := ’AMGTEST1’;
p_agreement_in_rec.agreement_id := Null;
p_agreement_in_rec.customer_id := 21491;
p_agreement_in_rec.customer_num := ’1086’;
p_agreement_in_rec.agreement_num := ’AMGTEST1’;
p_agreement_in_rec.agreement_type := ’Contract’;
p_agreement_in_rec.amount := 2000;
p_agreement_in_rec.term_id := 1000;
p_agreement_in_rec.term_name := Null;
p_agreement_in_rec.revenue_limit_flag:= ’N’;
p_agreement_in_rec.expiration_date := Null;
p_agreement_in_rec.description := Null;
p_agreement_in_rec.owned_by_person_id:= 1234;
p_agreement_in_rec.attribute_category:= Null;
p_agreement_in_rec.attribute1 := Null;
p_agreement_in_rec.attribute3 := Null;
p_agreement_in_rec.attribute4 := Null;
p_agreement_in_rec.attribute5 := Null;
p_agreement_in_rec.attribute6 := Null;
p_agreement_in_rec.attribute7 := Null;
p_agreement_in_rec.attribute8 := Null;
p_agreement_in_rec.attribute9 := Null;
p_agreement_in_rec.attribute10 := Null;
p_agreement_in_rec.template_flag := ’N’;
–– LOOP CONSTRUCT
l_funding_in(a):= l_funding_rec;
–– ’CREATE_AGREEMENT
pa_agreement_pub.create_agreement
( p_api_version_number => l_api_version_number
,p_commit => l_commit
,p_init_msg_list => l_init_msg_list
,p_msg_count => l_msg_count
,p_msg_data => l_msg_data
,p_return_status => l_return_status
,p_pm_product_code => l_pm_product_code
,p_agreement_in_rec => p_agreement_in_rec
,p_agreement_out_rec=> p_agreement_out_rec
,p_funding_in_tbl => l_funding_in
,p_funding_out_tbl => l_funding_out);
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
––HANDLE EXCEPTIONS
end loop;
if i = 1 THEN
CREATE_EVENT
This API creates an event or a set of events.
The following table shows the parameters for CREATE_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST
ÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODEÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁ
IN
VARCHAR2(1)
VARCHAR2(30)
No
Yes
API standard (default = F)
The identifier of the
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
external project management
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
system from which the project
was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_IN_TBL IN EVENT_IN_TBL_TYPE No The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the event
input record in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_OUT_TBL OUT EVENT_OUT_TBL_TYPE The reference code that
uniquely identifies the event
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
output record in Oracle
Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA
P_RETURN_STATUS ÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
VARCHAR2(2000)
VARCHAR2(1)
API standard
API standard
DELETE_EVENT
This API deletes an event.
The following table shows the parameters for DELETE_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST
IN
IN
VARCHAR2(1)
VARCHAR2(1)
No
No
API standard (default = F)
API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
project management system from
which the project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_EVENT_REFERENCE IN VARCHAR2(25) Yes The reference code that
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
uniquely identifies the event
in the external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_ID
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Yes The reference code that
uniquely identifies the event
in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
OUT
OUT
VARCHAR2(2000)
VARCHAR2(1)
API standard
API standard
UPDATE_EVENT
This API updates an event or set of events.
The following table shows the parameters for UPDATE_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER YES API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG__LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_IN_TBL
ÁÁÁÁÁÁÁÁÁ ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁ
EVENT_IN_TBL_TYPE No The reference code that
uniquely identifies the event
input record in Oracle
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_OUT_TBL OUT EVENT_OUT_TBL_TYPE The reference code that
uniquely identifies the event
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
output record in Oracle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Projects
P_MSG_COUNT OUT NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT
VARCHAR2(2000)
VARCHAR2(1)
Yes
Yes
API standard
API standard
LOAD_EVENT
This API loads an event to a PL/SQL record.
The following table shows the parameters for LOAD_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external
project management system from
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
which the project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_EVENT_REFERENCE IN VARCHAR2(25) Yes The reference code that uniquely
identifies the event in the
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
external system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_TASK_NUMBER IN VARCHAR2(25) Yes The number that identifies the task
in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_NUMBER
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
NUMBER Yes The number that identifies the
event
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_TYPE IN VARCHAR2(30) Yes The event type that classifies the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
event
P_DESCRIPTION IN VARCHAR2(250) No Description of the event
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BILL_HOLD_FLAG
ÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(1) No Indicator that the event is held
from invoicing
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMPLETION_DATE IN DATE No The date on which the event is
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
complete and on or after which the
event is processed for revenue
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
accrual and/or invoicing
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DESC_FLEX_NAME IN VARCHAR2(240) No Descriptive flexfield name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE_CATEGORY IN VARCHAR2(30) No Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ATTRIBUTE1 through IN VARCHAR2(150) No Descriptive flexfield attribute
P_ATTRIBUTE10
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
P_PROJECT_NUMBER
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(25)
ÁÁÁÁÁÁÁÁÁÁÁÁ
No The project number associated with
the event
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ORGANIZATION_NAME IN VARCHAR2(240) No The organization associated with
the event
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁ
P_INVENTORY_ORG_NAME
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
ÁÁÁÁÁÁÁÁÁÁÁÁ
VARCHAR2(240) No The inventory organization
associated with the event
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INVENTORY_ITEM_ID IN NUMBER No The inventory item ID associated
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
with the event
P_QUANTITY_BILLED IN NUMBER No The quantity billed
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_UOM_CODE IN VARCHAR2(3) No The unit of measure
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_UNIT_PRICE
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
P_REFERENCE1 through
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN
IN
NUMBER
VARCHAR2(240)
No
No
The unit price
Reference column
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_REFERENCE10
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BILL_TRANS_CURRENCY_CODE IN VARCHAR2(15) No Billing transaction currency code
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BILL_TRANS_BILL_AMOUNT IN NUMBER No Billing transaction billing amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_BILL_TRANS_REV_AMOUNT IN NUMBER No Billing transaction revenue amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_TYPE IN VARCHAR2(30) No Event currency to project currency
exchange rate type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_RATE_DATE
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN DATE No Event currency to project currency
exchange rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJECT_EXCHANGE_RATE IN NUMBER No Event currency to project currency
exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
P_PROJFUNC_RATE_TYPE
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(30) No Event currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_RATE_DATE IN DATE No Event currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_PROJFUNC_EXCHANGE_RATE IN NUMBER No Event currency to project
functional currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁ
P_FUNDING_RATE_TYPE
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(30) No Funding currency to project
currency exchange rate type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_RATE_DATE IN DATE No Funding currency to project
currency exchange rate date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_FUNDING_EXCHANGE_RATE
ÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER No Funding currency to project
currency exchange rate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_ADJUSTING_REVENUE_FLAG IN VARCHAR2(1) No Indicates revenue adjustment
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_ID IN NUMBER No Identifier of the event
P_RETURN_STATUS OUT VARCHAR2(1) API standard
EXECUTE_CREATE_EVENT
This API creates an event using the data which is stored in the global
tables during the Load phase.
The following table shows the parameters for
EXECUTE_CREATE_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external project
management system from which the project
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_ID_OUT OUT NUMBER Yes The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the event in Oracle Projects
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
EXECUTE_UPDATE_EVENT
This API updates event data using the information stored in the global
tables during the Load phase.
The following table shows the parameters for
EXECUTE_UPDATE_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (Default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (Default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external project
management system from which the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA OUT VARCHAR2(2000) API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT VARCHAR2(1) API standard
FETCH_EVENT
This API gets the return_status that was returned during creation of an
event and stored in a global PL/SQL table.
The following table shows the parameters for FETCH_EVENT.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER YES API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external project
management system from which the project
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_EVENT_REFERENCE IN VARCHAR2 The reference code that uniquely
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
identifies the event in the external
system
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_ID_OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS OUT
NUMBER
VARCHAR2(1)
The reference code that uniquely
identifies the event in Oracle Projects.
API standard
CLEAR_EVENT
This API clears the globals that were set up during initialization.
Parameters: None
CHECK_DELETE_EVENT_OK
This API checks whether an event can be deleted.
The following table shows the parameters for
CHECK_DELETE_EVENT_OK.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name Usage Type Req? Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_API_VERSION_NUMBER IN NUMBER Yes API standard
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_COMMIT IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = F)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_PRODUCT_CODE IN VARCHAR2(30) Yes The identifier of the external project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
management system from which the
project was imported
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_PM_EVENT_REFERENCE
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(25) Yes The reference code that uniquely
identifies the event in the external
system
ÁÁÁÁÁÁÁÁÁÁÁÁ
P_EVENT_ID
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Yes The reference code that uniquely
identifies the event in Oracle
Projects.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_DEL_EVENT_OK_FLAG OUT VARCHAR2(1) Boolean flag for deleting event
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_MSG_COUNT OUT NUMBER API standard
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
P_MSG_DATA
ÁÁÁÁÁÁÁÁÁ
P_RETURN_STATUS
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
OUT
OUT
VARCHAR2(2000)
VARCHAR2(1)
API standard
APi standard
6 Oracle Project
Management APIs
View Description
6–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
View Description
ADD_BUDGET_LINE
ADD_BUDGET_LINE is a PL/SQL procedure used to add a budget
line to a working budget in Oracle Projects for a given project and
budget type.
Business Rules
Note: This API does not support the Web–based budget user
interface.
• After you use ADD_BUDGET_LINE to create a draft budget and
budget lines, save the data to the database before calling the API
BASELINE_BUDGET. (A draft budget requires approval before
you can baseline it.) For a revenue budget, enter the funding in
Oracle Projects before you baseline the budget.
• We establish the following links between information stored in
your external system and certain information in Oracle Projects,
so you can pass the following parameters instead of their
corresponding Oracle Projects identification codes.
– For budgets:
P_PM_PROJECT_REFERENCE links to P_PA_PROJECT_ID.
P_RESOURCE_LIST_NAME links to
P_RESOURCE_LIST_ID.
– For budget lines:
P_PM_TASK_REFERENCE links to P_PA_TASK_ID.
P_RESOURCE_ALIAS links to
P_RESOURCE_LIST_MEMBER_ID.
• The following pairs of parameters may both have NULL values
if the budget is not categorized by resources, as defined by the
budget entry method:
– P_RESOURCE_LIST_NAME and P_RESOURCE_LIST_ID
– RESOURCE_ALIAS and RESOURCE_LIST_MEMBER_ID
6–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
• Specify values for the parameters PA_TASK_ID or
PM_TASK_REFERENCE only when budgeting by tasks, as
defined by the budget entry method.
• Specify values for the parameter PERIOD_NAME only when
budgeting by PA or GL period, as defined by the budget entry
method.
• If you budget by PA or GL period and do not provide a period
name, Oracle Projects uses the budget start and end dates to
select a valid period name from the database. If Oracle Projects
fails to retrieve a valid period name, the API will abort.
• The task level at which you pass budget information should
correspond to the level specified in the budget entry method.
For example, if the budget entry method specifies that you can
enter a budget only at the lowest task level, then
ADD_BUDGET_LINE passes only lowest tasks.
• When the budget entry method (BEM) flags shown in the
following table are set to N, do not pass the related parameters.
COST_QUANTITY_FLAG QUANTITY
RAW_COST_FLAG RAW_COST
BURDENED_COST_FLAG BURDENED_COST
REV_QUANTITY_FLAG QUANTITY
REVENUE_FLAG REVENUE
Table 6 – 2 Parameters not to Pass if BEM Flags Are Set to N (Page 1 of 1)
6–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
BASELINE_BUDGET
BASELINE_BUDGET is a PL/SQL procedure used to baseline an
existing budget in Oracle Projects for a given project and budget type.
Business Rules
• The following parameters are used only for the Web–based user
interface. For budgets that do not use the Web–based interface,
these parameters are not applicable:
– P_FIN_PLAN_TYPE_ID
– P_FIN_PLAN_TYPE_NAME
– P_VERSION_TYPE
• You must set up funding in Oracle Projects before you can
baseline a revenue budget.
• If you have not yet submitted a budget, Oracle Projects submits
it automatically before baselining it.
• You can submit a budget only if it contains budget lines.
• If no value (or an invalid value) is passed for the parameter
P_MARK_AS_ORIGINAL, the default is N. When you baseline
a budget for the first time, the P_MARK_AS_ORIGINAL is set to
Y.
The following table shows the parameters for BASELINE_BUDGET.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_WORKFLOW_STARTED OUT VARCHAR2(1) Shows if a workflow has been
started (Y or N)
P_PM_PRODUCT_CODE IN VARCHAR2(10) Yes The product code of the vendor
of the external system
P_PA_PROJECT_ID IN NUMBER No The reference code that
uniquely identifies the
project in Oracle Projects
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that
uniquely identifies the
project in the external system
CALCULATE_AMOUNTS
Using the PA_CLIENT_EXTN_BUDGET extension, you can use the
public API CALCULATE_AMOUNTS to recalculate raw cost,
burdened cost, and revenue amounts for existing budget lines. If
P_UPDATE_DB_FLAG is set to Y, then the budget lines for the
specified project will be updated upon the successful execution of this
API.
Business Rules
• The following parameters are used only for the Web–based user
interface. For budgets that do not use the Web–based interface,
these parameters are not applicable:
– P_BUDGET_VERSION_ID
– P_FIN_PLAN_TYPE_ID
– P_FIN_PLAN_TYPE_NAME
– P_VERSION_TYPE
– P_BUDGET_VERSION_NUMBER
• Since this API calls the PA_CLIENT_EXTN_BUDGET extension,
you must modify the extension to calculate the amounts you
want.
6–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
• To recalculate the corresponding amount, pass an uppercase Y
for each calculation flag.
• Regardless of its update status, CALCULATE_AMOUNTS
returns one row of amounts for each budget line it reads.
• To update the budget lines for a project with the amounts
generated from CALCULATE_AMOUNTS, set
P_UPDATE_DB_FLAG to an uppercase Y.
The following table shows the parameters for
CALCULATE_AMOUNTS.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PRODUCT_CODE IN VARCHAR2(25) Yes The product code of the vendor of
the external system
P_PA_PROJECT_ID IN NUMBER No The reference code that uniquely
identifies the project in Oracle
Projects
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that uniquely
identifies the project in the
external system
P_BUDGET_TYPE_CODE IN VARCHAR2(30) Yes The reference code that identifies
the budget type
P_CALC_RAW_COST_YN IN VARCHAR2(1) No Calculate raw cost (Y = Yes, N =
No)
P_CALC_BURDENED_COST_YN IN VARCHAR2(1) No Calculate burdened cost (Y = Yes, N
= No)
P_CALC_REVENUE_YN IN VARCHAR2(1) No Calculate revenue (Y = Yes, N = No)
P_UPDATE_DB_FLAG IN VARCHAR2(1) No Update budget lines (Y = Yes, N =
No)
P_CALC_BUDGET_LINES_OUT IN TABLE OF RECORD
P_BUDGET_VERSION_ID IN NUMBER(15) No The system–generated number that
uniquely identifies the budget
version.
P_FIN_PLAN_TYPE_ID IN NUMBER No The unique identifier of the plan
type being used for the creation of
a plan version
P_FIN_PLAN_TYPE_NAME IN VARCHAR2(150) No The plan type name. You must supply
a valid value for either
p_fin_plan_type_id or
p_fin_plan_type_name.
CREATE_DRAFT_BUDGET
CREATE_DRAFT_BUDGET is a PL/SQL procedure used to create a
draft budget and its budget lines in Oracle Projects for a given project,
using a selected budget type and budget entry method.
This API uses composite datatypes. For more information, see APIs
That Use Composite Datatypes: page 2 – 19.
Business Rules
• Some parameters are used only for the Web–based user interface.
For budgets that do not use the Web–based interface,
thefollowing types of parameters are not applicable:
– Plan type and plan code parameters
– Version type parameters
COST_QUANTITY_FLAG QUANTITY
RAW_COST_FLAG RAW_COST
BURDENED_COST_FLAG BURDENED_COST
REV_QUANTITY_FLAG QUANTITY
REVENUE_FLAG REVENUE
Table 6 – 3 Parameters not to Pass if BEM Flags Are Set to N (Page 1 of 1)
DELETE_BUDGET_LINE
DELETE_BUDGET_LINE is a PL/SQL procedure used to delete a
budget line from a working budget in Oracle Projects for a given
project and budget type.
Business Rules
Note: This API does not support the Web–based budget user
interface.
This rule applies to the budget status that supports budget line
deletion:
• You can delete only budget lines from working budgets. You
cannot delete budget lines from baselined budgets.
This rule applies to the budget start date and period name:
• If values for P_START_DATE and P_PERIOD_NAME are not
passed or are both passed as NULL, deleting a budget line
deletes all the budget lines for the task/resource combination.
These rules apply to the budget entry method:
• Depending on the budget entry method, this API may require
that you pass task and/or resource data.
• If budget APIs have passed no task data, Oracle Projects
assumes that the budget entry method has specified
Business Rules
• You can delete working budgets only. You cannot delete
baselined or submitted budgets.
• When you delete a budget, you also delete its budget lines and
resource assignments.
The following table shows the parameters for
DELETE_DRAFT_BUDGET.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PRODUCT_CODE IN VARCHAR2(10) Yes The product code of the vendor
of the external system
P_PA_PROJECT_ID IN NUMBER No The reference code that
uniquely identifies the
project in Oracle Projects
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that
uniquely identifies the
project in the external system
P_BUDGET_TYPE_CODE IN VARCHAR2(30) Yes The reference code that
identifies the budget type
P_FIN_PLAN_TYPE_NAME IN VARCHAR2(150) No The plan type name. You must
supply a valid value for
either p_fin_plan_type_id or
p_fin_plan_type_name.
P_FIN_PLAN_TYPE_ID IN NUMBER No The unique identifier of the
plan type used to create the
plan version
UPDATE_BUDGET
UPDATE_BUDGET is a PL/SQL procedure used to update the
working budget with its budget lines in Oracle Projects for a given
project. This API updates existing budget lines or inserts new budget
lines, depending on whether the budget lines already exist.
This API uses composite datatypes. For more information, see APIs
That Use Composite Datatypes: page 2 – 19.
Business Rules
Note: This API does not support the Web–based budget user
interface.
• A draft budget requires approval before you can baseline it.
After you use this API to create a draft budget and budget lines,
save the data to the database before calling the API
BASELINE_BUDGET. For a revenue budget, you must enter the
funding in Oracle Projects before you can baseline the budget.
• We establish links between information stored in your external
system and certain information in Oracle Projects, so you can
pass the following parameters instead of their corresponding
Oracle Projects identifiers.
– For budgets:
P_PM_PROJECT_REFERENCE links to P_PA_PROJECT_ID.
P_RESOURCE_LIST_NAME links to
P_RESOURCE_LIST_ID.
– For budget lines:
P_PM_TASK_REFERENCE links to P_PA_TASK_ID.
P_RESOURCE_ALIAS links to
P_RESOURCE_LIST_MEMBER_ID.
COST_QUANTITY_FLAG QUANTITY
RAW_COST_FLAG RAW_COST
BURDENED_COST_FLAG BURDENED_COST
REV_QUANTITY_FLAG QUANTITY
REVENUE_FLAG REVENUE
Table 6 – 4 Parameters not to Pass if BEM Flags Are Set to N (Page 1 of 1)
UPDATE_BUDGET_LINE
UPDATE_BUDGET_LINE is a PL/SQL procedure used to update an
existing budget line of a working budget in Oracle Projects for a given
project and budget type.
COST_QUANTITY_FLAG QUANTITY
RAW_COST_FLAG RAW_COST
BURDENED_COST_FLAG BURDENED_COST
REV_QUANTITY_FLAG QUANTITY
REVENUE_FLAG REVENUE
Table 6 – 5 Parameters not to Pass if BEM Flags Are Set to N (Page 1 of 1)
CLEAR_BUDGET
CLEAR_BUDGET is a Load–Execute–Fetch procedure used to clear the
global data structures set up during the Initialize step.
Business Rules
• Some parameters are used only for the Web–based user interface.
For budgets that do not use the Web–based interface,
thefollowing types of parameters are not applicable:
– Plan type and plan code parameters
– Version type parameters
– P_TIME_PHASED_CODE
– P_PLAN_IN_MULTI_CURR_FLAG
– Currency attributes
– Flags for raw cost, burdened cost, revenue, quantity
planning, create current working version, replace current
working version
– P_USING_RESOURCE_LISTS_FLAG
• Since this API calls the PA_CLIENT_EXTN_BUDGET extension,
you must modify the extension to calculate the amounts you
want.
• You must pass an uppercase ’Y’ for each calculation flag to
recalculate the corresponding amount.
• Regardless of its update status, this API returns one row of
amounts for each budget line it reads.
• To update the budget lines for a project with the calculated
amounts generated from this API, you must set the
P_UPDATE_DB_FLAG to an uppercase ’Y’.
• This API returns the total number of budget lines processed in
the OUT parameter P_TOT_BUDGET_LINES_CALCULATED.
This total determines how many times to call
FETCH_CALCULATE_AMOUNTS in a loop.
The following table shows the parameters for
EXECUTE_CALCULATE_AMOUNTS.
Business Rules
• Some parameters are used only for the Web–based user interface.
For budgets that do not use the Web–based interface,
thefollowing types of parameters are not applicable:
– Plan type and plan code parameters
– Version type parameters
– P_TIME_PHASED_CODE
– P_PLAN_IN_MULTI_CURR_FLAG
– Currency attributes
– Flags for raw cost, burdened cost, revenue, quantity
planning, create current working version, replace current
working version
– P_USING_RESOURCE_LISTS_FLAG
The following table shows the parameters for
EXECUTE_CREATE_DRAFT_BUDGET.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_MSG_COUNT OUT NUMBER API standard
P_MSG_DATA OUT VARCHAR2(2000) API standard
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PM_PRODUCT_CODE IN VARCHAR2(10) Yes The product code of the vendor
of the external system
P_PM_BUDGET_REFERENCE IN VARCHAR2(30) No The reference code that
identifies the budget on the
client side
P_PA_PROJECT_ID IN NUMBER No The reference code that
uniquely identifies the
project in Oracle Projects
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that
uniquely identifies the
project in the external system
EXECUTE_UPDATE_BUDGET
EXECUTE_UPDATE_BUDGET is a Load–Execute–Fetch procedure
used to update a budget and its budget lines using the data stored in
the global tables during the Load process.
Business Rules
Note: This API does not support the Web–based budget user
interface.
The following table shows the parameters for
EXECUTE_UPDATE_BUDGET.
FETCH_BUDGET_LINE
FETCH_BUDGET_LINE is a Load–Execute–Fetch procedure used to
retrieve the return status returned during the creation of a budget line
from a global PL/SQL table.
The following table shows the parameters for FETCH_BUDGET_LINE.
Business Rule
• Call this API in a loop for each calculated budget line using the
API EXECUTE_CALCULATE_AMOUNTS. The value the API
EXECUTE_CALCULATE_AMOUNTS returns for
P_TOT_BUDGET_LINES_CALCULATED determines how many
times to call this API.
The following table shows the parameters for
FETCH_CALCULATE_AMOUNTS.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_LINE_INDEX OUT NUMBER Pointer to specific budget
line
P_RETURN_STATUS OUT VARCHAR2(1) API standard
P_PA_TASK_ID OUT NUMBER The reference code that
uniquely identifies the task
within a project in Oracle
Projects
P_PM_TASK_REFERENCE OUT VARCHAR2(30) The reference code that
uniquely identifies the task
in the external system
P_BUDGET_START_DATE OUT DATE Start date of budget line
P_BUDGET_END_DATE OUT DATE End date of budget line
P_PERIOD_NAME OUT VARCHAR2(20) PA or GL period name
P_RESOURCE_LIST_MEMBER_ID OUT NUMBER The identification code of the
resource
P_QUANTITY OUT NUMBER The quantity entered into the
budget line
P_RESOURCE_ALIAS OUT VARCHAR2(30) Alias of resource
P_CALCULATED_RAW_COST OUT NUMBER Calculated raw cost
P_CALCULATED_BURDENED_COST OUT NUMBER Calculated burdened cost
P_CALCULATED_REVENUE OUT NUMBER Calculated revenue
P_LINE_RETURN_STATUS OUT VARCHAR2(1) Return status for a specific
line
INIT_CALCULATE_AMOUNTS
INIT_CALCULATE_AMOUNTS is a Load–Execute–Fetch procedure
used to set up the global data structures used by the
Load–Execute–Fetch API CALCULATE_AMOUNTS.
LOAD_BUDGET_LINE
LOAD_BUDGET_LINE is a Load–Execute–Fetch procedure used to
load a budget line to a global PL/SQL table.
Business Rules
• Some parameters are used only for the Web–based user interface.
For budgets that do not use the Web–based interface,
thefollowing types of parameters are not applicable:
– P_TXN_CURRENCY_CODE
– Currency attributes
– P_CHANGE_REASON_CODE
The following table shows the parameters for LOAD_BUDGET_LINE.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API standard
P_COMMIT IN VARCHAR2(1) No API standard (default = ’F’)
P_INIT_MSG_LIST IN VARCHAR2(1) No API standard (default = ’F’)
P_RETURN_STATUS OUT VARCHAR2(1) No API standard
P_PA_TASK_ID IN NUMBER No The reference code that
uniquely identifies the task
within a project in Oracle
Projects
P_PM_TASK_REFERENCE IN VARCHAR2(30) No The reference code that
uniquely identifies the task in
the external system
P_RESOURCE_ALIAS IN VARCHAR2(30) No Alias of a resource
The statement returns C if you have chosen a cost budget, and R if you
have chosen a revenue budget. The following table illustrates the
amounts each budget type can hold and their relation to the parameters
of LOAD_BUDGET_LINE:
Revenue P_REVENUE
Revenue Quantity P_QUANTITY
Table 6 – 7 How budget amounts relate to API parameters (Page 2 of 2)
&RESOURCE_LIST_ID P_RESOURCE_LIST_ID
RESOURCE_LIST_NAME P_RESOURCE_LIST_NAME
Table 6 – 9 How selected values relate to budget parameters (Page 1 of 1)
CODE P_CHANGE_REASON_CODE
DESCRIPTION P_DESCRIPTION
Table 6 – 10 How selected values relate to budget parameters (Page 1 of 1)
TASK_ID P_PA_TASK_ID
PM_TASK_REFERENCE P_PM_TASK_REFERENCE
Table 6 – 11 How selected values relate to budget line parameters (Page 1 of 1)
RESOURCE_LIST_MEMBER_ID P_RESOURCE_LIST_
MEMBER_ID
ALIAS P_RESOURCE_ALIAS
Table 6 – 12 How selected values relate to budget line parameters (Page 1 of 1)
No Time–Phasing None
Date Ranges START_DATE and END_DATE
PA or GL Period START_DATE and END_DATE or
PERIOD_NAME
Table 6 – 13 How budget entry methods affect budget line parameters (Page 1 of 1)
PERIOD_NAME P_PERIOD_NAME
PERIOD_START_DATE P_BUDGET_START_DATE
PERIOD_END_DATE P_BUDGET_END_DATE
Table 6 – 14 How selected values relate to budget line parameters (Page 1 of 1)
l_budget_lines_in(i).resource_list_member_id
,p_budget_start_date =>
l_budget_lines_in(i).budget_start_date
,p_budget_end_date =>
l_budget_lines_in(i).budget_end_date
,p_period_name =>
l_budget_lines_in(i).period_name
,p_description =>
l_budget_lines_in(i).description
,p_raw_cost =>
l_budget_lines_in(i).raw_cost
,p_burdened_cost =>
l_budget_lines_in(i).burdened_cost
,p_revenue => l_budget_lines_in(i).revenue
,p_quantity =>
l_budget_lines_in(i).quantity );
END LOOP;
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
–––––––––––––––––––––––
––EXECUTE_CREATE_DRAFT_BUDGET
pa_budget_pub.execute_create_draft_budget
( p_api_version_number => l_api_version_number
,p_msg_count => l_msg_count
,p_msg_data => l_msg_data
,p_return_status => l_return_status
,p_pm_product_code => l_pm_product_code
,p_pa_project_id => l_pa_project_id
,p_pm_project_reference => l_pm_project_reference
,p_budget_type_code => l_budget_type_code
,p_change_reason_code => l_change_reason_code
end loop;
END;
/
API_ERROR EXCEPTION;
pa_budget_pub.clear_budget;
IF l_return_status != ’S’
THEN
RAISE API_ERROR;
END IF;
–––––––––––––––––––––––
––HANDLE EXCEPTIONS
EXCEPTION
WHEN API_ERROR THEN
for i in 1..l_msg_count loop
pa_interface_utils_pub.get_messages (
p_msg_data => l_msg_data
,p_data => l_data
,p_msg_count => l_msg_count
,p_msg_index_out => l_msg_index_out );
dbms_output.put_line (’error mesg ’||l_data);
end loop;
WHEN OTHERS THEN
for i in 1..l_msg_count loop
pa_interface_utils_pub.get_messages (
p_msg_data => l_msg_data
,p_data => l_data
,p_msg_count => l_msg_count
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
y
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Employee
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Yes
ÁÁÁÁ
Hours No
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Job Yes Hours No
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Organization Yes Hours No
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Expenditure Depends on the expenditure Unit of measure specified Yes
Type type attribute with track as for the expenditure type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
labor
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Event Type No blank No
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Supplier No blank No
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
Expenditure
Category ÁÁÁÁ
ÁÁÁÁ
Depends whether the
expenditure category
Depends whether the
resource type is tracked as
No
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
includes a labor expenditure labor
type
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Revenue Depends whether the Depends whether the No
Category revenue category includes a resource type is tracked as
ÁÁÁÁ
labor expenditure type labor
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Resource Quantity
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Uncategorized Yes Hours No
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Unclassified No blank No
View Description
PA_ACCUM_RSRC_ACT_V Returns current project– and task–level resource actual cost and revenue
summary amounts by the following periods: inception–to–date, year–to–
date, prior period, and period–to–date
PA_ACCUM_RSRC_COST_BGT_V Returns project– and task–level resource cost budget summary amounts for
the following periods: inception–to–date, year–to–date, prior period, period–
to–date, and total
PA_ACCUM_RSRC_REV_BGT_V Returns project– and task–level resource revenue budget summary amounts
for the following periods: inception–to–date, year–to–date, prior period,
period–to–date, and total
PA_ACCUM_WBS_ACT_V Returns current project– and task–level actual cost and revenue summary
amounts by the following periods: inception–to–date, year–to–date, prior
period, and period–to–date
PA_ACCUM_WBS_COST_BGT_V Returns project– and task–level cost budget summary amounts for the fol-
lowing periods: inception–to–date, year–to–date, prior period, period–to–
date, and total
PA_ACCUM_WBS_REV_BGT_V Returns project– and task–level revenue budget summary amounts for the
following periods: inception–to–date, year–to–date, prior period, period–to–
date, and total
PA_ACT_BY_GL_PERIOD_V Returns actual cost and revenue totals for lowest tasks and resources by GL
periods
PA_ACT_BY_PA_PERIOD_V Returns actual cost and revenue totals for lowest tasks and resources by PA
periods
PA_CMT_BY_GL_PERIOD_V Returns current commitment totals for lowest tasks and resources by GL
period.
PA_CMT_BY_PA_PERIOD_V Returns current commitment totals for lowest tasks and resources by PA
periods
PA_GL_PERIODS_V A view of the PA_PERIODS tables for GL periods and their start and end
dates
PA_PA_PERIODS_V A view of the PA_PERIODS tables for PA periods and their start and end
dates
PA_PM_REFERENCE_V Retrieves Oracle Projects identifiers and reference codes from your external
systems for projects and tasks
UPDATE_EARNED_VALUE
UPDATE_EARNED_VALUE is a PL/SQL procedure that updates
earned value information in the PA_EARNED_VALUES table for
lowest task–resource combinations. You can also use this procedure to
update project–task rows.
Business Rules
• This procedure creates a new row in the table
PA_EARNED_VALUES. CURRENT_FLAG is always set to Y for
the last row inserted for each project, task, and resource
combination. CURRENT_FLAG for all other rows is set to N.
• To create a project–task row, pass zero for the
RESOURCE_LIST_MEMBER_ID parameter. To create a project
row, pass zero for both the TASK_ID and
RESOURCE_LIST_MEMBER_ID parameters.
Note: This API assumes that the vendor of the external system
maintains the appropriate earned value data for all levels in
any given project.
The following table shows the parameters for
UPDATE_EARNED_VALUE.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API version number
P_INIT_MSG_LIST IN VARCHAR2(1) No Initial message table (default = ‘F’)
P_COMMIT IN VARCHAR2(1) No Commit (default = ‘F’)
P_RETURN_STATUS OUT VARCHAR2(1) Return status
P_MSG_COUNT OUT NUMBER Message count
P_MSG_DATA OUT VARCHAR2(2000) Message
P_PROJECT_ID IN NUMBER Yes The reference code that uniquely
identifies the project in Oracle
Projects
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that identifies
the project in the external system
UPDATE_PROGRESS
UPDATE_PROGRESS is a PL/SQL procedure that updates progress
information in the PA_PERCENT_COMPLETES table as of a given date
for all levels of the work breakdown structure.
Business Rules
• This procedure creates a new row in the table
PA_PERCENT_COMPLETES. CURRENT_FLAG is always set to
Y for the last row inserted for each project, task, and resource
combination. CURRENT_FLAG for all other rows is set to N.
• To create a project row, you must pass zero in TASK_ID.
Note: This API assumes that vendor of the external system
maintains the appropriate rollup of progress data for each level
of the work breakdown structure for any given project.
Providing progress information, however, is optional.
The following table shows the parameters for UPDATE_PROGRESS.
Name Usage Type Req? Description
P_API_VERSION_NUMBER IN NUMBER Yes API version number
P_INIT_MSG_LIST IN VARCHAR2(1) No Initial message table (default =
‘F’)
P_COMMIT IN VARCHAR2(1) No Commit (default = ‘F’)
P_RETURN_STATUS OUT VARCHAR2(1) Return status
P_MSG_COUNT OUT NUMBER Message count
P_MSG_DATA OUT VARCHAR2(2000) Message
P_PROJECT_ID IN NUMBER Yes The reference code that uniquely
identifies the project in Oracle
Projects
P_PM_PROJECT_REFERENCE IN VARCHAR2(30) No The reference code that uniquely
identifies the project in the
external system
P_TASK_ID IN NUMBER Yes The reference code that uniquely
identifies the task within a project
in Oracle Projects
P_PM_TASK_REFERENCE IN VARCHAR2(30) No The reference code that uniquely
identifies the task in the external
system
P_AS_OF_DATE IN DATE Yes As–of–date
P_PERCENT_COMPLETE IN NUMBER Yes Percent complete
X_task_id IN NUMBER The identifier for the task. When retrieving project–level amounts,
this parameter can be null.
X_resource_list_member_id IN NUMBER The identifier for the resource. When retrieving aggregate project
or task amounts, this parameter can be null.
X_period_type IN VARCHAR2 The identifier for the period type. You use this parameter to tell the
procedure that you expect summary amounts by either PA or GL
period. Allowable values are as P for PA Period, G for GL Period
X_from_period_name IN VARCHAR2 The identifier for the start period. You must pass this parameter
and the parameter X_to_period_Name to the procedure with the
following constraints: If the period type is PA, then both period
names must be Oracle Projects period names. Otherwise, both
period names must be GL period names. If you are retrieving
amounts for one period, you must specify the same period name
for both parameters. For a range of periods, the from period name
must be earlier than the to period name
X_to_period_name IN VARCHAR2 The identifier for the end period. (See X_from_period_name for
constraints about this parameter.)
X_event_type IN VARCHAR2 The identifier for the event type transaction attribute
X_non_labor_resource IN VARCHAR2 The identifier for the non–labor resource transaction attribute
X_expenditure_category IN VARCHAR2 The identifier for the expenditure category transaction attribute
X_revenue_category IN VARCHAR2 The identifier for the revenue category transaction attribute
X_non_labor_resource_org_ IN NUMBER The identifier for the non–labor resource organization transaction
id attribute
X_event_type_classification IN VARCHAR2 The identifier for the event type classification transaction attribute
Table 6 – 19 (Page 1 of 2)
X_system_linkage_function IN VARCHAR2 The identifier for the expenditure type class function transaction
attribute
X_week_ending_date IN DATE The identifier for the week ending date transaction attribute
Table 6 – 19 (Page 2 of 2)
Package.Procedure
The following table lists the parameters that Oracle Projects provides for
the Budget API, pa_accum_api.get_proj_accum_budgets.
7 Overview of Client
Extensions
7–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Client Extension Package Package Body
Specification File File
7–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Implementing Client Extensions
To implement client extensions, you must analyze your business
requirements, design the client extension logic, and then write the
appropriate PL/SQL procedures. Each of these steps is described in
this section.
Each step requires a specific expertise. The analysis and design
portions require an implementation team member who knows
company’s business rules, how Oracle Projects is set up in your
company, and how you want to use the client extensions. The PL/SQL
coding portion requires a team member who is adept with PL/SQL and
the Oracle Projects data structures. Typically, the implementation team
includes two or more people working together to provide the necessary
expertise.
Example
Your company has defined a policy that supplies must be charged to
overhead projects.
You review your implementation of Oracle Projects and find that you
can use transaction controls to specify what can be charged to a specific
project or task. The rule regarding supplies is applicable to all projects
that are not overhead projects. You decide it is impractical to
implement this rule by defining transaction controls for every
non–overhead project.
You decide to use transaction control extensions to implement this
policy.
7–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
You can derive data for any Oracle table as input into your rules, as
long as you can derive the values from the predefined input values
passed into the PL/SQL procedure.
Packages
Packages are database objects that group logically related PL/SQL
types, objects, and subprograms. Packages usually consist of two files:
a package specification file and a package body file. The files are
described in the following table:
File Description
Package Specification File The specification file is the interface to your applications.
It declares the types, variables, constants, exceptions,
cursors, and subprograms available for use in the
package.
Package Body File The package body contains the actual PL/SQL code used
to implement the business logic.
Table 7 – 2 (Page 1 of 1)
7–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Procedures
Procedures are subprograms within a package. Procedures are invoked
by the application and perform a specific action. Procedures define
what parameters will be passed in as context for the program, how the
inputs are processed, and what output is returned. A procedure
consists of the following elements:
Inputs Each procedure has predefined input parameters,
which must be passed in the predefined order. The
parameters identify the transaction being
processed and the context in which the program is
called. You can derive additional inputs from any
Oracle table based on the predefined input
parameters.
Logic The procedure uses the inputs and performs any
logical processing and calculations. The program
can be a simple program, such that it returns a
fixed number, or it can be a complex algorithm that
performs multiple functions.
Outputs Each procedure returns whatever value you define
it to return. For example, your procedure for
transaction control extensions could return a null
value if the transaction passes all validation rules,
or an error message if validation fails.
Syntax
A procedure consists of two parts: the specification and the body.
The procedure specification begins with the keyword PROCEDURE
and ends with the procedure name or a parameter list.
The procedure body begins with the keyword IS and ends with the
keyword END, followed by an optional procedure name. The
procedure body has a declarative part, an executable part, and an
optional error handling part.
You write procedures using the following syntax:
PROCEDURE name [ (parameter [, parameter,...]) ] IS
[local declarations]
BEGIN
executable statements
[EXCEPTION
For more information, refer to the PL/SQL User’s Guide and Reference
Manual.
If you encounter errors when you are creating your packages and its
procedures, correct the errors and recreate your packages. You must
successfully compile and store your package and its procedures in the
database before you can use the client extensions in Oracle Projects.
8 Oracle Project
Foundation Client
Extensions
8–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Writing the Project Security Extension
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPSECXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPSECXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
pa_security_extn
check_project_access
Table 8 – 1
Package.Procedure
The following table lists the parameters that Oracle Projects provides for
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the procedure pa_security_extn.check_project_access.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
X_project_id
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER Identifier of the project or project
template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
X_person_id IN NUMBER Identifier of the person
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
X_cross_project_user
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 Indicates if the user has cross–
project update access: Y/N
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
X_cross_project_view
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 Indicates if the user has cross–
project view access: Y/N
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
X_calling_module IN VARCHAR2 Module in which the project secu-
rity extension is called; Oracle
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Projects sets this value for each
module in which it calls the secu-
rity extension. The values are
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
listed below.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Usage
IN
Type
VARCHAR2
Description
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
which you can define specific
rules:
ALLOW_QUERY
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ALLOW_UPDATE
VIEW_LABOR_ COSTS
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
X_value
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
OUT VARCHAR2 Values to specify if result of the
event: Y/N
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
follows:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Value Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXBUEBU Budgets window
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXCARVW Capital Projects window
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXINEAG Agreements window
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXINRVW Invoice Review window
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXINVPF
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
Project Funding Inquiry window
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXPREPR Projects window
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXTRAPE.PROJECT Project Expenditure Inquiry window
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXURVPS Project Status Inquiry window
8–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Project Verification Extension
The Project verification extension contains procedures that enable you
to define rules for the following purposes:
• To determine whether a project can change its project status
• To determine whether to call Workflow for a project status
change
Processing
Oracle Projects calls the Project Verification Extension when a change of
status is requested for a project.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXPCECB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXPCECS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
Table 8 – 4
pa_client_extn_proj_status
verify_project_status_change
Use this procedure to define requirements a project must satisfy to
change from one project status to another. Detailed instructions for
modifying the procedure are included in the package body.
The following table lists the parameters that Oracle Projects provides
for the verify_project_status_change procedure.
8–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Parameter Usage Type Description
check_wf_enabled
When Oracle Projects determines whether to call Workflow for a
project status change, it bases the decision on the settings in the project
status record and the project type. You can use this procedure to
override those settings and/or add additional requirements.
The following table lists the parameters that Oracle Projects provides
for the check_wf_enabled procedure.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPMGCEB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPMGCES.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_pm
Procedure customize_dates
Table 8 – 7
8–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Writing the Project and Task Date Client Extension
The customize dates procedure is described below.
Package.Procedure: pa_client_extn_pm.customize_dates
The following table lists the parameters provided by Oracle Projects for
the project date client extension.
Processing
The default project workflow process calls the project workflow
extension to determine the project approver.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAWFPCEB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAWFPCES.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_project_wf
Table 8 – 9
Package Procedures
Following are the procedures included in the project workflow
extension.
select_project_approver
This procedure returns the project approver ID to the calling workflow
process. You can modify the procedure to add rules to determine who
start_project_wf
This procedure starts the workflow process for project status changes.
The following table lists the parameters that Oracle Projects provides
for the start_project_wf procedure.
Processing
Oracle Projects calls the Verify Organization Change Extension during
the Mass Update Batches process, and in the Projects window when the
project or task owning organization is changed.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXORCEB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXORCES.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_org_client_extn
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure verify_org_change
Table 8 – 12
Package Procedure
The verify organization change extension procedure is described below.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACECMTB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACECMTS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_check_cmt
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 8 – 14
commitments_changed
Package.Function
Following are the procedures included in this extension.
pa_client_extn_check_cmt.commitments_changed
The body template includes a sample procedure that contains the
default coding for the COMMITMENTS_CHANGED function. By
default, the procedure checks for the following changes in the
system–defined commitments view:
• new commitments have been added
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXTTRXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXTTRXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
pa_trx_import
pre_import
Table 8 – 15
Pre–Import Procedure
The pre–import procedure uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
p_transaction_source
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 Classification of the transactions
loaded into Oracle Projects from
an external system.
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁ
p_batch
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 User entered name for grouping
expenditures within a
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
transaction source.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_xface_id IN NUMBER System–generated number that
identifies all the transactions
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
processed by a given concurrent
request.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_user_id IN NUMBER User.
See Also
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXTTRXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXTTRXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_trx_import
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedures post_import
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_transaction_source IN VARCHAR2 Classification of the transactions
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
loaded into Oracle Projects from
an external system.
ÁÁÁÁÁÁÁÁÁÁÁÁ
p_batch
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 User entered name for grouping
expenditures within a
transaction source.
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁ
p_xface_id
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER System–generated number that
identifies all the transactions
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
processed by a given concurrent
request.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_user_id
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER
See Also
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPDFFCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPDFFCB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
pa_client_extn_dfftrans
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Function dff_map_segments_f
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure dff_map_segments_PA_and_AP
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
Parameter
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute_number IN NUMBER The identifier of the attribute
to be mapped
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
p_calling_module
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 The module that calls the
extension
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_trx_ref_1
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER Reference information passed
to the extension
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_trx_ref_2 IN NUMBER Reference information passed
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
to the extension
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_trx_type IN VARCHAR2 Type of transaction
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_system_linkage_function IN VARCHAR2 The expenditure type class
function
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_submodule IN VARCHAR2 Name of the calling submodule
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expenditure_type IN VARCHAR2 The expenditure type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_set_of_books_id IN NUMBER The set of books ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_org_id IN NUMBER The organization ID
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
p_attribute_category
ÁÁÁÁÁÁÁÁÁ
IN
OUT
VARCHAR2 The context field value for the
descriptive flexfield.
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
p_attribute_1 through
ÁÁÁÁÁÁÁÁÁ
p_attribute_10
IN
OUT
VARCHAR2 The descriptive flexfield
segment
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
p_calling_module
Usage
IN
Type
VARCHAR2
Description
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
extension
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_trx_ref_1
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Reference information passed
to the extension
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_trx_ref_2 IN NUMBER Reference information passed
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
to the extension
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_trx_type IN VARCHAR2 Type of transaction
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_system_linkage_function IN VARCHAR2 The expenditure type class
function
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_submodule IN VARCHAR2 Name of the calling submodule
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expenditure_type IN VARCHAR2 The expenditure type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_set_of_books_id IN NUMBER The set of books ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_org_id IN NUMBER The organization ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute_category IN VARCHAR2
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute_1 through
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute_10
IN VARCHAR2 The descriptive flexfield
segment number
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_status_code OUT VARCHAR2 Status of the procedure
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXAPVXB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXAPVXS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package PA_Purge_Extn_Validate
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure Validate_Extn
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXAPPXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXAPPXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package PA_Purge_Extn
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 8 – 25
PA_Purge_Client_Extn
Parameters
The procedure uses the parameters shown in the following table.
See Also
Validation
You can use transaction control extensions to provide additional
validation based on any type of data you enter in Oracle Projects. For
example, you can check the project status for a particular project
during expenditure entry.
You can validate any transaction entered into Oracle Projects, including
transactions from other Oracle Applications and from external systems.
For example, you can validate project–related supplier invoices entered
into Oracle Payables. You can also validate items that you transfer
from one project to another.
Transaction control extensions validate expenditures items one at a
time; all validation is done for each expenditure item. Oracle Projects
checks each expenditure item during data entry; the transaction is
validated before you commit it to the database.
9–2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Processing
Oracle Projects processes transaction control extensions after the
standard validation performed for expenditure entry, and after
validating any transaction controls entered at the project or task level.
1. Standard validation
• Transaction is within start and completion dates of project/task
• Project status is not Closed
• Task is chargeable
• Transaction controls at project/task level
2. Transaction control extension validation
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXTTCXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXTTCXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Patcx
tc_extension
Table 9 – 1
Package.Procedure
patcx.tc_extension
The following table lists the parameters that Oracle Projects provides
for the transaction control extension. All values are passed from the
expenditure item being validated.
9–4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Parameter Usage Type Description
X_transferred_from_id IN NUMBER The identifier of the original expenditure item for which a new
item is interfacing to a new project.
X_nl_resource_org_id IN NUMBER The identifier of the non–labor resource organization; for usages
only.
X_entered_by_user_id IN NUMBER The identifier of the user that entered the transaction.
X_msg_application IN VARCHAR2 The application short name for the custom application
OUT providing customized messages
X_msg_count OUT NUMBER This parameter will support multiple messages in the future. In
the current release, we support only one message, so the value
is set to 1.
P_projfunc_cost_rate_date IN VARCHAR2 Identifier of the exchange rate type used to convert the
transaction cost amounts to the project functional currency
P_projfunc_cost_rate_date IN DATE Identifier of the exchange rate date used to convert the
transaction cost amounts to the project functional currency
P_projfunc_cost_exchg_rate IN NUMBER Identifier of the exchange rate used to convert the transaction
cost amounts to the project functional currency
9–6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Additional Information About Parameters
Attributes
For the X_attribute parameters, you can use any attribute from the
expenditure item descriptive flexfield. These parameters are not
available for modules outside Oracle Projects.
Quantity
You can use the quantity parameter for validation using Oracle Projects
and Oracle Payables features. However, keep in mind that Oracle
Purchasing does not pass a value for this parameter.
Incurred by Person
Oracle Projects passes the person who is incurring the transaction. This
value is always specified for labor and expense report items. It is
optional for usage items, because you can enter usage logs which are
incurred by an organization, and not an employee.
Oracle Payables passes a parameter value for supplier invoice
transactions if the supplier of the invoice is an employee; otherwise this
value is blank for supplier invoice transactions.
Oracle Purchasing does not pass a value for this parameter for
requisitions and purchase orders transactions.
Billable/Capitalizable Flag
Oracle Projects passes in the billable value (contract projects) or
capitalizable value (capital projects) that it has determined from the
project and task transaction controls and the task billable status for this
parameter. You can override this value based on logic that you write in
your procedure. You can pass back a value of Y or N to specify the
default billable or capitalizable status of a transaction. If you do not
pass back a value, or if you pass back an invalid value, Oracle Projects
uses the original value that it determined before calling the transaction
control extension procedure.
Outcome Parameter
Use the X_outcome parameter to pass back the outcome of the
procedure. If the transaction successfully passes all applicable
Calling Module
The calling module parameter indicates where the transaction control
extension is being called from. You can base the logic of your extension
on the calling module. For example, if Transaction Import is the calling
module (PAXTRTRX), then allow only certain types of transactions to
be charged to specific projects.
Below is a list of the possible values for the X_calling_module
parameter. Note that these values are case–sensitive and are passed
exactly as they appear.
When transaction controls is called by Oracle Purchasing and Oracle
Payables, the validation is performed when you enter project–related
information for requisitions, purchase orders, and supplier invoices.
The validation is also performed when you enter or update the
project–related information for distribution lines.
apiindib.pls Payables invoice distributions
apiimptb.pls Payables invoice import
APXINENT Invoices Workbench in Oracle Payables. This value
is passed when Transaction Controls is called to
validate project–related information entered on a
supplier invoice.
CreateRelated CreateRelatedItem procedure called in the labor
Item transactions extension procedure. This value is
passed when CreateRelatedItem calls Transaction
Controls to validate related transactions in the
labor transactions extension procedure.
PAVVIT Interface Supplier Invoices from Payables. This
value is passed when Transaction Controls is called
to validate expenditure items being created from
project–related supplier invoice distribution lines
interfaced from Oracle Payables into Oracle
Projects.
9–8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
PAXTREPE Pre–Approved Expenditures. This value is passed
when Transaction Controls is called to validate
unapproved expenditure items being entered or
updated in the Enter Pre–Approved Expense
Reports form.
PAXTRTRX Transaction Import. This value is passed when
Transaction Controls is called by the Transaction
Import program to validate transactions before
they are loaded into Oracle Projects.
PAXEXCOP/ Copy Pre–Approved Timecards/Copy
PAXTEXCB Expenditures. This value is passed when
Transaction Controls is called to validate new
expenditure items being created using the Copy
Pre–Approved Timecards feature.
PAXPRRPE Adjust Project Expenditures. This value is passed
when Transaction Controls is called to validate a
new expenditure item that is being created as a
result of an expenditure item transfer performed in
the Adjust Project Expenditures form.
PAXVSSTS Oracle Time and Labor
POWEBREQ iProcurement
POXPOEPO Purchase Orders in Oracle Purchasing. This value
is passed when Transaction Controls is called to
validate project–related information entered on a
purchase order.
POXRQERQ Requisitions in Oracle Purchasing. This value is
passed when Transaction Controls is called to
validate project–related information entered on a
requisition.
POXPOERL Releases in Oracle Purchasing. This value is
passed when Transaction Controls is called to
validate project–related information when you
enter releases against purchase orders.
POXPOPRE Preferences in Oracle Purchasing.
REQIMPORT Requisition import
SelfService Expense reports
See Also
Business Rule
You have decided that you do not want anyone to charge new
transactions to projects for which the work is complete. However, to
properly account for project work performed, these projects will allow
new transactions resulting from transfers between projects.
Requirements
The business rule will be carried out as follows:
• Do not allow new expenditure items to be charged to projects
having a project status of Processing Only
• Allow expenditure items to be transferred to projects having a
project status of Processing Only
• Display an error message when a user tries to enter new
expenditure items charged to projects having a project status of
Processing Only
• Do not allow any exceptions to this business rule
You could easily implement an exception to this rule regarding new
charges from transfers only. An exception to this rule is to also allow
supplier invoice transactions, which are typically received after the
project work is complete.
Required Extension
To implement the business rule of controlling new charges to projects
for which the work is complete, use the transaction control extension.
Suggestion: Review the sample PL/SQL code that
corresponds to the implementation of this case study in the file
PAXTTCXB.pls.
Business Rule
You want all administrative work to be charged to tasks that are
managed by the employee’s organization. When the employee is not
specified, charge the administrative work to the expenditure
organization.
Requirements
The business rule will be carried out like this:
• Tasks with a service type of Administration allow charges only for
employees assigned to the same organization as the task–owning
organization
• For usages not associated with a specific employee, the
expenditure item must have been charged by the same
expenditure organization as the task organization
• Display an error message when a user tries to enter an
expenditure item that violates this rule
• Do not allow any exceptions to this business rule
You can easily implement an exception to this rule, in which this rule
does not apply to any projects that are managed by the Executive office.
This exception exists because the Executive office uses resources
throughout the company to perform important administrative work.
The Executive office does not want to set up projects with a task for
every organization that may help with the project work.
Required Extension
To implement the business rule of organization–based transaction
controls, use the Transaction Control Extension.
Suggestion: Review the sample PL/SQL code that
corresponds to the implementation of this case study in the file
PAXTTCXB.pls.
Business Rule
You have decided that you want to implement the business rule that no
one can bill entertainment charge to projects.
Requirements
The business rule will be carried out like this:
• Transactions with an expenditure type of Entertainment are
non–billable for all projects, regardless of the task’s billable
status
• There are no exceptions to this rule within the client extension;
exceptions for negotiated billing of Entertainment expenses are
marked as billable using the Adjust Project Expenditures form.
• Do not return an error message to the user for any expenditure
types of Entertainment; simply set the billable status to
non–billable for affected transactions.
Required Extension
To implement the business rule of determining the default billable
status by expenditure type, use the Transaction Control Extension.
Suggestion: Review the sample PL/SQL code that
corresponds to the implementation of this case study, view the
file PAXTTCXB.pls.
AutoApproval Parameters
The AutoApproval Extension procedures use the following parameters:
For more information about this client extension, see the Oracle Time
and Labor System Administrator’s Guide.
Processing
Oracle Projects processes labor costing extensions during labor cost
distribution before calculating standard raw cost amounts. If Oracle
Projects encounters a labor costing extension that derives the raw cost
amount of a labor transaction, it skips the standard raw cost calculation
section for that transaction.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXCCECB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXCCECS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
PA_Client_Extn_Costing
Calc_Raw_Cost
Table 9 – 5
Package.Procedure
PA_Client_Extn_Costing.Calc_Raw_Cost
The following table lists the parameters that Oracle Projects provides
for the labor costing procedure.
Using Status
Use the x_status parameter to handle error conditions for your
procedure. This parameter indicates the processing status of your
extension as follows:
x_status = 0 The extension executed successfully.
x_status < 0 An Oracle error occurred and the process did not
complete. Oracle Projects writes an error message
to the process log file.
x_status > 0 An application error occurred. Oracle Projects
writes a rejection reason to
PA_EXPENDITURE_ITEMS.COST_
DIST_REJECTION_CODE and does not cost the
transaction. You can review the rejection reason in
the labor cost distribution exception report.
Related Transactions
Additional transactions that are created for labor transactions are
referred to as related transactions. All related transactions are associated
with a source transaction and are attached to the expenditure item ID of
the source transaction. You can identify and process the related
transactions by referring to the expenditure item ID of the source
transaction.
You create related transactions to process a raw cost amount separately
than the source transaction raw cost amount. Related transactions can
be burdened, billed, and accounted for independently of the source
transaction.
Processing
Oracle Projects processes labor transaction extensions during labor cost
distribution. When you distribute labor costs, the labor transaction
extension is processed after the raw cost calculation of the source
transactions. This allows you to derive the cost of the related
transaction from the cost of the source transaction.
You also use the labor transaction extension to calculate new cost
amounts for related transactions if the source transaction is recosted.
See Also
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXCCETB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXCCETS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
PA_Client_Extn_Txn
Add_Transactions
Table 9 – 7
Adding Transactions
Use the Add_Transactions procedure to add related transactions for
source transactions. Within this procedure, you write logic to create
related new transactions and update the raw cost of related
transactions when they are marked for cost recalculation. You calculate
the raw cost of related transactions in this procedure only; Oracle
Projects does not calculate the raw cost of related transactions in any
other way. Use the two procedures discussed later in this section for
processing related transactions within this procedure.
PA_Client_Extn_Txn.Add_Transactions
The following table lists the parameters that Oracle Projects provides
for the add related transactions procedure.
pa_transactions.CreateRelatedItem
The CreateRelatedItem procedure does the following:
• Ensures all input parameter values are valid values
• Ensures that the expenditure type is classified with an
expenditure type class of Straight Time or Overtime
• Validates that the transaction passes all transaction controls
validation rules, including logic in transaction control extensions
• Determines the billable status of the related transaction using the
same method used for all Oracle Projects transactions
• If the transaction is valid, creates related labor expenditure item
that:
– Is attached to the source transaction’s expenditure
– Has quantity of 0 (to maintain the number of hours for the
employee’s timecard, even when related items exist for that
timecard)
– Uses the source transaction’s project and task unless you
specify project and task input values
– Uses the source transaction’s expenditure item date and bill
hold value
– Uses the source transaction’s organization unless you
specify an override organization
– Rounds the raw cost to 2 decimal places and uses the raw
cost rate that you passed into it
The following table lists the parameters that Oracle Projects provides
for the create related transactions procedure.
pa_transactions.UpdateRelatedItem
The following table lists the parameters that Oracle Projects provides
for the update related transactions procedure.
Can I Calculate Raw Cost Amounts of Related Transactions Using Burden Costing?
You can use the Cost Plus API to determine raw cost amounts of
related transactions based on your burden costing setup.
See Also
See Also
Processing
Oracle Projects calls the Overtime Calculation Extension during the
Distribute Labor Costs process.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXDLCOB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
PAXDLCOS.pls
pa_calc_overtime
Table 9 – 11
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXCCEBS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXCCEBB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_burden
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure override_rate_rev_id
Override_Rate_Rev_ID Procedure
The override_rate_rev_id procedure assigns a burden cost schedule to
a transaction. This procedure uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
p_transaction_type
Usage
IN
Type
VARCHAR2
Description
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
between actual and forecast
transactions. This enables you to
process forecast and actual
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
transactions differently
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
The default value is ACTUAL.
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Forecast transactions can have
the following transaction types:
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ROLE
ASSIGNMENT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_tran_item_id IN NUMBER The identifier of the transaction
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_tran_type IN VARCHAR2 The transaction type
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
p_task_id
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
p_schedule_type
IN
IN
NUMBER
VARCHAR2
The task ID
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ C = costing schedule
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
R = revenue schedule
I = invoice schedule
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_exp_item_date IN DATE The expenditure item date
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_sch_fixed_date OUT DATE The schedule fixed date for firm
costing schedules
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
x_rate_sch_rev_id OUT NUMBER The burden schedule revision ID
assigned by the extension
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
x_status
ÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
OUT NUMBER Status of the procedure:
0 = successful execution
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<0 = Oracle error
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
>0 = application error
See Also
See Also
Description
For each allocation rule_id, the client populates the global session
variable x_source_proj_tasks_tbl of the data type table
alloc_source_tabtype. The allocation run process reads this table and
uses the projects and tasks as the sources for any allocation run that
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPALCCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPALCCS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_alloc
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure source_extn
Parameters
The extension uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_alloc_rule_id IN Number Identifies the allocation
rule
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
x_source_proj_task_tbl OUT alloc_source_tabtype Number the index
sequentially from 1.
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Otherwise the process will
fail.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_error_message OUT VARCHAR2(30) Error message text
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
x_status
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
OUT Number (Required) Indicates if an
error occurred:
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
=0 Successful validation
<0 Oracle error; message is
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
written to a log file
>0 Application error
Validation
The Generate Allocation Transactions process:
• Validates project_id against the single organization view
pa_projects
• Verifies that the project is open (that is,
pa_project_stus_utils.is_project_closed(project_id) =’N’ and
template_flag =’Y’)
• Validates task_id against view pa_alloc_src_tasks_v
• Verifies that the task belongs to the source project
If the validation fails, the Generate Allocation Transactions process
populates the message ”The client extension returned an invalid project
or task.”
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPALCCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPALCCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
pa_client_extn_alloc
target_extn
Parameters
The extension uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_alloc_rule_id
ÁÁÁÁÁÁÁÁ
x_target_proj_task_tbl
IN
OUT
Number
alloc_target_tabtype
Identifies the allocation rule
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
sequentially from 1.
Otherwise the process will
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
fail.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_error_message OUT VARCHAR2(30) Error message text
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
x_status
ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
OUT Number (Required) Indicates if an
error occurred:
=0 Successful validation
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<0 Oracle error; message is
written to a log file
>0 Application error
Validation
The Generate Allocation Transactions process:
• Validates project_id against view pa_alloc_target_proj_v
• Validates task_id against view pa_alloc_tgt_tasks_v
• Verifies that the task belongs to the target project
If the validation fails, the Generate Allocation Transactions process
populates the message ”The client extension returned an invalid project
or task.”
Description
The extension includes the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPALCCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPALCCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_alloc
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure offset_task_extn
Parameters
The extension uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_alloc_rule_id IN Number (Required) Identifies the allocation
rule
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
p_offset_project_id IN Number (Required) Identifies the offset
project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_offset_task_id OUT Number (Required) Identifies the offset task
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
x_error_message OUT VARCHAR2(30) Error message text
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_status OUT Number (Required) Indicates if an error
occurred:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
=0 Successful validation
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
<0 Oracle error; message is written
to a log file
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
>0 Application error
Validation
The Generate Allocation Transactions process:
Description
For each allocation rule_id, the client populates the global session
variable x_offset_proj_task_tbl of data type table alloc_offset_tabtype.
The allocation run process reads the table to get the offset project, task,
and offset amount for the allocation run. The sum of offset amounts
assigned to each offset project and task equals the total offset amount
(p_offset_amount).
The extension includes the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body Template PAPALCCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification Template PAPALCCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_alloc
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure offset_extn
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_alloc_rule_id IN Number (Required) Identifies the
allocation rule
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_offset_amount IN Number (Required) The pool amount to
be offset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_offset_proj_task_tbl
ÁÁÁÁÁÁÁ
OUT alloc_offset_tabtype Number the index sequentially
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
from 1. Otherwise the process
will fail.
ÁÁÁ ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_error_message OUT VARCHAR2(30) Error message text
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_status OUT Number (Required) Indicates if an error
occurred:
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
=0 Successful validation
<0 Oracle error; message is
written to a log file
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
>0 Application error
project_id Number (Required) Identifies the offset project. The offset project
and the allocation rule must be from the same operating
unit. The offset project must allow new transactions.
offset_amount Number (Required) The amount allocated to this project and task
(Nvl(offset_amount,0)
Table 9 – 24 (Page 1 of 1)
Validation
The Generate Allocation Transactions process:
• Validates the project_id against the single organization view
pa_projects
Description
The extension includes the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPALCCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPALCCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
pa_client_extn_alloc
basis_extn
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_alloc_rule_id IN Number (Required) Identifies the allocation
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
rule
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_project_id IN Number (Required) Identifies the offset project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_task_id IN Number (Required) Identifies the offset task
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁ
x_basis_amount OUT
ÁÁÁÁÁÁÁÁÁÁ
Number (Required) The percentage of the pool
amount allocated to this offset.
NVL(x_basis_amount,0). Individual
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
amounts can be negative or 0, but the
sum of the basis amounts cannot
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
equal zero.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_error_message OUT VARCHAR2(30) Error message text
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
x_status
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁ
OUT
ÁÁÁÁÁÁÁÁÁÁ
Number (Required) Indicates if an error
occurred:
=0 Successful validation
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<0 Oracle error; message is written to
a log file
>0 Application error
Validation
The Generate Allocation Transactions process validates the sum of
basis amount returned from the client extension.
If the validation fails, the Generate Allocation Transactions process
populates the message ”The total basis amount cannot be 0. No
allocation can be performed.”
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
Item
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPALCCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPALCCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_alloc
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure txn_dff_extn
Parameters
The extension uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_rule_id IN Number Identifies the allocation rule
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_run_id IN Number The allocation run ID
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_txn_type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_project_id IN Number Identifies the offset project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_task_id IN Number Identifies the offset task
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_org
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2(30) The expenditure organization
associated with the transaction
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ
p_expnd_type_class IN Number The expenditure type class
associated with the transaction
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_type IN VARCHAR2(30 The expenditure type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_attribute_category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_attribute1–10
OUT
OUT
VARCHAR2(30
VARCHAR2(150)
Descriptive flexfield context field
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_error_message
ÁÁÁÁÁÁÁÁÁ
OUT VARCHAR2(30) Error message text
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_status OUT Number (Required) Indicates if an error
occurred:
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
=0 Successful validation
<0 Oracle error; message is
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
written to a log file
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
>0 Application error
Description
Oracle Projects calls this extension before processing any allocation
rule. If the status code is zero (that is, if the dependencies specified in
the extension are met) then the process creates an allocation run. If the
status code is other than zero, the system prints the message provided
by the x_message parameter.
The extension includes the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPALCCB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPALCCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_alloc
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure check_dependency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_alloc_rule_id IN Number (Required) Identifies the allocation
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
rule
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_status OUT Number (Required) Indicates if an error
occurred:
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
=0 Successful validation
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<0 Oracle error; message is written to
a log file
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
>0 Application error
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_error_message OUT VARCHAR2(30) Error message text
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACCXAAB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PACCXAAS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_asset_alloc
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure asset_alloc_basis
Table 9 – 31
Business Rules
This extension is called by the
PA_ASSET_ALLOCATION_PVT.ALLOCATE_UNASSIGNED
procedure. It is called once for every unassigned asset line where the
project (or batch) has an Asset Allocation Method equal to CE (Client
Extension Basis). It enables you to determine the Total Basis Amount
and the Asset Basis Amount for each asset in the array.
Parameters
The following table lists the parameters that are used by the Asset
Allocation Basis procedure.
Description
The extension includes the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPGALCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPGALCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_gen_asset_lines
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure client_asset_assignment
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_project_id IN NUMBER Identifies the project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_task_id IN NUMBER Identifies the task
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_id IN NUMBER Identifies the expenditure
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_item_id
ÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Identifies the expenditure item
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
p_expnd_type IN VARCHAR2 Expenditure type
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_category IN VARCHAR2 Expenditure category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_type_class IN VARCHAR2 Expenditure type class
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_non_labor_org_id
ÁÁÁÁÁÁÁÁÁÁ
IN NUMBER Identifies the organization for
non–labor tasks
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_non_labor_resource IN VARCHAR2 Identifies the organization for
non–labor resources
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
p_invoice_id IN NUMBER Identifies the invoice
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_inv_dist_line_number IN NUMBER Identifies the invoice distribution
line
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_vendor_id
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 Identifies the supplier
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_employee_id IN VARCHAR2 Identifies the employee
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute1–10 IN VARCHAR2 Descriptive flexfield segments
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute_category IN VARCHAR2 Descriptive flexfield category
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
_date
ÁÁÁÁÁÁÁÁÁÁ
p_in_service_thorough
ÁÁÁÁÁÁÁÁÁÁ
IN DATE Date through which the asset is in
service
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_asset_id IN NUMBER Identifies the asset
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
OUT
Validation
You can validate the asset identifier (asset_id) in the client extension
body to avoid exceptions during the PRC: Generate Asset Lines
process.
If you do not do the validation in the client extension body, the system
validates the asset identifier after the extension returns it. The
See Also
See Also
ÁÁÁÁÁÁÁ
Item
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACCXACB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACCXACS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_asset_creation
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 9 – 35
create_project_assets
Parameters
The following table lists the parameters that are used by the Asset
Lines Processing procedure.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACCXCBB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACCXCBS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_pre_cap_event
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 9 – 37
pre_capital_event
Parameters
The following table lists the parameters that are used by the Capital
Event Processing procedure.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACINTXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACINTXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
Table 9 – 39
pa_client_extn_cap_int
Procedures
The following procedures are provided in the capitlized interest client
extension.
Parameters
The following table lists the parameters that are used by the Target Task
Override procedure.
Parameters
The following table lists parameters that are used by the Interest Rate
Multiplier Override procedure.
Parameters
The following table lists the parameters that are used by the Interest
Override procedure.
Parameters
The following table lists the parameters that are used by the Interest
Threshold procedure.
Parameters
The following table lists the parameters that are used by the Grouping
Method procedure.
Parameters
The following table lists the parameters that are used by the Get
Transaction Attributes procedure.
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXGCES.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXGCEB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_exten_cip_grouping
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Function client_grouping_method
Client_Grouping_Method Function
The client_grouping_method function uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
p_proj_id
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER Identifies the project.
ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_task_id IN NUMBER Identifies the task.
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
p_expnd_id
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER Identifies the expenditure.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
p_expnd_item_id IN NUMBER Identifies the expenditure item.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Á ÁÁÁÁÁÁÁÁ
p_expnd_type IN VARCHAR2 Identifies the expenditure type.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_expnd_category IN VARCHAR2 Identifies the expenditure
category.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute1 – IN VARCHAR2 Identifies the descriptive flex
p_attribute10 fields.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_attribute_category
ÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 Identifies the descriptive flex
category.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_transaction_source IN VARCHAR2 Identifies the transaction source.
See Also
EXCEPTION
WHEN OTHERS THEN
null;
END;
END PA_CLIENT_EXTEN_CIP_GROUPING;
/
commit;
exit;
See Also
Creating and Preparing Asset Lines for Oracle Assets, Oracle Project
Costing User Guide
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACCXCOB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACCXCOS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_cip_acct_ovr
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 9 – 49
cip_acct_override
Parameters
The following table lists the parameters that are used by the CIP
Account Override procedure.
See Also
Business Rules
This extension is called by the PRC: Interface Assets process.
Before the process validates that the Depreciation Expense CCID is
populated, it calls this extension if the Book Type Code and Asset
Category are NOT NULL. If a valid value is returned, the value is
updated on the Project Asset.
The extension calls a procedure that checks to see that the new value
returned is a valid CCID for the current Chart of Accounts.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACCXDEB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACCXDES.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_deprn_exp_ovr
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 9 – 51
deprn_exp_acct_override
Parameters
The following table lists the parameters that are used by the
Depreciation Account Override procedure.
See Also
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACCIXTB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAACCIXTS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package PA_CC_IDENT_CLIENT_EXTN
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure override_prvdr_recvr
Validation
The system verifies the returned values to ensure that they are valid
organizations within the business group.
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PACCIXTB.pls
ÁÁÁÁÁÁÁ
Specification template PACCIXTS.pls
ÁÁÁÁÁÁÁ
Package PA_CC_IDENT_CLIENT_EXTN
Procedure override_cc_processing_method
Prerequisites
The transaction must be a cross–charged transaction.
Validation
The system validates the value returned for the cross–charge code to
ensure that it meets the following rules:
ÁÁÁÁÁÁÁÁÁ
If the cross–charge type is... The following processing methods are allowed:
ÁÁÁÁÁÁÁÁÁ
Intra–Operating Unit (that is, Borrowed and Lent
ÁÁÁÁÁÁÁÁÁ
within a single operating unit) None (no processing)
ÁÁÁÁÁÁÁÁÁ
Inter–Operating Unit (that is, Intercompany Billing
ÁÁÁÁÁÁÁÁÁ
across operating units within Borrowed and Lent
a single legal entity)
ÁÁÁÁÁÁÁÁÁ
None (no processing)
ÁÁÁÁÁÁÁÁÁ
Intercompany (that is, across Intercompany Billing
legal entities) None (no processing)
Description
This extension is identified by the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PAPTPRCB.pls
ÁÁÁÁÁÁÁ
Specification template PAPTPRCS.pls
ÁÁÁÁÁÁÁ
Package PA_CC_TP_CLIENT_EXTN
ÁÁÁÁÁÁÁ
Procedure determine_transfer_price
Prerequisites
• Complete all the setup steps described in the Cross Charge –
Intercompany Billing setup steps section in the Oracle Projects
Implementation Checklist, Oracle Projects Implementation Guide.
• Run the cost distribution processes for new transactions or use the
Expenditure Items window to perform cross–charge adjustments
on existing transactions. Both processes identify cross–charge
transactions.
Parameters
The extension uses the following parameters:
Validation
The system validates that you have provided a value for only one of
the following output audit parameters:
• x_bill_rate
• x_bill_markup_percentage
Description
This extension is identified by the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PAPTPRCB.pls
ÁÁÁÁÁÁÁ
Specification template PAPTPRCS.pls
ÁÁÁÁÁÁÁ
Package PA_CC_TP_CLIENT_EXTN
ÁÁÁÁÁÁÁ
Procedure override_transfer_price
Prerequisites
• Complete all the setup steps described in the Cross Charge –
Intercompany Billing setup steps section in the Oracle Projects
Implementation Checklist, Oracle Projects Implementation Guide.
• Run the cost distribution processes for new transactions or use the
Expenditure Items window to perform cross–charge adjustments
on existing transactions. Both processes identify cross–charge
transactions.
Parameters
The extension uses the following parameters:
Validation
The system validates that you have provided a value for only one of
the following output audit parameters:
• x_bill_rate
• x_bill_markup_percentage
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PAPMCECB.pls
ÁÁÁÁÁÁÁ
Specification template PAPMCECS.pls
ÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁ
Procedure
PA_MULTI_CURR_CLIENT_EXTN
override_curr_conv_attributes
Prerequisites
• Complete all the setup steps described in the Cross Charge –
Intercompany Billing setup steps section in the Oracle Projects
Implementation Checklist, Oracle Projects Implementation Guide.
• Run the cost distribution processes for new transactions or use the
Expenditure Items window to perform cross–charge adjustments
on existing transactions. Both processes identify cross–charge
transactions.
• Run the processes PRC: Distribute Borrowed and Lent Amounts or
PRC: Generate Intercompany Invoices to process transactions that
are identified as cross charged and that require borrowed and lent
or intercompany processing.
Validation
Oracle Projects validates that the values returned by the client
extension meet all conversion requirements.
See Also
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PACCINPB.pls
ÁÁÁÁÁÁÁ
Specification template PACCINPS.pls
ÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁ
Procedure
PA_CC_AP_INV_CLIENT_EXTN
override_exp_type_exp_org
Prerequisites
Complete the following actions before you use this extension:
• Complete all the implementation steps for cross charge and
intercompany billing. See Oracle Projects Implementation
Checklist, Oracle Projects Implementation Guide.
Parameters
The extension uses the following parameters:
=0 Success
Validation
The system performs the following validations:
• The value of x_expenditure_type must be a valid expenditure
type for the expenditure type class of the supplier invoice.
• The value of x_expenditure_organization_id must be a valid
expenditure organization for the receiver operating unit.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXBFRCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXBFRCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package Pa_Client_Extn_Funding_Reval
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 10 – 1
Funding_Revaluation_factor
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
P_Project_ID
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER Identifier of the project for
which the revaluation process
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
will be run. Value must be
supplied.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Top_Task_ID
Table 10 – 2 (Page 1 of 3)
IN NUMBER Top task ID
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
P_Agreement_ID
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
IN NUMBER Identifier of the agreement
for which the revaluation
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
process will be run
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Funding_Currency IN VARCHAR2 The funding currency code
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Projectfunc_Currency IN VARCHAR2 The project functional
currency code
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Invoiceproc_Currency IN VARCHAR2 The invoice processing
currency code
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Reval_Through_Date
ÁÁÁÁÁÁÁÁ
IN DATE The revaluation through date
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Reval_Rate_Date IN DATE The rate date for the
revaluation
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Projfunc_Rate_Type
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 The rate type of the project
functional currency
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
P_Reval_Projfunc_Rate IN NUMBER The project functional rate for
the revaluation
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Invproc_Rate_Type IN VARCHAR2 The rate type of the invoice
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
processing currency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Reval_Invproc_Rate IN NUMBER The revaluation rate for the
invoice processing currency
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Funding_Backlog_Amount IN NUMBER The funding backlog amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Funding_Paid_Amount IN NUMBER The funding paid amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Funding_Unpaid_Amount IN NUMBER The unpaid funding amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Projfunc_Backlog_Amount IN NUMBER The backlog amount in project
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
functional currency
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Projfunc_Paid_Amount IN NUMBER The paid amount in project
functional currency
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁ ÁÁÁÁÁÁÁÁ
P_Projfunc_Unpaid_Amount IN NUMBER The unpaid amount in project
functional currency
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
P_Invproc_Backlog_Amount
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN NUMBER The backlog amount in
invoice processing currency
Table 10 – 2 (Page 2 of 3)
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
X_Funding_Reval_Factor
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
OUT NUMBER The funding revaluation
factor. This factor is applied
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
to the backlog funding
amount.
ÁÁÁÁÁÁÁÁÁÁÁÁ
X_Status
ÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
OUT NUMBER Displays the status of the
process. Indicates whether the
process had errors or not.
Table 10 – 2 (Page 3 of 3)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXIBCXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXIBCXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
pa_client_extn_bill_cycle
get_next_billing_date
Table 10 – 3
Implementation
To implement your company–specific billing methods, you first design
and write rules to calculate billing amounts using PL/SQL procedures.
You then enter the billing extension definition in Oracle Projects to
specify additional information (such as the procedure name to call) that
is used by the revenue and invoice programs to process the extension.
Assignments
You define billing extensions in the Billing Assignments window and
specify whether an amount or percentage is required for the extension
when assigning the extension to a project type or task. Along with the
amount and percentage, you can specify the currency and conversion
attributes.
The values entered in the Billing Assignments window can be used in
your billing extension by accessing the view pa_billing_extn_params_v.
This view, which has a single row with all the conversion attributes,
can be used to create multi–currency events with this extension. If you
have custom code in your billing extension and want to use the
parameters, you must update the extemsion.
.
Budget Type
You can specify which budget type to use as input to calculations that
use budgeted amounts. If no value is given for budget type, the billing
extension uses the Approved Cost Budget and/or Approved Revenue
Budget. See: Retrieving Budget Amounts: page 10 – 33.
Processing
When you run the revenue or invoice processes, Oracle Projects looks
for active billing assignments. When an assignment is found, the
processes read the billing extension definition and call the appropriate
procedure. If there are multiple active assignments for a project or
Automatic Events
Your billing extension calculates revenue and invoice amounts and
creates one or more Automatic events to account for the revenue and
invoice amounts. Oracle Projects processes these events as it does
other manually entered events. You can store audit amounts for these
events in the audit columns of the Events table.
Automatic events are events having an event type classification of
Automatic. With automatic events, you can increase or decrease
revenue and invoice amounts. You can also independently specify
revenue and invoice amounts for the events. If an event has both a
nonzero revenue amount and a nonzero invoice amount, you must use
the same sign for both amounts. Some examples of revenue and
invoice amounts for these events are:
• Revenue = $100, Invoice = $0
• Revenue = $100, Invoice = $200
• Revenue = –$100, Invoice = –$100
• Revenue = $0, Invoice = –$100
The billing extension uses the public procedure
pa_billing_pub.insert_event to create automatically created events. This
is shown in the following table.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
PAXITMPB.pls
PAXITMPS.pls
Table 10 – 5
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
pa_billing_pub
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure insert_events
Table 10 – 5
See Also
See Also
Calling Process
You specify if the billing extension is called by the revenue generation
program, the invoice generation program, or both programs.
When you call billing extensions during revenue generation, you can
create events with a revenue amount, or with a revenue amount and a
bill amount, as long as the revenue amount is nonzero.
When you call billing extensions during invoice generation, you can
create events with a bill amount, or with a revenue amount and a bill
amount, as long as the bill amount is nonzero.
The following table shows examples of events with various revenue
and bill amounts that you can create in the Generate Draft Revenue
calling process.
The following table shows examples of events that you can create in the
Generate Draft Invoice calling process.
If you create an event with both revenue and bill amounts, the revenue
amount and the bill amount do not have to be the same. You can create
positive or negative event amounts with billing extensions.
You can create a billing extension that is called by both revenue
generation and invoice generation. You would do this if your billing
calculation is similar for both the revenue and bill amounts, with the
exception that the event revenue amount is based on the accrued
revenue, and the event bill amount is based on the amount invoiced.
You can write your procedure to have the same logic for the calculation
but to use the appropriate input of either accrued revenue or amount
invoiced into your calculation. With this approach of writing one
procedure and one billing extension, you can avoid duplication of your
logic. In addition, your project users only need to assign one billing
extension to their projects, instead of two billing extensions – one for
revenue accrual and one for invoicing.
2 2 1 –500 –50
2 2 1 –500 –50
3 4 – – 100
There are exceptions to the general rule shown in the above table. You
may define a billing extension as transaction dependent, but to be
called only during regular processing. For example, you want to
charge interest on outstanding invoices, but only want to include the
interest on an invoice that has other transactions included on it. The
interest calculation itself is a transaction independent calculation, but
you define it as transaction dependent so that it is calculated only when
other transactions are processed for an invoice. You do not want to
create invoices with only an interest amount.
Project–Specific
You need to determine if your billing extension implements a company
policy across projects or if it is applicable only to specific projects for
which it is negotiated.
Project–specific billing extensions are those methods which are
applicable only to specific projects for which they are negotiated.
Project users assign these billing extensions to projects and top tasks;
you cannot assign these billing extensions to project types.
Non–project–specific billing extensions are those methods which
implement company policy across projects. You assign these billing
extensions to project types; the billing extension applies to all projects
of that project type. Project users cannot assign these billing extensions
to projects.
Suggestion: You can include conditional logic in your
procedure to allow exceptions to project type rules.
Event Attributes
When designing billing extensions, you can specify the attributes of
automatic events that are created by billing extensions. You can use the
following default values or override the defaults for any of these
attributes.
Descriptive Flexfield Segments Can pass any value as long as the value is valid with
the descriptive flexfields you have defined for events.
Budget Attributes
When designing billing extensions, you can specify the attributes of
budgets that are used by billing extensions. You can use the following
default values or override the defaults for any of these attributes.
Procedure Template
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXITMPB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
Table 10 – 13
PAXITMPS.pls
X_top_task_id * IN NUMBER Identifier of the top task of the billing assign. This
parameter has a value in the following cases: 1)
Billing extension assigned to top task 2) Project for
which a billing extension is applicable is funded at
the top task level. The billing extension is executed
once for each authorized top task belonging to the
project.
Note: * You cannot create project level events for projects using task
level funding. You must write your billing extensions so that they work
if they are called with or without this parameter.
Calculating Amounts
Oracle Projects provides two views that you can use to identify detail
expenditure items included on draft revenue and draft invoices
processed in a given run. Use these views in your calculations for
transaction dependent billing extensions. The views display the detail
transactions processed for the context in which a billing extension is
called, which consists of a project, a top task (if task level assignment),
a calling place, and a request ID.
• PA_BILLING_REV_TRANSACTIONS_V (use this in procedures
that are called during revenue generation)
• PA_BILLING_INV_TRANSACTIONS_V (use this in procedures
that are called during invoice generation)
Inserting Events
Use the insert_events procedure to create automatic events in the
events table. You must use this procedure when creating events using
billing extensions, as it contains validation that ensures the data
integrity of the events that you create.
If this procedure encounters an error, it displays an error message in
the log file of the process that called the procedure and does not create
an event.
Package.Procedure
pa_billing_pub.insert_event
Listed below are the parameters available for the insert_event
procedure.
=0 Successful validation
Business Rules:
• If the billing extension creates a new automatic event from a
transaction adjustment, the billing extension looks for the
original event number (X_event_num_reversed). If the billing
extension finds no value, you will receive the error message ”You
must have specified original event number for ADJ automatic
event.”
Note: Oracle Projects provides a view that you can use to
identify to original automatic event information of the current
project, top task, and the credited invoices of the current
request:
– PA_BILLING_ORIG_EVENTS_V
• Currency attribute rules:
– The transaction currency code is passed only if the bill
transaction revenue or bill amount parameter is populated.
– If the transaction currency code, rate, and amounts are not
passed to the procedure, the procedure uses the project
functional currency code and amounts.
– If the transaction currency is the same as the project
functional currency, the procedure ignores the rate type, rate
date, and rate.
– If transaction currency is different from the project
functional currency and currency attributes are not passed,
the procedure will use project defaults.
Package.Procedure
pa_billing_pub.get_budget_amount
Listed below are the parameters available for the get_budget_amount
procedure. You must specify a value for the X2_project_id parameter
for this procedure. You can optionally use the X2_task_id parameter to
derive the budget amount for a task.
The parameters include input and output parameters for cost and
revenue budget type codes.
Package.Procedure
pa_billing_pub.insert_message
Listed below are the parameters available for the insert_message
procedure.
Step 3 Add SQL statements one at a time and test in an integrated flow
After you test and verify each SQL statement that you plan to use in
your billing extension, you can add one SQL statement at a time to
your billing extension definition. Each time after you add a new part
of the logic to the billing extension, you should then test your billing
extension in an integrated revenue or invoice flow through Oracle
Projects to verify the logic that you just added. Continue this cycle for
all of your SQL statements to be included in your billing extension
procedure.
You may take another approach by adding all of your logic to the
billing extension and then performing integrated testing. This method
is harder to debug when you encounter problems.
See Also
Business Rule
The first step in the design process is to determine the business rule
that you want to solve using client extensions.
Business Rule: Surcharge
Charge an additional surcharge to an invoice based on a percentage of
the labor amount invoiced. This surcharge is referred to as
Communication Charge.
Business Requirements
After you define the business rule you want to solve using client
extensions, list the business requirements behind the business problem.
This will help ensure that you are acknowledging all of the aspects of
the business problem during the design stage.
• The surcharge is applicable only for projects for which it is
negotiated. Project users specify the communication charge
when they record the billing terms during project setup.
• You calculate this surcharge as follows:
– Surcharge = Surcharge Percentage Labor Amount Invoiced
• Usually, the percentage is 2%. However, some project managers
are beginning to negotiate 2.5% or 3% surcharges.
Required Extensions
You have determined that you will create a billing extension to
automatically handle the Communication Charge within the invoicing
cycle.
Suggestion: To review the sample PL/SQL code that
corresponds to the implementation of this case study, view the
file PAXITMPS.pls.
Design Requirements
You must consider and answer these additional questions for your
billing extension.
Funding Level?
Are there implications of the level at which the project is funded –
either the project level or the top task level? If so, what?
• There are no special implications.
See Also
Testing
You specify the following test cases to use in testing your billing
extension procedure.
Invoice Comm
Inv Inv Num Inv Labor Charge
Scenario Run Num Credited Amt Amt % Amt
You now have all of the components of your functional design to give
to your technical resource for writing the PL/SQL procedures.
Description
The extension includes the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PAXICOSB.pls
ÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁ
Package
PAXICOSS.pls
PA_REV_CA
Description
The extension includes the following items:
ÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
Body template PAICPCAB.pls
ÁÁÁÁÁÁÁ
Specification template PAICPCAS.pls
ÁÁÁÁÁÁÁ
Package PA_CC_CA
ÁÁÁÁÁÁÁ
Procedure identify_ca_projects
Parameters
The extension uses the following parameters:
Processing
Oracle Projects processes labor billing extensions for activity based
billing during revenue generation. During processing, if Oracle
Projects encounters a transaction that has a derived bill amount from a
labor billing transaction, it skips the standard bill amount and rate
calculation section of the revenue process for that transaction.
See Also
ÁÁÁÁÁÁÁ
Item
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXICTMB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXICTMS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package PA_Client_Extn_Billing
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
Table 10 – 26
Calc_Bill_Amount
Package.Procedure
PA_Client_Extn_Billing.Calc_Bill_Amount
The following table lists the parameters that Oracle Projects provides
for the labor billing extension.
x_bill_trans_currency_code OUT VARCHAR2 Identifier of the billing transaction currency for an expenditure
item. If the value is null, the project functional currency is used.
x_markup_percentage OUT NUMBER Markup percentage (if markup is used to derive the bill
amount)
x_rate_source_id OUT NUMBER Identifies the rate source from which the rate was derived. This
is for audit purposes only.
Using Status
Use the x_status parameter to handle error conditions for your
procedure. This parameter indicates the processing status of your
extension as follows:
x_status = 0 The extension executed successfully.
x_status < 0 An Oracle error occurred and the process did not
complete. Oracle Projects writes an error message
to the process log file and rolls back the
transactions processed for the entire project.
x_status > 0 An application error occurred. Oracle Projects
writes a rejection reason to
PA_EXPENDITURE_ITEMS.REV_DIST_
REJECTION_CODE and does not mark items as
revenue distributed. You can review the rejection
reason in the revenue generation exception report.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXBRTCB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXBRTCS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_retention
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure BILL_RETENTION
Table 10 – 28
Processing
Oracle Projects calls the Automatic Invoice Approve/Release Extension
during invoice generation. During processing, if the extension returns
an approval flag or release flag set to yes, then the process approves
(and releases, if applicable) the invoice.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXPIACB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PAXPIACS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_inv_actions
Table 10 – 30
Package Procedures
pa_client_extn_inv_actions.approve_invoice
The following table lists the parameters that Oracle Projects provides
for the invoice approval extension.
pa_client_extn_inv_actions.release_invoice
The following table lists the parameters that Oracle Projects provides
for the invoice release extension.
Using Status
Use the x_status parameter to handle error conditions for your
procedure. This parameter indicates the processing status of your
extension as follows:
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXPOTXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXPOTXB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_output_tax
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure get_tax_codes
Get_Tax_Codes Procedure
The get_tax_codes procedure assigns a tax code to an invoice line. This
procedure uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_project_id
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_customer_id
IN
IN
NUMBER
NUMBER
The identifier of the project
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_bill_to_site_use_id
ÁÁÁÁÁÁÁÁÁ
IN NUMBER The bill–to site
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
p_ship_to_site_use_id IN NUMBER The ship–to site
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_set_of_books_id IN NUMBER The set of books associated with
the project
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
p_expenditure_item_id IN NUMBER Identifier of the expenditure item
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_event_id IN NUMBER The identifier of the event
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_line_type IN VARCHAR2 The type of invoice line (Event,
Expenditure, or Retention)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_request_id
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER The request ID of the Generate
Draft Invoices process
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁ
p_user_id
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
IN NUMBER The identifier of the user who ran
the Generate Draft Invoices
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
process
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_vat_tax_id OUT NUMBER The output tax code
See Also
Description
The extension is identified by the following items:
ÁÁÁÁÁÁÁ
Item
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPARICS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPARICB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
pa_override_ar_inst
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure get_installation_mode
Get_Installation_Mode Procedure
The get_installation_mode procedure returns an installation mode to
the calling program.
This procedure uses the following parameters:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Usage Type Description
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
p_ar_inst_mode
ÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
IN VARCHAR2 The input mode (mode in
which Oracle Receivables is
installed)
ÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁ
x_ar_inst_mode OUT VARCHAR2 The output (override)
installation mode
Processing
Oracle Projects calls the AR Transaction Type Extension during the
Transfer Invoices to Oracle Receivables process.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXPTRXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXPTRXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
pa_client_extn_inv_transfer
get_ar_trx_type
Table 10 – 37
Package Procedure
pa_client_extn_inv_transfer.get_ar_trx_type
The following table lists the parameters that Oracle Projects provides
for the AR transaction type extension.
Using Status
Use the x_status parameter to handle error conditions for your
procedure. This parameter indicates the processing status of your
extension as follows:
x_status = 0 The extension executed successfully.
x_status < 0 An Oracle error occurred and the process did not
complete. Oracle Projects writes an error message
to the process log file.
x_status > 0 An application error occurred. Oracle Projects
writes a rejection reason to the
PA_DISTRIBUTION_WARNINGS table. The
invoice is not approved or released.
Processing
The default project assignment approval workflow process calls the
assignment approval changes extension.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PARAAPCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PARAAPCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_asgnmt_apprvl
Table 11 – 1
Processing
The default project assignment approval workflow process calls the
assignment approval notification extension.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PARAWFCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PARAWFCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_asgmt_wf
Table 11 – 3
Procedures
The procedures in the assignment approval notification extension are
described in this section.
Processing
The default New Candidate and Candidate Assigned workflow
processes call the candidate notification workflow extension.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PARCWFCB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PARCWFCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_cand_wf
Table 11 – 8
12 Oracle Project
Management Client
Extensions
Processing
The default workplan workflow process calls the workplan workflow
extension.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXSTWCB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXSTWCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_workplan_workflow_client
Table 12 – 1
Types of Calculations
You can use budget calculation extensions to calculate the following
budget and forecast amounts:
Raw Cost
Oracle Projects calls the budget calculation extension for raw cost when
you enter a quantity in a cost budget or forecast plan line. If you define
rules in the budget calculation extension that return a value, then
Oracle Projects displays the calculated amount in the Raw Cost amount
field.
Examples of raw cost calculation rules that you can define are:
• Calculate raw cost for an employee based on the number of
hours entered
• Calculate raw cost for vehicle usage based on the number of
days entered
Burdened Cost
Oracle Projects calls the budget calculation extension for burdened cost
when you enter a quantity or a raw cost amount in a cost budget or
forecast plan line. If you define rules in the budget calculation
extension that return a value, then Oracle Projects displays the
calculated amount in the Burdened Cost amount field.
Examples of burdened cost calculation rules that you can define are:
• Calculate raw cost and burdened cost for an employee based on
the number of hours entered
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXBCECB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
PAXBCECS.pls
PA_Client_Extn_Budget
Table 12 – 5
Package Procedures
calc_raw_cost
The following table lists the parameters that Oracle Projects provides
for the budget calculation procedure for raw cost.
Error Handling
Use the x_error_code, x_error_message, p_error_code, and p_error
message parameters to help resolve error conditions should your
procedure fail.
The x_err_code or p_error_code parameter indicates the processing
status of your procedure as follows:
Suggestion: Ensure that you are returning the status of the
budget calculation procedure to the procedure that you are
calling the budget calculation extension from to help resolve
error conditions.
x_error_code = 0 The procedure executed successfully.
x_error_code < 0 An Oracle error occurred and the process did not
complete.
x_error_code > 0 An application error occurred and the process did
not complete
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXBCECB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXBCECS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Procedure
PA_Client_Extn_Budget
verify_budget_rules
Table 12 – 9
Package Procedure
verify_budget_rules
You can use this procedure to build additional validations that Oracle
Projects performs whenever a budget or forecast is submitted or
baselined. The parameter p_event passes a value of either SUBMIT or
BASELINE to indicate the desired status of the budget or forecast being
tested.
The following table lists the parameters that Oracle Projects provides
for the verify budget rules procedure.
Processing
Oracle Projects calls the budget workflow process to determine
whether to call Oracle Workflow to baseline a budget or forecast, and
which workflow process to call.
The default budget workflow process calls the budget workflow
extension to determine the budget or forecast approver.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAWFBCEB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAWFBCES.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
Table 12 – 11
pa_client_extn_budget_wf
Package Procedures
budget_wf_is_used
When Oracle Projects determines whether to call Oracle Workflow for a
budget or forecast status change, it bases the decision on the settings of
the budget type or plan type, and the project type. You can use this
start_budget_wf
This procedure starts the workflow process for budget and forecast
status changes. The procedure also contains the name of the workflow
process that is called. The process indicated in the default procedure is
PABUDWF.
The following table lists the parameters that Oracle Projects provides
for the start_budget_wf procedure.
verify_budget_rules
You can use this procedure to specify budget verification rules that are
applied only when Oracle Workflow is used for budget and forecast
status changes. This procedure is called by the procedure
pa_budget_wf.baseline_budget.
The following table lists the parameters that Oracle Projects provides
for the verify_budget_rules procedure.
select_budget_approver
This procedure is called by Oracle Workflow to determine the budget
or forecast approver. You can use this procedure to add rules for
determining who can approve a budget or forecast. The default
procedure returns the ID of the supervisor of the person who requested
the budget or forecast status change.
The following table lists the parameters that Oracle Projects provides
for the select_budget_approver procedure.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACINRXB.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PACINRXS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package
Table 12 – 16
pa_ci_number_client_extn
Procedures
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PACIWFCB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
PACIWFCS.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_control_items_wf_client
Table 12 – 18
Procedures
Parameters
The following table lists the parameters that are used by the Start
Workflow procedure.
Parameters
The following table lists the parameters that are used by the Set Control
Item Approver procedure.
Parameters
The following table lists the parameters that are used by the Set
Notification Party procedure.
Processing
The default project status report workflow process calls the project
status report workflow extension.
See Also
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAPRWFCB.pls
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAPRWFCS.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_report_workflow_client.
Table 12 – 22
Procedures
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Item Name
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Body template PAXVPS2B.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Specification template PAXVPS2S.pls
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Package pa_client_extn_status
Table 12 – 26
Package.Procedure
The following table lists the parameters that Oracle Projects provides for
the procedure pa_client_extn_status.getcols.
Package.Procedure
The following table lists the parameters that Oracle Projects provides for
the procedure pa_client_extn_status.Get_Totals.
Table 12 – 29 PA_STATUS_PROJ_TOTALS_V
See Also
See Also
Transaction Sources
When you submit Transaction Import, you must identify the source of
the transactions that you want to import. The source can be any
transaction source defined during implementation. You can also use
transaction sources predefined by Oracle Projects.
The list of values for the transaction source parameter displays all of
the transaction sources in the PA_TRANSACTION_SOURCES table.
Any transaction source that has pending records in the Transaction
Interface table are marked with an asterisk in the list of values.
Importing Transactions
After you populate the interface table, complete the following steps to
import external transactions into Oracle Projects:
You use the Submit Request window to run Transaction Import.
Output Reports
Transaction Import has two output reports:
• an exception report, which lists all rejected transactions
• a summary report of successfully imported transactions
See Also
Exceptions
Overtime
Transaction Import does not import transactions with an expenditure
type class of Overtime. However, you can load overtime from external
systems by using an expenditure type class of Straight Time. To
properly cost these transactions, you must either ensure that the
transactions are loaded as costed, or use the Labor Costing extensions
in Oracle Projects to properly calculate the overtime cost amounts.
See Also
See Also
Functional Currency Rate Type and Rate Project Currency Rate Type and Rate
Date Date
Functional Currency Rate Type and Rate Project Currency Rate Type and Rate
Date Date
Rounding Limit 10 10
(ACCT_EXCHANGE_ROUNDING_
LIMIT)
Difference between calculated and abs (100 – 99) = 1 abs (85 – 99) = 14
supplied functional raw cost
Table 13 – 4 (Page 1 of 1)
Table 13 – 5 (Page 1 of 1)
If you submit Transaction Import for the transaction source of Site1 and
do not specify a specific batch to process (pick all transactions with a
transaction source of Site1), then Transaction Import will process all six
of the above transactions.
Assuming that all of the transactions in this example are valid, then
Oracle Projects creates two expenditure batches––L1 and L2:
Table 13 – 6 (Page 1 of 1)
Table 13 – 7 (Page 1 of 1)
Notice that even though transactions 2 and 3 were for the same
employee and the same ending date, Oracle Projects created two
expenditures. Transactions with different expenditure type classes are
imported into different expenditure batches. Different batch names
will also result in the creation of different expenditure batches, even if
they contain transactions for the same employee and ending date.
Since the ending date of the expenditure batch created is equal to the
maximum ending date of the expenditures created within that batch,
the batch ending dates for our example are as follows:
L1 09–OCT–95
L2 09–OCT–95
Table 13 – 8 (Page 1 of 1)
Table 13 – 9 (Page 1 of 1)
Since all of these transactions have the same batch name, Oracle
Projects creates only one expenditure batch. For usage items,
Transaction Import groups transactions by employee, organization, and
expenditure ending date when creating expenditures. Therefore, the
resulting expenditures after import would be as follows:
Table 13 – 10 (Page 1 of 1)
Notice that transactions (1) and (2) appear in the same expenditure
because they were for the same employee/expenditure ending date,
even though the organization name specified for both is different. If a
transaction specifies an employee number, Transaction Import ignores
any value for Organization and derives the organization value based on
the employee’s assignment (if the Import Employee Organization
option is not used).
Also note that even if employee 1000’s organization assignment were
West, the resulting expenditures would still be the same. Transaction
Import never groups usage transactions for an employee into the same
expenditure as usage transactions for an organization.
NULL Columns
A NULL column is a column in the interface table that does not require
a value. There are two types of NULL columns:
• Some NULL columns are required only for some types of
transactions. For example, for usage items, the
NON_LABOR_RESOURCE column must be populated. We
mark these columns as Conditionally Required. See:
Conditionally Required: page 13 – 28.
• Some NULL columns should never be populated because they
are used by the Transaction Import program. These columns are
called System Assigned Columns. See System Assigned: page
13 – 29.
Conditionally Required
Conditionally required columns may require a value, depending on the
value in another column.
For example, if you are importing a usage expenditure item, the value
of SYSTEM_LINKAGE is Usages. When the value of
SYSTEM_LINKAGE is Usages, you must supply a value for the
NON_LABOR_RESOURCE and
NON_LABOR_RESOURCE_ORGANIZATION columns. (These
columns are not required for labor expenditure items.) Therefore, the
Comments column for NON_LABOR_RESOURCE contains the words
”Required for usage items.”
As another example, several columns are required only if the
transaction has been accounted and interfaced to GL. This criterion is
determined as follows:
1. The column TRANSACTION_SOURCE must contain a valid
transaction source.
Optional
Columns marked Optional are for optional transaction information
tracking.
You can use these columns to import additional information for the
transactions that Transaction Import creates. Transaction Import
imports the data that you load into these optional columns, provided
that the information passes the validation checks.
System Assigned
Oracle Projects assigns values to the system–assigned columns during
the import process.
TRANSACTION_SOURCE: page 13 – 32
BATCH_NAME: page 13 – 33
EXPENDITURE_ENDING_DATE: page 13 – 33
EMPLOYEE_NUMBER: page 13 – 33
ORGANIZATION_NAME: page 13 – 34
EXPENDITURE_ITEM_DATE: page 13 – 34
PROJECT_NUMBER: page 13 – 34
TASK_NUMBER: page 13 – 35
EXPENDITURE_TYPE: page 13 – 35
NON_LABOR_RESOURCE: page 13 – 35 Required for usage items
NON_LABOR_RESOURCE_ORG_NAME: page 13 – 36 Required for usage items
QUANTITY: page 13 – 36
RAW_COST: page 13 – 36 Required for costed items. Otherwise optional
EXPENDITURE_COMMENT: page 13 – 36 Optional
TRANSACTION_STATUS_CODE: page 13 – 37
TRANSACTION_REJECTION_CODE: page 13 – 37 System assigned
EXPENDITURE_ID: page 13 – 38 System assigned
ORIG_TRANSACTION_REFERENCE: page 13 – 38
ATTRIBUTE_CATEGORY: page 13 – 38 Optional
ATTRIBUTE1 through ATTRIBUTE10: page 13 – 38 Optional
RAW_COST_RATE: page 13 – 39 Optional
INTERFACE_ID: page 13 – 39 System assigned
UNMATCHED_NEGATIVE_TXN_FLAG: page 13 – 39 Optional
EXPENDITURE_ITEM_ID: page 13 – 40 System assigned
ORG_ID: page 13 – 40
DR_CODE_COMBINATION_ID: page 13 – 40 Required for transactions already accounted for in GL. (Each
transaction source indicates whether transactions are GL
accounted or not.)
CR_CODE_COMBINATION_ID: page 13 – 40 Required for transactions already accounted for in GL
CDL_SYSTEM_REFERENCE1: page 13 – 41 Required for transactions already accounted for in GL
CDL_SYSTEM_REFERENCE2: page 13 – 41 Required for transactions already accounted for in GL
CDL_SYSTEM_REFERENCE3: page 13 – 41 Required for transactions already accounted for in GL
GL_DATE: page 13 – 41 Required for transactions already accounted for in GL
BURDENED_COST: page 13 – 42 Required for burden transactions
BURDENED_COST_RATE: page 13 – 42 Required for burden transactions
SYSTEM_LINKAGE: page 13 – 42 Optional
OVERRIDE_TO_ORGANIZATION_NAME: page 13 – 48 Ignored unless the Import Employee Organization option is set
to Y in the Transaction Source
REVERSED_ORIG_TXN_REFERENCE: page 13 – 48 Optional
BILLABLE_FLAG: page 13 – 49 Optional
PERSON_BUSINESS_GROUP_NAME: page 13 – 49 Optional
CREATED_BY: page 13 – 49 Standard Who Column
CREATION_DATE: page 13 – 49 Standard Who Column
LAST_UPDATED_BY: page 13 – 50 Standard Who Column
LAST_UPDATE_DATE: page 13 – 50 Standard Who Column
TRANSACTION_SOURCE
Enter an implementation–defined transaction source code that classifies
the transaction. This transaction source, along with the original
transaction reference, identifies the source of transactions loaded into
Oracle Projects from an external system.
If a transaction source is defined with the Import Raw Cost Amounts
option enabled, then a raw cost amount must exist for the transaction.
If the transaction source is defined with the Purge After Import option
enabled, then the transaction will be purged from the table when the
import process has completed.
See: Transaction Sources, Oracle Projects Implementation Guide.
Note: This column is for internal use only; you cannot view
values stored in this column from any Oracle Projects
windows. You must enter this internal code or a value in
USER_TRANSACTION_SOURCE to specify the transaction
source.
Validation: The transaction source you enter must be a valid
transaction source. You can obtain a list of valid
transaction sources from PA_TRANSACTION_
SOURCES.TRANSACTION_SOURCE.
Destination: PA_EXPENDITURE_GROUPS_ALL.
TRANSACTION_SOURCE and
BATCH_NAME
An expenditure batch is a group of expenditures loaded into the
interface table. All transactions in a batch must have the same
transaction source.
The batch name is used to derive part of the expenditure batch name
used in the expenditure tables. The expenditure batch name is created
by Oracle Projects by combining the following three items from the
transaction interface table:
• batch name (user–supplied)
• expenditure type class (user–supplied)
• interface ID (system–generated)
Note: You must enter a batch name of twenty characters or
less.
Validation: None
Destination: PA_EXPENDITURE_GROUPS_ALL.
EXPENDITURE_GROUP
EXPENDITURE_ENDING_DATE
Enter the date of the last day of the expenditure week for this
transaction. All transactions in an expenditure must be on or before the
expenditure ending date. In addition, all timecard items must be
within the expenditure week date range. The maximum expenditure
ending date of all expenditure items processed in a batch becomes the
expenditure batch ending date.
Validation: Valid week ending date based on the expenditure
cycle start day defined in Implementation Options.
Destination: PA_EXPENDITURES_ALL.EXPENDITURE_
ENDING_DATE
EMPLOYEE_NUMBER
Enter the number of the employee who incurred the charge for this
transaction. This column must be populated for labor and expense
report items, but is optional for other expenditure type classes.
ORGANIZATION_NAME
Enter the name of the organization that incurred the charge for this
transaction. If employee number is provided, then this column can be
null, in which case Transaction Import derives this value from the
employee organization. If you provide both an employee and an
organization, Oracle Projects uses the employee information to derive
the organization (if the Import Employee Organization option is not
used). Transaction Import uses the last employee assignment in the
expenditure period to derive the employee organization.
Validation: Must be a valid organization in
PER_ORGANIZATION_UNITS.NAME
Destination: PA_EXPENDITURES_ALL.INCURRED_BY_
ORGANIZATION_ID
EXPENDITURE_ITEM_DATE
Enter the date on which this transaction occurred.
Validation: The expenditure item date must be on or before the
expenditure ending date. Also, the expenditure
item date of timecard items must fall within the
expenditure week as defined by the expenditure
ending date.
Destination: PA_EXPENDITURE_ITEMS_ALL.
EXPENDITURE_ITEM_DATE
PROJECT_NUMBER
Enter the number of the project this transaction is charged to.
Validation: Must be a valid project number in
PA_PROJECTS.SEGMENT1 and
PA_PROJECTS_EXPEND_V; project must have a
TASK_NUMBER
Enter the number of the task this transaction is charged to.
Validation: Must be a valid task number in
PA_TASKS.TASK_NUMBER for the project
number specified; and task must be a lowest task
that allows charges.
Destination: PA_EXPENDITURE_ITEMS_ALL.TASK_ID
EXPENDITURE_TYPE
Enter the expenditure type that classifies the type of charge for this
transaction.
Validation: This expenditure type must be a valid expenditure
type in PA_EXPENDITURE_
TYPES.EXPENDITURE_TYPE. The expenditure
type and expenditure type class combination must
exist as an active combination in the
PA_EXPEND_TYP_SYS_LINKS table. You cannot
import expenditure items with a expenditure type
class of Supplier Invoices.
Destination: PA_EXPENDITURE_ITEMS_ALL.
EXPENDITURE_TYPE
NON_LABOR_RESOURCE
Enter the non–labor resource utilized for this transaction. This column
is populated only for usage items.
Validation: This non–labor resource must be a valid non–labor
resource in PA_NON_LABOR_
RESOURCES.NON_LABOR_RESOURCE and
must be a resource classified by the specified
expenditure type.
Destination: PA_EXPENDITURE_ITEMS_ALL.NON_LABOR_
RESOURCE
QUANTITY
Enter the number of units for the transaction based on the unit of
measure defined for the expenditure type. If the transaction is a
multi–currency transaction and the expenditure type Unit of Measure is
currency, then the quantity is the project currency quantity.
For burden transactions, this value must equal zero.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.QUANTITY
RAW_COST
Enter the total raw cost of the transaction. If the transaction is a
multi–currency transaction, then this is the project currency raw cost
amount.
For burden transactions, this value must equal zero.
Validation: If the transaction source is defined with the Import
Raw Cost Amounts option enabled, a raw cost
amount must exist. If the Import Raw Cost
Amounts option is not enabled for the transaction
source, then this column value is ignored.
Destination: PA_EXPENDITURE_ITEMS_ALL.RAW_COST
EXPENDITURE_COMMENT
Enter the description that you want to assign to the expenditure item
created from this transaction.
Validation: None
TRANSACTION_STATUS_CODE
You must set this value to P for transactions you want to import.
If TRANSACTION_STATUS_CODE is set to A after Transaction Import
completes, this indicates that the TRANSACTION_SOURCE entered is
not defined with the Purge After Import option enabled, and you must
delete the item manually. See: Transaction Sources, Oracle Projects
Implementation Guide.
If an item is rejected, the rejection reason code will be generated in the
TRANSACTION_REJECTION_CODE column.
The status codes are listed in the following table:
PO Rejected in post–import
P Pending
R Rejected
PR Rejected in pre–import
I Imported
A Accepted
Table 13 – 12 (Page 1 of 1)
TRANSACTION_REJECTION_CODE
This column is populated by a system–defined code indicating why the
transaction was rejected by the Transaction Import program. For a list
of codes, see: Resolving Import Exceptions: page 13 – 50.
Validation: This column is system assigned. Lookup codes for
this column are stored in the PA_LOOKUPS table
under the lookup type of TRANSACTION
REJECTION REASON.
EXPENDITURE_ID
This column is populated by a system–defined value to identify the
transactions grouped into an expenditure.
Validation: This column is system assigned.
Destination: PA_EXPENDITURES_ALL.EXPENDITURE_ID
ORIG_TRANSACTION_REFERENCE
Enter a reference to the original item imported from an external system
via the Transaction Import program. Unless the transaction source
allows duplicate references, this reference, along with the transaction
source, uniquely identifies the original transaction.
Validation: An expenditure item must not already exist with
the same identifier values as the transaction if the
transaction source does not allow duplicate system
reference values.
Destination: PA_EXPENDITURE_ITEMS_ALL.
ORIG_TRANSACTION_REFERENCE
ATTRIBUTE_CATEGORY
Enter the descriptive flexfield category for the descriptive flexfield
information you want to import.
Validation: Validated using the standard AOL application
programming interface (API) for validating
attribute categories.
Destination: PA_EXPENDITURE_ITEMS_ALL.
ATTRIBUTE_CATEGORY
RAW_COST_RATE
Enter the raw cost rate for the costed transaction. Oracle Projects uses
this information for reporting purposes only.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
RAW_COST_RATE
INTERFACE_ID
This column is populated by a system–defined value to identify
transactions processed by a given concurrent request.
Validation: This column is system assigned.
Destination: None
UNMATCHED_NEGATIVE_TXN_FLAG
A value of Y in this column indicates that the transaction is an
unmatched negative transaction.
Enter Y or N so that Transaction Import can identify summary–level
adjustments (negative amounts) for which there is no single matching
item to adjust. If this column is set to Y, Transaction Import will bypass
the matching validation logic that is usually executed for adjustments
(negative transactions). If this column is set to N, Oracle Projects finds
the matching item and populates
PA_EXPENDITURE_ITEMS_ALL.ADJUSTED_EXPENDITURE_ITEM_
ID.
Validation: None
EXPENDITURE_ITEM_ID
This column is populated by a system–defined value to identify the
transactions created in Oracle Projects.
Validation: This column is system assigned.
Destination: PA_EXPENDITURES_ALL.
EXPENDITURE_ITEM_ID
ORG_ID
This column is populated by the identification code of the organization
to which the user belongs. This information is used only if you have
implemented multi–organization support.
Validation: Must be a valid organization ID defined in the
following tables:
PA_EXPENDITURE_GROUP_ALL.ORG_ID,
PA_EXPENDITURES_ALL.ORG_ID,
PA_EXPENDITURE_ITEMS_ALL.ORG_ID, and
PA_COST_DISTRIBUTION_LINES_ALL.ORG_ID.
Destination: None
DR_CODE_COMBINATION_ID
If you are importing a transaction that has already been accounted for
and interfaced to GL, enter the ID of the GL debit account. If you allow
adjustments to these transactions, Oracle Projects uses this value to
account for reversing, adjusting costs.
Validation: Must be a valid GL account in
GL_CODE_COMBINATIONS
Destination: PA_COST_DISTRIBUTION_LINES_ALL.
DR_CODE_COMBINATION_ID
CR_CODE_COMBINATION_ID
If you are importing a transaction that has already been accounted for
and interfaced to GL, enter the ID of the GL credit account.
Validation: Must be a valid GL account in
GL_CODE_COMBINATIONS
CDL_SYSTEM_REFERENCE1
Enter the reference to the record in the external system if it has already
been accounted for and interfaced to General Ledger. This information
enables you to drill down to the transaction in the originating system.
Validation: None
Destination: PA_COST_DISTRIBUTION_LINES_ALL.
SYSTEM_REFERENCE1
CDL_SYSTEM_REFERENCE2
Enter the reference to the record in the external system if it has already
been accounted for and interfaced to General Ledger. This information
enables you to drill down to the transaction in the originating system.
Validation: None
Destination: PA_COST_DISTRIBUTION_LINES_ALL.
SYSTEM_REFERENCE2
CDL_SYSTEM_REFERENCE3
Enter the reference to the record in the external system if it has already
been accounted for and interfaced to General Ledger. This information
enables you to drill down to the transaction in the originating system.
Validation: None
Destination: PA_COST_DISTRIBUTION_LINES_ALL.
SYSTEM_REFERENCE3
GL_DATE
Enter the GL date of the transaction if it has already been accounted for
and interfaced to General Ledger. Oracle Projects uses this information
for reporting purposes only.
Validation: If this column is null for an accounted transaction,
then Transaction Import will reject the transaction.
Destination: PA_COST_DISTRIBUTION_LINES_ALL.
GL_DATE
BURDENED_COST_RATE
Enter the burdened cost multiplier for the burden transaction. Oracle
Projects uses this information for reporting purposes only.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
BURDEN_COST_RATE
SYSTEM_LINKAGE
Enter the expenditure type class of the given transaction. If the
transaction has no expenditure type class, the default expenditure type
class defined for the transaction source will be used. Oracle Projects
stores this information at the expenditure item level and uses it to
determine how to process the expenditure item.
Validation: Must be defined for the expenditure type. If this
value is NULL, then the default system linkage (or
expenditure type class) defined for the transaction
source is used.
Destination: PA_EXPENDITURE_ITEMS_ALL.
SYSTEM_LINKAGE_FUNCTION
TXN_INTERFACE_ID
The values in this column are generated by a sequence to provide a
unique identifier for each transaction loaded into the interface table.
Validation: This column is system assigned.
Destination: None
RECEIPT_CURRENCY_AMOUNT
The amount of the expenditure in the original currency (receipt
currency).
Validation: If SYSTEM_LINKAGE is Expense Reports, the item
is uncosted, and RECEIPT_CURRENCY_CODE is
different from DENOM_CURRENCY_CODE, this
value must equal zero or null.
Destination: PA_EXPENDITURE_ITEMS_ALL.RECEIPT_
CURRENCY_AMOUNT
RECEIPT_CURRENCY_CODE
The currency code for the receipt currency (the currency in which an
expense report transaction occurred).
Validation: Must be a valid currency code. A list of valid
currency codes can be obtained from
FND_CURRENCIES_VL.CURRENCY_CODE and
FND_CURRENCIES_VL.ENABLED_FLAG.
Destination: PA_EXPENDITURE_ITEMS_ALL.RECEIPT_
CURRENCY_CODE
RECEIPT_EXCHANGE_RATE
The exchange rate to convert from the receipt currency to the
transaction (reimbursement) currency.
DENOM_CURRENCY_CODE
The currency code for the transaction currency (reimbursement
currency for expense reports).
Validation: Must be a valid currency code. A list of valid
currency codes can be obtained from
FND_CURRENCIES_VL.CURRENCY_CODE and
FND_CURRENCIES_VL.ENABLED_FLAG.
Destination: PA_EXPENDITURE_ITEMS_ALL.
DENOM_CURRENCY_CODE and
PA_COST_DISTRIBUTION_LINES_ALL.
DENOM_CURRENCY_CODE
DENOM_RAW_COST
The raw cost amount in the transaction currency.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
DENOM_RAW_COST and
PA_COST_DISTRIBUTION_LINES_ALL.
DENOM_RAW_COST
DENOM_BURDENED_COST
The burdened cost amount in the transaction currency.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
DENOM_BURDENED_COST and
PA_COST_DISTRIBUTION_LINES_ALL.
DENOM_BURDENED_COST
ACCT_RATE_DATE
The exchange rate date for converting to the functional currency.
Validation: None
ACCT_RATE_TYPE
The conversion type for converting to the functional currency.
Validation: Must be a valid conversion type. You can obtain a
list of valid conversion types from
PA_CONVERSION_TYPES_V.
Destination: PA_EXPENDITURE_ITEMS_ALL.
ACCT_RATE_TYPE and
PA_COST_DISTRIBUTION_LINES_ALL.
ACCT_RATE_TYPE
ACCT_EXCHANGE_RATE
The exchange rate for converting to the functional currency.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
ACCT_EXCHANGE_RATE and
PA_COST_DISTRIBUTION_LINES_ALL.
ACCT_EXCHANGE_RATE
ACCT_RAW_COST
The raw cost in the functional currency. For accounted transactions,
Transaction Import compares this value to the value calculated from
DENOM_RAW_COST, using the conversion attributes. It is validated
to make sure that it is within the
ACCT_EXCHANGE_ROUNDING_LIMIT. See: Rounding Limit: page
13 – 15.
Validation: For accounted transactions, the functional raw cost,
which the system calculates using the given rate
attributes (ACCT_RATE_DATE and
ACCT_RATE_TYPE) must be within the rounding
limit (ACCT_EXCHANGE_ROUNDING_LIMIT)
of the entered ACCT_RAW_COST.
Destination: PA_EXPENDITURE_ITEMS_ALL.
ACCT_RAW_COST and
ACCT_BURDENED_COST
The burdened cost in the functional currency.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
ACCT_BURDENED_COST
ACCT_EXCHANGE_ROUNDING_LIMIT
The functional currency rounding limit. If the derivation of the
functional currency raw cost is within the rounding limit, a transaction
is accepted. If not, it is rejected. See: Rounding Limit: page 13 – 15.
If the value of ACCT_EXCHANGE_ROUNDING_LIMIT is null, then
the rounding limit value used is zero (0).
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
ACCT_ROUNDING_LIMIT
PROJECT_CURRENCY_CODE
This column is derived by the system, based on the project number.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
PROJECT_CURRENCY_CODE and
PA_COST_DISTRIBUTION_LINES_ALL.
PROJECT_CURRENCY_CODE
PROJECT_RATE_DATE
The exchange rate date for converting to the project currency.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
PROJECT_RATE_DATE and
PA_COST_DISTRIBUTION_LINES_ALL.
PROJECT_RATE_DATE
PROJECT_EXCHANGE_RATE
The exchange rate for converting to the project currency.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
PROJECT_EXCHANGE_RATE and
PA_COST_DISTRIBUTION_LINES_ALL.
PROJECT_EXCHANGE_RATE
ORIG_EXP_TXN_REFERENCE1
Expenditure identifier in the external system (system reference). For
supplier invoices imported from Oracle Payables, this column
populated by the value of DIST.INVOICE_ID. This column is also used
for additional grouping.
Validation: None
Destination: PA_EXPENDITURES_ALL.
ORIG_EXP_TXN_REFERENCE1
ORIG_EXP_TXN_REFERENCE2
Columns provided for additional grouping of transactions into
expenditures. This column is also used for additional grouping.
Validation: None
Destination: PA_EXPENDITURES_ALL.
ORIG_EXP_TXN_REFERENCE2
ORIG_USER_EXP_TXN_REFERENCE
Expenditure identifier in the external system (user reference). For
supplier invoices imported from Oracle Payables, this column is
populated by the value of INV.INVOICE_NUM.
Validation: None
Destination: PA_EXPENDITURES_ALL.
ORIG_USER_EXP_TXN_REFERENCE
VENDOR_NUMBER
The supplier number. For supplier invoices imported from Oracle
Payables, this column is populated by the value of INV.VENDOR_ID.
Validation: Must be a valid vendor number
(PA_VENDORS.SEGMENT1).
Destination: The corresponding supplier ID is stored in
PA_EXPENDITURES_ALL.
VENDOR_ID
OVERRIDE_TO_ORGANIZATION_NAME
Override organization name.
Validation: Must be a valid organization name in
HR_ORGANIZATION_UNITS.
Destination: The corresponding organization ID is stored in
PA_EXPENDITURE_ITEMS_ALL.
OVERRIDE_TO_ORGANIZATION_ID
REVERSED_ORIG_TXN_REFERENCE
The reference identifier of the original transaction that this transaction
reverses.
Validation: None
BILLABLE_FLAG
The billable or capitalizable flag.
Validation: None
Destination: PA_EXPENDITURE_ITEMS_ALL.
BILLABLE_FLAG
PERSON_BUSINESS_GROUP_NAME
Enter the business group name for the person who incurred the charge
for this transaction. This column is optional. However, if the employee
is defined in more than one business group and this field is not
populated, the transaction will be reported as an error.
Validation: Must be a valid organization defined in
HR_ALL_ORGANIZATION_UNITS.NAME
and be defined in
HR_ORGANIZATION_INFORMATION with an
OR_INFORMATION_CONTEXT of Business
Group Information.
Destination: None
CREATED_BY
This column is populated by the employee number of the user who
originally created the expenditure in the Review Transactions window.
Validation: None
Destination: None
CREATION_DATE
This column is populated by the date on which the expenditure was
created in the Review Transactions window.
Validation: None
Destination: None
LAST_UPDATE_DATE
This column is populated by the date on which the expenditure was
last updated in the Review Transactions window.
Validation: None
Destination: None
You can get a complete listing of all the rejection reasons from the
PA_LOOKUPS table under the lookup type TRANSACTION
REJECTION REASON. The codes are also listed in the Oracle
eTechnical Reference Manuals (eTRM), in the description of the
PA_TRANSACTION_INTERFACE_ALL table. Oracle eTRM is
available on OracleMetaLink.
1 P [blank] [blank]
2 P [blank] [blank]
3 P [blank] [blank]
The following table shows the same three transactions after Transaction
Import. Only Transaction 1 is shown in the exception report.
2 P [blank] 1009
3 P [blank] 1009
There are three methods you can use to view rejected transactions:
• Use the Review Transactions window
You can use the Review Transactions window to search for
rejected transactions by transaction source or batch name. See:
To view rejected transactions: page 13 – 53.
• Use SQL*Plus
You can use SQL*Plus to identify the records that have been
rejected by selecting those rows with a
TRANSACTION_STATUS_CODE of R and selecting the rejection
reason for each rejected record from the
TRANSACTION_REJECTION_CODE column.
• Review an Oracle Projects report
The Transaction Import Exception Report shows you all of the
transactions that were rejected during the Transaction Import
process. For each rejected transaction, this report displays the
key field values of the transaction in the interface table. It also
displays the rejection reason code that identifies the cause of the
Glossary – 1
Accounting Flexfield The code you use to activity attribute A parameter for an Oracle
identify a general ledger account in an Workflow function activity that controls
Oracle Financials application. Each how the function activity operates. You
Accounting Flexfield segment value define an activity attribute by displaying
corresponds to a summary or rollup the activity’s Attributes properties page in
account within your chart of accounts. the Activities window of Oracle Workflow
Builder. You assign a value to an activity
Accounting Flexfield structure The account
attribute by displaying the activity node’s
structure you define to fit the specific needs
Attribute Values properties page in the
of your organization. You choose the
Process window.
number of segments, as well as the length,
name, and order of each segment in your actual transactions Recorded project costs.
Accounting Flexfield structure. Examples include labor, expense report,
usage, burden, and miscellaneous costs.
Accounting Flexfield value set A group of
values and attributes of the values. For ad hoc For the specific purpose, case, or
example, the value length and value type situation at hand and for no other. For
that you assign to your account segment to example, an ad hoc tax code, report
identify a particular element of your submission, or database query.
business, such as Company, Division,
administrative assignment Activity on an
Region, or Product.
administrative project such as personal
accrue through date The date through which holiday, sick day, or jury duty.
you want to accrue revenue for a project. Administrative assignments can also
Oracle Projects picks up expenditure items represent administrative work such as
having an expenditure item date on or duties on an internal project. Such
before this date, and events having a assignments are charged to the
completion date on or before this date, administrative project which is determined
when accruing revenue. An exception to by the administration flag on the project
this rule are projects that use cost–to–cost type.
revenue accrual; in this case, the accrue
advance An amount of money prepaid in
through date used is the PA Date of the
anticipation of receipt of goods, services,
expenditure item’s cost distribution lines.
obligations or expenditures.
accumulation See summarization.
advance In Oracle Payables, an advance is a
activity In Oracle Workflow, a unit of work prepayment paid to an employee. You can
performed during a business process. apply an advance to an employee expense
report during expense report entry, once
activity In Oracle Receivables, a name that you
you fully pay the advance.
use to refer to a receivables activity such as
a payment, credit memo, or adjustment.
See also activity attribute, function activity,
receivables activity name.
Glossary – 2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
agreement A contract with a customer that alternative region An alternative region is one
serves as the basis for work authorization. of a collection of regions that occupy the
An agreement may represent a legally same space in a window where only one
binding contract, such as a purchase order, region can be displayed at any time. You
or a verbal authorization. An agreement identify an alternative region by a poplist
sets the terms of payment for invoices icon that displays the region title, which sits
generated against the agreement, and on top of a horizontal line that spans the
affects whether there are limits to the region. This display method has been
amount of revenue you can accrue or bill replaced by tabs in Release 11i and higher.
against the agreement. An agreement can
amount class For allocations, the period or
fund the work of one or more projects.
periods during which the source pool
agreement type An implementation–defined accumulates amounts.
classification of agreements. Typical
amount type The starting point for a time
agreement types include purchase order
interval. Available options include
and service agreement.
period–to–date, year–to–date, and
allocation A method for distributing existing project–to–date. Used to define budgetary
amounts between and within projects and controls for a project.
tasks. The allocation feature uses existing
analysis workbook A display of enterprise
project amounts to generate expenditure
information in a graphical and tabular
items for specified projects.
format. The Analysis Workbook uses
allocation method An attribute of an Discoverer to enable the user to modify the
allocation rule that specifies how the rule selection criteria, drill into dimension
collects and allocates the amounts in the hierarchies, or link to other data elements.
source pool. There are two allocation
approved date The date on which an invoice
methods, full allocation and incremental
is approved.
allocation. See also full allocation, incremental
allocation. archive To store historical transaction data
outside your database.
allocation rule A set of attributes that
describes how you want to allocate asset An object of value owned by a
amounts in a source pool to specified target corporation or business. Assets are entered
projects and tasks. in Oracle Projects as non–labor resources.
See non–labor resource. See fixed asset.
allocation run The results of the PRC:
Generate Allocation Transactions process.
Glossary – 3
assignment forecast item Assignment AutoAccounting parameter A variable that is
Forecast Item is the smallest unit of passed into AutoAccounting.
forecasting information for the assignment. AutoAccounting parameters are used by
In this entity, the smallest time unit is a day. AutoAccounting to determine account
Forecast items are created for each day of codings. Example AutoAccounting
every provisional and confirmed parameters available for an expenditure
assignment for every billable resource. item are the expenditure type and project
organization. AutoAccounting parameters
attribute See activity attribute, item type
are predefined by Oracle Projects.
attribute.
AutoAccounting Rule An
attribute In TCA, corresponds to a column in
implementation–defined formula for
a TCA registry table, and the attribute
deriving Accounting Flexfield segment
value is the value that is stored in the
values. AutoAccounting rules may use a
column. For example, party name is an
combination of AutoAccounting
attribute and the actual values of party
parameters, AutoAccounting lookup sets,
names are stored in a column in the
SQL statements, and constants to determine
HZ_PARTIES table.
segment values.
AutoAccounting In Oracle Projects, a feature
AutoAccounting Transaction A repository of
that automatically determines the account
the account coding rules needed to create
coding for an accounting transaction based
one accounting transaction. For each
on the project, task, employee, and
accounting transaction created by Oracle
expenditure information.
Projects, the necessary AutoAccounting
AutoAccounting In Oracle Receivables, a rules are held in a corresponding
feature that lets you determine how the AutoAccounting Transaction.
Accounting Flexfields for your revenue, AutoAccounting transactions are
receivable, freight, tax, unbilled receivable predefined by Oracle Projects.
and unearned revenue account types are
created. autoallocation set A group of allocation rules
that you can run in sequence that you
AutoAccounting function A group of related specify (step–down allocations) or at the
AutoAccounting transactions. There is at same time (parallel allocations). See also
least one AutoAccounting function for each step–down allocation, parallel allocation.
Oracle Projects process that uses
AutoAccounting. AutoAccounting AutoInvoice A program that imports
functions are predefined by Oracle Projects. invoices, credit memos, and on–account
credits from other systems to Oracle
AutoAccounting Lookup Set An Receivables.
implementation–defined list of
intermediate values and corresponding
Accounting Flexfield segment values.
AutoAccounting lookup sets are used to
translate intermediate values such as
organization names into account codes.
Glossary – 4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
automatic event An event with an event type balancing segment An Accounting Flexfield
classification of Automatic. Billing segment that you define so that General
extensions create automatic events to Ledger automatically balances all journal
account for the revenue and invoice entries for each value of this segment. For
amounts calculated by the billing example, if your company segment is a
extensions. balancing segment, General Ledger ensures
that, within every journal entry, the total
AutoReduction An Oracle Applications
debits to company 01 equal the total credits
feature in the list window that allows you
to company 01
to shorten a list so that you must scan only
a subset of values before choosing a final baseline To approve a budget for use in
value. Just as AutoReduction incrementally reporting and accounting.
reduces a list of values as you enter
baseline budget The authorized budget for a
additional character(s), pressing
project or task which is used for
[Backspace] incrementally expands a list.
performance reporting and revenue
AutoSelection A feature in the list window calculation.
that allows you to choose a valid value
basis method How an allocation rule is used
from the list with a single keystroke. When
to allocate the amounts from a source pool
you display the list window, you can type
to target projects. The basis methods
the first character of the choice you want in
include options to spread the amounts
the window. If only one choice begins with
evenly, allocate by percentage, or prorate
the character you enter, AutoSelection
amounts based on criteria you specify. Also
selects the choice, closes the list window,
referred to as the ”basis.” See also source
and enters the value in the appropriate
pool.
field.
batch source A source you define in Oracle
AutoSkip A feature specific to flexfields
Receivables to identify where your
where Oracle Applications automatically
invoicing activity originates. The batch
moves your cursor to the next segment as
source also controls invoice defaults and
soon as you enter a valid value into a
invoice numbering. Also known as a
current flexfield segment. You can turn this
transaction batch source.
feature on or off with the user profile
option Flexfields:AutoSkip. bill rate A rate per unit at which an item
accrues revenue and/or is invoiced for time
availability Availability of a resource for a
and material projects. Employees, jobs,
specified duration is presented in the form
expenditure types, and non–labor resources
of a percentage calculated as follows:
can have bill rates.
(capacity minus the number of confirmed
assignments hours)100 / capacity
availability match See availability
Glossary – 5
bill rate schedule A set of standard bill rates borrowed and lent A method of processing
that maintains the rates and percentage cross charge transactions that generates
markups over cost that you charge clients accounting entries to pass cost or share
for your labor and non–labor expenditures. revenue between the provider and receiver
organizations within a legal entity. See also:
bill site The customer address to which
Intercompany Billing.
project invoices are sent.
boundary code The end point for a time
bill through date The date through which you
interval. Available options include period,
want to invoice a project. Oracle Projects
year, and project. Used to define budgetary
picks up revenue distributed expenditure
controls for a project.
items having an expenditure item date on
or before this date, and events having a budget Estimated cost, revenue, labor hours
completion date on or before this date, or other quantities for a project or task.
when generating an invoice. Each budget may optionally be categorized
by resource. Different budget types may be
billable resource A resource that has a
set up to classify budgets for different
current billable job assignment. Billable
purposes. In addition, different versions
jobs are defined in the job definition screen
can exist for each user–defined budget
where the Job Billability flag is set to Y.
type: current, original, revised original, and
billing The functions of revenue accrual and historical versions. The current version of a
invoicing. budget is the most recently baseline
version. See also budget line, resource.
billing cycle The billing period for a project.
Examples of billing cycles you can define budgetary controls Control settings that
are: a set number of days, the same day enable the system to monitor and control
each week or month, or the project project–related commitment transactions.
completion date. You can optionally use a
budget line Estimated cost, revenue, labor
client extension to define a billing cycle.
hours, or other quantity for a project or task
billing title See Employee Billing Title, Job categorized by a resource.
Billing Title.
burden cost code An implementation–defined
block Every Oracle Applications window classification of overhead costs. A burden
(except root and modal windows) consists cost code represents the type of burden cost
of one or more blocks. A block contains you want to apply to raw cost. For
information pertaining to a specific example, you can define a burden cost code
business entity Generally, the first or only of G&A to burden specific types of raw
block in a window assumes the name of the costs with General and Administrative
window. Otherwise, a block name appears overhead costs.
across the top of the block with a horizontal
line marking the beginning of the block.
Glossary – 6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
burden costs Burden costs are legitimate costs burden structure A burden structure
of doing business that support raw costs determines how cost bases are grouped and
and cannot be directly attributed to work what types of burden costs are applied to
performed. Examples of burden costs are the cost bases. A burden structure defines
fringe benefits, office space, and general relationships between cost bases and
and administrative costs. burden cost codes and between cost bases
and expenditure types.
burden multiplier A numeric multiplier
associated with an organization for burden burdened cost The cost of an expenditure
schedule revisions, or with burden cost item, including raw cost and burden costs.
codes for projects or tasks. This multiplier
business entity A person, place, or thing that
is applied to raw cost to calculate burden
is tracked by your business. For example, a
cost amounts. For example, you can assign
business entity can be an account, a
a multiplier of 95% to the burden cost code
customer, or a part.
of Overhead.
business group The highest level of
burden schedule An implementation–defined
organization and the largest grouping of
set of burden multipliers that is maintained
employees across which a company can
for use across projects. Also referred to as a
report. A business group can correspond to
standard burden schedule. You may define
an entire company, or to a specific division
one or more schedules for different
within the company. Each installation of
purposes of costing, revenue accrual, and
Oracle Projects uses one business group
invoicing. Oracle Projects applies the
with one hierarchy.
burden multipliers to the raw cost amount
of an expenditure item to derive an business view Component of the application
amount; this amount may be the total cost, database that sorts underlying applications
revenue amount, or bill amount. You can data into an understandable and
override burden schedules by entering consolidated set of information. By
negotiated rates at the project and task masking the complexity of the database
level. See also Firm Schedule, Provisional tables, Business Views provide a standard
Schedule, Burden Schedule Revision, Burden set of interfaces to any tool or application
Schedule Override. that retrieves and presents data to the user.
burden schedule override A schedule of button You choose a button to initiate a
negotiated burden multipliers for projects predefined action. Buttons do not store
and tasks that overrides the schedule you values. A button is usually labeled with
defined during implementation. text to describe its action or it can be an
icon whose image illustrates its action.
burden schedule revision A revision of a set
of burden multipliers. A schedule can be calendar Working capacity defined by work
made of many revisions. patterns and calendar exceptions.
Glossary – 7
capacity Capacity is the total number of hours class code An implementation–defined value
a resource can be scheduled based on the within a class category that can be used to
calendar of the resource. In the case of classify a project. See class category.
Labor, capacity is defined in work hours.
clearing account An account used to ensure
The capacity of an Organization is the sum
that both sides of an accounting transaction
total of the capacity of assigned resources.
are recorded. For example, Oracle General
capital project A project in which you build Ledger uses clearing accounts to balance
one or more depreciable fixed assets. intercompany transactions.
chart of accounts The account structure your When you purchase an asset, your payables
organization uses to record transactions group creates a journal entry to the asset
and maintain account balances. clearing account. When your fixed assets
group records the asset, they create an
chart of accounts structure See: Accounting
offset journal entry to the asset clearing
Flexfield Structure: page Glossary – 2.
account to balance the entry from the
check box You can indicate an on/off or payables group.
yes/no state for a value by checking or
combination block A combination block
unchecking its check box. One or more
displays the fields of a record in both
check boxes can be checked since each
multi–record (summary) and single–record
check box is independent of other check
(detail) formats. Each format appears in its
boxes.
own separate window that you can easily
child request A concurrent request submitted navigate between.
by another concurrent request (a parent
combination query See Existing Combinations.
request.) For example, each of the reports
and/or programs in a report set are child comment alias A user–defined name for a
requests of that report set. frequently used line of comment text,
which can be used to facilitate online entry
CIP assets See: construction–in–process assets.
of timecards and expense reports.
chargeable project For each expenditure, a
commitment transactions Anticipated project
project to which the expenditure can be
costs. Examples include purchase
charged or transferred.
requisitions and purchase orders,
claim A discrepancy between the billed provisional and confirmed contract
amount and the paid amount. Claims are commitments, and supplier invoices.
often referred to as deductions, but a claim
competence A technical skill or personal
can be positive or negative.
ability such as JAVA programming,
class category An implementation–defined customer relations, and project billing.
category for classifying projects. For
competence match A numerical comparison
example, if you want to know the market
of the competence of a resource to the
sector to which a project belongs, you can
mandatory and optional competencies of a
define a class category with a name such as
requirement. In the candidate score
Market Sector. Each class category has a set
calculation, this number is converted to a
of values (class codes) that can be chosen
percentage.
for a project. See class code.
Glossary – 8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
complete matching A condition where the concurrent queue A list of concurrent
invoice quantity matches the quantity requests awaiting completion by a
originally ordered, and you approve the concurrent manager. Each concurrent
entire quantity. See also matching, partial manager has a queue of requests waiting to
matching. be run. If your system administrator sets
up your Oracle Application to have
construction–in–process (CIP) asset A
simultaneous queuing, your request can
depreciable fixed asset you plan to build
wait to run in more than one queue.
during a capital project. The costs
associated with building CIP assets are concurrent request A request to Oracle
referred to as CIP costs. See also capital Applications to complete a non–interactive
project. You construct CIP assets over a task for you, such as releasing a shipment,
period of time rather than buying a finished posting a journal entry, or running a report.
asset. Oracle Assets lets you create, Once you submit a request, Oracle
maintain, and add to your CIP assets as Applications automatically completes your
you spend money for material and labor to request.
construct them. When you finish the assets
contact In Oracle Projects, a customer
and place them in service (capitalize them),
representative who is involved with a
Oracle Assets begins depreciating them.
project. For example, a contact can be a
concurrent manager A unique facility that billing contact, the customer representative
manages many time–consuming, who receives project invoices.
non–interactive tasks within Oracle
contact point A means of contacting a party
Applications. When you submit a request
other than postal mail, for example, a
that does not require your interaction, such
phone number, e–mail address, fax number,
as releasing shipments or running a report,
and so on.
the Concurrent Manager does the work for
you, letting you complete multiple tasks contact type An implementation–defined
simultaneously. classification of project contacts according
to their role in the project. Typical contact
concurrent process A non–interactive task
types are Billing and Shipping.
that you request Oracle Applications to
complete. Each time you submit a
non–interactive task, you create a new
concurrent process. A concurrent process
runs simultaneously with other concurrent
processes (and other interactive activities
on your computer) to help you complete
multiple tasks at once.
Glossary – 9
context field prompt A question or prompt to contract project A project for which you can
which a user enters a response, called a generate revenue and invoices. Typical
context field value. When Oracle contract project types include Time and
Applications displays a descriptive flexfield Materials and Fixed Price. Formerly known
pop–up window, it displays your context as a direct project.
field prompt after it displays any global
control level The level of control to impose on
segments you have defined. Each
project transactions during a funds check.
descriptive flexfield can have up to one
Available options are absolute, advisory,
context prompt.
and none. Used to define budgetary
context field value A response to your context controls for a project.
field prompt. Your response is composed
controlled budget A budget for which
of a series of characters and a description.
budgetary controls have been enabled.
The response and description together
provide a unique value for your context conversion A process that converts foreign
prompt, such as 1500, Journal Batch ID, or currency transactions to your functional
2000, Budget Formula Batch ID. The currency. See also foreign currency
context field value determines which conversion.
additional descriptive flexfield segments
corporate exchange rate An exchange rate you
appear.
can optionally use to perform foreign
context response See context field value. currency conversion. The corporate
exchange rate is usually a standard market
context segment value A response to your
rate determined by senior financial
context–sensitive segment. The response is
management for use throughout the
composed of a series of characters and a
organization. You define this rate in Oracle
description. The response and description
General Ledger.
together provide a unique value for your
context–sensitive segment, such as cost base A cost base refers to the grouping of
Redwood Shores, Oracle Corporation raw costs to which burden costs are
Headquarters, or Minneapolis, Merrill applied. Examples of cost bases are Labor
Aviation’s Hub. and Materials.
context–sensitive segment A descriptive cost budget The estimated cost amounts at
flexfield segment that appears in a second completion of a project. Cost budget
pop–up window when you enter a response amounts can be summary or detail, and can
to your context field prompt. For each be burdened or unburdened.
context response, you can define multiple
context segments, and you control the
sequence of the context segments in the
second pop–up window. Each
context–sensitive segment typically
prompts you for one item of information
related to your context response.
Glossary – 10 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
cost burden schedule A burden schedule credit receiver A person receiving credit for
used for costing to derive the total cost project or task revenue. One project or task
amount. You assign the cost burden may have many credit receivers for one or
schedule to a project type that is burdened; many credit types.
this default cost burden schedule defaults
credit type An implementation–defined
to projects that use the project type; and
classification of the credit received by a
then from the project to the tasks below the
person for revenue a project earns. Typical
project. You may override the cost burden
credit types include Quota Credit and
schedule for a project or a task if you have
Marketing Credit.
defined the project type option to allow
overrides of the cost burden schedule. Cross–Project responsibility A responsibility
that permits users to view and update any
cost distribution The act of calculating the
project.
cost and determining the cost accounting
for an expenditure item. cross charge transaction An expenditure item
whose provider operating unit is different
cost rate The monetary cost per unit of an
from the receiver operating unit, the
employee, expenditure type, or resource.
provider organization is different from the
cost–to–cost A revenue accrual method that receiver organization, or both.
calculates project revenue as budgeted
cross charge project A project that can receive
revenue multiplied by the ratio of actual
transactions from an operating unit or
cost to budgeted cost. Also known as
organization that is different from the
percentage of completion method or
operating unit or organization that owns
percentage spent method.
the project.
credit memo In Oracle Payables and Oracle
cross charge type One of the three types of
Projects, a document that partially or fully
cross charge transactions: intercompany,
reverses an original invoice.
inter–operating unit, and intra–operating
In Oracle Receivables, a document that unit.
partially or fully reverses an original
cross–project user A user who is logged into
invoice. You can create credit memos in the
Oracle Projects using a Cross–Project
Receivables Credit Transactions window or
responsibility.
with AutoInvoice.
current budget The most recently baseline
Cross Business Group Access (CBGA) The
budget version of the budget.
ability to view data in operating units that
are not associated with the current current record indicator Multi–record blocks
operating unit’s business group. often display a current record indicator to
the left of each record. A current record
Cross Business Group Access mode (CBGA
indicator is a one character field that when
mode) An installation that has selected
filled in, identifies a record as being
CBGA in the profile options is operating in
currently selected.
CBGA mode.
customer agreement See agreement.
cross charge To charge a resource to a project
owned by a different operating unit.
Glossary – 11
database table A basic data storage structure dimension An Oracle Financial Analyzer
in a relational database management database object used to organize and index
system. A table consists of one or more the data stored in a variable. Dimensions
units of information (rows), each of which are used in Oracle Project to calculate and
contains the same kind of values (columns). monitor performance measures.
Your application’s programs and windows Dimensions answer the following questions
access the information in the tables for you. about data: ”What?” ”When?” and
”Where?” For example, a variable called
deferred revenue An event type classification
Units Sold might be associated with the
that generates an invoice for the amount of
dimensions Product, Month, and District.
the event, and has no immediate effect on
In this case, Units Sold describes the
revenue. The invoice amount is accounted
number of products sold during specific
for in an unearned revenue account that
months within specific districts.
will be offset as the project accrues revenue.
distribution line In Oracle Payables and
delivery assignment Filled work position on a
Oracle Projects, a line corresponding to an
project that is not an administrative project.
accounting transaction for an expenditure
denomination currency In some financial item on an invoice, or a liability on a
contexts, a term used to refer to the payment.
currency in which a transaction takes place.
distribution line In Oracle Assets, information
In this manual, this currency is called
such as employee, general ledger
transaction currency. See: transaction
depreciation expense account, and location
currency.
to which you have assigned an asset. You
depreciate To depreciate an asset is to spread can create any number of distribution lines
its cost over the time you use it. You charge for each asset. Oracle Assets uses
depreciation expense for the asset each distribution lines to allocate depreciation
period. The total depreciation taken for an expense and to produce your Property Tax
asset is stored in the accumulated and Responsibility Reports.
depreciation account.
distribution rule See revenue distribution rule.
Descriptive Flexfield A field that your
draft budget A preliminary budget which
organization can extend to capture extra
may be changed without affecting revenue
information not otherwise tracked by
accrual on a project.
Oracle Applications. A descriptive flexfield
appears in your window as a single draft invoice A potential project invoice that
character, unnamed field. Your is created, adjusted, and stored in Oracle
organization can customize this field to Projects. Draft invoices require approval
capture additional information unique to before they are officially accounted for in
your business. other Oracle Applications.
direct project An obsolete term. See contract
project.
Glossary – 12 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
draft revenue A project revenue transaction euro A single currency adopted by the
that is created, adjusted, and stored in member states of the European Union. The
Oracle Projects. You can adjust draft official abbreviation, EUR, is used for all
revenue before you transfer it to other commercial, business, and financial
Oracle Applications. purposes, and has been registered with the
International Standards Organization (ISO).
drilldown A software feature that allows you
to view the details of an item in the current event In Oracle Projects, a summary level
window via a window in a different transaction assigned to a project or top task
application. that records work completed and generates
revenue and/or billing activity, but is not
duration The total number of days between
directly related to any expenditure items.
the start date and end date of a team role.
For example, unlike labor costs or other
dynamic insertion An optional Accounting billable expenses, a bonus your business
Flexfields feature that allows you to create receives for completing a project ahead of
new account combinations during data schedule is not attributable to any
entry in Oracle Applications. By enabling expenditure item, and would be entered as
this feature, it prevents having to define an event.
every possible account combination that
event type An implementation–defined
can exist. Define cross–validation rules
classification of events that determines the
when using this feature.
revenue and invoice effect of an event.
effort The total number of hours of a team Typical event types include Milestones,
role. Scheduled Payments, and Write–Offs.
employee billing title An employee title, exchange rate A rate that represents the
which differs from a job billing title, that amount one currency can be exchanged for
may appear on an invoice. Each employee another at a specific point in time. Oracle
can have a unique employee billing title. Applications can access daily, periodic, and
historical rates. These rates are used for
employee organization The organization to
foreign currency conversion, revaluation,
which an employee is assigned.
and translation.
encumbrance A journal entry to reserve funds
exchange rate type The source of an exchange
for anticipated project costs (commitments).
rate. For example, user defined, spot, or
The primary purpose for posting
corporate rate. See also: corporate
encumbrances is to avoid overspending a
exchange: page Glossary – 10 rate, spot
budget.
exchange rate: page Glossary – 34.
End User Layer Component of Discoverer
that translates business view column names
into industry standard terminology and
provides links between related data tables.
Discoverer accesses information through
the End User Layer (EUL).
Glossary – 13
Existing Combinations A feature specific to expenditure item date The date on which
key flexfields in data entry mode that work is performed and is charged to a
allows you to enter query criteria in the project and task.
flexfield to bring up a list of matching
expenditure operating unit The operating
predefined combinations of segment values
unit in which an expenditure is entered and
to select from.
processed for project costing.
expenditure A group of expenditure items
expenditure organization For timecards and
incurred by an employee or an organization
expense reports, the organization to which
for an expenditure period. Typical
the incurring employee is assigned, unless
expenditures include Timecards and
overridden by organization overrides. For
Expense Reports.
usage, supplier invoices, and purchasing
expenditure (week) ending date The last day commitments, the incurring organization
of an expenditure week period. All entered on the expenditure.
expenditure items associated with an
expenditure type An implementation–defined
expenditure must be on or before the
classification of cost that you assign to each
expenditure ending date, and must fall
expenditure item. Expenditure types are
within the expenditure week identified by
grouped into cost groups (expenditure
the expenditure week ending date.
categories) and revenue groups (revenue
expenditure category An implementation– categories).
defined grouping of expenditure types by
expenditure type class An additional
type of cost. For example, an expenditure
classification for expenditure types that
category with a name such as Labor refers to
indicates how Oracle Projects processes the
the cost of labor.
expenditure types. For example, if you run
expenditure comment Free text that can be the Distribute Labor Costs process, Oracle
entered for any expenditure item to explain Projects will calculate the cost of all
or describe it in further detail. expenditure items assigned to the Straight
Time expenditure type class. Formerly
expenditure cost rate The monetary cost per
known as system linkage.
unit of a non–labor expenditure type.
expense report In Oracle Payables, a
expenditure cycle A weekly period for
document that details expenses incurred by
grouping and entering expenditures.
an employee for the purpose of
expenditure group A user–defined name used reimbursement. You can enter expense
to track a group of pre–approved reports online in Payables, or employees
expenditures, such as Timecards, or enter them online in Internet Expenses.
Expense Reports. You can then submit Expense Report
Import to import these expense reports and
expenditure item The smallest logical unit of
expense reports from Projects. The import
expenditure you can charge to a project and
program creates invoices in Payables from
task. For example, an expenditure item can
the expense report data.
be a timecard item or an expense report
item.
Glossary – 14 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
expense report In Oracle Projects, a document firm schedule A burden schedule of burden
that, for purposes of reimbursement, details multipliers that will not change over time.
expenses incurred by an employee. You This is compared to provisional schedules
can set up expense report templates to in which actual multipliers are mapped to
match the format of your expense reports to provisional multipliers after an audit.
speed data entry. You must create invoices
first bill offset days The number of days that
from Payables expense reports using
elapse between a project start date and the
Expense Report Import before you can pay
date that the project’s first invoice is issued.
the expense reports.
fixed asset An item owned by your business
Expense Report Import An Oracle Payables
and used for operations. Fixed assets
process you use to create invoices from
generally have a life of more than one year,
Payables expense reports. You can also use
are acquired for use in the operation of the
Expense Report Import to create invoices
business, and are not intended for resale to
from expense reports in Oracle Projects.
customers. Assets differ from inventory
When you initiate Expense Report Import, items since you use them rather than sell
Payables imports the expense report them.
information and automatically creates
fixed date See schedule fixed date.
invoices with invoice distribution lines
from the information. Payables also flat file A file where the data is unformatted
produces a report for all expense reports it for a specific application.
could not import.
flexfield An Oracle Applications field made
external organization See organization. up of segments. Each segment has an
assigned name and a set of valid values.
feeder program A custom program you write
Oracle Applications uses flexfields to
to transfer your transaction information
capture information about your
from an original system into Oracle
organization. There are two types of
Application interface tables. The type of
flexfields: key flexfields and descriptive
feeder program you write depends on the
flexfields.
environment from which you are importing
data. flexfield segment One of the sections of your
key flexfield, separated from the other
field A position on a window that you use to
sections by a symbol that you define (such
enter, view, update, or delete information.
as –,/, or \). Each segment typically
A field prompt describes each field by
represents an element of your business,
telling you what kind of information
such as cost center, product, or account.
appears in the field, or alternatively, what
kind of information you should enter in the
field.
Glossary – 15
folder Customizable windows located function A PL/SQL stored procedure
throughout Oracle Applications. Folders referenced by an Oracle Workflow function
allow you to: change the display of a activity that can enforce business rules,
window by resizing or reordering columns, perform automated tasks within an
hide or display columns, and change field application, or retrieve application
names to best fit the needs of each user’s information. The stored procedure accepts
working style. standard arguments and returns a
completion result. See also function activity.
foreign currency In Oracle Applications, a
currency that is different from the function activity An automated Oracle
functional currency you defined for your Workflow unit of work that is defined by a
set of books in Oracle General Ledger. PL/SQL stored procedure. See also
When you enter and pay a foreign currency function.
invoice, Payables automatically converts
function security An Oracle Applications
the foreign currency into your functional
feature that lets you control user access to
currency at the rate you define. General
certain functions and windows. By default,
Ledger automatically converts foreign
access to functionality is not restricted; your
currency journal entries into your
system administrator customizes each
functional currency at the rate you define.
responsibility at your site by including or
See also exchange rate, functional currency.
excluding functions and menus in the
foreign currency conversion A process in Responsibilities window.
Oracle Applications that converts a foreign
functional currency The principal currency
currency transaction into your functional
you use to record transactions and maintain
currency using and exchange rate you
accounting data for your set of books.
specify.
Also, in cross charge transactions, the
form A window that contains a logical currency, as defined in the set of books,
collection of fields, regions, and blocks that associated with a project transaction. For
appear on a single screen. You enter data example, the cost functional currency is the
into forms. See window. functional currency for both the project
expenditure item and the set of books of the
full allocation An allocation method that
expenditure operating unit. The invoice
distributes all the amounts in the specified
functional currency is the functional
projects in the specified amount class. The
currency for both the project revenue and
full allocation method is generally suitable
the set of books of the project operating
if you want to process an allocation rule
unit.
only once in a run period. See also
incremental allocation.
Glossary – 16 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
funds check The process that verifies a global segment value A response to your
budget’s available funds. When budgetary global segment prompt. Your response is
controls are enabled, a funds check is composed of a series of characters and a
performed against the project budget for description. The response and description
commitment transactions. When top–down together provide a unique value for your
budgeting is also enabled, a funds check is global segment, such as J. Smith, Financial
performed against the funding budget for Analyst, or 210, Building C.
the project budget lines.
hard limit An option for an agreement that
GL Date The date, referenced from Oracle prevents revenue accrual and invoice
General Ledger, used to determine the generation beyond the amount allocated to
correct accounting period for your a project or task by the agreement. If you
transactions. do not impose a hard limit, Oracle Projects
automatically imposes a soft limit of the
In Oracle Projects, the end date of the GL
same amount. See also soft limit.
Period in which costs or revenue are
transferred to Oracle General Ledger. This HR job In HRMS, the HR job for a resource
date is determined from the open or future (person) is the job linked to the primary
GL Period on or after the Project assignment of the person.
Accounting Date of a cost distribution line
incremental allocation An allocation method
or revenue. For invoices, the date within
that creates expenditure items based on the
the GL Period on which an invoice is
difference between the transactions
transferred to Oracle Receivables.
processed from one allocation to the next.
global hierarchy An organization hierarchy This method is generally suitable if you
that includes one or more business groups. want to use an allocation rule in allocation
A global hierarchy can be used by runs several times in a given run period.
installations that are in CBGA mode. See also full allocation.
global security profile An HR security indirect project A project used to collect and
profiles that is not associated with a track costs for overhead activities, such as
business group. A global security profile administrative labor, marketing, and bid
can secure organizations and people and proposal preparation. You can also
throughout a global (cross business group) define indirect projects to track time off
organization hierarchy. such as sick leave, vacation, and holidays.
You cannot generate revenue or invoices for
global segment prompt A
indirect projects.
non–context–sensitive descriptive flexfield
segment. Each global segment typically
prompts you for one item of information
related to the zone or form in which you are
working.
Glossary – 17
inter–operating unit cross charge transaction internal billing Intercompany billing for work
An expenditure item for which the provider performed between two organizations or
and receiver operating units are different, projects. The process creates the
but both operating units are associated with appropriate documents so the provider
the same legal entity. operating unit can bill the receiver
operating unit.
intercompany billing A method of internally
billing work performed by a provider internal organization See organization.
operating unit and charged to a project
internal requisition See internal sales order,
owned by a receiver operating unit. The
purchase requisition.
provider operating unit creates a
Receivables invoice, which is interfaced as a internal sales order A request within your
Payables invoice to the receiver operating company for goods or services. An internal
unit. See: Borrowed and Lent. sales order originates from an employee or
from another process as a requisition, such
intercompany billing project A contract
as inventory or manufacturing, and
project set up in the provider operating unit
becomes an internal sales order when the
to process intercompany billing. The
information is transferred from Purchasing
provider operating unit must create one
to Order Management. Also known as
intercompany billing project for each
internal requisition or purchase
receiver operating unit it wants to charge.
requisition.
intercompany cross charge transaction An
intra–operating unit cross charge transaction
expenditure item that crosses legal entity
An cross charge expenditure item charged
boundaries, which means that the provider
entirely within an operating unit. The
and receiver operating units are different
provider and receiver organizations are
and are associated with different legal
different, but the provider and receiver
entities.
operating units are the same.
intercompany invoice base amount The sum
invoice In Oracle Receivables and Oracle Cash
of the amounts in the provider’s transfer
Management, a document that you create in
price functional currency.
Receivables that lists amounts owed for the
intercompany invoice currency The purchases of goods or services. This
transaction currency of an intercompany document also lists any tax, freight charges,
invoice. You can specify the invoice and payment terms.
currency attributes for each intercompany
billing project to convert the intercompany
invoice base amount to the intercompany
invoice amount
intermediate value The parameter value,
constant, or SQL statement result that is
determined during the first step in the
execution of an AutoAccounting rule.
Glossary – 18 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
invoice In Oracle Payables and Oracle Assets, In Oracle Payables, the date you assign to
a document you receive from a supplier an invoice you enter in Payables. Payables
that lists amounts owed to the supplier for uses this date to calculate the invoice due
purchased goods or services. In Payables, date, according to the payment terms for
you create an invoice online using the the invoice. The invoice date can be the
information your supplier provides on the date the invoice was entered or it can be a
document, or you import an invoice from a different date you specify.
supplier. Payments, inquiries, adjustments
invoice distribution line A line representing
and any other transactions relating to a
an expenditure item on an invoice. A single
supplier’s invoice are based upon the
expenditure item may have multiple
invoice information you enter.
distribution lines for cost and revenue. An
invoice In Oracle Projects, a summarized list invoice distribution line holds an amount,
of charges, including payment terms, account code, and accounting date.
invoice item information, and other
invoice format The columns, text, and layout
information that is sent to a customer for
of invoice lines on an invoice.
payment.
invoice item A single line of a project’s draft
invoice burden schedule A burden schedule
invoice, formatted according to the project
used for invoicing to derive the bill amount
invoice formats.
of an expenditure item. This schedule may
be different from your revenue burden invoice set For each given run of invoice
schedule, if you want to invoice at a generation for a project, if multiple
different rate at which you want to accrue. agreements exist and multiple invoices are
created, Oracle Projects creates the invoices
invoice currency The currency in which an
within a unique set ID. You approve,
Oracle Projects invoice is issued.
release, and cancel all invoices within an
invoice date In Oracle Assets and Oracle invoice set.
Projects, the date that appears on a
invoice transaction type An Oracle
customer invoice. This date is used to
Receivables transaction type that is
calculate the invoice due date, according to
assigned to invoices and credit memos that
the customer’s payment terms.
are created from Oracle Projects draft
In Oracle Receivables, the date an invoice is invoices.
created. This is also the date that
invoice write–off A transaction that reduces
Receivables prints on each invoice.
the amount outstanding on an invoice by a
Receivables also uses this date to determine
given amount and credits a bad debt
the payment due date based on the
account.
payment terms you specify on the invoice.
Glossary – 19
invoicing The function of preparing a client job A name for a set of duties to which an
invoice. Invoice generation refers to the employee may be assigned. You create jobs
function of creating the invoice. Invoicing in Oracle Projects by combining a job level
is broader in the terms of creating, and a job discipline using your job key
adjusting, and approving an invoice. flexfield structure. For example, you can
combine the job level Staff with the job
item type A term used by Oracle Workflow to
discipline Engineer to create the job Staff
refer to a grouping of all items of a
Engineer.
particular category that share the same set
of item attributes, used as a high level job billing title A job billing title, which
grouping for processes. For example, each differs from a job title, that may appear on
Account Generator item type (e.g. FA an invoice.
Account Generator) contains a group of
job discipline A categorization of job
processes for determining how an
vocation, used with Job Level to create a job
Accounting Flexfield code combination is
title. For example, a job discipline may be
created. See also item type attribute.
Engineer, or Consultant.
item type attribute A feature of a particular
job group A collection of jobs defined for a
Oracle Workflow item type, also known as
specific purpose. Jobs in a job group have
an item attribute. An item type attribute is
the same key flexfield structure.
defined as a variable whose value can be
looked up and set by the application that job level A categorization of job rank, used
maintains the item. An item type attribute with Job Discipline to create a job title. For
and its value is available to all activities in a example, a job level may be Staff, or
process. Principal.
Item Validation Organization The job level In Oracle Project Resource
organization that contains your master list Management it is a numeric value
of items. You must define all items and bills associated to the job of the Project Resource
in your Item Validation Organization, but Job Group. Each resource has a job and an
you also need to maintain your items and associated job level that either belongs to or
bills in separate organizations if you want is mapped to the Project Resource Job
to ship them from other warehouses. Group. The level provides a basis for
Oracle Order Management refers to searching for potential resource matches.
organizations as warehouses on all Order See job level match.
Management forms and reports. See also
organization.
Glossary – 20 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
job level match A numeric value of 0% or journal entry header A method used to group
100%. If the job level of the resource is journal entries by currency and journal
within the range of specified job levels for entry category within a journal entry batch.
the search, then the job level match for the When you initiate the transfer of invoices or
resource is 100, otherwise, it is 0. This payments to your general ledger for
percentage is used by the calculation for posting, Oracle Payables transfers the
determining the candidate score. necessary information to create journal
entry headers for the information you
job title In Oracle Projects, a unique
transfer. Journal Import in General Ledger
combination of job level and job discipline
uses the information to create a journal
that identifies a particular job.
entry header for each currency and journal
job title In Oracle Receivables, a brief entry category in a journal entry batch. A
description of your customer contact’s role journal entry batch can have multiple
within their organization. journal entry headers.
journal entry category A category to indicate journal entry lines Each journal entry header
the purpose or nature of a journal entry, contains one or more journal entry lines.
such as Adjustment or Addition. Oracle The lines are the actual journal entries that
General Ledger associates each of your your general ledger posts to update account
journal entry headers with a journal balances. The number and type of lines in a
category. You can use one of General journal entry header depend on the volume
Ledger’s pre–defined journal categories or of transactions, frequency of transfer from
define your own. Oracle Payables, and your method of
summarizing journal entries from Oracle
For Oracle Payables, there are three journal
Payables.
entry categories in Oracle Projects if you
use the accrual basis accounting method: journal entry source Identifies the origin of
Invoices, Payments, and All (both Invoices journal entries from Oracle and non–Oracle
and Payments). If you use the cash basis feeder systems. General Ledger supplies
accounting method, Oracle Projects only predefined journal sources or you can
assigns the Payment journal entry category create your own.
to your journal entries.
Journal Import A General Ledger program
that creates journal entries from transaction
data stored in the General Ledger
GL_INTERFACE table. Journal entries are
created and stored in GL_JE_BATCHES,
GL_JE_HEADERS, and GL_JE_LINES.
Glossary – 21
key flexfield An intelligent key that uniquely labor costing rule An
identifies an application entity. Each key implementation–defined name for an
flexfield segment has a name you assign, employee costing method. Also known as
and a set of valid values you specify. Each pay type. Typical labor costing rules
value has a meaning you also specify. You include Hourly and Exempt.
use this Oracle Applications feature to
labor invoice burden schedule A burden
build custom fields used for entering and
schedule used to derive invoice amounts
displaying information relating to your
for labor items.
business. The following application uses
the listed Key Flexfields: labor multiplier A multiplier that is assigned
to a project or task, and is used to calculate
Oracle Projects – Accounting, Category
the revenue and/or bill amount for labor
Flexfield, Location, Asset Key.
items by applying the multiplier to the raw
key flexfield segment One of up to 30 cost of the labor items.
different sections of your key flexfield. You
labor revenue burden schedule A burden
separate segments from each other by a
schedule used to derive revenue amounts
symbol you choose (such as –, / or \.).
for labor items.
Each segment can be up to 25 characters
long. Each key flexfield segment typically legal entity An organization that represents a
captures one element of your business or legal company for which you prepare fiscal
operations structure, such as company, or tax reports. You assign tax identifiers
division, region, or product for the and other relevant information to this
Accounting Flexfield and item, version entity.
number, or color code for the Item
lifecycle A collection of sequential project
Flexfield.
phases.
key flexfield segment value A series of
liquidation The process of relieving an
characters and a description that provide a
encumbrance.
unique value for this element, such as 0100,
Eastern region, or V20, Version 2.0. listing An organized display of Oracle
Applications information, similar to a
key member An employee who is assigned a
report, but usually showing setup data as
role on a project. A project key member can
opposed to transaction data.
view and update project information and
expenditure details for any project to which Logical Data Model A representation of the
they are assigned. Typical key member End User Layer. Available in a readable
types include Project Manager and Project format, the Logical Data Model gives the
Coordinator. relationship between folders, allowing a
Discoverer user to determine the data
labor cost The cost of labor expenditure items.
elements needed for a specific analysis.
labor cost rate The hourly raw cost rate for an
employee. This cost rate does not include
overhead or premium costs.
Glossary – 22 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
lookup code The internal name of a value matching In Oracle Payables and Oracle
defined in an Oracle Workflow lookup type. Assets, the process of comparing purchase
See also lookup type. order, invoice, and receiving information to
verify that ordering, billing, and receiving
lookup type An Oracle Workflow predefined
information is consistent within accepted
list of values. Each value in a lookup type
tolerance levels. Payables uses matching to
has an internal and a display name. See
control payments to suppliers. You can use
also lookup code.
the matching feature in Payables if you
lowest task A task that has no child tasks. have Purchasing or another purchasing
system. Payables supports two–, three–,
master–detail relationship A master–detail
and four–way matching.
relationship is an association between two
blocks—a master block and its detail block. message line A line on the bottom of a
When two blocks are linked by a window that displays helpful hints or
master–detail relationship, the detail block warning messages when you encounter an
displays only those records that are error.
associated with the current (master) record
in the master block, and querying between mid task A task that is not a top task or a
the two blocks is always coordinated. lowest task.
Master and detail blocks can often appear multi–org See multiple organizations.
in the same window or they can each
appear in separate windows. multiple organizations The ability to define
multiple organizations and the
master job A job in a master job group. relationships among them within a single
master job group The job group that is used installation of Oracle Applications. These
as an intermediate mapping group between organizations can be sets of books, business
other job groups. groups, legal entities, operating units, or
inventory organizations.
match rule A set of rules that determines
which records are matches for an input Multiple Reporting Currencies A unique set
record. A match rule consists of an of features embedded in Oracle
acquisition portion to determine potential Applications that allows you to maintain
matches, a scoring portion to score the and report accounting records at the
potential matches, and thresholds that the transaction level in more than one
scores are compared against to determine functional currency.
actual matches. node An instance of an activity in an Oracle
matching In Oracle Cash Management, the Workflow process diagram as shown in the
process where batches or detailed Process window of Oracle Workflow
transactions are associated with a statement Builder. See also process.
line based on the transaction number, non–capacity work type Work types assigned
amount, currency and other variables, to forecast assignment items or actual
taking Cash Management system expenditure items reduce the total capacity
parameters into consideration. In Cash of a given resource for the specified time
Management, matching can be done period.
manually or automatically.
Glossary – 23
non–invoice related claim A claim that is due operator A mathematical symbol you use to
to a discrepancy between the billed amount indicate the mathematical operation in your
and the paid amount, and cannot be calculation.
identified with a particular transaction.
option group An option group is a set of
non–labor invoice burden schedule A option buttons. You can choose only one
burden schedule used to derive invoice option button in an option group at a time,
amounts for non–labor items. and the option group takes on that button’s
value after you choose it. An option button
non–labor resource An
or option group is also referred to as a
implementation–defined asset or pool of
radio button or radio group, respectively.
assets. For example, you can define a
non–labor resource with a name such as PC Oracle Discoverer An Oracle tool that enables
to represent multiple personal computers users to retrieve data from a database.
your business owns. Oracle Discoverer provides a user friendly
method for creating database queries and
non–labor revenue burden schedule A
displaying information.
burden schedule used to derive revenue
amounts for non–labor items. organization A business unit such as a
company, division, or department.
non–project budget A budget defined outside
Organization can refer to a complete
Oracle Projects. Examples include
company, or to divisions within a company.
organization–level budgets defined in
Typically, you define an organization or a
Oracle General Ledger, and budgets
similar term as part of your account when
defined in Oracle Contract Commitments.
you implement Oracle Financials. See also
non–revenue sales credit Sales credit you business group.
assign to your salespeople that is not
Internal organizations are divisions, groups,
associated with your invoice lines. This is
cost centers or other organizational units in
sales credit given in excess of your revenue
a company. External organizations can
sales credit. See also revenue sales credit.
include the contractors your company
offsets Reversing transactions used to employs. Organizations can be used to
balance allocation transactions with the demonstrate ownership or management of
source or other project. functions such as projects and tasks,
non–labor resources, and bill rate
one time billing hold A type of hold that
schedules. See also Item Validation
places expenditure items and events on
Organization.
billing hold for a particular invoice; when
you release that invoice, the items are billed
on the next invoice.
operating unit An organization that partitions
data for subledger products (AP, AR, PA,
PO, OE). It is roughly equivalent to a single
pre–Multi–Org installation.
Glossary – 24 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
organization hierarchy An organizational PA Period Type The Period Type as specified
hierarchy illustrates the relationships in the PA implementation options for
between your organizations. A hierarchy Oracle Projects to copy project accounting
determines which organizations are periods. Oracle Projects uses the periods in
subordinate to other organizations. The the PA Period Type to populate each
topmost organization of an organization Operating Unit’s PA periods. PA periods
hierarchy is generally the business group. are mapped to GL periods which are used
when generating accounting transactions.
organization structure See organization
PA periods drive the project summary for
hierarchy.
Project Status Inquiry. You define your
original budget The budget amounts for a accounting periods in the Operating Unit’s
project at the first successful baseline of the Set of Books Calendar.
project.
parallel allocation A set of allocation rules
Overtime Calculation Program A program that carries out the rules in an
that Oracle Projects provides to determine autoallocation set without regard to the
which kind of overtime to award an outcome of the other rules in the set. See
employee based on the employee’s labor also autoallocation set, step–down allocation.
costing rule and hours worked. If your
parent request A concurrent request that
company uses this automatic overtime
submits other concurrent requests (child
calculation feature, you may need to
requests). For example, a report set is a
modify the program based on the overtime
parent request that submits reports and/or
requirements of your business.
programs (child requests).
overtime cost The currency amount over
straight time cost that an employee is paid
for overtime hours worked. Also referred
to as Premium Cost.
PA Date The end date of the PA Period in
which costs are distributed, revenue is
created, or an invoice is generated. This
date is determined from the open or future
PA Period on or after the latest date of
expenditure item dates and event
completion dates included in a cost
distribution line, revenue, or an invoice.
PA Period See Project Accounting Period.
Glossary – 25
partial matching A condition where the process A set of Oracle Workflow activities
invoice quantity is less than the quantity that need to be performed to accomplish a
originally ordered, in which case you are business goal. See also Account Generator,
matching only part of a purchase order process activity, process definition.
shipment line. See also matching, complete
process activity An Oracle Workflow process
matching.
modelled as an activity so that it can be
pay type See labor costing rule. referenced by other processes; also known
as a subprocess. See also process.
phase A collection of logically related project
activities, usually culminating in the process cycle The planned schedule for batch
completion of a major deliverable. processing of costs, revenue, and invoices,
according to your company’s scheduling
pop–up window An additional window that
requirements. See streamline request.
appears on an Oracle Applications form
when your cursor enters a particular field. process definition An Oracle Workflow
process as defined in the Oracle Workflow
poplist A poplist, when selected by your
Builder. See also process.
mouse, lets you choose a single value from
a predefined list. process responsibility type An
implementation–defined name to which a
posting The process of updating account
group of reports and processes are
balances in Oracle General Ledger from
assigned. This group of reports and
journal entries. Payables uses the term
processes is then assigned to an Oracle
posting to describe the process of
Projects responsibility. A process
transferring accounting entries to General
responsibility type gives a user access to
Ledger. Payables transfers your invoice and
Oracle Projects reports and programs
payment accounting entries and sets the
appropriate to that user’s job. For example,
status of the payments and invoices to
the process responsibility type Data Entry
posted. You must then complete the process
could be a set of reports used by data entry
by creating and posting the journal entries
clerks. See responsibility.
in General Ledger. Note that Oracle
Applications sometimes use the term product lifecycle management A process for
posting to describe the process of guiding products from their birth through
transferring posting information to your their completion. The lifecycle management
general ledger. See also Journal Import. process adds business value to an
enterprise by using product information to
premium cost See overtime cost.
support planning, monitoring, and
primary contact A person in the organization execution of vital activities.
with resource authority.
primary set of books The set of books you use
to manage your business. You can choose
accrual or cash basis as the accounting
method for your primary set of books.
Glossary – 26 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
profile option A set of options that control Project Burdening Organization Hierarchy
access to certain features throughout Oracle The organization hierarchy version that
Applications and determines how data is Oracle Projects uses to compile burden
processed. Generally, profile options can be schedules. Each business group must
set at the Site, Application, Responsibility, designate one and only one version of an
and User levels. For more information, see organization hierarchy as its Project
the user guide for your specific Oracle Burdening Organization Hierarchy. (Note:
Application. In Oracle Projects Implementation Options,
each operating unit is associated with an
project A unit of work that can be broken
organization hierarchy and version for
down into one or more tasks. A project is
project setup, invoice level processing, and
the unit of work for which you specify
project reporting. The Project Burdening
revenue and billing methods, invoice
Organization Hierarchy selected for the
formats, a managing organization and
business group does not have to match the
project manager, and bill rate schedules.
hierarchy version in the Implementation
You can charge costs to a project, and you
Options.).
can generate and maintain revenue, invoice,
unbilled receivable, and unearned revenue project chargeable employees In a multiple
information for a project. organization installation, employees
included as labor resource pool to a project.
Project Accounting Period An
This includes all employees, as defined in
implementation–defined period against
Oracle Human Resources, who belong to
which project performance may be
the business group associated with the
measured. Also referred to as PA Periods.
project operating unit.
You define project accounting periods to
track project accounting data on a periodic project currency The currency in which
basis by assigning a start date, end date, project transactions are billed (unless
and closing status to each period. Typically, overridden during the billing process).
you define project accounting periods on a Also, the currency in which project
weekly basis, and your general ledger amounts are summarized for project
periods on a monthly basis. summary reporting.
project funding An allocation of revenue
from an agreement to a project or task.
project operating unit The operating unit
within which the project is created, and in
which the project customer revenue and
receivable invoices are processed.
project resource group The job group used to
identify appropriate roles for use within
Project Resource Management.
Glossary – 27
project/task organization The Organization project type class An additional classification
that owns the project or task. This can be for project types that indicates how to
any organization in the LOV (list of values) collect and track costs, quantities, and, in
for the project setup. The Project/Task some cases, revenue and billing. Oracle
Organization LOV contains organizations Projects predefines three project type
of the Project/Task Organization Type in classes: Indirect, Contract, or Capital. For
the Organization Hierarchy and Version example, you use an Indirect project type to
below the Start Organization. You specify collect and track project costs for overhead
your Start Organization and Version in the activities, such as administrative and
Implementation Options window. overhead work, marketing, and bid and
proposal preparation.
project role An implementation–defined
classification of the relationship that an Project/customer relationship An
employee has to a project. You use project implementation–defined classification of
roles to define an employee’s level of access the relationship between a project and a
to project information. customer. Project/Customer Relationships
help you manage projects that involve
project status An implementation–defined
multiple clients by specifying the various
classification of the status of a project.
relationships your customers can have with
Typical project statuses are Active and
a project. Typical relationships include
Closed.
Primary or Non–Paying.
project template A standard project you
Project/Task Alias A user–defined short name
create for use in creating other projects.
for a project or project/task combination
You set up project templates that have
used to facilitate online timecard and
features common in the projects you want
expense report entry.
to create.
Project/Task Organization The Organization
project type A template defined for your
that owns the project or task.
implementation. The template consists of
project attributes such as the project type
class (contract, indirect, or capital), the
default revenue distribution rule and bill
rate schedules, and whether the project
burdens costs. For example, you can define
a project type with a name such as Time and
Materials for all projects that are based on
time and materials contracts.
Glossary – 28 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
protection level In Oracle Workflow, a provider transfer price functional currency
numeric value ranging from 0 to 1000 that amount The currency amount calculated
represents who the data is protected from by applying the transfer price currency
for modification. When workflow data is conversion attributes (as specified by the
defined, it can either be set to customizable implementation options for the provider
(1000), meaning anyone can modify it, or it operating unit) to the transfer price base
can be assigned a protection level that is currency amount.
equal to the access level of the user defining
provisional schedule A burden schedule of
the data. In the latter case, only users
estimated burden multipliers that are later
operating at an access level equal to or
audited to determine the actual rates. You
lower than the data’s protection level can
apply actual rates to provisional schedules
modify the data. See also Account Generator.
by replacing the provisional multipliers
provider operating unit The operating unit with actual multipliers. Oracle Projects
whose resources provide services to processes adjustments that account for the
another project or organization. For cross difference between the provisional and
charge transactions, the provider operating actual calculations.
unit is the expenditure operating unit; the
purchase order (PO) In Oracle General Ledger
project operating unit owns the
and Oracle Projects, a document used to
intercompany billing project.
buy and request delivery of goods or
provider organization For cross charge services from a supplier.
transactions, the organization that provides
purchase order (PO) In Oracle Assets, the
resources to another organization. The
order on which the purchasing department
default is the expenditure organization or
approved a purchase.
the non–labor resource organization, which
can be overridden using the Provider and purchase order distribution Each purchase
Receiver Organization Override client order shipment consists of one or more
extension. purchase order distributions. A purchase
order distribution consists of the
provider project The contract project that
Accounting Flexfield information Payables
performs work on behalf of another
uses to create invoice distributions.
(receiver) project.
provider transfer price functional currency
The functional currency of the set of books
for the provider operating unit.
Glossary – 29
purchase order line An order for a specific record A record is one occurrence of data
quantity of a particular item at a negotiated stored in all the fields of a block. A record
price. Each purchase order in Purchasing is also referred to as a row or a transaction,
can consist of one or more purchase order since one record corresponds to one row of
lines. data in a database table or one database
transaction.
purchase order requisition line Each
purchase order line is created from one or receiver operating unit An operating unit
more purchase order requisition lines. whose projects receive services from
Purchasing creates purchase order another project or organization. For
requisition lines from individual inter–project billing , the receiver operating
requisitions. unit is the project operating unit that owns
the receiver project.
purchase requisition An internal request for
goods or services. A requisition can receiver organization The operating unit
originate from an employee or from another whose projects receive services from
process, such as inventory or another project or organization. For cross
manufacturing. Each requisition can charged transactions, the receiver operating
include many lines, generally with a unit is the project operating unit that owns
distinct item on each requisition line. Each
receiver project A project for which work is
requisition line includes at least a
performed by another (provider) project.
description of the item, the unit of measure,
In inter–project billing, the receiver project
the quantity needed, the price per item, and
incurs costs from a Payables invoice
the Accounting Flexfield you are charging
generated by the Receivables tieback
for the item. Also known as internal
process performed by the provider project.
requisition. See also internal sales order.
receiver task A task in the receiver project to
purchasing site A supplier site from which
which costs are assigned on the Payables
you order goods or services. You must
invoice.
enter at least one purchasing site before
Purchasing will allow you to enter a region A collection of logically–related fields
purchase order. set apart from other fields by a dashed line
that spans a block. Regions help to organize
query A search for applications information
a block so that it is easier to understand.
that you initiate using an Oracle
Regions in Release 11i and higher are
Applications window.
defined by Tabs.
raw costs Costs that are directly attributable
reimbursement currency The currency in
to work performed. Examples of raw costs
which an employee chooses to be
are salaries and travel expenses.
reimbursed for an expense report. See also
receipt currency The currency in which an transaction currency.
expense report item originates.
Glossary – 30 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
related transaction Additional transactions report security group A feature that helps
that are created for labor transactions using your system administrator control your
the Labor Transaction Extension. All access to reports and programs. Your
related transactions are associated with a system administrator defines a report
source transaction and are attached to the security group which consists of a group of
expenditure item ID of the source reports and/or programs and assigns a
transaction. You can identify and process report security group to each responsibility
the related transactions by referring to the that has access to run reports using
expenditure item ID of the source Standard Report Submission. When you
transaction. Using labor transaction submit reports using Standard Report
extensions, you can create, identify, and Submission, you can only choose from
process the related transactions along with those reports and programs in the report
the source transaction. security group assigned to your
responsibility.
released date The date on which an invoice
and its associated revenue is released. report set A group of reports that you submit
at the same time to run as one transaction.
remit to addresses The address to which your
A report set allows you to submit the same
customers remit their payments.
set of reports regularly without having to
report an organized display of information specify each report individually. For
drawn from Oracle Applications that can be example, you can define a report set that
viewed online or printed. Most applications prints all of your regular month–end
provide standard and customizable reports. management reports.
Oracle General Ledger’s Financial
requirement Unfilled work position on a
Statement Generator lets you build detailed
project.
financial reports and statements based on
your business needs. resource A user–defined group of employees,
organizations, jobs, suppliers, expenditure
report headings A descriptive section found
categories, revenue categories, expenditure
at the top of each report detailing general
types, or event types for purposes of
information about the report such as set of
defining budgets or summarizing actuals.
books, date, etc.
responsibility A level of authority set up by
report option See report parameter.
your system administrator in Oracle
report parameter Submission options in Applications. A responsibility lets you
Oracle Applications that allow you to enter access a specific set of windows, menus, set
date and account ranges. You can also sort, of books, reports, and data in an Oracle
format, select, and summarize the application. Several users can share the
information displayed in your reports. same responsibility, and a single user can
Most standard reports require you enter have multiple responsibilities.
report parameters.
Glossary – 31
responsibility type See process responsibility revenue category An implementation–defined
type. grouping of expenditure types by type of
revenue. For example, a revenue category
result code In Oracle Workflow, the internal
with a name such as Labor refers to labor
name of a result value, as defined by the
revenue.
result type. See also result type, result value.
revenue credit Credit that an employee
result type In Oracle Workflow, the name of
receives for project revenue. See revenue
the lookup type that contains an activity’s
sales credit.
possible result values. See also result code,
result value. revenue distribution rule A specific
combination of revenue accrual and
result value In Oracle Workflow, the value
invoicing methods that determine how
returned by a completed activity, such as
Oracle Projects generates revenue and
Approved. See also result code, result type.
invoice amounts for a project. See revenue
revenue In Oracle Projects, the amounts authorization rule.
recognized as income or expected billing to
revenue item A single line of a project’s
be received for work on a project.
revenue, containing event or expenditure
revenue accrual The function of calculating item revenue summarized by top task and
and distributing revenue. revenue category or event.
revenue authorization rule A configurable revenue sales credit Sales credit you assign to
criterion that, if enabled, must be met your salespeople that is based on your
before a project can accrue revenue. For invoice lines. The total percentage of all
example, an active mandatory revenue revenue sales credit must be equal to 100%
authorization rule states that a project of your invoice lines amount. Also known
manager must exist on a project before that as quota sales credits. See also non–revenue
project can accrue revenue. Revenue sales credit, sales credit.
authorization rules are associated with
revenue write–off An event type classification
revenue distribution rules. See also revenue
that reduces revenue by the amount of the
distribution rule.
write–off. You cannot write–off an amount
revenue budget The estimated revenue that exceeds the current unbilled
amounts at completion of a project. receivables balance on a project. See also
Revenue budget amounts can be summary invoice write–off.
or detail.
revenue burden schedule A burden schedule
used for revenue accrual to derive the
revenue amount for an expenditure item.
This schedule may be different from your
invoice burden schedule, if you want to
accrue revenue at a different rate than you
want to invoice.
Glossary – 32 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
root window The root window displays the schedule The working hours defined by the
main menu bar and tool bar for every calendar and schedule exceptions.
session of Oracle Applications. In
schedule fixed date The date used to freeze
Microsoft Windows, the root window is
bill rate or burden schedules for a project or
titled ”Oracle Applications” and contains
task. You enter a fixed date to specify that
all the Oracle Applications windows you
you want to use particular rates or
run. In the Motif environment, the root
multipliers as of that date. You do not use
window is titled ”Toolbar” because it
schedule fixed dates if you want to use the
displays just the toolbar and main menu
current effective rates or multipliers for a
bar.
particular schedule.
row One occurrence of the information
scrollable region A region whose contents are
displayed in the fields of a block. A block
not entirely visible in a window. A
may show only one row of information at a
scrollable region contains a horizontal or
time, or it may display several rows of
vertical scroll bar so that you can scroll
information at once, depending on its
horizontally or vertically to view additional
layout. The term “row” is synonymous
fields hidden in the region.
with the term “record”.
segment A single sub–field within a flexfield.
sales credit Credits that you assign to your
You define the structure and meaning of
salespeople when you enter orders,
individual segments when customizing a
invoices, and commitments. Credits can be
flexfield.
either quota or non–quota and can be used
in determining commissions. See also service type An implementation–defined
non–revenue sales credit, revenue sales credit. classification of the type of work performed
on a task.
sales tax A tax collected by a tax authority on
purchases of goods and services. The set of books Defined in Oracle General
supplier of the good or service collects sales Ledger, an organization or group of
taxes from its customers (tax is usually organizations that share a common chart of
included in the invoice amount) and remits accounts, calendar, and currency. A set of
them to a tax authority. Tax is usually books is associated with one or more
charged as a percentage of the price of the responsibilities.
good or service. The percentage rate
To use Multiple Reporting Currencies, you
usually varies by authority and sometimes
must create a primary set of books and
by category of product. Sales taxes are
separate reporting sets of books for each
expenses to the buyer of goods and
reporting currency.
services.
soft limit The default option for an agreement
salesperson A person who is responsible for
that generates a warning when you accrue
the sale of products or services.
revenue or generate invoices beyond the
Salespeople are associated with orders,
amount allocated to a project or task by the
returns, invoices, commitments, and
agreement, but does not prevent you from
customers. You can also assign sales credits
running these processes. See also hard limit.
to your salespeople.
Glossary – 33
shorthand flexfield entry A quick way to Standard Request Submission A standard
enter key flexfield data using shorthand interface in Oracle Applications in which
aliases (names) that represent valid flexfield you run and monitor your application’s
combinations or patterns of valid segment reports and other processes.
values. Your organization can specify
start organization An organization that
flexfields that will use shorthand flexfield
defines a set which includes itself and all
entry and define shorthand aliases for these
subordinate organizations in the
flexfields that represent complete or partial
organization hierarchy. When you choose a
sets of key flexfield segment values.
start organization as a report parameter, all
shorthand window A single–segment organizations below the start organization
customizable field that appears in a pop–up are included in the report.
window when you enter a key flexfield.
status line A status line appearing below the
The shorthand flexfield pop–up window
message line of a root window that displays
only appears if you enable shorthand entry
status information about the current
for that particular key flexfield.
window or field. A status line can contain
sign–on An Oracle Applications user name the following: ^ or v symbols indicate
and password that allows you to gain previous records before or additional
access to Oracle Applications. Each records following the current record in the
sign–on is assigned one or more current block; Enter Query indicates that
responsibilities. the current block is in Enter Query mode,
so you can specify search criteria for a
Single Business Group Access mode (SBGA
query; Count indicates how many records
mode) An installation that has selected No
were retrieved or displayed by a query (this
for the profile option HR: Cross Business
number increases with each new record you
Group is operating in SBGA mode.
access but does not decrease when you
source pool The combination of all the return to a prior record); the <Insert>
source amounts defined by an allocation indicator or lamp informs you that the
rule. See also allocation rule. current window is in insert character mode;
and the <List> lamp appears when a list of
source transaction For related transactions,
values is available for the current field.
the identifying source transaction from
which the related items are created. step–down allocation In Oracle Projects, a set
of allocation rules that carries out the rules
spot exchange rate A daily exchange rate you
(steps) an autoallocation set serially, in the
use to perform foreign currency
sequence specified in the set. Usually the
conversions. The spot exchange rate is
result of each step will be used in the next
usually a quoted market rate that applies to
step. Oracle Workflow controls the flow of
the immediate delivery of one currency for
the autoallocations set. See also
another.
autoallocation set, parallel allocation.
standard bill rate schedule currency The
straight time cost The monetary amount that
functional currency of the operating unit in
an employee is paid for straight time
which the standard bill rate schedule is
(regular) hours worked.
maintained.
Glossary – 34 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
streamline process See streamline request. system linkage An obsolete term. See
expenditure type class.
streamline request A process that runs
multiple Oracle Projects processes in tablespace The area in which an Oracle
sequence. When using streamline database is divided to hold tables.
processing, you can reschedule your
target A project, task, or both that receives
streamline requests by setting rescheduling
allocation amounts, as specified by an
parameters. Rescheduling parameters
allocation rule. See also source pool
allow you to configure your processes to
run automatically, according to a defined task A subdivision of project work. Each
schedule. When you reschedule a process, project can have a set of top level tasks and
the concurrent manager submits another a hierarchy of subtasks below each top level
concurrent request with a status of Pending, task. See also Work Breakdown Structure,
and with a start date according to the subtask.
parameters you define.
task organization The organization that is
structure A structure is a specific combination assigned to manage the work on a task.
of segments for a key flexfield. If you add
task service type See service type.
or remove segments, or rearrange the order
of segments in a key flexfield, you get a tax authority A governmental entity that
different structure. collects taxes on goods and services
purchased by a customer from a supplier.
subtask A hierarchical unit of work. Subtasks
In some countries, there are many
are any tasks that you create under a parent
authorities (e.g. state, local, and federal
task. Child subtasks constitute the lowest
governments in the U.S.), while in others
level of your work breakdown structure;
there may be only one. Each authority may
where Oracle Projects looks when
charge a different tax rate. You can define a
processing task charges and for
unique tax name for each tax authority. If
determining task revenue accrual amounts.
you have only one tax authority, you can
See task.
define a unique tax name for each tax rate
summarization Processing a project’s cost, that it charges. A governmental entity that
revenue, commitment, and budget collects taxes on goods and services
information to be displayed in the Project, purchased by a customer from a supplier.
Task, and Resource Project Status windows. In some countries, there are many
You must distribute costs for any authorities (e.g. state, local and federal
expenditure items, accrue and release any governments in the U.S.), while in others
revenue, create any commitments, and there may be only one. Each authority may
baseline a budget for your project before charge a different tax rate. Within Oracle
you can view summary project amounts. Receivables, tax authority consists of all
Formerly known as accumulation. components of your tax structure. For
example: California. San Mateo. Redwood
supplier A business or individual that
Shores for State. County. City. Oracle
provides goods or services or both in return
Receivables adds together the tax rates for
for payment.
all of these locations to determine a
supplier invoice An external supplier’s customer’s total tax liability for an invoice.
invoice entered into Oracle Payables.
Glossary – 35
tax codes Codes to which you assign sales tax transaction currency The currency in which a
or value–added tax rates, tax type, taxable transaction originally takes place. For
basis, tax controls, and tax accounting. You processing purposes, the reimbursement
can define a tax code for inclusive or currency in an expense report is the
exclusive tax calculation. Oracle transaction currency.
Receivables lets you choose state codes as
transfer price The price agreed upon by the
the tax code when you define sales tax rates
provider and receiver organizations in a
for the United States. (Receivables Lookup)
cross charged transaction.
team role Specific position on a project
transfer price base currency The transfer
representing either requirements or
price basis determines the currency. For a
assignments.
basis of raw or burdened cost, the transfer
Time and Materials (T&M) A revenue accrual price base currency is the transaction
and billing method that calculates revenue currency of the cross charged transaction.
and billings as the sum of the amounts from For a basis of revenue, the transfer price
each individual expenditure item. The base currency is the functional currency of
expenditure item amounts are calculated by the set of books for the receiver operating
applying a rate or markup to each item. unit. For a basis calculated using the bill
rate schedule, the transfer price base
time intervals The units that define how
currency is the standard bill rate schedule
budget amounts are accumulated to
currency.
determine the available funds for a
transaction. Used to define budgetary transferred date The date on which you
controls for a project. transfer costs, revenue, and invoices to
other Oracle Applications.
timecard A weekly submission of labor
expenditure items. You can enter timecards transformation function A seeded or
online, or as part of a pre–approved batch. user–defined rule that transforms and
standardizes TCA attribute values into
toolbar The toolbar is a collection of iconic
representations that can assist in the
buttons that each perform a specific action
identification of potential matches.
when you choose it. Each toolbar button
replicates a commonly–used menu item. transition In Oracle Workflow, the
Depending on the context of the current relationship that defines the completion of
field or window, a toolbar button can be one activity and the activation of another
enabled or disabled. You can display a hint activity within a process. In a process
for an enabled toolbar button on the diagram, the arrow drawn between two
message line by holding your mouse activities represents a transition. See also
steadily over the button. The toolbar activity, Workflow Engine.
generally appears below the main menu bar
in the root window.
top task A task whose parent is the project.
Glossary – 36 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
unassigned time The net amount of hours for usage cost rate override The cost rate
a given period for which a resource does assigned to a particular non–labor resource
not have any scheduled assignments and non–labor organization which
(capacity hours minus scheduled hours.) overrides the rate assigned to its
expenditure type.
unbilled receivables The amount of open
receivables that have not yet been billed for usage logs Usage logs record the utilization of
a project. Oracle Projects calculates company assets on projects as the asset is
unbilled receivables using the following used.
formula: (Unbilled Receivables = Revenue
user profile A set of changeable options that
Accrued – Amount Invoice)
affect the way your applications run. You
unearned revenue Revenue received and can change the value of a user profile
recorded as a liability or revenue before the option at any time. See profile option.
revenue has been earned by providing
utilization A measure of how effectively a
goods or services to a customer. Oracle
resource was used or is projected to be
Projects calculates unearned revenue using
used.
the following formula: (Unearned Revenue =
Amount Invoiced – Revenue Accrued) utilization method Capacity Utilization Method
compares the actual (productive) work
unit of measure A classification created in
performed and forecasted (productive)
Oracle General Ledger that you assign to
work to be performed by the resource to
transactions in General Ledger and
the capacity of a resource.
subledger applications. Each unit of
measure belongs to a unit of measure class. Worked Hours Utilization Method compares
the actual (productive) work performed
For example, if you specify the unit of
and forecasted (productive) work to be
measure Miles when you define an
performed by the resource to the total
expenditure type for personal car use,
number of hours recorded (actuals) or
Oracle Projects calculates the cost of using a
assigned (forecasted) of a resource.
personal car by mileage. Or, in Oracle
Payables, you define square feet as a unit of utilization category An
measure. When you enter invoices for office implementation–defined category used for
rent, you can track the square footage utilization reporting. This reporting
addition to the dollar amount of the grouping combines one or more work types
invoice. for organization and resource utilization
views.
In Oracle Assets, a label for the production
quantities for a units of production asset. utilization view Utilization views enable you
The unit used to measure production to measure a resource or organization
amounts. utilization percentage based on different
groupings of work types.
UOM See unit of measure.
usage See non–labor resource.
Glossary – 37
value Data you enter in a parameter. A value work site The customer site where project or
can be a date, a name, or a code, depending task work is performed.
on the parameter.
work type Work types are an
value set A group of values and related implementation–defined classification of
attributes you assign to an account segment work performed. Work types are used to
or to a descriptive flexfield segment. classify both actual and forecast amounts.
Values in each value set have the same Examples are Billable, Non–Billable,
maximum length, validation type, Training, and Personal. Work types are
alphanumeric option, and so on. grouped together by Utilization Categories.
vendor See supplier. worksheet A specific grouping of information
within an Analysis Workbook. A workbook
window A box around a set of related
is composed of one or more worksheets,
information on your screen. Many
each with its own set of data and graphs.
windows can appear on your screen
Conceptually, this is similar to the ‘‘sheets”
simultaneously and can overlap or appear
and ‘‘workbook” concept within a
adjacent to each other. Windows can also
spreadsheet application.
appear embedded in other windows. You
can move a window to a different location Workflow Engine The Oracle Workflow
on your screen. component that implements a workflow
process definition. The Workflow Engine
window title A window title at the top of
manages the state of all activities,
each window indicates the name of the
automatically executes functions, maintains
window, and occasionally, context
a history of completed activities, and
information pertinent to the content of the
detects error conditions and starts error
window. The context information,
processes. The Workflow Engine is
contained in parenthesis, can include the
implemented in server PL/SQL and
organization, set of books, or business
activated when a call to an engine API is
group that the window contents is
made. See also Account Generator, activity,
associated with.
function, item type.
WIP See work in process.
write–off See invoice write–off, revenue write–off.
word replacement A word mapping that is
write–on An event type classification that
used to create synonyms which are treated
causes revenue to accrue and generates an
as equivalents for searching and matching.
invoice for the amount of the write–on.
work breakdown structure (WBS) The
Zoom A forms feature that is obsolete in GUI
breakdown of project work into tasks.
versions of Oracle Applications.
These tasks can be broken down further
into subtasks, or hierarchical units of work.
work in process An item in various phases of
production in a manufacturing plant. This
includes raw material awaiting processing
up to final assemblies ready to be received
into inventory.
Glossary – 38 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Index
A offset tasks, 9–46
source, 9–41
accumulated period actuals, 2–27 target, 9–43
Activity Management Gateway, 2–2 APIs
actuals, 2–27, 6–60, 6–61 agreement and funding, 5–2
ADD_ASSET_ASSIGNMENT, 4–9 asset, 4–2
budget, 6–2, 6–38
ADD_BUDGET_LINE, 6–4
common, 2–24
ADD_FUNDING, 5–8 event, 5–42
ADD_PROJECT_ASSET, 4–4 messages, 2–13
ADD_RESOURCE_LIST_MEMBER, 3–127 project, 3–2
ADD_TASK, 3–22 resource, 3–124
agreement standard parameters, 2–19
check delete, 5–19 status, 6–57
clear, 5–19 user–defined attributes, 3–84
create, 5–4, 5–17 asset
delete, 5–5 create, 4–4
initiate, 5–14 delete, 4–8
load, 5–14 load, 4–10
update, 5–6, 5–17 asset assignment
agreement and funding, APIs, 5–2 add, 4–9
agreements delete, 4–10
examples, 5–29, 5–37 load, 4–12
overview, 5–25 asset cost allocation basis extension, 9–54
agreements and funding, 5–3 asset lines, extension to assign assets to, 9–57
views, 5–2 to 9–59
agreements api, creat baseline budget, 5–7 to asset lines processing extension, 9–60
5–11 assets
allocations, extensions APIs, 4–2
basis, 9–49 extension, 9–57 to 9–59
dependencies, 9–52 procedures, 4–2
descriptive flexfield, 9–50 procedures and views, 4–2
offset projects and tasks, 9–47 assignment approval, extensions, 11–2, 11–4
Index – 1
assignment approval notification extension, saving data, 6–4
11–4 submitting, 6–7
assignment approval workflow, extension, task level of BEM, 6–5, 6–12, 6–21, 6–24
11–2, 11–4 types, predefined, 6–38
attribute groups updating, 6–20
multi–row, 3–89 Web–based user interface, 6–7, 6–8, 6–10,
single–row, 3–89 6–27, 6–29, 6–35
automatic events, 10–36 budgets and forecasts, extensions
budget calculation, 12–5 to 12–12
budget verification, 12–13
budget workflow, 12–16
B burden transactions, importing, 13–10
baseline budget, api. See agreements burdening
BASELINE_BUDGET, 6–7 cost plus API, 4–15
BASELINE_STRUCTURE, 3–121 extension for costing, 9–39
baselining budgets, 6–4 business rules
pa_agreement_pub.add_funding, 5–9
billing
pa_agreement_pub.check_add_funding_ok,
extensions
5–20
concepts, 10–15 to 10–26
pa_agreement_pub.check_delete_agreement_
debugging, 10–37 to 10–41 ok, 5–19
deriving cycle dates, 10–5 pa_agreement_pub.check_delete_funding_ok
implementing, 10–11 to 10–16 , 5–22
overview, 10–7 to 10–10 pa_agreement_pub.check_update_funding_o
views and procedures, 10–26 to 10–33 k, 5–22
surcharges, 10–42 pa_agreement_pub.create_agreement, 5–4
budget lines pa_agreement_pub.delete_agreement, 5–5
adding, 6–5, 6–21, 6–25 pa_agreement_pub.delete_funding, 5–11
deleting, 6–17 pa_agreement_pub.execute_create_agreemen
flexfield parameters, 6–22 t, 5–17
saving data, 6–4 pa_agreement_pub.execute_update_agreeme
updating, 6–9, 6–23, 6–27 nt, 5–18
budget procedures, definitions, 6–4 pa_agreement_pub.update_agreement, 5–6
budgets pa_agreement_pub.update_funding, 5–12
APIs, 6–2
baselining, 6–4, 6–7
creating, 6–10
C
dates, start and end, 6–12, 6–17 CALCULATE_AMOUNTS, 6–8
deleting, 6–19 capital event processing extension, 9–62
entry methods, 6–17, 6–40 capital projects, client extensions
examples, 6–38, 6–48, 6–53 asset cost allocation basis, 9–54
flexfield parameters, 6–22 asset lines processing, 9–60
overview, 6–38 capital event processing, 9–62
period names, 6–5, 6–12, 6–17, 6–21, 6–24 capitalized interest, 9–64
procedures, 6–3 CIP account override, 9–76
procedures and views, 6–2, 6–3 depreciation expense account override, 9–78
Index – 2 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
capitalized interest extension, 9–64 capitalized interest, 9–64
case studies CIP account override, 9–76
billable status default, 9–15 control item document numbering, 12–21
billing surcharges, 10–42 depreciation expense account override, 9–78
transaction controls, 9–11, 9–13, 9–15 funding revaluation factor, 10–2
change management, client extensions implementing, 7–5 to 7–12
control item document numbering, 12–21 issue and change workflow, 12–23
issue and change workflow, 12–23 overview and list, 7–2 to 7–4
project security, 8–2
CHANGE_STRUCTURE_STATUS, 3–120
Purge Extension, 8–34
Check procedures, 3–6, 3–84 syntax, 7–9
check procedures, 3–2 Validation Extension, 8–32
CHECK_ADD_FUNDING_OK, 5–20 commitments, 6–60
CHECK_ADD_SUBTASK_OK, 3–61 extension for tracking changes, 8–19
CHECK_CHANGE_PARENT_OK, 3–62 common APIs, 2–24
CHECK_CHANGE_PROJECT_ORG_OK, 3–63 composite datatypes, 2–19, 2–31, 5–37, 6–53
CHECK_DELETE_AGREEMENT_OK, 5–19 See also record and table datatypes
CHECK_DELETE_EVENT_OK, 5–48 cost plus API, 4–15
costs, accruing, extension for identification,
CHECK_DELETE_FUNDING_OK, 5–21
10–52
CHECK_DELETE_PROJECT_OK, 3–63
CREATE_AGREEMENT, 5–4, 5–43
CHECK_DELETE_TASK_OK, 3–64 CREATE_BASELINE_BUDGET, 5–7
CHECK_TASK_NUMBER_CHANGE_OK, CREATE_DRAFT_BUDGET, 6–10
3–65
CREATE_PROJECT, 3–27
CHECK_UNIQUE_PROJECT_REFERENCE,
CREATE_RESOURCE_LIST, 3–128
3–65
cross charge
CHECK_UNIQUE_TASK_NUMBER, 3–66
extension for, internal payables invoice
CHECK_UNIQUE_TASK_REFERENCE, 3–66 attributes override, 9–94
CHECK_UPDATE_FUNDING_OK, 5–22 extensions for
CIP account override extension, 9–76 cost accrual ID, 10–52
CIP Grouping Client Extension, 9–72 determining transfer price, 9–86
CLASS_CATEGORY_TBL_TYPE datatype, overriding processing method, 9–83
3–15 overriding providers and receivers, 9–81
overriding transfer price, 9–89
CLEAR_AGREEMENT, 5–19
overriding transfer price currency, 9–92
CLEAR_BUDGET, 6–26
currencies
CLEAR_CREATE_RESOURCE_LIST, 3–135 extensions, transfer price currency, 9–92
CLEAR_EVENT, 5–48 importing transactions in foreign, 13–12
CLEAR_PROJECT, 3–42 rounding, 13–15
CLEAR_UPDATE_MEMBERS, 3–135
client extensions
asset cost allocation basis, 9–54 D
asset lines processing, 9–60 datatypes
assignment approval notification, 11–4 composite, 2–19, 2–31, 5–37, 6–53
capital event processing, 9–62 record and table, 3–7 to 3–13
Index – 3
standard, 2–31 integrating data, 3–68, 5–25, 6–38
dates for Load–Execute–Fetch procedures, 3–76, 5–29,
budgets, 6–12, 6–17 6–48
projects, 3–21, 3–33, 8–8 restricting actions, 2–29
tasks, 3–21, 3–34, 8–8 tracking dates, 8–8
defaults, initialization, 2–26 EXEC_CREATE_RESOURCE_LIST, 3–136
DELETE_AGREEMENT, 5–5 EXEC_UPDATE_RESOURCE_LIST, 3–136
DELETE_ASSET_ASSIGNMENT, 4–10 EXECUTE_CALCULATE_AMOUNTS, 6–27
DELETE_BUDGET_LINE, 6–17 EXECUTE_CREATE_AGREEMENT, 5–17
DELETE_DRAFT_BUDGET, 6–19 EXECUTE_CREATE_DRAFT_BUDGET, 6–29
DELETE_EVENT, 5–43 EXECUTE_CREATE_EVENT, 4–13, 5–46
DELETE_FUNDING, 5–11 EXECUTE_CREATE_PROJECT, 3–43
DELETE_PROJECT, 3–28 EXECUTE_UPDATE_AGREEMENT, 5–17
DELETE_PROJECT_ASSET, 4–8 EXECUTE_UPDATE_BUDGET, 6–32
DELETE_RESOURCE_LIST, 3–130 EXECUTE_UPDATE_EVENT, 5–47
DELETE_RESOURCE_LIST_MEMBER, 3–131 EXECUTE_UPDATE_PROJECT, 3–43
DELETE_STRUCTURE_VERSION, 3–122 expenditures, 3–124, 3–125
approving, 9–17
DELETE_TASK, 3–29
expense reports
depreciation expense account override approving, 9–17
extension, 9–78
importing, 13–17
descriptive flexfields
exporting database, 2–8
allocation, 9–50
extensions
mapping extension, 8–28
project and task date, 8–8
workplan workflow, 12–2
external systems, overview, 2–3
E
error messages, retrieving, 2–24, 3–75, 6–46
event F
check delete, 5–48 FETCH_BUDGET_LINE, 6–33
clear, 5–48 FETCH_CALCULATE_AMOUNTS, 6–34
create, 4–13, 5–43, 5–46
FETCH_EVENT, 5–47
delete, 5–43
fetch, 5–47 FETCH_FUNDING, 5–18
initiate, 5–45 FETCH_MEMBERS, 3–136
load, 5–45 FETCH_RESOURCE_LIST, 3–137
update, 4–6, 5–44, 5–47 FETCH_STRUCTURE_VERSION, 3–122
event types, 3–124 FETCH_TASK, 3–44
events files, output
APIs, 5–42 pacrrole.lst, 2–6
automatic, 10–36 pacruser.lst, 2–7
procedures, 5–42 flexfields, 6–22
examples funding
composite datatypes, 5–37, 6–53 add, 5–8
Index – 4 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
check adding, 5–20 invoices
check deleting, 5–21 approving, 10–59
check update, 5–22 extension, 10–59
create, 5–8 releasing, 10–59
delete, 5–11 issue management, client extensions
fetch, 5–18 control item document numbering, 12–21
load, 5–15 issue and change workflow, 12–23
update, 5–11
L
G labor, extensions
GET_ACCUM_PERIOD_INFO, 2–27 billing, 10–53 to 10–56
GET_DEFAULTS, 2–26 costing, 9–19 to 9–21
GET_MESSAGES, 2–24 transaction, 9–22 to 9–32
global variables, 2–10 labor costs, extensions, 9–19 to 9–21
grants, 2–8 Load–Execute–Fetch procedures
budgets, 6–3
examples, 3–76, 5–29, 6–48
overview, 2–31
H projects, 3–5
hard limits, 10–36 resources, 3–126
LOAD_AGREEMENT, 5–14
LOAD_ASSET_ASSIGNMENT, 4–12
I LOAD_BUDGET_LINE, 6–35
LOAD_CLASS_CATEGORY, 3–45
importing LOAD_EVENT, 5–45
manufacturing costs, 13–10
LOAD_EXTENSIBLE_ATTRIBUTE, 3–85
transactions, 13–2
example, 3–92
importing database, 2–8
LOAD_EXTENSIBLE_ATTRIBUTES, 3–87
INIT_AGREEMENT, 5–14 example, 3–104
INIT_BUDGET, 6–35 LOAD_FUNDING, 5–15
INIT_CALCULATE_AMOUNTS, 6–35 LOAD_KEY_MEMBER, 3–45
INIT_CREATE_RESOURCE_LIST, 3–137 LOAD_MEMBERS, 3–138
INIT_EVENT, 5–45 LOAD_PROJECT, 3–46
INIT_PROJECT, 3–45 LOAD_PROJECT_ASSET, 4–10
INIT_UPDATE_MEMBERS, 3–137 LOAD_RESOURCE_LIST, 3–139
integration LOAD_STRUCTURE, 3–121
examples, 3–68, 5–25, 6–38
LOAD_TASK, 3–55, 3–61
with other systems, 2–3
with project management systems, 2–6
interface tables, 13–27
internal payables invoice attribute override,
M
extension, 9–94 to 9–99 manufacturing costs, importing, 13–10
Index – 5
messages, 2–12 P
displaying, 2–12
handling, 2–12 PA_ACCUM_CMT_TXNS_V, 6–60
list, 2–13 PA_ACCUM_RSRC_ACT_V, 6–60
PA_ACCUM_RSRC_CMT_V, 6–60
PA_ACCUM_RSRC_COST_BGT_V, 6–61
PA_ACCUM_RSRC_REV_BGT_V, 6–61
N PA_ACCUM_WBS_ACT_V, 6–61
named notation, 2–22 PA_ACCUM_WBS_CMT_V, 6–61
PA_ACCUM_WBS_COST_BGT_V, 6–61
names, user, 2–9
PA_ACCUM_WBS_REV_BGT_V, 6–61
naming projects, 3–32
PA_ACT_BY_GL_PERIOD_V, 6–61
numbering PA_ACT_BY_PA_PERIOD_V, 6–61
projects, 3–21
PA_AGREEMENT_PUB.UPDATE_AGREEME
tasks, 3–37 NT, 5–6
PA_AGREEMENT_TYPE_LOV_V, 5–3
PA_AMG_RESOURCE_INFO_V, 3–124
O PA_ASSET_BOOKS_LOV_V, 4–2
PA_BASE_BUDGET_BY_GL_PERIOD_V, 6–2
Oracle Projects APIs, overview, 2–3 PA_BASE_BUDGET_BY_PA_PERIOD_V, 6–2
Oracle Receivables PA_BUDGET_CHANGE_REASON_V, 6–2
extensions to PA_BUDGET_ENTRY_METHODS_V, 6–2
determine transaction type, 10–68 PA_BUDGET_STATUS_CODES_V, 6–2
override installation, 10–66 PA_BUDGET_TYPES_V, 6–2
integrating with, 10–68 PA_BURDEN_COMPONENT_CMT_V, 6–61
Oracle Workflow, extensions for PA_BURDEN_COMPONENT_COST_V, 6–61
budget workflow, 12–16 PA_CLASS_CATEGORIES_LOV_V, 3–2
Project Resource Management, 11–2, 11–4
pa_client_extn_pm, 8–8
project status report workflow, 12–26
PA_CMT_BY_GL_PERIOD_V, 6–61
project verification, 8–5
project workflow, 8–12 PA_CMT_BY_PA_PERIOD_V, 6–61
workplan workflow, 12–2 PA_CUSTOMERS_LOV_V, 3–2, 5–3
organizations, extension to verify changes, PA_DISTRIBUTION_RULES_LOV_V, 3–3
8–15 PA_EMPLOYEES_RES_V, 3–124
output files PA_EVENT_TYPES_RES_V, 3–124
pacrrole.lst, 2–6 PA_EXPEND_CATEGORIES_RES_V, 3–124
pacruser.lst, 2–7 PA_EXPENDITURE_TYPES_RES_V, 3–125
overtime PA_GL_PERIODS_V, 6–61
calculating, extension for, 9–33 to 9–38 PA_INTERFACE_UTILS_PUB, 2–10
importing transactions for, 13–8 PA_JOBS_RES_V, 3–125
overviews PA_KEY_MEMBERS_LOV_V, 3–3
client extensions, 7–2 to 7–4 PA_LOWEST_LEVEL_RESOURCES, 3–125
Transaction Import, 13–2 PA_ORGANIZATIONS_LOV_V, 3–3
Index – 6 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
PA_ORGANIZATIONS_RES_V, 3–125 check project and task, 3–6
PA_ORIG_BUDGET_BY_GL_PERIOD_V, 6–3 Load–Execute–Fetch, 3–5, 3–126, 6–3
PA_ORIG_BUDGET_BY_PA_PERIOD_V, 6–3 overview, 2–31
PA_OVERRIDE_FIELD_VALUES_V, 3–3 project and task, 3–5
resource list, 3–126
PA_OVERRIDE_FIELDS_V, 3–3
status, 6–63
PA_OWNED_BY_LOV_V, 5–3
product codes, 6–11
PA_PA_PERIODS_V, 6–61 prohibiting actions, 2–29
PA_PARENT_ASSET_LOV_V, 4–2 project security extension, 8–2
PA_PM_REFERENCE_V, 6–62 project status, extensions, 8–5, 8–12
PA_PROJ_ORG_STRUCTURES_V, 3–125 Project Status Inquiry
PA_PROJECT_ASSET_TYPE_LOV_V, 4–2 adding columns, 12–29 to 12–36
PA_PROJECT_STATUS_LOV_V, 3–3 client extensions, 12–29 to 12–36
PA_PROJECTS_AMG_V, 3–3 project status reports
PA_QRY_RESOURCE_LISTS_V, 3–125 extensions, 12–26
PA_QUERY_RES_LIST_MEMBERS_V, 3–125 using the project status report workflow
PA_RESOURCE_LIST_GROUPS_V, 3–125 extension, 12–26
PA_RESOURCE_LIST_V, 3–125 project workflow
extension to call, 8–5
PA_RESOURCE_TYPES_ACTIVE_V, 3–125
extension to change status, 8–12
PA_RET_TARGET_ASSET_LOV_V, 4–2
PROJECT_IN_REC_TYPE datatype, 3–7
PA_REVENUE_CATEGORIES_RES_V, 3–125
PROJECT_OUT_REC_TYPE datatype, 3–14
PA_SELECT_TEMPLATE_V, 3–3
PROJECT_ROLE_TBL_TYPE datatype, 3–14
PA_SERVICE_TYPE_LOV_V, 3–3 projects
PA_TASK_MANAGERS_LOV_V, 3–3 APIs, 3–2
PA_TASKS_AMG_V, 3–3 attributes, changing, 3–31
PA_TERMS_LOV_A, 5–3 commitments, 6–60
PA_TRANSACTION_XFACE_CTRL_ALL, creating, 3–27
13–29 dates, start and finish, 3–21, 3–33, 8–10
PA_TXN_ACCUM_V, 6–62 defining, 3–5
PA_USER_RESP_V, 2–9 deleting, 3–28
examples, 3–76
PA_VENDORS_RES_V, 3–125
numbering, 3–21
packages and procedures, 7–8 overview, 3–68
pacrgran.sql, 2–8 procedures and views, 3–5
pacrrole.sql, 2–6 updating, 3–31
pacruser.sql, 2–7 PSI, 2–5, 6–57
parameters, standard datatypes, 2–31, 3–22 See also Project Status Inquiry
period accumulation, 2–27
PL/SQL, 7–8
Post–Import Client Extension, 8–26 R
Pre–Import Client Extension, 8–23 record and table datatypes, 3–7 to 3–13
procedure definitions reports and listings, Pre–Approved
budget, 6–3 Expenditures Entry Audit Report, 13–23
Index – 7
resource list members submitting, budgets, 6–7
adding, 3–127 summary amounts
deleting, 3–131 commitment, 6–61
retrieving, 3–125 cost budget, 6–61
sorting, 3–132 resource commitment, 6–60
updating, 3–134 resource cost budget, 6–61
resource lists resource revenue, 6–60
creating, 3–128 resource revenue budget, 6–61
deleting, 3–130 revenue, 6–61
names, 3–139 revenue budget, 6–61
retrieving, 3–125 systems, external, 2–3
updating, 3–127, 3–132, 3–134
resource procedures, definitions, 3–127
resources T
APIs, 3–124 table and record datatypes, 3–7 to 3–13
commitments, 6–60 TABLE_IN_TBL_TYPE datatype, 3–15
defining, 3–124, 3–125 TASK_OUT_TBL_TYPE datatype, 3–20
retrieving, 3–125
tasks
tracked as labor, 6–57
adding, 3–22
values predefined by Oracle Projects, 6–57
attributes, changing, 3–34, 3–35, 3–37, 3–38
vendors, 3–125
commitments, 6–60
views, 3–124, 3–126
dates, start and finish, 3–21, 3–34, 3–37, 8–8,
restricting actions, 2–29 8–10
retention, billing extension, 10–57 to 10–58 deleting, 3–28, 3–29
retrieving error messages, 2–24, 3–75, 6–46 fields, 3–35, 3–38
revenue categories, 3–125 interface to Oracle Projects, 3–33, 3–37
Review Transactions window, 13–50, 13–52 loading task information, 3–55
moving within the WBS, 3–35, 3–38
numbering, 3–22, 3–33, 3–37
subtasks, creating, 3–22
S updating, 3–36
scripts taxes, codes, defaults, 10–64 to 10–65
pacrgran.sql, 2–8 templates, for client extensions, 7–10
pacrrole.sql, 2–6 transaction controls
pacruser.sql, 2–7 case studies, 9–11, 9–13, 9–15
security, project, client extension, 8–2 extensions, 9–2 to 9–10
security requirements, 2–9 transaction import
SET_GLOBAL_INFO, 2–10 defining sources, 13–5
SORT_RESOURCE_LIST_MEMBERS, 3–132 examples, 13–19, 13–21
exceptions, 13–50
standard API parameters, 2–19
expenditure type classes for, 13–7
standard datatypes, 2–31, 3–76, 5–29 grouping transactions, 13–17
status, views, 6–60 interface tables, 13–26
status APIs, 6–57 column descriptions, 13–29
Structure APIs, 3–120 expenditure, 13–27
Index – 8 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
populating, 13–4, 13–27 UPDATE_BUDGET_LINE, 6–23
loading UPDATE_EARNED_VALUE, 6–63
accounted/unaccounted items, 13–9 UPDATE_EVENT, 4–6, 5–44
burden transactions, 13–10 UPDATE_FUNDING, 5–11
costed/uncosted items, 13–8
UPDATE_PROGRESS, 6–64
foreign currency transactions, 13–12
manufacturing costs, 13–10 UPDATE_PROJECT, 3–31
options, 13–16 UPDATE_RESOURCE_LIST, 3–132
overview, 13–2, 13–3 UPDATE_RESOURCE_LIST_MEMBER, 3–134
process diagram, 13–3 UPDATE_TASK, 3–36
process flow diagram, 13–3 User–Defined Attribute API, example, 3–89
rejections user–defined attributes
codes for, 13–50 APIs, 3–84
correcting, 13–53 to 13–55 loading, 3–85, 3–87
reporting, 13–6 procedures, 3–84
reviewing transactions, 13–52 usernames, 2–9
rounding limit, 13–15
sources, defining for, 13–32
tables, interface control, 13–29
transactions
V
adjusting, 13–24 variables, global, 2–10
importing, 13–5 vendors, 3–125
purging, 13–24 verifying data, 3–2, 3–84
viewing, 13–23 view definitions
unmatched negative transactions for, 13–7, asset, 4–2
13–8 budget, 6–2
validation, 13–26 to 13–27 project, 3–2
Transaction Import Client Extensions, 8–21 resources, 3–124, 3–126
transaction types, extension, 10–68 status, 6–57, 6–60
transactions
adjusting, 9–32
unmatched negative, 13–7, 13–8 W
WBS, 3–2, 3–30, 3–34, 3–38
window illustrations, Review Transactions,
U 13–50
UPDATE_BUDGET, 6–20 workplan workflow extension, 12–2
Index – 9
Index – 10 Oracle Projects APIs, Client Extensions, and Open Interfaces Reference
Reader’s Comment Form
Oracle Projects APIs, Client Extensions, and Open Interfaces Reference Release 11i
Part Number B12427–01
Oracle 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?
If you find any errors or have any other suggestions for improvement, please indicate the title and part
number of the documentation and the chapter, section, and page number (if available). You can send
comments to us in the following ways:
• Electronic mail: [email protected]
• Fax: (650) 506–7200 Attn: Oracle Projects
• Postal Service
Oracle Applications Documentation Manager
Oracle Corporation
500 Oracle Parkway
Redwood Shores, CA 94065
USA
Phone: (650) 506–7000
If you would like a reply, please give your name, address, telephone number, and electronic mail address
(optional).
If you have problems with the software, please contact your local Oracle Support Services.