{runquery 1} {runsubquery 2.1.ZTRA_id} {runquery 3}
- {translatestatictext 'Guestname'.{const language}}
  {field 1.guestname}
- {translatestatictext 'Address'.{const language}}
  {field 1.GuestAddress}
- {translatestatictext 'Valid from - until'.{const language}}
  {field 1.zfac_actvalidfrom} - {field 1.zfac_expvaliduntil}
- {translatestatictext 'Current Balance'.{const language}}
  {field 1.balance} {field 3.CURRENCY}
{dif {field 1.inactive.0}=1}
- {translatestatictext 'Inactive Reason'.{const language}}
  {field 1.InactiveReason}
{/dif} {dif {field 2.YRES_ID.0}=0}{/dif}{else}
- {translatestatictext 'Reservation #:'.{const language}} {field 2.Yres_id} / {translatestatictext 'Guestname:'.{const language}} {field 2.GuestName} / {translatestatictext 'Balance:'.{const language}} {field 2.TotAmount} / {translatestatictext 'Room:'.{const language}} {field 2.YCAT_LONGDESC} {field 2.YRMS_SHORTDESC}
{/else}