IDEMPIERE-2627 After selecting the Business Partner on an Invoice, the order ref. is blanked out / thanks to Neil Gordon
This commit is contained in:
parent
27588c7801
commit
5b994458ae
|
@ -234,8 +234,6 @@ public class CalloutInvoice extends CalloutEngine
|
||||||
s = rs.getString("POReference");
|
s = rs.getString("POReference");
|
||||||
if (s != null && s.length() != 0)
|
if (s != null && s.length() != 0)
|
||||||
mTab.setValue("POReference", s);
|
mTab.setValue("POReference", s);
|
||||||
else
|
|
||||||
mTab.setValue("POReference", null);
|
|
||||||
// SO Description
|
// SO Description
|
||||||
s = rs.getString("SO_Description");
|
s = rs.getString("SO_Description");
|
||||||
if (s != null && s.trim().length() != 0)
|
if (s != null && s.trim().length() != 0)
|
||||||
|
|
|
@ -373,11 +373,6 @@ public class CalloutOrder extends CalloutEngine
|
||||||
String s = rs.getString("POReference");
|
String s = rs.getString("POReference");
|
||||||
if (s != null && s.length() != 0)
|
if (s != null && s.length() != 0)
|
||||||
mTab.setValue("POReference", s);
|
mTab.setValue("POReference", s);
|
||||||
// should not be reset to null if we entered already value! VHARCQ, accepted YS makes sense that way
|
|
||||||
// TODO: should get checked and removed if no longer needed!
|
|
||||||
/*else
|
|
||||||
mTab.setValue("POReference", null);*/
|
|
||||||
|
|
||||||
// SO Description
|
// SO Description
|
||||||
s = rs.getString("SO_Description");
|
s = rs.getString("SO_Description");
|
||||||
if (s != null && s.trim().length() != 0)
|
if (s != null && s.trim().length() != 0)
|
||||||
|
@ -570,8 +565,6 @@ public class CalloutOrder extends CalloutEngine
|
||||||
String s = rs.getString("POReference");
|
String s = rs.getString("POReference");
|
||||||
if (s != null && s.length() != 0)
|
if (s != null && s.length() != 0)
|
||||||
mTab.setValue("POReference", s);
|
mTab.setValue("POReference", s);
|
||||||
else
|
|
||||||
mTab.setValue("POReference", null);
|
|
||||||
// SO Description
|
// SO Description
|
||||||
s = rs.getString("SO_Description");
|
s = rs.getString("SO_Description");
|
||||||
if (s != null && s.trim().length() != 0)
|
if (s != null && s.trim().length() != 0)
|
||||||
|
|
Loading…
Reference in New Issue