From 17253beea82be12f3d8896dd39f0744e0be9c74b Mon Sep 17 00:00:00 2001 From: phib Date: Fri, 29 May 2009 05:42:37 +0000 Subject: [PATCH] Revert: Add isReturnMaterial to MOrder --- base/src/org/compiere/model/MOrder.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/base/src/org/compiere/model/MOrder.java b/base/src/org/compiere/model/MOrder.java index dfd93bfa53..9eda779cb7 100644 --- a/base/src/org/compiere/model/MOrder.java +++ b/base/src/org/compiere/model/MOrder.java @@ -2383,16 +2383,4 @@ public class MOrder extends X_C_Order implements DocAction || DOCSTATUS_Reversed.equals(ds); } // isComplete - /** - * Is it a Return Material? - * @return true if RM - */ - public boolean isReturnMaterial() - { - MDocType dt = MDocType.get(getCtx(), - getC_DocType_ID()==0 ? getC_DocTypeTarget_ID() : getC_DocType_ID()); - return MDocType.DOCSUBTYPESO_ReturnMaterial.equals(dt.getDocSubTypeSO()); - } // isReturnMaterial - - } // MOrder