I’m trying to apply a disocunt on a customer order using workflow and i’m having trouble implementing this.
I have identify the API to call
I need first to creat the objkey then populate it the update the parent.

Creating the Objkey :

Creation : OK
I populate the object :

In the trace file, IFS didn’t use DiscountNo :

When executing without it, ifs ask to add it to the nested entity which i did.

When executing i get the following error :

I do understand that i can’t add two discounts one as an ammount and the other as a percentage, but there is no discount in percentage in my call. i don’t get it.
to replicate via aurena :


Thank’s in advance for any help