[ 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();
|
StringBuffer doc = new StringBuffer();
|
||||||
if (prefix != null && prefix.length() > 0)
|
if (prefix != null && prefix.length() > 0)
|
||||||
doc.append(parseVariable(prefix, po, trxName));
|
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));
|
doc.append(new DecimalFormat(decimalPattern).format(next));
|
||||||
} else {
|
else
|
||||||
doc.append(next);
|
|
||||||
}
|
|
||||||
doc.append(next);
|
doc.append(next);
|
||||||
if (suffix != null && suffix.length() > 0)
|
if (suffix != null && suffix.length() > 0)
|
||||||
doc.append(parseVariable(suffix, po, trxName));
|
doc.append(parseVariable(suffix, po, trxName));
|
||||||
|
|
Loading…
Reference in New Issue