Stank1964
Well Known Member
I have an Orchestration that targets Sales Entry, surprise... The issue is that the input includes a shipping charge which happens to be sent on the request outside of the line item(s) (which is an array).
So, since JDE charges shipping costs as order lines items, I want to add the shipping charge to the input line item(s) array. That sounds good, right?
Well, in order to do that I have to use groovy and unfortunately as of this date and time, I cannot get groovy to update an ORCH input or an ORCH variable. If anyone know how to do this, please share it, it would be incredibly useful to us.
Anyway, I created some groovy groovy that reads the input, loops thru the array and adds an element for the shipping. Unfortunately, when I try to use this new array as input to the forms request, I cannot map the individual columns of the newly created 2 dimensional line item array. I only see the groovy outputted array, not columns. Annoying.
Any ideas?
Thanks!
So, since JDE charges shipping costs as order lines items, I want to add the shipping charge to the input line item(s) array. That sounds good, right?
Well, in order to do that I have to use groovy and unfortunately as of this date and time, I cannot get groovy to update an ORCH input or an ORCH variable. If anyone know how to do this, please share it, it would be incredibly useful to us.
Anyway, I created some groovy groovy that reads the input, loops thru the array and adds an element for the shipping. Unfortunately, when I try to use this new array as input to the forms request, I cannot map the individual columns of the newly created 2 dimensional line item array. I only see the groovy outputted array, not columns. Annoying.
Any ideas?
Thanks!