cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Creating Multiple Documents all at once

Sathish_Rosario
11-Garnet

Creating Multiple Documents all at once

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.

7 REPLIES 7

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

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.

Hi

 

We have tested the case as below.

 

File name                                  last modified time                                auto number

Bulk upload test 1                      8.24                                                          GND-001156

Bulk upload test 2                      8.25                                                          GND-001157

Bulk upload test 3                      8.25                                                          GND-001158

Bulk upload test 4                      8.27                                                          GND-001159

Bulk upload test 5                      8.26                                                          GND-001160

 

Sathish_Rosario_0-1660791984962.png

 

Any idea?

 

Thank you.

Hi @Sathish_Rosario 

In this example it seems that it is ok. 

PetrH

Hi

 

How it is ok.

 

Look at Bulk upload test 4  and Bulk upload test 5. The last modified date of Bulk upload test 4 is later than Bulk upload test 5. But still the auto number is matched with file name.

 

Another example;

 

Sathish_Rosario_0-1660805376091.pngSathish_Rosario_1-1660805391491.png

 

Sathish_Rosario_2-1660805412338.png 

 

Sathish_Rosario_4-1660805442999.png

 

 

Thank you.

Hi @Sathish_Rosario 

I meant that autonumbers match the file names. I didn't see the modification time.

 

So good test. Now you know it is not dependent on the value of modification time.

 

So it could be dependent on a different thing

 

PetrH

Yes.  you are right.

Top Tags