Could not compile handle bar (define lookup criteria)

Comments

4 comments

  • Nuri Ensing NetSuite Integration Whiz
    Engaged
    Awesome Follow-up
    Celigo University Level 4: Legendary

    It seems you have multiple report_entry json objects. Are they all filled in correctly?
    And maybe try to use the one to many option:

     

    Then in the search filter, you can just use Employee_ID then it will execute the import per object.

    One to many is used in cases where you have a single record which internally needs to create multiple records.

    0
  • Juraj Toth

    Thanks Nuri Ensing!

    I do indeed have multiple report_entry json objects:

    I tried what you proposed:

    Could you please point me to some documentation on how to handle mapping for multipe report_entry jsons? I managed to import records into NetSuite but the mapping is apparently wrong becasue fields are empty (name, email, etc.):


     

    My output is empty:

    0
  • Nuri Ensing NetSuite Integration Whiz
    Engaged
    Awesome Follow-up
    Celigo University Level 4: Legendary

    If you use one to many, then it will do an import based on the N number of child objects.
    This means in the left side of your mapping you can use Name instead of Report_Entry[*].Name and this is the case for all the nodes which fall under Report_Entry. If you want to map properties above the child node then you can use _PARENT.propertyname.

    Hope this helps.

    0
  • Juraj Toth

    thank you so much Nuri Ensing

    0

Please sign in to leave a comment.