Detect when a user change any on a related lookup

Hi,

We are having a problem to detect when a user clicks on a lookup field, change any on the related form, save and closes the lookup data form and goes back to the original form. When this happens we need to detect the user change some data related with this lookup.

The Dependancies definition/declaration doesn't detect this, only detects when the lookup.displayValue changes, but not related data.

Somebody having some similar need and resolved it?, please help me.

Thanks in advance,

File attachments

Like

3 comments

Try to use "messages" to transfer changes from the related page to the original one.

https://academy.bpmonline.com/documents/technic-sdk/7-8/clientmessagebr…

Thanks Mark, isn't any simply way to implement this?, like an onclick event associated to clicking on the lookup or similar? we have several similar situations in another lookups. Detecting the user clicks on lookup is enougth to me, but I didn't know how detect this event.

Any idea?

thanks again

It's not easy, and it's not hard too. You need to catch all of the changes on the related page with on click events and then transfer a report about the changes to the original form using messages. Then you need to process the data on the original form and modify the data in the connected fields.

Show all comments