I am stuck while doing an automation in UiPath. Can someone help me?

I am trying to automate one process in ERP and I have mixed up the loops and variables to declare.
I have added the process doc and uipath link.
Please help me.

https://drive.google.com/file/d/14xHXt37avBU0l-kdBQzUMbHv4ilxRrEu/view?usp=sharing