FR: 2460263 Java POS - minimize BPartner Line and anything to be neater
creating extra BPartner column in QueryTicket Register Later will pass the Bpartner Name instead of ID.
This commit is contained in:
parent
7ab8e7829c
commit
f14a49b154
|
@ -97,7 +97,8 @@ public class QueryTicket extends PosSubPanel
|
|||
new ColumnInfo(" ", "C_Order_ID", IDColumn.class),
|
||||
new ColumnInfo(Msg.translate(Env.getCtx(), "DocumentNo"), "DocumentNo", String.class),
|
||||
new ColumnInfo(Msg.translate(Env.getCtx(), "TotalLines"), "TotalLines", BigDecimal.class),
|
||||
new ColumnInfo(Msg.translate(Env.getCtx(), "GrandTotal"), "GrandTotal", BigDecimal.class)
|
||||
new ColumnInfo(Msg.translate(Env.getCtx(), "GrandTotal"), "GrandTotal", BigDecimal.class),
|
||||
new ColumnInfo(Msg.translate(Env.getCtx(), "C_BPartner_ID"), "C_BPartner_ID", int.class)
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -287,7 +288,7 @@ public class QueryTicket extends PosSubPanel
|
|||
String sql = "";
|
||||
try
|
||||
{
|
||||
sql = "SELECT o.C_Order_ID, o.DocumentNo, o.TotalLines, o.GrandTotal FROM C_Order o WHERE o.C_DocTypeTarget_ID = " + p_pos.getC_DocType_ID();
|
||||
sql = "SELECT o.C_Order_ID, o.DocumentNo, o.TotalLines, o.GrandTotal, o.C_BPartner_ID FROM C_Order o WHERE o.C_DocTypeTarget_ID = " + p_pos.getC_DocType_ID();
|
||||
if (id != null && !id.equalsIgnoreCase(""))
|
||||
sql += " AND o.C_Order_ID = " + id;
|
||||
if (doc != null && !doc.equalsIgnoreCase(""))
|
||||
|
|
Loading…
Reference in New Issue