Thursday 28 January 2021

Database Item and context Query

 SELECT DBI.USER_NAME,BASE_CONTEXT_NAME


FROM FF_DATABASE_ITEMS_VL DBI,


FF_USER_ENTITIES_VL USERENT,


FF_ROUTES_VL ROUTES,


FF_ROUTE_CONTEXT_USAGES RCU,


FF_CONTEXTS_VL CON


Where  DBI.USER_ENTITY_ID = USERENT.USER_ENTITY_ID


AND USERENT.ROUTE_ID = ROUTES.ROUTE_ID


AND DBI.base_USER_name = <DBI Name>


AND ROUTES.ROUTE_ID = RCU.ROUTE_ID


AND CON.CONTEXT_ID = RCU.CONTEXT_ID


==========================================================


select FF.FORMULA_NAME, BASE_CONTEXT_NAME


ff_contexts_vl CON,


ff_ftype_context_usages FCU,


FF_FORMULA_TYPES_VL FT


WHERE FF.formula_type_id = FT.formula_type_id


AND   FCU.FORMULA_TYPE_ID =  FT.formula_type_id


AND   CON.CONTEXT_ID = FCU.CONTEXT_ID


AND   BASE_FORMULA_NAME LIKE <Formula Bas Name>

Thursday 13 August 2020

Manage Employment Transaction Query

 select txnh.creation_date,txnh.transaction_id,pname.full_name,asg.assignment_number from fusion.hrc_txn_header txnh,per_person_names_f pname,per_all_assignments_f asg where txnh.object_id = asg.assignment_id and trunc(sysdate) between pname.effective_start_date and pname.effective_end_date and pname.name_Type ='GLOBAL' and txnh.process_owner='MngEmplProcessOwner' and pname.person_id= asg.person_id and asg.primary_flag='Y'

and trunc(sysdate) between asg.effective_start_Date and asg.effective_end_date

--and txnh.transaction_id = '300000059017108'

Manage Person Transactions table query

 select txnh.creation_date,txnh.transaction_id,pname.full_name,per.person_number from fusion.hrc_txn_header txnh,per_person_names_f pname,per_all_people_f per where txnh.object_id = pname.person_id and trunc(sysdate) between pname.effective_start_date and pname.effective_end_date and pname.name_Type ='GLOBAL' and txnh.process_owner='Manage Person'

and per.person_id = pname.person_id

and trunc(sysdate) between per.effective_start_date and per.effective_end_date

--and txnh.transaction_id = '300000060534900'

Wednesday 9 January 2019

South African Legislation

http://accsyspeoplemanagement.blogspot.com/2013/06/what-is-finger-biometrics-part-1-of-6.html?view=sidebar

Setting up ACB

                        Setting UP ACB - South Africa Region


Setting Up ACB To make direct deposits through ACB,
you must provide details of the source and destination banks and of the amount to be transferred to each employee.
There are several stages to setting up and running ACB in an organization:
 1. Load ACB bank codes. See: Loading CDV Bank Codes, page 6-9.
 2. Enter ACB installation information for the organization. See: Business Groups: Entering ACB Installation Information, page 1-30
3. Enter ACB user information.


2.----- Enter ACB installation information for the organization.--- Detail

Business Groups: Entering ACB Installation Information
You must enter ACB details for an organization before you can run the ACB process
and make ACB payments to your employees.
To enter ACB installation information:
1. In the Organization window, query the business group if it does not already appear
there. In the Organizations Classifications region, select Business Group, choose the
Others button and select ZA ACB Installation Inf.
2. Click in the Additional Organization Information window to display the ZA ACB
Installation Inf window.
3. Enter the organization's ACB information:
• Enter the ACB Installation ID Code.
If the organization is registered as a Single/In-house user at ACB, this code is
the same as the ACB User Code. Bureaus use a different code.
• Select the ACB user type. Single users submit their own ACB file directly. Select
Bureau to indicate that a third-party will submit the ACB file on behalf of the
employer.
Note: If you change the user type from Bureau to Single, the
installation and user generation numbers are reset to 0001. If you
change the user type from Single to Bureau, the installation and
user generation numbers increment from the last generation
number used. If you are selecting the ACB user type for the first
time, these numbers start at 0001 and increment with each ACB file
submission.
4. Save your work

3----- Detail ------

If you are an Oracle Payroll user, click in the Statutory Information field to display
the segments of the ZA Statutory Information flexfield and enter the ACB details for
the payroll.
Warning: If ACB information is not required for this payroll, enter
any value into the ACB fields, for example, enter 1, but do not leave
the ACB fields blank.
Note: The statutory information field is not visible if your HR: User
Type option is set to HR User only.
• Select the Cumulative taxation method. This method uses the number of pay
periods in the year to arrive at the annual earnings and the annual liability for
taxation.
• Enter the ACB user code for the payroll. Multiple payrolls can have the same
user code.
If the business group's ACB user type is Single, this user code must be the same
as the ACB Installation ID Code.

