BOM Drop is still working with manufacturing?

191 views
Skip to first unread message

Hiep Lq

unread,
Dec 5, 2013, 3:43:35 AM12/5/13
to idem...@googlegroups.com

have any body use BOMDrop success?
I only test with simple case (use "In alternative Group 1" for make radio option of component) but i encounter error.
"org.zkoss.zk.ui.AbstractComponent$Children cannot be cast to java.util.Enumeration"
Because I think it is not use and maintain

Carlos Antonio Ruiz Gomez

unread,
Dec 5, 2013, 7:53:22 PM12/5/13
to idem...@googlegroups.com
Hi Hiep, can you please describe test case or configure it on demo?
--

Hiep Lq

unread,
Dec 5, 2013, 11:06:38 PM12/5/13
to idem...@googlegroups.com

Hi Carlos.
I make test data in demo.

1. create product "drop bom_test drop bom" with isBom = true
2. make three bom product with same "BOM type" = "In alternative Group 1"
                   + Patio Sun Screen
                   + Patio Table
                   + Patio Chair
3. verify bom
4. in "drop bom" window. select product "drop bom"
5. "Patio Sun Screen" and "Patio Table" display is radio button with "Patio Table" is selected.
when i click to "Patio Sun Screen" a error message display 

"org.zkoss.zk.ui.AbstractComponent$Children cannot be cast to java.util.Enumeration"

Carlos Antonio Ruiz Gomez

unread,
Dec 6, 2013, 10:41:11 AM12/6/13
to idem...@googlegroups.com
Hiep, error reproduced, please open a JIRA bug.

I think there can be a design problem on the BOM Drop window.
You defined patio chair as an alternative, but instead of showing it as a product to choose in the alternative, is showing the components of the pchair.

WDYT?

Regards,

Carlos Ruiz

hie...@hasuvimex.vn

unread,
Dec 6, 2013, 10:52:58 AM12/6/13
to idem...@googlegroups.com

Yes. It's other error.
Message  org.zkoss.zk.ui.AbstractComponent$Children cannot be cast to java.util.Enumeration" is first error?

Bom drop is not complete function? 

Sent from my BlackBerry 10 smartphone.
From: Carlos Antonio Ruiz Gomez
Sent: Friday, December 6, 2013 22:41
Subject: Re: [idempiere] BOM Drop is still working with manufacturing?

--
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/52A1F017.1010309%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hiep Lq

unread,
Dec 26, 2013, 4:22:07 AM12/26/13
to idem...@googlegroups.com

Hi Carlos.
Is it difficult to change code to complete this function?
Can you describe step by step to run this function? I will check and finish this function.

To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.

Carlos Antonio Ruiz Gomez

unread,
Dec 27, 2013, 1:19:19 PM12/27/13
to idem...@googlegroups.com
IDEMPIERE-1613 BOM drop window show error message when click to radio button

From my debug session I think the implementation of radiogroup is wrong (maybe it was working for previous zk).

The lines 516 and 521 execute:
group.appendChild(b);
But what I noticed is that every call to group.getChildren() returns a different object, so, when arriving to line 576 group.getChildren() is returning an empty list.

I need to go out - but just in case you want to continue where I was left, I was trying to change lines 516 and 521 to:
b.setRadiogroup(group);

And then I was trying to figure out how to change the logic on onEvent (line 570...593)

Regards,

Carlos Ruiz
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.

Hiep Lq

unread,
Jan 1, 2014, 8:25:09 AM1/1/14
to idem...@googlegroups.com

Hi Carlos, 
I make GUI of BOM drop working, but I want confirm some logic.

1. Patio Chair is show and component of it is also show? (as image capture)
2. When select component of "Patio Chair", example "Back Support", 
a new order line (invoice,..) also create for "Back Support"?

3. what is purpose of this window? by reader code, I see window, make order line from product selected.
what is relate of action to BOM?
Screenshot from 2014-01-01 20:08:30.png

redhuan d. oon

unread,
Feb 24, 2014, 11:27:13 PM2/24/14
to idem...@googlegroups.com
Hiep,
I think BOM Configurator is under Libero plugin and not in iDempiere core. If you can test the plugin submitted here http://wiki.idempiere.org/en/Plugin:_Libero_Manufacturing then i can help you to derive just a minimal plugin for that function. We can call it BOMConfigurator plugin.

Carlos Antonio Ruiz Gomez

unread,
Feb 25, 2014, 8:40:45 AM2/25/14
to idem...@googlegroups.com
Hi Redhuan, I think Hiep is refering to
http://wiki.idempiere.org/en/BOM_Drop_(Form_ID-114)

Regards,

Carlos Ruiz
Reply all
Reply to author
Forward
0 new messages