OM Extension - Groovy script advice re concat or string
Summary:
Is it possible to get two attributes and then concat or string them into one setAttribute?
Content (please ensure you mask any confidential information):
For example i currently have the following bit of code where by i am moving ProductDescription into the attribute 'zitem':
def TestContext = header.getOrCreateContextRow("Sales Order Additional Fields");
TestContext.setAttribute("zitem",line.getAttribute("ProductDescription"));}
So if Productdescription = 'widget' then zitem = 'widget'.
Is it possible to move both ProductNumber and ProductDescription into the attribute 'zitem' like a concat or string?
Eg if ProductNumber = 'ABC123' and ProductDescription = 'widget', then zitem = 'ABC123 Widget'.
Version (include the version you are using, if applicable):