Callout rules variables

24 views
Skip to first unread message

jen...@gmail.com

unread,
Jan 20, 2026, 12:34:50 PMJan 20
to iDempiere
Hello,

i need to write a callback rule (preferibly in JSR format).

When i modify a numeric field (let's say "cost_ha" in "u_costs" table), the callout should  fill another field (let's say land_cost) with the value "cost_ha" * "land_surface". "land surface" is a field in a different table (let's say "u_main") in a different tab of the same window.

I can access cost_ha with A_Value.getValue().

How can i get the value of land_surface?

Let's say that the tab containing u_main is the main tab (number 0, sequence 10), while the tab contiaining u_costs is a linked tab ( number 0, seq 20). 

How could i access a differrent tab ?

Thanks




zuhri utama

unread,
Jan 20, 2026, 11:32:48 PM (14 days ago) Jan 20
to iDempiere
Hi

you can do DB.getValue() by query to other table that you need to get.

Reply all
Reply to author
Forward
0 new messages