IDEMPIERE-1046 Ability to get a sequence number from everywhere / as suggested by Nicolas Micoud (nmicoud)

This commit is contained in:
Carlos Ruiz 2013-06-19 09:54:15 -05:00
parent fac70fa059
commit c85e398cc4
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public class MSequence extends X_AD_Sequence
/** /**
* *
*/ */
private static final long serialVersionUID = -631878634759124313L; private static final long serialVersionUID = 7331047665037991960L;
/** Log Level for Next ID Call */ /** Log Level for Next ID Call */
private static final Level LOGLEVEL = Level.ALL; private static final Level LOGLEVEL = Level.ALL;
@ -323,7 +323,7 @@ public class MSequence extends X_AD_Sequence
return getDocumentNoFromSeq(seq, trxName, po); return getDocumentNoFromSeq(seq, trxName, po);
} // getDocumentNo } // getDocumentNo
private static String getDocumentNoFromSeq(MSequence seq, String trxName, PO po) { public static String getDocumentNoFromSeq(MSequence seq, String trxName, PO po) {
// Check AdempiereSys // Check AdempiereSys
boolean adempiereSys = false; boolean adempiereSys = false;
if (Ini.isClient()) if (Ini.isClient())