Search Results get_emp_address
Overview
The APPS.PAY_CA_EMP_ADDRESS_DTLS package is a Canadian localization wrapper within the Oracle E-Business Suite Payroll (PAY) module. Its documented purpose is to fetch the current address details for an employee, abstracting the underlying HR person and address data model into a form suitable for Canadian payroll processing. The single header comment in the package specification — "Function to fetch the current address details for an employee" — confirms this narrow, read-oriented role. The package is classified under the API classification "OTHER," indicating that it is a supporting wrapper rather than a full public business API, and it is owned by APPS and declared in the 12.1.1 and 12.2.2 environments with the header paycaaddwrpr.pkh 120.1, dated 2005. The noship keyword in the header indicates it is not shipped as a standalone executable object but forms part of the compiled payroll schema infrastructure.
Key Procedures and Functions
The ETRM metadata documents exactly one callable program unit: GET_EMP_ADDRESS. It is a function returning a NUMBER, conventionally used to signal success (0) or failure (1), while delivering its actual payload through a set of OUT NOCOPY parameters. The NOCOPY hint is significant: it instructs the PL/SQL runtime to pass the output variables by reference rather than by value, avoiding the copy overhead for large address strings and improving performance when the function is called repeatedly inside payroll batch loops.
The function accepts a person identifier as its input and returns the employee's current mailing address broken into discrete components: address lines, city, postal code, country, and province. Each component is exposed as a separate output parameter, which allows Canadian payroll routines to consume the address in the exact granularity required for tax reporting, year-end slips, and cheque or direct-deposit correspondence. Because the specification exposes only this one function, the package should be treated as a single-purpose utility rather than a general address-cleansing library.
Tables Accessed
The documented ETRM metadata does not enumerate the tables referenced by this package through APPS synonyms. Based on the object name and its documented function, the package operates against the standard HR person and address entities — principally the per-address records that hold an employee's current address, along with the associated country, province, and postal code reference data needed to populate the output parameters. No insert, update, or delete behavior is implied by the specification; the function is read-only in nature. Consumers requiring modification of employee addresses should use the supported HR person/address APIs rather than this wrapper, as PAY_CA_EMP_ADDRESS_DTLS is documented only as a fetch utility.
Usage Notes
The metadata records that this package is referenced by ten other packages, which confirms it is an internal dependency of the Canadian payroll localization layer rather than a standalone entry point invoked directly by end users. Typical callers are other PAY_CA_* packages, payroll calculation routines, and year-end slip generation logic that must resolve an employee's current address during processing.
Custom code may invoke GET_EMP_ADDRESS when a localized Canadian address format is required — for example, to reproduce the exact address rendering used on payroll reports or tax slips. Callers must declare all output variables in advance, check the numeric return value before consuming the returned address components, and account for the possibility that an employee has no current address on record. Because the package is owned by APPS and marked noship, it is best treated as an internal implementation detail subject to change between releases; new development should confirm supported alternatives before building a hard dependency on this wrapper.
-
PACKAGE: APPS.PAY_CA_EMP_ADDRESS_DTLS
12.1.1
-
PACKAGE: APPS.PAY_CA_EMP_ADDRESS_DTLS
12.2.2
-
PACKAGE BODY: APPS.PAY_CA_EMP_ADDRESS_DTLS
12.1.1
-
PACKAGE BODY: APPS.PAY_CA_EMP_ADDRESS_DTLS
12.2.2
-
PACKAGE: APPS.PAY_IN_SOE
12.2.2
-
PACKAGE: APPS.PAY_NL_GENERAL
12.1.1
-
PACKAGE: APPS.PAY_NL_GENERAL
12.2.2
-
PACKAGE BODY: APPS.PAY_IN_SOE
12.2.2
-
APPS.PAY_CA_EMP_ADDRESS_DTLS dependencies on PAY_CA_EMP_ADDRESS_DTLS
12.2.2
-
APPS.PAY_CA_EMP_ADDRESS_DTLS dependencies on PAY_CA_EMP_ADDRESS_DTLS
12.1.1
-
PACKAGE BODY: APPS.PAY_NL_GENERAL
12.1.1
-
PACKAGE BODY: APPS.PAY_NL_GENERAL
12.2.2
-
APPS.PAY_IN_SOE dependencies on PAY_IN_UTILS
12.2.2