[ 1883270 ] Enhance Document No Formatting
Duplicating the number on document save
This commit is contained in:
parent
fa68ad7513
commit
72c8ce87c1
|
@ -622,11 +622,9 @@ public class MSequence extends X_AD_Sequence
|
|||
StringBuffer doc = new StringBuffer();
|
||||
if (prefix != null && prefix.length() > 0)
|
||||
doc.append(parseVariable(prefix, po, trxName));
|
||||
if (decimalPattern != null && decimalPattern.length() > 0) {
|
||||
if (decimalPattern != null && decimalPattern.length() > 0)
|
||||
doc.append(new DecimalFormat(decimalPattern).format(next));
|
||||
} else {
|
||||
doc.append(next);
|
||||
}
|
||||
else
|
||||
doc.append(next);
|
||||
if (suffix != null && suffix.length() > 0)
|
||||
doc.append(parseVariable(suffix, po, trxName));
|
||||
|
|
Loading…
Reference in New Issue