Secondary sorting values known in some software applications as sort-keys.
Example Categories from the demo_sales library include:
OpInvoice and OrderPickQuote
Doc Types
|
ArStatement
Doc Type
|
"Customer" | {CustName}
"Salesperson" | {SlspName}
"CustPO" | {CustName} | {POnumber}
"OrderId" | {CustName} | {OrderId}
|
"Customer" | {CustName}
|
In the above samples, the text between quotes is literal, and the text between curly braces { } indicates a variable data field where the values for the document being archived are supplied by the application.
The pipe symbol | is used to delineate segments in a category, which allows UnForm to structure a drill-down presentation when browsing for documents. A category can contain up to ten pipe-delimited segments. The first segment should normally be a literal text category name, as shown in the example, to facilitate the category-type browse method when looking up documents.
Note from the first column header above that the "OpInvoice" and "OrderPickQuote" document types are configured with the same list of categories. This is because in our sample database they are related documents in a relationship where an "invoice" is always preceded by an "order".
As an example from our samples of some of the considerations in choosing document identification strategies, by structuring a category on the invoice to reference the source order ID number, the following sample document browse list was enabled where an invoice and its related order document appear together in a list.

The next example shows a browse list which has been started using a category browse method and drilling down from customer to customer name "Taylor". Notice the three different types of documents which were located for Taylor, because the different document types were configured with at least one identical category.

If a given category segment will potentially contain many thousands of items, it may be desirable to divide the segment into two tiers. For example, if a customer name is used as a segment, and there are thousands of customers, a two-tiered customer name could be designed, such as left(custname$,2) + “|” + custname$. During browsing, the user would first locate the customer alphabetical group based on the first two characters of the name, then access just that sub-group of customers.
|