{runquery 1} {runsubquery 2.1.yblh_id} {runsubquery 3.1.yblh_id} {runsubquery 4.1.yblh_id} {runsubquery 5.1.yblh_id}{runsubquery 6.1.yblh_id}
{field 1.yblh_longdesc} (Block ID {field 1.yblh_id})
- {translatestatictext 'Block Name'.{const language}}
  {field 1.yblh_longdesc}
  {field 1.yblh_startdate}{translatestatictext ' to'.{const language}} {field 1.yblh_enddate}
- {translatestatictext 'Block Status'.{const language}}
  {field 1.ybst_Longdesc}
- {translatestatictext 'Booker'.{const language}}
  {field 1.xcid_addrgreet} {field 1.xcms_name3} {field 1.xcms_name1}
- {translatestatictext 'Company'.{const language}}
  {field 2.CompanyName}{dif '{field 2.CompanyName}'=''}{/dif} {else} {/else}
- {translatestatictext 'Market Code'.{const language}}
  {field 1.xcma_Longdesc}
- {translatestatictext 'Reservation Status'.{const language}}
  {dif {field 1.ybst_resstatus}=0}{translatestatictext 'tentative'.{const language}} {/dif}{dif {field 1.ybst_resstatus}=1}{translatestatictext 'definite'.{const language}} {/dif}{dif {field 1.ybst_resstatus}=3} {translatestatictext 'not affecting availability'.{const language}} {/dif}
  {translatestatictext 'Autogroup'.{const language}}
  {dif {field 1.yblh_autogroup}=1}{translatestatictext 'Yes'.{const language}}{/dif}{else}{translatestatictext 'No'.{const language}}{/else}
{dif {field 5.yres_id.0}=0}{/dif}{else}
- {translatestatictext 'Res #'.{const language}}
  {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Name'.{const language}}
  {translatestatictext 'Room Type'.{const language}}
{forall 5}
- {field 5.YRES_ID}
  {field 5.YRES_EXPARRTIME}
  {field 5.YRES_EXPDEPTIME}
  {field 5.Name}
  {field 5.YCAT_SHORTDESC}
{/forall} {/else} {dif {field 3.wact_id.0}=0}{/dif}{else}
- {translatestatictext 'Traces'.{const language}}
- {translatestatictext 'Startdate'.{const language}}
  {translatestatictext 'Enddate'.{const language}}
  {translatestatictext 'Tracetext'.{const language}}
  {translatestatictext 'entered on'.{const language}}
  {translatestatictext 'entered by'.{const language}}
{forall 3}
- {field 3.starttime}
  {field 3.endtime}
  {field 3.notes}
  {field 3.entereddate}
  {field 3.enteredby_loginname}
{/forall}{/else} {dif {field 4.xcno_id.0}=0}{/dif}{else}
- {translatestatictext 'Notes'.{const language}}
  {forall 4}{field 4.xcno_notes}
  {/forall}
{/else} {dif {field 6.yblw_id.0}=0}{/dif}{else}

- ##### {translatestatictext 'Pickup Agents'.{const language}}

- {translatestatictext 'Name'.{const language}}
  {translatestatictext 'Corporate ID'.{const language}}
  {translatestatictext 'Start'.{const language}}
  {translatestatictext 'End'.{const language}}
{forall 6}
- {field 6.Name}
  {field 6.XMNR_VALUE}
  {field 6.YBLW_STARTDATE}
  {field 6.YBLW_ENDDATE}
{/forall} {/else}