Search Results pa_salesreps
Overview
PA_SALESREPS is an Oracle Applications (APPS) PL/SQL package body that supports sales credit processing within the Oracle Projects and Oracle Receivables integration flow. Its central business function is to process project-related sales credits and to derive or validate the salesperson and sales credit type information that is attached to project invoices and interface records. In Oracle EBS releases 12.1.1 and 12.2.2, sales credits associate a salesperson with a revenue or invoice line so that credit and compensation reporting in Receivables and Oracle Sales can be attributed correctly.
The package operates entirely within the APPS schema and is classified as OTHER in the ETRM documentation metadata, meaning it is not an externally published public API but an internal supporting package used by the Oracle Projects subsystem. It is not referenced by any other database object, and the documented procedures are limited to two entry points.
Key Procedures and Functions
- PROCESS_PROJECT — The primary driver routine. Based on ETRM metadata it processes a project for sales credit purposes, working across project, customer, and invoice interface data. It determines the salespersons and credit receivers associated with the project and applies the appropriate sales credit types so that interface rows can be built or validated prior to transfer into Receivables.
- VALIDATE_SALES_CREDIT_TYPE — A validation routine that checks a sales credit type against the setup sources referenced by the package, notably the sales credit type definitions and project lookup values. It ensures that only enabled and correctly configured sales credit types are accepted before downstream processing continues.
No parameter lists are documented in the ETRM metadata; only the procedure names and their purposes are recorded.
Tables Accessed
The ETRM dependency listing and synonym reference metadata identify the following documented tables accessed by PA_SALESREPS:
- PA_PROJECTS and PA_PROJECT_TYPES — Source of project identity, project type, and associated processing attributes that govern sales credit handling.
- PA_PROJECT_CUSTOMERS and PA_PROJECT_PLAYERS — Provide the customer and player (salesperson) relationships that determine who receives sales credit on the project.
- PA_CREDIT_RECEIVERS and PA_DRAFT_INVOICES — Core sales credit and draft invoice tables where credit receiver records are read and where invoice-level credit is evaluated.
- RA_INTERFACE_LINES, RA_INTERFACE_SALESCREDITS, and RA_BATCH_SOURCES — Receivables interface structures used to stage invoice lines and sales credit records for transfer, together with the batch source that controls import.
- SO_SALES_CREDIT_TYPES and RA_SALESREPS — Sales credit type and salesperson master references used for validation.
- PA_IMPLEMENTATIONS, PA_INSTALL, PA_LOOKUPS, PA_MOAC_UTILS, and DUAL — Installation and lookup configuration, multiple organization access control utilities, and the standard single-row query source.
Usage Notes
Because PA_SALESREPS is not referenced by any other database object, it is invoked through Oracle Projects application logic rather than being called from dependent packaged APIs. Typical invocation paths include the Project Billing and Project Costing flows that create or adjust sales credits, and the Receivables interface import process for project invoices. It is also common for custom extensions and concurrent programs that manipulate project sales credits to call the documented procedures directly. Implementers should treat the package as an internal, unsupported interface, review the ETRM dependency tree before modifying related data, and validate all sales credit types against SO_SALES_CREDIT_TYPES and the relevant lookups prior to submission.
-
PACKAGE BODY: APPS.PA_SALESREPS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_SALESREPS, status:VALID,
-
PACKAGE: APPS.PA_SALESREPS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_SALESREPS, status:VALID,
-
PACKAGE: APPS.PA_SALESREPS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_SALESREPS, status:VALID,
-
PACKAGE: APPS.PA_SALESREPS
12.2.2
-
PACKAGE BODY: APPS.PA_SALESREPS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_SALESREPS, status:VALID,
-
PACKAGE: APPS.PA_SALESREPS
12.1.1
-
SYNONYM: APPS.RA_INTERFACE_SALESCREDITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_SALESCREDITS, status:VALID,
-
SYNONYM: APPS.PA_CREDIT_RECEIVERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_CREDIT_RECEIVERS, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_SALESCREDITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_SALESCREDITS, status:VALID,
-
SYNONYM: APPS.SO_SALES_CREDIT_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_SALES_CREDIT_TYPES, status:VALID,
-
SYNONYM: APPS.SO_SALES_CREDIT_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_SALES_CREDIT_TYPES, status:VALID,
-
SYNONYM: APPS.PA_CREDIT_RECEIVERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_CREDIT_RECEIVERS, status:VALID,
-
PACKAGE: APPS.PA_INSTALL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_INSTALL, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICES, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES, status:VALID,
-
PACKAGE: APPS.PA_MOAC_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_MOAC_UTILS, status:VALID,
-
PACKAGE: APPS.PA_INSTALL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_INSTALL, status:VALID,
-
PACKAGE: APPS.PA_MOAC_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_MOAC_UTILS, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICES, status:VALID,
-
SYNONYM: APPS.PA_PROJECT_CUSTOMERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECT_CUSTOMERS, status:VALID,
-
SYNONYM: APPS.PA_PROJECT_CUSTOMERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECT_CUSTOMERS, status:VALID,
-
VIEW: APPS.PA_PROJECT_PLAYERS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJECT_PLAYERS, object_name:PA_PROJECT_PLAYERS, status:VALID,
-
VIEW: APPS.PA_PROJECT_PLAYERS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJECT_PLAYERS, object_name:PA_PROJECT_PLAYERS, status:VALID,
-
SYNONYM: APPS.RA_BATCH_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_BATCH_SOURCES, status:VALID,
-
SYNONYM: APPS.PA_PROJECT_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECT_TYPES, status:VALID,
-
SYNONYM: APPS.PA_PROJECT_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECT_TYPES, status:VALID,
-
SYNONYM: APPS.RA_BATCH_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_BATCH_SOURCES, status:VALID,
-
VIEW: APPS.RA_SALESREPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_SALESREPS, object_name:RA_SALESREPS, status:VALID,
-
VIEW: APPS.RA_SALESREPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_SALESREPS, object_name:RA_SALESREPS, status:VALID,
-
SYNONYM: APPS.PA_PROJECTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECTS, status:VALID,
-
PACKAGE BODY: APPS.PA_SALESREPS
12.2.2
-
PACKAGE BODY: APPS.PA_SALESREPS
12.1.1
-
SYNONYM: APPS.PA_PROJECTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECTS, status:VALID,
-
SYNONYM: APPS.PA_IMPLEMENTATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_IMPLEMENTATIONS, status:VALID,
-
SYNONYM: APPS.PA_IMPLEMENTATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_IMPLEMENTATIONS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PA_SALESREPS dependencies on PA_SALESREPS
12.2.2
-
APPS.PA_SALESREPS dependencies on PA_SALESREPS
12.1.1
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.PA_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_LOOKUPS, object_name:PA_LOOKUPS, status:VALID,
-
VIEW: APPS.PA_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_LOOKUPS, object_name:PA_LOOKUPS, status:VALID,
-
TABLE: SYS.DUAL
12.1.1
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
TABLE: SYS.DUAL
12.2.2
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
eTRM - PA Tables and Views
12.1.1
-
12.2.2 DBA Data
12.2.2