Create Cost KFF Extract Definition

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 12

Contents

Define an Extract: Worked Example.........................................................................................2

Generate User Entity for Costing KFF structure....................................................................2

Creating an Extract Definition...............................................................................................4

Creating Data Groups......................................................................................................6

Create Data Group Links.................................................................................................7

Create Data Group Criteria.............................................................................................8

Creating Extract Records................................................................................................8

Creating Data Elements................................................................................................11


Define an Extract: Worked Example

This example demonstrates the steps required to create an extract definition.


Before you create an extract definition, you need to generate the User Entity
for the Costing Key Flexfield (KFF) that is defined for your Legislative Data
Group.

This examples considers below 2 User Entities for demonstration purpose:

1) PAY_PAYROLL_ASSIGNMENTS_UE
2) COST_PROG_COST_ALLOC_UE (User Entity Generated by Generate
Database Items process)

Generate User Entity for Costing KFF structure


Assuming the Costing KFF Structure as below for this demonstration:

1) Login Fusion Application and navigate to Payroll -> Checklists work area. Click
on Submit a Process or Report and Select “Generate Database Items” process and
click on Next
2) Enter a flow name. Select “Cost Allocation Flexfield” in Name field and the Flex
Structure Name in Context field. Here in this example, it is “Progress Cost
Allocation”

3) Click on Next in the further screens and submit the flow. Once the flow is
completed successfully, it generates a User Entity for the selected Costing Flexfield
structure. The name would be something like ‘COST_<STRUCTURE_CODE>_UE’.
Creating an Extract Definition

Navigate to Workforce Management -> Data Exchange work area.

1. On the Manage HCM Extract Definitions page click on the Create icon to
create a new extract.

2. Enter 01-Jan-2000 as the Session Effective Date.

The session effective date is an effective start date that applies to all date-
effective interactions in the current session.
3. Enter cost result report as the name and select Payroll Interface as the type.
The application automatically creates the tag name based on the extract name
and uses this name to generate the XML output file.

4. Click Save and the application save the extract definition and automatically
generates the parameters based on the type of extract. The parameters control
the output of an extract. In this example, the application creates the following
parameters:
o Effective Date

o Legislative Data Group

o Parameter Group

o Report Category

o Request ID

o Start Date
Creating Data Groups
1. Select the Data Group link from the navigation tree to open the Data Groups
region.

2. Click on Create to define a new group. A group represents data that belongs to
one or more logical data entities.
3. Complete the general fields, as shown in this table:

Field Name Entry

Name XX PAY ASSIGNMENT DATA GROUP

User Entity PAY_PAYROLL_ASSIGNMENT_UE

Root Block Yes


4. Create another data group using the Flexfield Structure User Entity that is
created using Generate Database Items process.

Field Name Entry

Name XX PAY ASSIGNMENT KFF DATA GROUP

User Entity COST_PROG_COST_ALLOC_UE

Root Block No

Create Data Group Links

Once all data groups are created – then click on ‘Extract Data Group’ folder in the
navigation tree to view Extract Data Groups. Select child data group record in
‘Extract Data Groups’ table and define Data Group Link details.

Field Entry
Name

Child Data XX PAY ASSIGNMENT KFF DATA GROUP


Group
Name

Parent Data XX PAY ASSIGNMENT DATA GROUP


Group

Parent Data Payroll Assignment ID


Group
Database
Item

Database COST_PROG_COST_ALLOC_AAASOURCEI
Item D

Create Data Group Criteria


Once data group connection(s) is defined, select each data group available under the
Extract Data Group folder and define the criteria and records for each data group.
Using the Extract Data Group Criteria, you can specify the filter conditions of what
data you want to extract.

Here in this example, we will restrict the Assignment Level Costing Data be selecting
the source type as “ASG” for XX PAY ASSIGNMENT KFF DATA GROUP
Creating Extract Records
1. Select the XX PAY ASSIGNMENT DATA GROUP from the navigation tree
and select the Create icon in the Extract Records region. Extract records
represent a physical collection of all required fields. You can also select the
Next Block to identify which block the application processes next.

2. In our case each block has one record.


3. Complete the general fields, as shown in this table:
Field Entry

Name XX ASSIGNMENT
COSTING RECORD

Effective 1/1/2000
Start Date

Sequence 10

Type Detail Record

Process Fast Formula


Type

Next Block XX PAY ASSIGNMENT


KFF DATA GROUP

4. Similarly, create a record for XX PAY ASSIGNMENT KFF DATA GROUP

Field Entry

Name XX ASSIGNMENT
COSTING KFF
RECORD

Effective 1/1/2000
Start Date

Sequence 20
Type Detail Record

Process Fast Formula


Type

Next Block

Creating Data Elements


1. Select the XX PAY ASSIGNMENT DATA GROUP from the navigation tree
and select the XX Assignment Costing Record.

An extract data element is an individual field of a record.

2. Create extract data element for the XX Assignment Costing Record as


example.
3. Complete the general fields, as shown in this table:

Field Name Data Element Entry

Name Payroll Assignment ID

Type Database item group

Database Item Group Payroll Assignment ID


Once all the attributes (fields) of record are defined, then you can generate and
compile the Fast formula which contains the code for extracting this record data

Similarly, create data elements XX Assignment Costing Record in XX PAY


ASSIGNMENT KFF DATA GROUP

You may create additional data elements as per your requirement.

Once all the attributes (fields) of record are defined, then you can generate and
compile the Fast formula which contains the code for extracting this record data.

You might also like