Skip to main content
12-Amethyst
August 17, 2022
Question

Creating Multiple Documents all at once

  • August 17, 2022
  • 1 reply
  • 2259 views

Hi

 

Refer the below link for Creating Multiple Documents all at once:

 

http://support.ptc.com/help/windchill/whc/whc_en/index.html#page/Windchill_Help_Center/DocMgmtDocCreateMultiple.html

 

After creating the documents, auto numbering will be provided for each document.

 

Example:

 

Document name                         Auto number

Test_1                                                001

Test_2                                                002

Test_3                                                003

Test_4                                                004

Test_5                                                005

 

Do any one know the logic behind the auto numbering?

 

Because I am facing the following problem:

 

I have a bunch of documents with file name as auto number format.

Some times my file name and auto number are matched like case 1.

Case 1:

Document name                         Auto number

Test_1                                                001

Test_2                                                002

Test_3                                                003

Test_4                                                004

Test_5                                                005

 

Some times my file name and auto number are mismatched like case 2.

Case 2:

Document name                         Auto number

Test_1                                                001

Test_2                                                003

Test_3                                                005

Test_4                                                002

Test_5                                                004

 

I need my file name (auto number format) and the windchill generated auto number should be matched.


Actual case:

Name QPIR-001121 to QPIR001131 are matched with auto number.

 

Name QPIR-001132 to QPIR-001140 are mismatched with auto number.

 

All documents are uploaded in single shot.

 

Sathish_Rosario_0-1660732971501.png

 

Any ideas are welcome.

 

Thank you.

1 reply

HelesicPetr
22-Sapphire II
August 17, 2022

Hi @Sathish_Rosario 

I don't know exactly the logic how the documents are sorted during mass creation now.

I can just guess that it can be by last modification in a wizard or last modification of filename on a local disc and so on.

 

I can see that in your case it is not definitely sorted by name as you could think.

 

btw do you use Wizard to mass creation of documents or do you use Upload Documents from Compressed files?

It can have different behavior.

 

Maybe if you need to keep same number and name, you could define OIR rule that a name equals number. 

 

There could be another case. Another user created some documents that time and stole the number :D.

 

PetrH

12-Amethyst
August 18, 2022

Hi

 

We are using the wizard to select each files for multiple document creation.

 

For last modification details, I will check and revert.

 

Thank you.