Create an User-Defined Extract Definition
This topic demonstrates how you can create an extract definition to extract and report employee balances.
Use the Extract Definitions task in the Data Exchange area to create your own extract definition to generate balance reports as per your business requirements.
Before You Begin
- Balance Group
- Balance Group Usage
Follow the steps given in the previous section to create these two objects.
Summary of Requisite Tasks
- Create an Extract Definition
- Create Extract Data Groups and Records
- Create Attributes
- Define the Delivery Options
- Submit the Extract
Create the Extract Definition
Use the Extract Definitions task in the Data Exchange area under My Clients Group to create your own extract definition to extract and report employee payroll balances.
- Create one extract definition because you are creating only one report.
- Search for and select a User Entity that has context to a Payroll Rel Action ID so that you can extract the balance results for the employee. If the value of Valid for Root Data Group is Yes, the user entity can be used as a root data group.
- Navigate to the Data Exchange area under My Clients Group and select the Extract Definitions task.
- On the Extract Definitions page, click Add > Create New to open the Create Extract Definition page.
- Select Other Payroll Archive and enter the information given in this
table to create the Extract Definition.
-
Field Description Name Employee Balances Report The application uses this name to generate the XML output file.
Start Date Enter an appropriate date. Consumer Select Report since the extract is used for reporting. Additional Details This field is left blank for reports. Legislative Data Group Select an appropriate LDG. Select the same LDG you have used to create the Balance Group and the Balance Group Usage. Note: For extracts based on Other Payroll Archive, the LDG is a required field.
-
- Click OK.
Create Extract Data Groups and Records
- Work Relationships
- Pay Relationship Actions
- Balances
- Run Results
- Assignment
When you create the Data Groups, the formulas are auto-generated every time you validate or compile the extract. The generated formula is specific to the user and the extract being validated or submitted. Hence leave the Formula field blank, it gets populated with the details of the auto-generated formula after you have submitted the extract definition.
For detailed step-by-step instructions on how to create the data groups, refer to 'Create Extract Data Groups and Records for Payroll Balance Reporting' within this playbook.
Create Attributes
- Add a RUN dimension in the Balance Group Usage to make sure that the RUN attribute works. It can be any RUN dimension. For example, Assignment Tax Unit Run in the Balance Group Usage that we have created for this use case.
- Add the attributes (data elements) in the Balances record as procedure elements.
- When you create the attributes, enter 61 in the Output Column field for the first attribute. The value of the Output Column field of the subsequent attributes increases by 1. The Output Column values shouldn’t be duplicated.
For detailed step-by-step instructions on how to create the attributes, refer to 'Balance Dimensions and Attribute Contexts for an Extract Record' within this playbook.
Define the Delivery Options
- Select the Deliver icon and then select Add to add a row for the delivery option you're about to create.
- Enter these details:
- A value in the Delivery Option Name field. For example, Employee Balances Report in Excel.
- A value in the Delivery Type field.
- Click OK and enter this information.
Field Value Output Type Select a value, for example, Excel. Report Enter the location of the report output. Template Name Enter the name of the report template for this output type. Output Name Enter Name of the report output, for example, Employee Balances Report. Required Select this check box if this delivery option is a required option. - Ensure you enter the additional information such as, the server, username, and password for the FTP delivery type.
- View the extract definition details and ensure the structure is valid in the Validate page by selecting the Validate button. Check the validation messages at the top of the page to refine your extract definition.
- Select Export XML Schema to download the XML Schema Definition (.XSD) file for this extract setup. This exported file contains the structure of the extract definition: the data groups, records, and attributes.
- Click Save. When you save the extract definition, the application generates a flow with the same name as your extract definition.
Submit an Extract
- Submit Extracts task from the Data Exchange area. Use the View Extract Results task to view the results of the extract run.
- Submit a Flow task under Payroll. Search for the flow with the same name as your extract definition and enter the requisite data and submit the flow. Use the process results pages to view the run results.
Monitor the flow status on the Checklists page. After completion of the flow, ckick on the flow name to view the run results on the the process results page.