IDEMPIERE-3145:Material Receipt: Create Lines From -> NPE
This commit is contained in:
parent
666fbe011e
commit
248d0fd91d
|
@ -299,7 +299,8 @@ public class WCreateFromShipmentUI extends CreateFromShipment implements EventLi
|
||||||
//sameWarehouseCb
|
//sameWarehouseCb
|
||||||
else if (e.getTarget().equals(sameWarehouseCb))
|
else if (e.getTarget().equals(sameWarehouseCb))
|
||||||
{
|
{
|
||||||
initBPOrderDetails(((Integer)bPartnerField.getValue()).intValue(), false);
|
int bpId = bPartnerField.getValue() == null?0:((Integer)bPartnerField.getValue()).intValue();
|
||||||
|
initBPOrderDetails(bpId, false);
|
||||||
}
|
}
|
||||||
else if (e.getTarget().equals(upcField.getComponent()))
|
else if (e.getTarget().equals(upcField.getComponent()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue