Configure Dynamic File Names for ADP Global View
The name of the output file generated dynamically corresponds to this format:
ORC_Pxxzzz_YYYYMMDDHHMMSS_USOGPI_HRMD01_DUT8G2I.XML
Configure lookup types, value sets, and fast formula to generate ADP Global Payroll Interface files with this file name.
Lookup Type
Configure a new lookup type to hold implementation-specific values for few components in the dynamic file name. For example, the Client Number might vary between different customers. Create a lookup type to use it in a file name.
Here's how you can create a lookup type:
-
On the Home page, click the Lookups quick action under the My Client Groups tab.
-
On the Manage Common Lookups page, click New.
-
Enter these values:
Parameter
Value
Lookup Type
ADP_GPY_OUT_FILE NAME_COMP
Meaning
File name component values
Description
Holds values for components in the ADP Global Payroll Interface output file name.
Module
Oracle Fusion Middleware Extensions for Applications
-
In the Lookup Codes section, click New.
-
Enter these values:
Parameter
Value 1
Value 2
Lookup Code
ADP_GPY_SYSTEM_NUMBER
ADP_SAP_CLIENT_NUMBER
Enabled
Yes
Yes
Meaning
Actual value
Actual value
Description
ADP Global View System Number
ADP Global View Client Number
-
Click Save.
Value Sets
Use value sets to extract various values required to form the dynamic output file name.
This table shows how to define new value sets:
To Derive |
FROM Clause |
ID Column Name |
WHERE Clause |
---|---|---|---|
Legislation Code |
PER_LEGISLATIVE_DATA_GROUPS_VL |
LEGISLATION_CODE |
|
File Name Component |
HCM_LOOKUPS |
MEANING |
|
Date and Time |
dual |
|
NA |
Random number to serve as a sequence number when generating multiple files on the same day |
dual |
|
NA |
If you create the value sets with same name and codes as mentioned in this table, you can use the sample formula mentioned in Fast Formula section as is. However, update the fast formula appropriately if you create different names and codes.
Fast Formula
A fast formula combines the various file name components in the correct sequence and returns the final file name.
This table shows how to create fast formula of type Extract Rule:
Don't specify the LDG while creating the fast formula, so that the formula is available across LDGs.
Formula Parameter |
Value |
---|---|
Formula name |
ADP_GPY_OUT_FILENAME_FORMULA |
Description |
Formula to consolidate various file name components and return the final output file name dynamically. |
Formula text |
|
Ensure that the formula returns the value through variable RULE_VALUE.
Save and compile this formula.
Configurations on Extract Definition
An additional attribute called ADP Global Payroll File Name has been delivered to address dynamic file name requirements. You can map additional delivery options you create with this attribute to generate files with the filename returned by the formula ADP_GPY_OUT_FILENAME_FORMULA.
The application uses the attribute in the delivery options to generate the file with the dynamic file name.
-
On the Home page, click the Extract Definitions quick action under the My Client Groups tab.
-
Search for the extract definition specifying Name as Payroll Interface for ADP Global Payroll V2.
-
Create additional delivery options corresponding to every additional delivery type you need.
-
In the Runtime File Name attribute search for ADP Global Payroll File Name and map it to the delivery option.
-
Submit the changes and ensure that the validations are successful.
If you are using Payroll Interface for ADP Global Payroll to integrate with ADP Global View:
Save the generated file name in one of the attributes in the extract. The application uses the attribute in the delivery options to generate the file with the dynamic file name.
-
On the Home page, click the Extract Definitions quick action under the My Client Groups tab.
-
Search for the extract definition specifying Name as Payroll Interface for ADP Global Payroll.
-
Create a record in the extract.
-
Add an attribute of type Rule to this record and attach the rule formula that you created earlier.
Note:The best approach is that you create the record under Root Block, like Payroll Group Data.
-
Specify Type as Rule and Rule as ADP_GPY_OUT_FILENAME_FORMULA..
-
Select the attribute created in Step 4 as the Run Time File Name for the delivery option you are creating.
-
Submit the changes and ensure that the validations are successful.
Configure a FTP Server
To configure ADP's secured FTP server for automatic file delivery, follow the instructions provided in How to set up SFTP Server for BI Publisher (Doc ID 1526505.1).
Adding Delivery Option
If you are using Payroll Interface for ADP Global Payroll V2 perform these steps to add a new delivery option,
-
Click Extract Delivery Options and add a new extract delivery option.
-
Enter these details:
-
Delivery Option Name: Any name
-
Output Type: XML
-
Report: /Human Capital Management/Payroll Interface/ADP Global Payroll Interface.xdo
-
Template Name: Override Template
-
Output Name: %de
-
Delivery Type: Select as needed
-
-
In the Additional Details section enter this detail:
-
Run Time File Name: Search for and select the attribute ADP Global Payroll File Name.
-
-
If the Delivery Type is FTP, , ensure that you have already configured the FTP server as mentioned in the Configure a FTP Server section. Add the server details in the Additional Details section as mentioned in the next steps.
-
Secure FTP: True.
-
Remote Directory: SFTP Destination Folder Name.
-
Server Name: SFTP servername as entered in BIP.
-
Run Time File Name: Search for the attribute ADP Global Payroll File Name.
-
-
Click Submit.
-
Click Extract Delivery Options and add a new extract delivery option.
-
Enter these details:
-
Delivery Option Name: Any name
-
Output Type: XML
-
Report: /Human Capital Management/Payroll Interface/ADP Global Payroll Interface.xdo
-
Template Name: Dynamic switch Override Template
-
Output Name: %de
-
Delivery Type: FTP
-
-
In Additional Details section enter this detail
Run Time File Name: Search for and select the Attribute you created in the Update Extract Structure section.
-
If Delivery Type is FTP, ensure that you have already configured the FTP server as mentioned in the Configure a FTP Server section. Add the server details in the Additional Details section as mentioned in the next steps:
-
Secure FTP: True
-
Remote Directory: SFTP Destination Folder Name
-
Server Name: SFTP server name as entered in BIP
-
Run Time File Name: Search for and select the attribute you created in the Update Extract Structure
-
Click Submit
-
-
Click Save and Close.