Importing the Bill of Quantities into Bids, Construction Quotations and Construction Contracts
You can fill the Bill of Quantities in the bid, construction quotation, and construction contract from an XLSX or CSV file. The process goes through the Map columns screen, then error review, then conflict resolution. If rows with errors appear, you can upload another file or click Skip & Continue to import the valid rows only. The import does not save the record by itself, so save the record afterward to keep the changes.
Table of Contents
Import Steps
- Open the record’s create or edit form, and click Import in the header of the Bill of Quantities section.
- The menu has two options: Upload File and Download Sample. Download the sample to know the required columns before preparing your file.
- Select an XLSX or CSV file of up to 50 MB.
- The Map columns screen appears with a message such as We matched X of X fields, and the system maps the columns automatically where possible. Adjust the mapping manually if needed, then click Apply Mapping.
- The system reads the hierarchy from the Number column in dot notation (1, then 1.1, then 1.1.1). The file must start with a Main Tender row; otherwise the whole file is rejected with the message "The file must start with a Main Tender row (e.g. Number 1). Row … is "…"." Only the first worksheet is read, and the header details and Grand Total row of an exported file are skipped.
- Numbering rules: every number is unique in the file, a parent row comes before its child rows, a tender cannot contain both sub-tenders and work items, sub-tenders nest up to 3 levels, and Sub-Tender L<n> must match the depth of its number (1.1 is L1, 1.1.1 is L2). A main tender or sub-tender title cannot repeat under the same parent.
- If some rows have errors, the Review errors step appears showing (n) Rows Have Errors, with two buttons: Upload Another File and Skip & Continue. When you click Skip & Continue, the valid rows are imported and the rows with errors are skipped.
- If the numbers of some rows already exist in the table, the conflicts window appears. Select Replace, Add, or Ignore; the choice is one and applies to all conflicts, and the Conflicting Rows table shows the affected rows.
- After the import, the message BoQ Imported… Save the bid/quotation/contract to keep the changes appears. The import does not save the record by itself, so save the record to keep the changes.
Note: The import in the bid, quotation, and contract behaves the same way when there are errors: it skips the rows with errors and imports the valid rows after you click Skip & Continue.
Mapping Columns
- The mapping screen columns: BoQ Field, Applies To, Column in Your File, First Value, and the match status.
- In the bid: the fields Number, Level, and Item (for all levels), and Quantity and Unit (for work items).
- In the quotation and contract: there are no materials and no Cons./Unit column. The sample columns: Number, Level, Item, Quantity, Unit, Selling Price, Subtotal, Tax 1, Tax 2, Total.
- There is no Unit Cost column in the quotation and contract. The Selling Price is imported as it is in the file; if it is 150, 150 appears.
- Mapping the Number, Level and Item columns is required in all three records; otherwise the message "Required field "…" is not mapped." appears. Each mapped column must appear once in the header row; otherwise "Column "…" was not found in the file." or "Column "…" appears more than once in the file." appears.
- For a work item row, Unit is required, and Quantity is required, numeric and at least 1. In quotations and contracts, Sale Rate must be a non-negative number, and Tax 1 and Tax 2 must match the name of an active tax in the account. Subtotal and Total are not read from the file; they are recalculated.
| Record | Accepted Levels | Note |
|---|---|---|
| Bid | Main Tender, Sub-Tender L1 to L3, and Work Item | The work item must be a product that exists in the system |
| Construction quotation | Main Tender, Sub-Tender L1 to L3, and Work Item | The selling price is imported as in the file; import is not available for an approved quotation |
| Construction contract | Main Tender, Sub-Tender L1 to L3, and Work Item | Import is not available for active contracts |
Bids and Work Items
- The bid accepts work items, and its own sample contains work items.
- The work item must be an active product of the work item type that exists in the system; otherwise an error appears for the row. It is matched by name, or by code if you write it as "Name #Code" (useful when names repeat).
- The unit must be the main unit or one of the units of the product's unit template; otherwise "Unit "…" is not available in the unit template of "…"." appears.
- Bids have no financial columns: no sale rate and no taxes, and bid import is not disabled by the bid's status.
- If the error appears, correct the product name or create the product, or use Skip & Continue to skip the row.
Export and Re-import
- An Export button is available on the Bill of Quantities page, with the Levels to Include option.
- The exported file is read when you import it again, and its columns are mapped automatically without manual mapping.
- The mapping screen still appears for review, so check it and then continue.
Construction Contract
- Import is not available for active contracts, and the tooltip Import is not available for active contracts. appears.
- Import works in contracts with the Draft or Issued status.
- A contract that was activated once stays blocked from import even if it is later closed or cancelled. If an import request reaches the system for an activated contract, it is rejected with the message "Import is not available for activated contracts."
Error Messages and Solutions
| Message | Cause | Solution |
|---|---|---|
| Only main tenders can be added at the first level. | An item that is not a main tender was placed at the first level (a number such as 1). | Set the row level to a main tender or change its numbering. |
| Main tenders must be at the first level. | A main tender was placed at a nested number such as 1.1. | Change its numbering to the first level or change its level. |
| The item “X” does not exist in the system | The work item name does not match any existing product. | Create the product or correct the name in the file, then import again. |
| The item “X” is not a work item | The product exists but is not a work item. | Use a product of the work item type. |
| Import is not available for active contracts. | The contract is active. | Import is available before activation (Draft or Issued). |
| Import is not available for activated contracts. | The contract was activated (even if it was later closed or cancelled). | Import is available before activation only; edit the BoQ manually or create a new contract. |
| Import is not available for approved quotations. | The quotation is Approved. | Import before approval, or create a new quotation. |
| Required field "…" is not mapped. | The Number, Level or Item column is not mapped. | Map the column on the mapping screen. |
| Quantity must be at least 1. | The work item quantity is empty or less than 1. | Enter a quantity of 1 or more. |
| Unit "…" is not available in the unit template of "…". | The unit is not in the product's unit template. | Write the main unit or a unit from the template. |
| Level "…" does not match number … (expected Sub-Tender L…). | The sub-tender level does not match the depth of its number. | Correct the level or the number. |
| A tender cannot contain both Sub-Tenders and Work Items. | The same tender has both sub-tenders and work items under it. | Move the work items under a sub-tender. |
| Skipped because parent row … has errors. | The parent row was rejected, so its child rows are skipped. | Fix the parent row, then import again. |
Note: If you have permission to edit the record and the Import button does not appear, check the contract status first.
FAQs
Can I continue the import with the valid rows in the quotation?
Yes, from the Review errors step click Skip & Continue, and the valid rows are imported while the rows with errors are skipped.
Is the current Bill of Quantities affected when the import fails?
Only the rows with errors are skipped. Conflicts with existing numbers are handled in the conflicts window (Replace, Add, or Ignore), and the changes are not kept until you save the record.
Can I import the Bill of Quantities into an active contract?
No, the tooltip Import is not available for active contracts. appears. Import works in contracts with the Draft or Issued status.
Does the quotation import materials?
No, it has no materials and no Cons./Unit column.
Does the exported file need manual mapping when imported again?
No, its columns are mapped automatically, but the mapping screen appears for review.
Do I need to save the record after the import?
Yes, the import does not save the record by itself, so save the record to keep the changes.
Can I import the Bill of Quantities into an approved quotation?
No. Import is available in a quotation before it is approved; for an approved quotation it is rejected with the message "Import is not available for approved quotations."
Why is a sub-tender row rejected even though its name is correct?
Because the Level value must state the level number and match the depth of the number: 1.1 is "Sub-Tender L1" and 1.1.1 is "Sub-Tender L2", and nesting goes up to 3 levels only.