clipboard-listDefects list report

This document lists all available placeholders for "Defects list report" Documents.

Overview

This printer provides placeholders for generating defect reports across multiple Deals and Units. Unlike Reclamation documents that work with a single Reclamation, this document type generates a consolidated list of selected Defects from potentially multiple Deals.


Simple Placeholders

There are no simple placeholders at the document root level. The entire document structure is based on the $defects repeating list.

Defects (Repeating List)

The $defects list contains all selected Defects for the report.

How to Use

To iterate over Defects in your template:

Velocity template
#foreach($defect in $defects)
  Project: $defect.project_name
  Building: $defect.building_name
  Unit: $defect.unit_internal_id
  Defect No.: $defect.internal_id
  Description: $defect.description
#end

Available Properties

Each $defect item has the following properties.

Project / Building / Unit Context

These properties provide context about the Unit associated with the Deal. Empty strings if no Unit is assigned.

  • $defect.project_name Name of the Project containing the main Unit. Empty string if no Unit on the Deal. Type: String | UI: "Name" (project_param_name)

  • $defect.building_name Name of the Building containing the main Unit. Empty string if no Unit on the Deal. Type: String | UI: "Name" (building_param_name)

  • $defect.unit_internal_id Internal ID of the main Unit on the Deal. Empty string if no Unit on the Deal. Type: String | UI: "Number in project" (flat_param_internalid)

Identification

  • $defect.deal_id Unique identifier of the Deal (numeric ID as string). Type: String

  • $defect.internal_id Internal ID of the Defect. Type: String | UI: "Defect No." (business_case_reclamation_defect_param_internalid)

  • $defect.external_id External ID of the Defect. Type: String | UI: "Defect No. according to the customer" (business_case_reclamation_defect_param_externalid)

  • $defect.is_external_id Whether external ID is set. Type: Boolean

Location

  • $defect.location Location description. Type: String | UI: "Location (room etc.)" (business_case_reclamation_defect_param_location)

  • $defect.is_location Whether location is set. Type: Boolean

  • $defect.room_location Formatted room name. Type: String | UI: "Location of the room to which the defect is related" (business_case_reclamation_defect_param_room_location)

  • $defect.is_room_location Whether room location is set. Type: Boolean

Description and Notes

  • $defect.description Defect description. Type: String | UI: "Reclamation description" (business_case_reclamation_description)

  • $defect.is_description Whether description is set. Type: Boolean

  • $defect.note Additional notes. Type: String | UI: "Note" (business_case_reclamation_defect_param_note)

  • $defect.is_note Whether note is set. Type: Boolean

Severity and Deadline

  • $defect.is_prevents_flat_usage Whether the defect prevents flat usage. Type: Boolean | UI: "Prevents flat usage" (business_case_reclamation_defect_param_prevents_flat_usage)

  • $defect.deadline_calculated Calculated deadline for defect resolution. Type: DateWrapper | UI: "Deadline (calculated)" (business_case_reclamation_defect_param_deadline_calculated)

  • $defect.is_deadline_alternative Whether an alternative deadline is set (indicating the calculated deadline differs from the default). Type: Boolean

Images (Nested List)

Each defect has an images list containing file attachments.

Example iteration:

  • $image.name File name of the attachment. Type: String

  • $image.file Embedded image of the attachment. Type: Image

Last updated