P 2 K_PU.EASD_DIST
Back to current versionRestore this version

Assignment Distribution Information#

Functionality:#

This function retrieves information as seen on IEAS, for an employee's distribution information.

Parameters:#

EASD_ID The actual ID for the assignment detail record of the employee you are getting data for
SPLIT_SEQUENCE Optional. Identifies which split sequence you want to access (a number from 1 to the highest sequence number). If not provided, the first sequence will be used
WHAT Optional. Identifies which element of the distribution you want to access. If not provided, DISTRIBUTION_CODE will be used

WHAT Parameter Values#

DISTRIBUTION_CODE The complete distribution code from the assignment record
SPLIT_RULE The lexicon value for the Split Rule
SPLIT_PERCENT The amount of the Split Percent (if specified)
SPLIT_AMOUNT The actual Split Amount (if specified)

Returns: #

Varchar2 (regardless of the type of data being requested)

Errors: #

Example: #

P2K_PU.EASD_DIST(~)

Will return the DISTRIBUTION_CODE for the first (in ascending order) distribution code associated to the employee's assignment detail.

P2K_PU.EASD_DIST(~,2,'SPLIT_PERCENT')

Will return the SPLIT_PERCENT for the second (in ascending order) distribution code associated to the employee's assignment detail.


Notes#

Click to create a new notes page