IDEMPIERE-2191:Product info >>Available to promise >>Show detail NPE
This commit is contained in:
parent
d6e96b3f05
commit
27a945963f
|
@ -290,7 +290,8 @@ public class InfoProductWindow extends InfoWindow {
|
|||
public void onEvent(Event event) throws Exception {
|
||||
if (contentPanel.getLayout() != null) {
|
||||
int M_Warehouse_ID = getSelectedWarehouseId();
|
||||
int m_M_Product_ID = getSelectedRowKey();
|
||||
Integer m_M_Product_ID = getSelectedRowKey();
|
||||
if (m_M_Product_ID != null)
|
||||
initAtpTab(M_Warehouse_ID, m_M_Product_ID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue