IDEMPIERE-2874 Available to promise Tab - Date column doesn't consider order line promise date
This commit is contained in:
parent
27d4865ff1
commit
212feb8c5e
|
@ -722,7 +722,7 @@ public class InfoProductWindow extends InfoWindow {
|
|||
}
|
||||
|
||||
// Orders
|
||||
sql = "SELECT o.DatePromised, ol.QtyReserved,"
|
||||
sql = "SELECT COALESCE(ol.DatePromised, o.DatePromised) AS DatePromised, ol.QtyReserved,"
|
||||
+ " productAttribute(ol.M_AttributeSetInstance_ID), ol.M_AttributeSetInstance_ID,"
|
||||
+ " dt.DocBaseType, bp.Name,"
|
||||
+ " dt.PrintName || ' ' || o.DocumentNo As DocumentNo, w.Name "
|
||||
|
|
Loading…
Reference in New Issue