Revert: Add isReturnMaterial to MOrder

This commit is contained in:
phib 2009-05-29 05:42:37 +00:00
parent e214dc30f8
commit 17253beea8
1 changed files with 0 additions and 12 deletions

View File

@ -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