The DocBoss library feature is a great way to save time and effort by storing documents that you might need to use again in future projects. In this article we’ll focus on the subject of material test reports.
For companies with large collections of material test reports (MTRs) stored in the library, the easiest way to automatically attach these to a project’s cards is through a query with pattern search.
Setup
Before following these steps, the following will need to be in place:
Steps
Add required information to equipment list
A common situation where pattern searching is useful is with MTR documents. For this, the information for the MTRs should be added under an additional unit type within the project, as in the example below:
Add combination field
If not already included in the project template used, add a combination field with the references each library document will contain. For example, if the library has custom fields for Sub-supplier PO, Sub-supplier PO line, and Heat number which are completed for material test report (MTR) documents, the combination field should contain those if the user wants to group the documents by them.
- From the Code List (Requirements) screen on a project, set the applicable doc code’s level as the combination field.
- Select Save.
Set doc code type as published
- From the Code List (Requirements) screen on a project, set the applicable doc code’s Type to Published.
- Select Save.
- The Attach tool (paperclip) will become available under the Tools for this doc code.
Run query with pattern search
- Select the Attach tool (under the Tools column) for the applicable doc code.
- Select Choose searching fields > Pattern.
- Fill out the pattern to match the combination field used as the level for the doc code. (Note: this step is important as this is what tells DocBoss to search for the library card with the pattern that matches the card’s reference.)
- Select the folder to search.
- Select Run query.
The dialog will close and the query will run in the background. Once the query is complete, the Attach tool will turn red and an asterisk will appear next to it. This indicates that the results of the query are ready to view by selecting the icon. A status update and report showing the results of the assignment are available from the popup.
Additional options
Wildcard search
An asterisk (*) can be added to allow matching to any characters at the start or end of the pattern.
Multiple values per cell
If comparing with values separated by a comma (ex. 123A,546B in one library field), add the following parameter to the applicable variable(s) in the search pattern: |allowmultiplevalues
For example: <Heat Number|allowmultiplevalues>