Hello Every One,
We are getting data from a temporary table,
Those data like customer_no, order_type will be used to create a customer order header then lines

We are having two issues:
First, the flag that determines that the line has been treated is not updating.
In case of multiple line on entry, the second customer order is not creating.




The Flag is not updating

Am I calling the Objkey in a wrong way?

Second issue we are having is when having multiple data

First header is created but when looping the second value :

Any idea please?
Your help would be apretiated.