Hello !
Problem : inside my ReportEngine - View I have(need) TWO C_Order_IDs,
PurchaseOrder : li_order_id
SalesOrder: c_order_id
.
Therefore, inside DataEngine.java,
in case ColumnName equals "liorder_id" I go :
eSql ="SELECT NVL(C_Order.DocumentNo,'-1') ||'_'|| NVL(C_Order.POReference,'-1') FROM C_Order WHERE ueit_termine.liorder_id=C_Order.C_Order_ID";
ColumnName = "C_Order_ID";
which, with respect to "Order Fields" either yields
Sales Order : 406999 ( which is the correct Sales Order Documentno)
Purchase Order: 406999
OR
Sales Order : 202222
Purchase Order: 202222 (which is the correct Sales Order Documentno).
Dear Carlos, since this block begins with
/* (IsParent && DisplayType.isLookup(AD_Reference_ID)) || <-- IDEMPIERE-71 Carlos Ruiz - globalqss */ , I like to ask you directly here !
Question 1:
Do you have an idea, on how to really separate those 2 colums
(that is customizing class
org.adempiere.base/src/org/compiere/print/DataEngine.java
a bit more) ?
Question 2:
Maybe theres an easy way to push TWO C_Order_ID, C_Orderline_ID ....
inside a single ReportEngine View ?
I hope for your patience with this my ugly problem,
and wish you all good health !
Best Regards
Florian