Skip to Content
0
Jul 06, 2023 at 10:15 AM

Android OpenUI calling agentry action in a loop

214 Views Last edit Jul 10, 2023 at 05:51 AM 4 rev

Hello experts,

I have a requirement to enter multiple batches for each line Item in ZBatch collection under material document item object, to achieve this requirement i am trying the integration of OpenUI with Agentry.

In Agentry screen i have created a push button. On click of this button it will trigger the open UI Screen in which I am sending some agentry fields value to OpenUI (Material, Material Document, Material Description, ZAcceptedQty, ZAddBatch) and user will be able to enter the value of batch which includes Quantity, Sled, Mfd, Batch fields where entered value should come back to agentry in loop from OpenUI to ZBatch object which is collection under MaterialDocumentItem object e.g-

Batch1, Quantity-2, Sled-02/05/2023, Mfd- 10/02/2022

Batch2, Quantity-3, Sled-10/07/2023, Mfd- 05/02/2022

I have created an action under the push button which refers to the external value where it should get value, which is coming from OpenUI to agentry, but I am not able to call the Action in android code in a loop. Property under add transaction is map to fields external value sent by OpenUI. To resolve this issue could you please help me to call the action in a loop in android code?

for your reference attaching the screenshots

Thanks and regards,

Rupesh Kumar Pandit

Attachments

image1.jpg (150.0 kB)
image2.jpg (148.5 kB)
image3.jpg (86.0 kB)
image4.png (125.5 kB)