How to get selection in sub-tab

26 views
Skip to first unread message

Lukas Heidbreder

unread,
Sep 4, 2025, 9:52:07 AM (2 days ago) Sep 4
to iDempiere
Hi, everyone. I have this technical question I just can't manage to figure out:
If I start a process from a record toolbar (e.g. from the toolbar in the Sales Order tab), is there a way to query all selected records in a sub-tab (e.g. the Order Line tab)? If there is, how so?

Thank you kindly in advance.

Solutions Ocean.

unread,
Sep 5, 2025, 4:21:37 AM (yesterday) Sep 5
to idem...@googlegroups.com
Its super easy.

User record_id value to query c_orderline table for example.
select * from c_orderline where c_order_id= (put your record id here)

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/idempiere/3d003c32-df56-4067-b967-0444872c66abn%40googlegroups.com.

Nicolas Micoud

unread,
Sep 5, 2025, 4:43:38 AM (yesterday) Sep 5
to iDempiere
Not so easy, Lukas wants "selected" records, not all records.

You can have a look at this process : PeriodStatus

But not really if it works with main or sub tab :-/

As a workaround, you can also have a look at this plugin : https://wiki.idempiere.org/en/Plugin:_PeriodOpenClose

Regards,

Nicolas

Jesús Castillo

unread,
Sep 5, 2025, 6:50:17 PM (17 hours ago) Sep 5
to idem...@googlegroups.com

Hi,

SvrProcess has the method getRecord_IDs() or getRecord_UUs(), you can used for get selected rows
 
Atte: Jesus Castillo.


Reply all
Reply to author
Forward
0 new messages