IDEMPIERE-2874 Available to promise Tab - Date column doesn't consider order line promise date

This commit is contained in:
tsvikruha 2015-10-02 19:06:19 -05:00
parent 27d4865ff1
commit 212feb8c5e
1 changed files with 1 additions and 1 deletions

View File

@ -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 "