NetSuite map field "Give Access"
Is there a way to map a field conditionally, meaning we only want to send the "Give access" field if a certain condition is true. If the condition is not true we don't want to send "" to the field "give access" because this resets their login. We also don't want to send "true" because they may not have access (even if their status == "Employee", etc). In other words, we only want to send the the field if we need to send false.
The mapping below will set the "Give access" to false in both cases.
{{#compare Status "===" "Terminated"}}false{{else}}{{/compare}}
{{#compare Status "===" "Terminated"}}false{{else}} *** do not map field at all... :-)
0
Comments
Have you tried the options under the Advanced section of the mapping? Set that to When Source Record has a value. That should do it. Leave out the {{else}} clause.
Thanks David Gollom , that makes sense. I looked at that option but my brain wasn't properly computing. 😉
Please sign in to leave a comment.