Skip to main content
3-Newcomer
June 23, 2026
Solved

How to configuration the documnet with manual numbering with the postfix

  • June 23, 2026
  • 2 replies
  • 13 views

We have a requirement to configure WTDocument numbering with manual numbering and an automatically appended postfix, without using any additional attributes.

Example:

Number Format: XXXX_YY

Where:

  • XXXX = User-entered manual number

  • YY = System-generated postfix based on the document subtype

Example:

  • D1 → DOC001_CR

  • D2 → DOC002_CR

  • D3 → DOC003_CI

  • D4 → DOC004_CI

Could you please confirm whether this requirement can be achieved through OIR configuration alone, or if a customization (such as a Form Processor, Number Generator, or Event Listener) is required?

Additionally, is there any standard Windchill approach to append a fixed postfix to a manually entered number without introducing additional attributes?

Best answer by TDT

Hi ​@Mruthyunjaya,

It requires customization.

2 replies

TDT17-PeridotAnswer
17-Peridot
June 23, 2026

Hi ​@Mruthyunjaya,

It requires customization.

16-Pearl
June 23, 2026

This can easily be done OOTB and requires no customization.

All you have to do is take the example PTC provides.

 

<AttributeValues objType="wt.doc.WTDocument">
<!-- set the number to a generated number -->
<AttrValue id="number"
algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator">
<Arg>REF-</Arg>
<Arg>{GEN:wt.enterprise.SequenceGenerator:WTDOCUMENTID_seq:10:0}</Arg>
</AttrValue>
</AttributeValues>

 

and move it lower. 

<AttributeValues objType="wt.doc.WTDocument">
<!-- set the number to a generated number -->
<AttrValue id="number"
algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator">
<Arg>{GEN:wt.enterprise.SequenceGenerator:WTDOCUMENTID_seq:10:0}</Arg>

<Arg>-REF</Arg>
</AttrValue>
</AttributeValues>

 

 

16-Pearl
June 23, 2026

Ahhhn apologies I missed the user entered number part.