![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
Previous | Next | Contents | Index | Navigation | Glossary | Library |
Print out and review the following files before you begin writing transaction control extensions. These files are located in the Oracle Projects admin/sql directory.
PAXTTCXB.pls. | Transaction Control Extension Package Body Template. This file contains the procedure that you modify to implement transaction control extensions. You can define as many procedures as you like within this package or within the predefined procedure. |
PAXTTCXS.pls | Transaction Control Extension Package Specification Template. If you create procedures outside the predefined procedure within the patcx package, you must also modify this file to include those new procedures. |
Suggestion: After you write the procedure, do not forget to compile it and store it in the database. See: Storing Your Procedures.
We recommend that you use the PL/SQL User's Guide and Reference Manual and the Oracle Projects Technical Reference Manual as reference material while defining procedures:
Be sure to define your messages under the Oracle Projects application. If you define your messages using the prefix PATXC, Oracle Projects will protect them during an upgrade.
If you are using any of the following processes or products, you must define the message in the character-based form as well as the GUI window:
Parameter | Usage | Type | Description |
---|---|---|---|
X_project_id | IN | NUMBER | The identifier of the project. |
X_task_id | IN | NUMBER | The identifier of the task. |
X_expenditure_item_ date | IN | DATE | The date of the expenditure item. |
X_expenditure_type | IN | VARCHAR2 | The type of expenditure. |
X_non_labor_resource | IN | VARCHAR2 | The non-labor resource; for usage items only. |
X_incurred_by_person_id | IN | NUMBER | The identifier of the person incurring the transaction. |
X_quantity | IN | NUMBER | The quantity of the transaction. |
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_incurred_by_org_id | IN | NUMBER | The organization incurring the transaction. |
X_nl_resource_org_id | IN | NUMBER | The identifier of the non-labor resource organization; for usages only. |
X_transaction_source | IN | VARCHAR2 | The transaction source of items imported using Transaction Import. |
X_calling_module | IN | VARCHAR2 | The module calling the extension. |
X_entered_by_user_id | IN | NUMBER | The identifier of the user that entered the transaction. |
X_attribute_category | IN | VARCHAR2 | Expenditure item descriptive flexfield context. |
X_attribute1-10 | IN | VARCHAR2 | Expenditure item descriptive flexfield segments. |
X_billable_flag | IN OUT | VARCHAR2 | Determines whether or not a transaction is billable or capitalizable. |
X_outcome | OUT | VARCHAR2 | The outcome of the procedure. |
Table 1 - 105. (Page 2 of 2) Transaction Control Extension Parameters |
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.
If the transaction does not pass a rule that you define, set the X_outcome value to the appropriate error message name that will be displayed to the user.
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.
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 Item | CreateRelatedItem procedure called in the labor 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. |
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/ PAXTEXCB | Copy Pre-Approved Timecards/Copy 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. |
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. |
Previous | Next | Contents | Index | Navigation | Glossary | Library |