Hello all,
I have a page detail that contains item transfer information.
Every item has 2 types of units (uom), big unit and small unit. Every unit has its own conversion to each other.
So, every time the user enters the "ship quantity", I want the system to calculate the big unit and the small unit, and then update it to the UI.
The "ship quantity" uses either the big unit or the small unit.
![](https://d3a7ykdi65m4cy.cloudfront.net/com-en/s3fs-public/inline-images/WhatsApp%20Image%202023-10-30%20at%2009.53.21.jpeg)
Currently I use a business process to calculate the big and small quantity.
So, every time the user enters the "ship quantity", a request will be sent to call the business process. All of this is done in the detail page.
Then, once the business process has done the calculation, it sends the message to the UI, which will be captured by the UI script and shows it to the screen.
The problem is after the "Ship quantity" of the first row is entered, the user clicks on the second row, the first row's big and small quantities are not updated.
Below is the snippet of my code that updating the row.
![](https://d3a7ykdi65m4cy.cloudfront.net/com-en/s3fs-public/inline-images/Untitled_30.png)
body is the return from the business process that the system called earlier.
How to solve this problem?
I wish Creatio has "row lost focus" event that might can help to solve this problem.
Any ideas will be appreciated.
Thanks,
David.