IDEMPIERE-4107 Add getDocStatusName for MJournal

This commit is contained in:
Nicolas Micoud 2019-11-27 12:19:54 +01:00
parent dedc38ffc9
commit c3d62970ae
1 changed files with 10 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class MJournal extends X_GL_Journal implements DocAction
/**
*
*/
private static final long serialVersionUID = 6116307358915557651L;
private static final long serialVersionUID = 4661098755828765138L;
/**
* Standard Constructor
@ -1038,4 +1038,13 @@ public class MJournal extends X_GL_Journal implements DocAction
|| DOCSTATUS_Reversed.equals(ds);
} // isComplete
/**
* Get Document Status
* @return Document Status Clear Text
*/
public String getDocStatusName()
{
return MRefList.getListName(getCtx(), SystemIDs.REFERENCE_DOCUMENTSTATUS, getDocStatus());
} // getDocStatusName
} // MJournal