How can I set up a derived payment source for India?

You can create a status processing rule at the legislative data group(LDG) level and setup the payment criteria for the organization payment method, for the predefined default payer element.

Here are the steps to setup the derived payment source:

  1. Create a status processing rule at the LDG level

  2. Setup the formula to derive the payment criteria

  3. Setup payment criteria for organization payment method.

Set Up the Status Processing Rule

  1. Click Status Processing Rules in the Element Overview section.

  2. Select Create Status Processing Rules from the Actions menu.

  3. Select XX_Default_Payer_Payment_Criteria in the Formula Name field.

  4. Add a row in the Result Rules section using the values in this table.

    Field Description

    Result Returned

    EMP_DEPT

    Result Rule

    Direct Result

    Target Input Value

    Payment Criteria

  5. Click Submit.

Set Up Formula to Derive Payment Criteria

Set up the formula in the Fast Formulas page, to derive the payment criteria for the payment source.

Here's the sample formula to derive the employee department names from HR:

XX_Employee_Department 
Default for PER_ASG_ORG_DEPARTMENT_NAME is ' '
l_dept_output = PER_ASG_ORG_DEPARTMENT_NAME
Return l_dept_output

Here's the sample formula to populate the payment criteria with the HR formula results:

XX_Default_Payer_Payment_Criteria 
Default for ASG_HR_ASG_ID is 0
C_PAYROLL_ASSIGNMENT_ID = -1
i = PROCESSED_PAYROLL_ASGS.first(-1)
 while PROCESSED_PAYROLL_ASGS.exists(i) loop
 (
 C_PAYROLL_ASSIGNMENT_ID = PROCESSED_PAYROLL_ASGS[i]
 log = pay_internal_log_write('****C_PAYROLL_ASSIGNMENT_ID : ' + to_char(C_PAYROLL_ASSIGNMENT_ID))
 i = PROCESSED_PAYROLL_ASGS.next(i, -1)
 )
IF ( C_PAYROLL_ASSIGNMENT_ID = -1) then
(
 i = RUN_INCLUDED_PAYROLL_ASGS.first(-1)
 while RUN_INCLUDED_PAYROLL_ASGS.exists(i) loop
SET_INPUT('HR_ASSIGNMENT_ID', ASG_HR_ASG_ID)
EXECUTE('XX_Employee_Department') /* Formula to retrieve the
Employee Department. */
 (
 C_PAYROLL_ASSIGNMENT_ID = RUN_INCLUDED_PAYROLL_ASGS[i]
 log = PAY_INTERNAL_LOG_WRITE('C_PAYROLL_ASSIGNMENT_ID:' || TO_CHAR(C_PAYROLL_ASSIGNMENT_ID))
 i = RUN_INCLUDED_PAYROLL_ASGS.next(i, -1)
 )
)
change_contexts(PAYROLL_ASSIGNMENT_ID = C_PAYROLL_ASSIGNMENT_ID)
Emp_Dept = GET_OUTPUT('l_dept_output','Null')
Return Emp_Dept

Set Up Payment Criteria for Organization Payment Method

You can set up payment sources when you create organization payment methods (OPM) for payroll processing. Use the Organization Payment Methods task.

Derive Payment Source Based on TRU

You pay your workers by electronic funds transfer (EFT) payments. To comply with tax reporting unit (TRU) regulations for out-of-TRU payments, payment rules are created based on TRU to pay from two different banks. This table helps you understand your key decisions for this scenario:

Decisions to Consider In This Example
How many OPMs do you need? One.
How many payment sources do you need? Three.

One default payment source for the TRU1, one source for payments in TRU2, and one source for payments in TRU3.

How many bank accounts do you need? Three.

One for each payment source.

What payment method rules do you need?

Rules for bank accounts used as payment sources based on each TRU.