2 Replies Latest reply on Aug 15, 2017 11:00 AM by Craig Schultz

    solidworks PDM serial Numbers (Running Number)

    Krishna Muralli

      Hi,

      I need to set serial number as like below,

       

      P-0000-C21-A1

       

      P- Constant

      0000 - Running Number

      C21- customer code

      A1- Project category code

       

      I tried to set like this, but after P-0000 I don't know how to give C21.

      Is there any way to set like this?

       

       

      Thanks

        • Re: solidworks PDM serial Numbers (Running Number)
          Michael Dekoning

          Krishna,

          The only way I think you can do this without custom programming is to use a PDM Template (Professional only) to let the user enter, or select, the customer code and project category code (although the values could also come from folder variables if set up to provide that), and use a Input Formula to concatenate the values together.

          • Re: solidworks PDM serial Numbers (Running Number)
            Craig Schultz

            If P-0000 changes for every part, ie P-0001-C21-A1....P-0002-D22-B2

             

            Then set up the SN like this, and use drop downs or edit boxes for "C21" and "A1" on your template cards, then have your PN = the input formula of the SN-Customer Code-Project Category.  Bottom right of the card editor.  Just like Michael said above.

             

            c2.PNG

             

            If the P-0000 part can be the same between customers/project categories:  P-0001-C21-A1....P-0001-D22-B2

             

            Then you should set up SNs for every combo of customer and project codes.  And then you'd need templates for every one of those combos.(Hopefully this isn't the case.  Been there, done that, not fun)

             

            Capture.PNG