Showing posts with label Payroll. Show all posts
Showing posts with label Payroll. Show all posts

Tuesday, November 17, 2015

Unable to import Payroll journal in GL "This new code combination includes summary segment"

Issue:

This new code combination includes summary segment
EF04    This is an invalid Accounting Flexfield.  Check your cross-validation rules and segment values.

Solution:


To import journals from a subledger into General Ledger:

     1.  Navigate to the import journals form.

     2.  Enter a source and group ID.

     3.  Select run options and import descriptive flexfields option.

     4.  Enter a date range.

     5.  Click on the [Import] button.

This spawns a concurrent request.  In the view my request form the process
completed with a status of "Normal."

Click on [Report] and view the journal import execution report, the following
error is shown:

      EF04:  This is an invalid Accounting Flexfield.
             Check the cross-validation rules and segment values.

The specific error message is:
'Value 000 has been disabled'
for disabled segment values and
'This new code combination includes summary segment'
for parent segment values

This error is specific to journal import and is not caused by consolidation
mappings.  The only reason the error show up when consolidation is run is due
to the run option (journal import) being enabled in the consoldation mapping
form.  If the process is run separately, the error will show up on the journal
import.

Cross-validation rules are set up as follows:

Include: AAA.AAAAAA.AAAAA.AAA.AAA.AAAAA - 999.999999.99999.999.999.99999
Exclude: AAA.131000.AAAAA.AAA.001.AAAAA - 999.131000.99999.999.999.99999
change: NOTE ROLE:  The Navigation Path is:
            Responsibility = General Ledger Super User
       Navigation = Setup>Financials>Flexfields>Key Rules
       Form Name  = FNDFFMCV (Cross-Validation Rules)


            Responsibility = General Ledger Super User
       Navigation: Setup>Financials>Flexfields>Key>Segments
   Form Name  = FNDFFMIS (Key Flexfield Segments)
cause: Cross validation rules and/or segment values exist which do not
allow the journal import process to complete successfully.



fix:

The following options are supported:

I.   Check cross-validation rules defined as follows:
 
     1.  Navigate to cross-validation rules form.

     2.  Cross validation rules evaluate from numeric to alphanumeric.

        a. Include should be:
           000.000000.00000.000.000.00000 - AAA.AAAAAA.AAAAA.AAA.AAA.AAAAA


        b. Exclude should be:

           999.131000.99999.999.999.99999 - AAA.131000.AAAAA.AAA.001.AAAAA


II.  Check segment values as follows:
 
     This error could also mean that posting is being attempted to a parent
     account.  Oracle General Ledger does not allow posting to parent accounts.
     Change the values to non-parent values or create child accounts and
     use those accounts to post to.  Make these changes on the
     Segment Values form.

III. Disable the cross-validation rule that is causing the error and re-run the
     consolidation process with the run option set to run journal import.

IV.  Change the cross-validation rules to not exclude the combination that is
     causing the error.

V.   Fix the combination at the source and re-run process.

Monday, January 5, 2015

APP-PAY-06882: Assertion failure detected at location py3vntsetup:2.

 

Error:

Error while Payroll processing:-

HR_6882_HRPROC_ASSERT
LOCATION py3vntsetup:2
APP-PAY-06882: Assertion failure detected at location py3vntsetup:2.

Cause: an internal error has occurred at location py3vntsetup:2.

Action: please contact your Oracle customer representative.

Fix:


This is an environment issue with the newly cloned instance.



PY_LIB_PATH is set correctly with the Quantum library path, however, the Quantum Data Update Installer process is not able to access the Quantum libraries.


1) Relink PYUGEN and PYUVEN


adrelink.sh force=y ranlib=y 'pay PYUGEN'
adrelink.sh force=y ranlib=y ‘pay PYUVEN’

2) Bounce concurrent managers



3) Retest the issue.

Sunday, September 28, 2014

How to find employee salary details from oracle payroll tables

SELECT papf.employee_number
,papf.full_name
,pj.NAME job
,haou.NAME ORGANIZATION
,ppp.proposed_salary_n salary
FROM per_all_people_f papf
,per_all_assignments_f paaf
,per_jobs pj
,hr_all_organization_units haou
,per_position_definitions ppd
,per_all_positions pap
,per_pay_proposals ppp
WHERE 1 = 1
AND SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date
AND papf.current_employee_flag = 'Y'
AND papf.employee_number IS NOT NULL
AND paaf.person_id = papf.person_id
AND SYSDATE BETWEEN paaf.effective_start_date AND paaf.effective_end_date
AND paaf.job_id = pj.job_id
AND paaf.organization_id = haou.organization_id
AND paaf.position_id = pap.position_id
AND pap.position_definition_id = ppd.position_definition_id
AND ppp.pay_proposal_id = (SELECT MAX (pay_proposal_id)
FROM per_pay_proposals
WHERE assignment_id = paaf.assignment_id)