diff --git a/org.adempiere.base.callout/src/org/compiere/model/CalloutInvoice.java b/org.adempiere.base.callout/src/org/compiere/model/CalloutInvoice.java index 1a93a8c3d0..6a98f5c025 100644 --- a/org.adempiere.base.callout/src/org/compiere/model/CalloutInvoice.java +++ b/org.adempiere.base.callout/src/org/compiere/model/CalloutInvoice.java @@ -234,8 +234,6 @@ public class CalloutInvoice extends CalloutEngine s = rs.getString("POReference"); if (s != null && s.length() != 0) mTab.setValue("POReference", s); - else - mTab.setValue("POReference", null); // SO Description s = rs.getString("SO_Description"); if (s != null && s.trim().length() != 0) diff --git a/org.adempiere.base.callout/src/org/compiere/model/CalloutOrder.java b/org.adempiere.base.callout/src/org/compiere/model/CalloutOrder.java index 7405e8f07f..76ac20f7e6 100644 --- a/org.adempiere.base.callout/src/org/compiere/model/CalloutOrder.java +++ b/org.adempiere.base.callout/src/org/compiere/model/CalloutOrder.java @@ -373,11 +373,6 @@ public class CalloutOrder extends CalloutEngine String s = rs.getString("POReference"); if (s != null && s.length() != 0) 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 s = rs.getString("SO_Description"); if (s != null && s.trim().length() != 0) @@ -570,8 +565,6 @@ public class CalloutOrder extends CalloutEngine String s = rs.getString("POReference"); if (s != null && s.length() != 0) mTab.setValue("POReference", s); - else - mTab.setValue("POReference", null); // SO Description s = rs.getString("SO_Description"); if (s != null && s.trim().length() != 0)