Number Formats

< Previous section  |  Table of Contents  |  Index  |  Next section >

MainBoss lets you specify the format of identification numbers for requests, work orders, and purchase orders. For example, you might want to give work orders identification numbers like WO-000001, WO-000002, and so on.

Number formats are specified in the appropriate default sections. For example, you specify the number format for work orders in the Defaults for Work Orders section of the Work Orders table viewer.

The default format of work order identification numbers is given by

WO {0:D8}

This means the letters WO, followed by a blank character, followed by a number. The number is 8 digits long (specified by the D8) and is padded with leading zeros if necessary. To get the format discussed above, you would specify

WO-{0:D6}

This means the characters WO-, followed by a six-digit number, padded with leading zeroes if necessary.

If you have programming experience, you can specify very sophisticated number formats. These formats are represented by format strings which will be passed to the Microsoft .NET String::Format library function. For more information, see Microsoft's .NET documentation.

< Previous section  |  Table of Contents  |  Index  |  Next section >