Skip to content

Test Plan (QA/QC)

Pro tier only

This command is Pro-only (flag QaQc). Standard-tier users see a 🔒 lock icon and an "Upgrade to Pro" dialog when clicking.

Auto-generates the Vietnamese construction industry's standard "Materials, Products and Components Test Plan" sheet from a selected range of material names. Backed by a TCVN database of 100 materials × 599 test criteria sourced from the reference Test Plan workbook + QCVN 16:2023/BXD + 12 Appendices + the "56 construction materials sampling criteria" document.

Open the Test Plan dialog

DVD Cons → group QAQC and Diary → click Test Plan.

3-step workflow

Step 1 — Select material names

Highlight cells containing material/work names in the current sheet. Example:

AB
1Reinforced concrete
2Cement PCB40
3Filling sand
4Crushed stone 1×2
5Deformed rebar

→ Select A1:A5 (or just the name column).

Step 2 — Click "🔍 Preview"

The Test Plan dialog will:

  1. Scan the selection, collect every non-empty cell as a query
  2. Match each query against the TCVN database by keyword
  3. Show preview: how many materials matched, how many unmatched, total criteria

Duplicate matches (e.g. "Reinforced concrete" + "Foundation concrete" both match TCVN 4453:1995) are deduped to one block.

Step 3 — Click "📄 Generate Sheet"

A new sheet Test Plan YYYY-MM-DD is appended at the end of the workbook with the standard 7-column layout:

ColHeaderDescription
ANo.Sequential number (merged per material block)
BMATERIALShort material name (merged)
CTEST CRITERIAOne row per criterion, numbered 1., 2., 3.
DTEST METHOD STANDARDTCVN of the test procedure (e.g. TCVN 3118:1993)
ESAMPLING STANDARD / SPECProduct TCVN (merged)
FSAMPLE SPECIFICATIONSample quantity + spec (merged)
GNOTES / FREQUENCYSampling frequency (merged)

Manage the TCVN Database

DVD Cons → Test Plan → click ⚙ Manage DB → opens TCVN Database dialog.

Database layout

TypeLocationDescription
BaselineC:\DVDAddin\Library\TCVN-Standards.json100 materials shipped with installer (read-only)
Custom%APPDATA%\DVDAddin\TCVN-Custom.jsonUser customizations (writable, survives reinstall)
HardcodedIn C# codeSafety fallback if both JSON files are missing

Custom overrides baseline by Id. E.g. a custom entry with Id = "TCVN 4453:1995" replaces the baseline entry of the same ID.

Dialog operations

ActionDescription
SearchType material name or TCVN code — list filters in real time
Show baseline / Show custom togglesFilter by source
Edit baseline entryClick to edit → modify fields on the right → 💾 Save → creates a custom override with the same Id
Add new material➕ Add material → fill Id (e.g. CUSTOM-01 New material) + name + criteria
Delete custom entry🗑 Delete — only applies to custom entries (baseline can't be deleted)
📦 BackupExport TCVN-Custom.json → timestamped file in %APPDATA%\DVDAddin\Backups\
📂 Restore / ImportImport a backup file into TCVN-Custom.json (auto-backs-up current first)
📥 Import from ExcelRead a 7-column .xlsx and merge into the database — see details below

Per-material schema (visible in the dialog)

FieldDescription
IdUnique identifier (e.g. TCVN 4453:1995 or CUSTOM-01 Name)
Material name VI/ENShort name — shown in column B of the output sheet
Standard title VI/ENFull TCVN title (e.g. "Cast-in-place concrete structures...")
Scope VI/ENBrief application summary
KeywordsComma-separated — matcher uses these to find when user picks a range
Sampling std VI/ENProduct TCVN — shown in column E of output
Test listEach row = 1 lab test (name + method + frequency + sample + days)

Import database from Excel

Click 📥 Import from Excel in the TCVN Database dialog → pick a 7-column .xlsx file.

Expected Excel format

ColContent
ANo. (sequential, only filled on first row of each material)
BMATERIAL (only first row)
CTEST CRITERIA (one row per criterion)
DTEST METHOD STANDARD (TCVN code)
ESAMPLING STANDARD / SPEC (only first row)
FSAMPLE SPECIFICATION (only first row)
GNOTES / FREQUENCY (only first row)

Alternatively, data can start from column B (column A blank padding) — the parser auto-detects both layouts. This is also the output format of the Test Plan generated sheet → you can re-import that file directly.

Merge logic

The parser:

  • Material name matches an existing entry (normalized) → appends new criteria to that entry, no duplicates
  • New material name → creates a custom entry with Id CUSTOM-XX <name>
  • Material with no criteria → skipped (reported in preview)

Before merging, the Preview dialog shows 4 summary tiles:

TileMeaning
New materialsNumber of entries that will be created
Enriched materialsNumber of existing entries gaining new criteria
Total criteria addedTotal new criteria across all changes
SkippedMaterials with no criteria / fully duplicate (no-op)

Click ✓ Apply to database → saves to TCVN-Custom.json.

Sharing database across machines

GoalAction
Copy database to another machineBackup → email backup file → new machine: Restore
Maintain team standardizationTeam lead edits baseline JSON (Library/TCVN-Standards.json) on company server → everyone pulls it
Test changes before committingEdit dialog → Save → test → if wrong, Restore from latest backup

Tips

  • When the selection contains text that doesn't match: dialog records UnmatchedQueries → user can copy out for manual lookup
  • Custom Ids should start with CUSTOM- for easy filtering (toggle "Show custom")
  • After reinstalling the addin, custom JSON is NOT lost (stored in %APPDATA% outside the install folder)
  • Editing the baseline JSON directly is NOT recommended — the next installer update will overwrite. Always use custom overrides

Released under DVDAddin License.