Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3570

Re: PI / HCI message mapping issue

$
0
0

Hello Praveen,

 

I tried your suggestion, and can confirm this works

 

This is the job_information mapping

SC_6.jpg

SC_3.jpg

 

Can you elaborate a bit on how this exactly works? The way formatByExample is used here isn't very clear to me when viewing the online help or some examples.

 

I would like to enhance the mapping further :

 

let's say we have the job_information mapping from above. Only one record is returned as the current date fals in between the start and end_date of the job_information node.

 

In the Employment_Information node, I created a similar mapping with start and end_dates.

 

Person ID 714 has two valid employment_information records.

 

  • The first employment_information record has no valid job_information records, as emplStatus is not equal to 'A' (what we filtered for together with the dates in set job_information). The employee is dispatched from BEL_1 to location NLD_1.
  • The second employment_information records has a valid job_information record : emplStatus is 'A'.

 

-> We wish to only return the employment_information record that has a job_information record with emplStatus : A. So how do I best combine the emplStatus value from the job_information node into the employment_information mapping? (Context change required etc ... ?). We can test if the job_information records exists or test for the actual value (if present)? Interesting for me would be to see the recommended way of combining the value from a subnode (job_information : where there is already a mapping with conditions made) into the main node (employment_information).

 

record 1 :

employment_information

     start_date : 2015-01-01

     job_information :

          emplStatus : D

          end_date : 9999-12-31

          start_date : 2015-01-01

          company : TE_EUR

          location : BEL_1

 

record 2 :

employment_information

     start_date : 2016-02-22

     job_information :

          emplStatus : A

          end_date : 9999-12-31

          start_date : 2016-02-22

          company : TE_EUR_NLD

          location : NLD_1

SC_5.jpg

 

Thanks both of you for the help,

 

Kevin


Viewing all articles
Browse latest Browse all 3570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>