import data ignored
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2018 02:06 AM
Hi All,
We have import data in to our database, there are few records were ignored with this message " Invalid map target u_active does not exist in table ( xxx-table) " . plz help
Thanks,
sujitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2018 04:42 AM
Hi,
Why are you using a script here? You are trying to map User table emp_ID with your Templates' Prsn_no and then setting active as true, is my understanding right?
Also, I can see 2 fields in your excel as Prsn_no & emp_Id, these are 2 seperate entities which should be mapped seperately in user table.
- Vishrut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2018 04:54 AM
yes, correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2018 05:07 AM
Hi,
So just map them seperately in Transform Map. Map your Prsn_no with Target tables employee_number OR vice-versa. Why script is there, I still don't get that.
Is there any special requirement you are trying to achieve?
-Vishrut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2018 05:47 AM
Hi sujithap,
The script given by you is for wrong field it is for Business Unit(Target Field) and your code should be in Active(Target Field)
Moreover , I feel that somewhere in code you have done something wrong
Q1) if you are comparing pers with employee_number in addQuery then what is the use of empid that you are obtaining from excel.
Please, confirm and revert back .