Create a processing group for positions with the DIEF
This article describes how to create a processing group to import positions with the DIEF in Dynamics AX 2012
I need to import:
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb25.png?w=620&h=366)
Note: The “Report to position” in the DIEF is created via the Relationship. That why you need to setup to fields with value Hierarchy name+Position Id
![dief003](https://vsdynamicsfinance.files.wordpress.com/2015/03/dief0031.png?w=620&h=372)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb.png?w=620&h=102)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb27.png?w=626&h=113)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb28.png?w=620&h=366)
A csv file is open and contains all the fields selected above
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb29.png?w=620&h=140)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb30.png?w=620&h=261)
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb31.png?w=280&h=334)
Remark: If the report to position refer to positions include in the same file, you will need to import twice the file:
Position
Access: Human Resources > Common > Organization > Positions > PositionsI need to import:
- Position
- Description
- Report to position
- Assignment date
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb25.png?w=620&h=366)
Note: The “Report to position” in the DIEF is created via the Relationship. That why you need to setup to fields with value Hierarchy name+Position Id
![dief003](https://vsdynamicsfinance.files.wordpress.com/2015/03/dief0031.png?w=620&h=372)
Setup the Processing group – Option CSV file
Access: Data Import Export Framework > Common > Processing group- Click “New” and enter a name and a description
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/03/image_thumb.png?w=620&h=102)
- Click “Entities”
- Select Entity = Positions
- Format = CSV
- Select the two options
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb27.png?w=626&h=113)
- Click “Generate source file”: the wizard form is open
- Click “Next”
- Select the fields below
- Position = Position Id
- Description = Description
- Report to position = HcmPositionHierechy_ParentPositionId and HcmPositionHiearchyType_Name
- Assignment date = HcmPositionDuration_ValidFrom
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb28.png?w=620&h=366)
- Click “Generate sample file”
A csv file is open and contains all the fields selected above
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb29.png?w=620&h=140)
- Click “Finish”
- Complete the file with all the positions you want to import and add the path to the processing group.
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb30.png?w=620&h=261)
- Click “Generate source mapping”
![image image](https://vsdynamicsfinance.files.wordpress.com/2015/02/image_thumb31.png?w=280&h=334)
- Click “Validate”
Remark: If the report to position refer to positions include in the same file, you will need to import twice the file:
- First round to create all positions
- Second round to assign the report to position
No comments:
Post a Comment