I have a node (header) with a series of subnodes (lines). Each line contains a value for an employee (the value is the same for every line).
I need to retrieve a single value so I can add it up to the header. Clearly I cannot simply use the value as is because it will give the message “subpath field resolves to an array of nodes”.
What would be the best way to get a single value from the line array out so i can put it into the header?