Download Oracle HRMS US Implementation Guide
Transcript
Note: Do not try to implement commit or full rollback statements in your custom pl/sql. This will interfere with the API processing and will generate an error. When a parameter name is defined it must match exactly the name of a data value parameter that is available at the user hooks where it will be executed. The parameter must have the same datatype as the user hook data value. Any normal implicit pl/sql data conversions are not supported from user hooks. All the package procedure parameters must be defined as IN, without any default value. OUT and IN OUT parameters are not supported in the custom package procedure. At all user hooks many data values are available. When implementing a custom package procedure every data value does not have to be listed. Only the data values for parameters that are required for the custom pl/sql need to be listed. A complete list of available user hooks, data values provided and their datatypes can be found by executing a pl/sql script. See: API User Hook Support Scripts When you have completed your custom pl/sql package you should execute the package creation scripts on the database and test that the package procedure compiles. Then test that this carries out the intended validation on a test database. For example. A particular enterprise requires the previous last name for all married females when they are entered in the system. This requirement is not implemented in the core product, but an implementation team can code this extra validation in a separate package procedure and call it using API user hooks. When martial status is ‘Married’ and sex is ‘Female’ then use a pl/sql exception to raise an error if the previous last name is null. The following sample code provides a server–side package procedure to perform this validation rule. Sample Code Create Or Replace Package cus_extra_person_rules as procedure extra_name_checks (p_previous_last_name in varchar2 ,p_sex in varchar2 ,p_marital_status in varchar2 ); end cus_extra_person_rules; / exit; Create Or Replace Package Body cus_extra_person_rules as procedure extra_name_checks A – 90 Oracle HRMS US Implementation Guide
Related documents
Oracle HRMS Implementation Guide
Yes - New Page 1
Lowrance electronic IWAY 350C User's Manual
Web Slings
AMX DAS-AMP4 Setup guide
Oracle Payroll UK User`s Guide
La gestion et l`archivage des courriels Manuel pratique
User Manual - PropertyBoss Solutions
Running Your Payroll USing Oracle HRMS (UK)
TUBA v1.9.5 Guidance for Checking Outputs
Momentum 171 CBB 970 30 M1 Processor User
Payroll Manual