Hi,
I am having issue mapping inventorylocation for every line items (It only maps the first one while leaving the rest blank) using the following handlebars:
{{#if source_name}}{{#compare source_name "==" "pos"}}22{{else}}13{{/compare}}{{/if}}
{
"source_name": "pos",
"line_items": [ ...items ]
}
Solution provided by support team:
The updated handlebar expression for the field "items : Inventory Location (Internalid) :
{{#if line_items[*].id}}{{#compare source_name "==" "pos"}}22{{else}}13{{/compare}}{{/if}}