To enter a business group's ACB user type, see: Business Groups: Entering ACB
Installation Information, page 1-30.
• Select the ACB service type. This is the number of days that ACB must receive
the file prior to payment.
• Enter the user abbreviated name. This is determined by ACB.
• Enter the registered aggregate limit if you want Oracle Payroll to issue a
warning message if the limit is exceeded. This limit is the total of all ACB
payments that can be made for the selected payroll.
• Enter the item limit if you want Oracle Payroll to issue a warning message if the
limit is exceeded. This limit is the total ACB payment that can be made for a
single assignment.
• Enter the maximum number of advance holiday periods that can be paid, as
determined by your business rules.
• Enter the default pension basis for the enterprise



------  1 Detail -----



Loading CDV Bank Codes
You must load bank branch information in order to record bank account details for your
employees. You do this by running the CDV Bank Name User Table Set Up Process and
the CDV Data Load Process.
You must obtain a copy of the bank branch details file from Bankserv before you can
run the CDV Data Load Process. It is your responsibility to ensure that you regularly
update your file to acquire any new banks/branch's details updated by Bankserv.
You run both processes from the Submit Requests window.
Loading bank branch details is usually a task for your system administrator.
To load bank ranges:
1. Select CDV Bank Name User Table Set Up Process in the Name field.
2. In the paramenters window, select which run option is applicable:
• Copy To All
• This copies the ranges that exist in the user table for the current business
group to all other business groups. If the user table does not exist then the
script creates it using predefined data.
• Force Update
This copies the predefined bank name/branch code ranges to all business
groups and overwrites any changes made to the user table.
3. Choose the Submit button.
Note: This process creates the ranges as custom data. You can
modify the branch code ranges and bank names if necessary. You
can run this process selecting the Copy To All option to copy your
changes to all other business groups and update the
pay_za_branch_cdv_details table. 

Wednesday 26 September 2018




https://sureshpv.blogspot.com/2018/03/olmlearneraccessformanagers.html



Monday 17 September 2018

Wednesday 24 January 2018

Payroll Batch Loader Error Query



select ml.*
from pay_bl_message_lines_vl ml
,    pay_batch_lines bl
,    pay_batch_headers bh
where bh.batch_id = bl.batch_id
and   bl.batch_line_id = ml.source_id
and   bh.batch_name = 'BATCH NAME'
and   bl.batch_line_status = 'E';


Full Query for all PBL errors with batch name, task name, task action name, assignment number and error message


SELECT pbh.batch_name,
       pbh.legislative_data_group_id,pbt.display_task_name,pbta.display_task_action_name,
pivot_line_value_data.action_parameter_name1,pivot_line_value_data.action_parameter_value1,pivot_line_value_data.action_parameter_name2,pivot_line_value_data.action_parameter_value2,
       pbmlv.message_text
FROM
(SELECT batch_line_id,
     MAX(decode(rn,1,display_action_parameter_name))
action_parameter_name1,MAX(decode(rn,1,action_parameter_value))
action_parameter_value1,
     MAX(decode(rn,2,display_action_parameter_name))
action_parameter_name2,MAX(decode(rn,2,action_parameter_value))
action_parameter_value2,
     MAX(decode(rn,3,display_action_parameter_name))
action_parameter_name3,MAX(decode(rn,3,action_parameter_value))
action_parameter_value3,
    MAX(decode(rn,4,display_action_parameter_name))
action_parameter_name4,MAX(decode(rn,4,action_parameter_value))
action_parameter_value4
 FROM ( SELECT batch_line_id,
               action_parameter_name,
       action_parameter_value,
       display_action_parameter_name,
               row_number() over (partition by batch_line_id
                          order by batch_line_id,
  action_parameter_name ) rn
          FROM (SELECT pbavl.element_name action_parameter_name,
               pbavl.parameter_name display_action_parameter_name,
       pblv.action_parameter_value,
       pblv.batch_line_id
FROM pay_task_parameters_vl pbavl,  pay_batch_line_values pblv
WHERE pbavl.base_task_parameter_id = pblv.action_parameter_id
AND pbavl.display_flag <> 'N' ) 
          )
GROUP BY batch_line_id) pivot_line_value_data,
                        pay_batch_lines pbl ,
                  pay_batch_headers pbh,
                        pay_bl_message_lines_vl pbmlv,
PAY_BL_TASK_ACTIONS_VL pbta,PAY_BL_TASKS_VL pbt
WHERE pivot_line_value_data.batch_line_id = pbl.batch_line_id
AND pbl.batch_id = pbh.batch_id
AND pbl.batch_line_id = pbmlv.source_id
AND pbl.batch_line_status = 'E'
AND pbh.batch_name like '%Pay%%%'
AND pbt.task_id=pbta.task_id
and pbl.task_action_id=pbta.task_action_id

Tuesday 26 December 2017

Payroll Doc IDs - 3

Dec 15, 2017Fusion Global Payroll: Quickpay Error "An external function call error occurred for formula CA_GET_REPORTING_TYPE, line 60." [2085060.1]











Fusion Global Payroll: How to Mask Bank Account Details (Doc ID 2182627.1)


Important Payroll IDs-2