<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get numeric sequence by predefined list value in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12294250#M1385</link>
    <description>&lt;P&gt;You can find a fully coded (sorry, it is PowerShell, not C#) sample here:&amp;nbsp;&lt;A href="https://github.com/koechlm/VDS-Sample-Configuration-2023/blob/master/VDS-2023-MFG-Sample/Vault.Custom/addinVault/ADSK.QS.ReserveFileNumber.ps1#L67" target="_blank"&gt;VDS-Sample-Configuration-2023/VDS-2023-MFG-Sample/Vault.Custom/addinVault/ADSK.QS.ReserveFileNumber.ps1 at master · koechlm/VDS-Sample-Configuration-2023 (github.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The concept is the same for all numbering schemes: build an array of all inputs in the order the user would type.&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 16:20:16 GMT</pubDate>
    <dc:creator>Markus.Koechl</dc:creator>
    <dc:date>2023-10-09T16:20:16Z</dc:date>
    <item>
      <title>Get numeric sequence by predefined list value</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12294117#M1384</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I'm developing in C# (Vault 2023 api).&lt;BR /&gt;I created an item numbering scheme in the Vault with a predefined list (A,B,H,V, I) and a number sequence (0-999999999) step 1.&lt;BR /&gt;I would like to know how to get a new incremental number depending on the letter passed by code. I'll explain.&lt;BR /&gt;The user selects a value associated with a letter from the combobox (selectedValues: A,B,H,V,I). I have to pass this letter to the numbering scheme and obtain the corresponding progressive numbering.&lt;BR /&gt;E.g. user selects an item from the Valves list (letter: "V") -&amp;gt; numbering scheme releases a new progressive number like this V000000007.&lt;BR /&gt;If the next user selects "A" I will obtain the following progressive sequence: A000000003.&lt;BR /&gt;And so on.&lt;BR /&gt;I don't know how to pass the letter to the numbering scheme and get the progressive numeric part. I attach screenshots. A thousand thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 15:23:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12294117#M1384</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2023-10-09T15:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get numeric sequence by predefined list value</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12294250#M1385</link>
      <description>&lt;P&gt;You can find a fully coded (sorry, it is PowerShell, not C#) sample here:&amp;nbsp;&lt;A href="https://github.com/koechlm/VDS-Sample-Configuration-2023/blob/master/VDS-2023-MFG-Sample/Vault.Custom/addinVault/ADSK.QS.ReserveFileNumber.ps1#L67" target="_blank"&gt;VDS-Sample-Configuration-2023/VDS-2023-MFG-Sample/Vault.Custom/addinVault/ADSK.QS.ReserveFileNumber.ps1 at master · koechlm/VDS-Sample-Configuration-2023 (github.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The concept is the same for all numbering schemes: build an array of all inputs in the order the user would type.&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 16:20:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12294250#M1385</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2023-10-09T16:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get numeric sequence by predefined list value</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12295741#M1386</link>
      <description>&lt;P&gt;Good morning Markus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again you were a big help. It wasn't complicated but I needed a little push to go on.&lt;/P&gt;&lt;P&gt;Let me share the complete ItemCreation method both for your verification (it works correctly on my system) and for anyone who needs it in the future of course.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 09:33:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/get-numeric-sequence-by-predefined-list-value/m-p/12295741#M1386</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2023-10-10T09:33:11Z</dc:date>
    </item>
  </channel>
</rss>

