Swing Client Development. Quick Entry

81 views
Skip to first unread message

efek...@gmail.com

unread,
Nov 14, 2014, 3:36:00 PM11/14/14
to idem...@googlegroups.com
Hi community,

We are making some development over the swing client, to be more exactly:
http://wiki.idempiere.org/en/NF001_QuickEntry

And we have found something we would like to ask. we have located that the column Isquickentry is on table Ad_Field, but some of our customers has more than one window from the same table, so,
as the column is located in ad_field we should touch all these windows. Why don't make this column in AD_Column?, is not better?, In that way we just have to configure one time (BPartner, for example)...

What do you think about?

Thank you for your time.


Nicolas Micoud

unread,
Nov 14, 2014, 5:01:49 PM11/14/14
to idem...@googlegroups.com
As you can have several windows per table, it's easier to put it on AD_Field. Moreover, quick entry panel allow to put fields from several tabs (egbpartner/location/contact AFAIR).

Nicolas

efek...@gmail.com

unread,
Nov 14, 2014, 5:23:45 PM11/14/14
to idem...@googlegroups.com
Thank you Nicolas for your response,

I don't think that... or maybe we can't understand anything... this column is for automatization of quick entries creation, right?
We are trying to implement this to swing client, so we went to Lookup, and we were thinking about change popupmenu when is right-clicked in a column with _ID, so i.e. Business Partner, we have 3 different windows, Which window have to check to know if has quickentry or not?, IMHO if i configure a quick entry for bpartner is because i need some special data always... it's what i think at least...

Thank you for your time

Hiep Lq

unread,
Nov 15, 2014, 1:55:23 AM11/15/14
to idem...@googlegroups.com
"so i.e. Business Partner, we have 3 different windows, Which window have to check to know if has quickentry or not?"

Each table has default window link with (default window can null)
Because you can use it.

‎For move configuration to AD_Column‎ I think ok but in some cases it's too complicated to configure .

Example.
Has two window, bp1 and bp2 with subtab is difference.

Has two window order, od1 and od2, 
At od1, will show quick input of bp1, od2 will ‎show quick input of bp2.

Bp table has column bpc1. I want it show at quick input of bp1 but not show for quick input of bp 2.

It's ever harder with subtab. When table of subtab is subtab of more other table.


Sent from my BlackBerry 10 smartphone.
Sent: Saturday, November 15, 2014 06:23
Subject: [idempiere] Re: Swing Client Development. Quick Entry

--
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 on the web visit https://groups.google.com/d/msgid/idempiere/14e9293c-db0c-4848-b13f-5ad5ec930ea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Nicolas Micoud

unread,
Nov 15, 2014, 3:38:46 AM11/15/14
to idem...@googlegroups.com
Looking at the code in WEditorPopupMenu, the window is set by int winID = lookup.getZoom();

Which seems to be the default window for the table (AD_Table.AD_Window_ID / AD_Table.PO_Window_ID).

So, it doesn't take care of the Zoom Condition.
For instance, if I duplicate the Charge window and adapt roleA so that it can only access to this duplicated window, then he won't be able to show the Quick Entry Panel because his role doesn't allow him to play with the standard window.

WDYT? 

Nicolas

Efekto Spain

unread,
Nov 15, 2014, 4:34:36 AM11/15/14
to idem...@googlegroups.com
ok... i am not sure to understand what you say... Look into the table and take the default window, right?. So in same example you wrote we have 2 windows from bpartner:

1- bp1
2- bp2

but just one table C_BPartner, who is linked to ONE window, i.e. bp1

and we have 2 windows from order

1- od1
2- od2

In lookup modification and if i am understanding you right, we should look the default window linked in table (bp1, in this case), so, how could we access to bp2 quick entry?, i don't think it's possible...

To do what you suggest, i think it's necessary to make one entire table for quickentry definition linked to the window (or tab, or field), not just a column ... it's my thought...

Thank you for your time an attention

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/HtSFDQgmD8Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/20141115065515.4628554.81683.357%40hasuvimex.vn.
Reply all
Reply to author
Forward
0 new messages