Print the selected records from Window using Jasper Report

93 views
Skip to first unread message

Syed

unread,
Feb 20, 2018, 9:22:41 AM2/20/18
to iDempiere
Dear Community,

Is itpossible to print the selected records from Window using Jasper Report?

Kind regards,
Syed.

iumou...@gmail.com

unread,
Feb 20, 2018, 9:43:47 AM2/20/18
to iDempiere
hi Syed,

Yeah you can print selected records from window using Jasper report.

regards
steve

Vào 21:22:41 UTC+7 Thứ Ba, ngày 20 tháng 2 năm 2018, Syed đã viết:

Syed Vaisul Karne M

unread,
Feb 20, 2018, 10:31:12 AM2/20/18
to idem...@googlegroups.com
Hi Steve,

I just tried to use T_Selection table to get the selected record IDs based on the AD_PInstance_ID, but no records are populated.

Can you guide me to the right direction in this regard?

Thanks,


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/9833f858-946e-40e7-9367-bebf795997c8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

iumou...@gmail.com

unread,
Feb 20, 2018, 11:42:52 AM2/20/18
to iDempiere
I solved it by 
1. created a class A for printing in my plugin   
2. i add a new field in AD Column and this will store name of class A.
3. in the field of windows i want print i add a button for fire action press.
4. in Abstractwindow i pass selections parameter to invoke class A printing.
it maybe not formal when affect the core in abstractwindow but it can solve

rgds   

Vào 22:31:12 UTC+7 Thứ Ba, ngày 20 tháng 2 năm 2018, Syed đã viết:
Hi Steve,

I just tried to use T_Selection table to get the selected record IDs based on the AD_PInstance_ID, but no records are populated.

Can you guide me to the right direction in this regard?

Thanks,

On Feb 20, 2018 10:43 PM, <iumou...@gmail.com> wrote:
hi Syed,

Yeah you can print selected records from window using Jasper report.

regards
steve

Vào 21:22:41 UTC+7 Thứ Ba, ngày 20 tháng 2 năm 2018, Syed đã viết:
Dear Community,

Is itpossible to print the selected records from Window using Jasper Report?

Kind regards,
Syed.

--
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.

Syed

unread,
Feb 23, 2018, 1:41:16 AM2/23/18
to iDempiere
Hi Steve,
Your answer is really helpful. I will let you know once I have completed this task.

Thanks,

Regards,
Syed.

Dwi Rahman Ismail

unread,
Feb 23, 2018, 3:59:31 AM2/23/18
to iDempiere
Hi Syed,

I don't know if this was useful but here is query for my report use jasper report and get the record from the window you selected.

Regards
query.txt

Syed

unread,
Feb 23, 2018, 9:33:16 AM2/23/18
to iDempiere
Hi Dwi,

Your query is suitable for single invoice print..but not suitable for multi invoice print.
From Window,  iDempiere is not able to pass the selected Record IDs to the Report & Process.

Regards,
Syed.
Reply all
Reply to author
Forward
0 new messages