By default Civil Pro creates a 9 digit Lot number based on the Work Type, Area Code and an auto-incrementing index (WWAAAAIII). You can customise how this Lot number is created by setting a Project Settings option for your custom Lot number definition.
The steps of setting the custom lot number option in your project settings is included in the following processes for both Cloud and Desktop.
Custom Lot Schema
• #W(<int>) = the Lot’s Work Type – truncated to <int> characters long
• #A(<int>) = the Lot’s Area Code
• #I(<int>) = an auto-increment index (must be the last element of the schema)
The default lot numbering in Civil Pro is actually implemented using this code and is represented as #W(2)#A(4)#I(3)
For example, the third lot raised with Work Type SG and Area Code MC01 will be labelled SGMC01003 using the default settings.
Example Custom Lot Codes
|#W(2)#A(4)#I(3)||SGMC01003 (the Civil Pro default)|
|#W(2)-#A(4)-#P(3)-#I(3)||SG-MC01-BD1-003 (assumes Lot has a Primary Tag of BD1)|
Custom Lot Schema (Custom Registers)
For more complex configurations where additional information needs to be encoded in the lot number, Custom Registers can be created. As many registers can be used as is required to make increasingly sophisticated lot numbering rules. You can specify this in your custom lot def as the following
• #CR[<reg shortcode>](<int>) = the Lot’s custom register item’s shortcode, for the register with reg shortcode – truncated to <int> characters long.
For example, if the user has the following custom register:
- Separable Portions (shortcode SEP)
- Separable portion 1 (shortcode SEP1)
- Separable portion 2 (shortcode SEP2)
- Separable portion 3 (shortcode SEP3)
If the lot from the previous example is allocated to Separable portion 2, then using a custom lot string like #W(2)-#A(4)-#CR[SEP](4)-#I(3) would include the entry from the SEP custom register, in this case SEP2. The lot number would be SG-MC01-SEP2-003