{runquery 1}{runsubquery 2.1.xcms_id} {runsubquery 3.1.xcms_id} {runsubquery 4.1.xcms_id} {runquery 5}{runsubquery 6.1.xcms_id}{runsubquery 7.1.xcms_id} {runsubquery 8.1.xcms_id} {runsubquery 9.1.xcms_id} {runsubquery 10.1.xcms_id} {runsubquery 11.1.xcms_id} {runsubquery 12.1.xcms_id} {runsubquery 13.1.xcms_id}{runsubquery 14.1.xcms_id}{runsubquery 15.1.xcms_id} {runsubquery 16.1.xcms_id} {runsubquery 17.1.xcms_id} {runsubquery 18.1.xcms_id} {runsubquery 19.1.xcms_id} {runsubquery 20.1.xcms_id} {runsubquery 21.1.xcms_id} {runsubquery 22.1.xcms_id} {runquery 23} {runsubquery 24.1.xcms_id} {runsubquery 25.1.xcms_id} {runsubquery 26.1.xcms_id} {runquerywithparameter 27.parameter.{userid}}
{translatestatictext 'Profile Information'.{const language}}
- {translatestatictext 'Company Name'.{const language}}
  {field 1.xcms_name1} {field 1.xcms_name2} {field 1.xcms_name3} {dif '{field 24.OrgHotel}'=''}{/dif} {else} {translatestatictext 'Created in'.{const language}} {field 24.OrgHotel}{/else}
{dif {field 1.xcms_active.0}=1}{/dif}{else}
- {translatestatictext 'Inactive'.{const language}}
  {translatestatictext 'Date:'.{const language}} {field 1.xcms_inacttime} {translatestatictext 'Reason:'.{const language}} {field 1.xcms_inactreason}
{/else} {dif('{field 1.xcms_creditstat}'='')}{/dif}{else}
- {translatestatictext 'Credit Status'.{const language}}
  {dif '{field 1.xcms_creditstat}'='B'} {translatestatictext 'Restricted'.{const language}} {dif '{field 1.xcms_credtime}'=''}{/dif}{else} {translatestatictext 'Date:'.{const language}} {field 1.xcms_credtime} {translatestatictext 'Reason:'.{const language}} {field 1.xcms_credreason}{/else} {/dif} {dif '{field 1.xcms_creditstat}'='C'} {translatestatictext 'Cash only'.{const language}} {dif '{field 1.xcms_credtime}'=''}{/dif}{else} {translatestatictext 'Date:'.{const language}} {field 1.xcms_credtime} {translatestatictext 'Reason:'.{const language}} {field 1.xcms_credreason}{/else} {/dif} {dif '{field 1.xcms_creditstat}'='A'} {translatestatictext 'City Ledger Authorization'.{const language}} {dif '{field 1.xcms_credtime}'=''}{/dif}{else} {translatestatictext 'Date:'.{const language}} {field 1.xcms_credtime} {translatestatictext 'Reason:'.{const language}} {field 1.xcms_credreason}{/else} {/dif}
{/else} {dif '{field 1.xccd_division}'=''}{/dif}{else}
- {translatestatictext 'Division'.{const language}}
  {field 1.xccd_division}
{/else}
- {translatestatictext 'Address'.{const language}}
  {field 17.address}
{dif '{field 3.xcom_value}'=''}{/dif}{else}
- {translatestatictext 'Communication'.{const language}}
  {forall 3}
  {field 3.xcmt_longdesc}
  {dif {field 3.xcmt_type}=2} {field 3.xcom_value} {/dif} {else} {dif {field 3.xcmt_type}=1} {field 3.xcom_value} {/dif} {else}{field 3.xcom_value} {/else} {/else}
  {/forall}
{/else} {dif {field 20.XMSL_SUB_ID.0}=0}{/dif}{else}
- {translatestatictext 'Master Companies'.{const language}}
  {forall 20}{field 20.Name1} {field 20.Name2} {field 20.Name3}
  {/forall}
{/else} {dif {field 21.XMSL_MASTER_ID.0}=0}{/dif}{else}
- {translatestatictext 'Sub Companies'.{const language}}
  {forall 21}{field 21.Name1} {field 21.Name2} {field 21.Name3}
  {/forall}
{/else} {dif({field 22.XCCL_TO_XCMS_ID.0}=0)}{/dif}{else}
- {translatestatictext 'Linked Companies'.{const language}}
  {forall 22}{field 22.CompanyName1}
  {/forall}
{/else} {dif {field 9.Contact_XCMS_ID.0}=0}{/dif}{else}
- {translatestatictext 'Linked Contacts'.{const language}}
  {forall 9} {field 9.ContactLastName}, {field 9.ContactFirstName} {field 9.ContactMiddleInitial} {field 9.xcid_addrgreet}
  {/forall}
{/else} {dif '{field 10.YRch_Shortdesc}'=''}{/dif}{else}
- {translatestatictext 'Rate Codes'.{const language}}
  {forall 10}{field 10.YRch_Shortdesc} {/forall}
{/else} {dif {field 13.xcno_id.0}=0}{/dif}{else}
- {translatestatictext 'Notes'.{const language}}
  {forall 13} {dif ({field 13.xcnc_restriction.0}=1) and ({field 27.RestrictedNotesAllowed.0}=0)}{/dif}{else} {field 13.xcnc_shortdesc}: {field 13.xcno_notes}
  {/else} {/forall}
{/else}
{translatestatictext 'Statistics'.{const language}}
- {translatestatictext 'Room Nights'.{const language}}
  {dif {field 16.RoomNights.0}=0}0{/dif}{else} {field 16.RoomNights} {/else}
- {translatestatictext 'Adult Nights'.{const language}}
  {dif {field 16.AdultNights.0}=0}0{/dif}{else} {field 16.AdultNights.}{/else}
- {translatestatictext 'Stays'.{const language}}
  {dif {field 16.Arrivals.0}=0}0{/dif}{else} {field 16.Arrivals}{/else}
- {translatestatictext 'Revenue'.{const language}}
  {field 26.TotalGrossRevenue} {field 23.Currency}
{dif '{field 2.xcth_name}'=''}{/dif}{else}
- {translatestatictext 'Contract'.{const language}} {field 2.XCTH_NAME}
  {translatestatictext 'Contracted'.{const language}}
  {translatestatictext 'Actuals'.{const language}}
{forall 2}
- {translatestatictext 'Room Nights'.{const language}}
  {field 2.XCTH_RoomNights}
  {dif '{field 2.RoomNights.0}'='0'} 0.00 {/dif}{else} {field 2.RoomNights}{/else}
- {translatestatictext 'Room Revenue'.{const language}}
  {field 2.XCTH_GrossRoomRev}
  {dif '{field 2.Gross_Room_Rev.0}'='0'} 0.00 {/dif}{else} {field 2.Gross_Room_Rev}{/else}
{/forall} {/else} {dif '{field 14.xmty_longdesc}'=''}{/dif}{else}
- {translatestatictext 'A/R'.{const language}}
  {translatestatictext 'Credit Limit'.{const language}}
  {translatestatictext 'Balance'.{const language}}
{forall 14}
- {dif {field 14.xmnr_value.0}=0} {/dif}{else}{field 14.xmnr_value}{/else}
  {field 14.creditlimit}
  {dif '{field 14.BALANCE.0}'='0'} 0.00 {/dif}{else} {field 14.BALANCE}{/else}
{/forall} {/else} {dif '{field 6.YRES_EXPARRTIME.0}'='0'}{/dif}{else}
- {translatestatictext 'Next Reservations'.{const language}}
  {forall 6}
- {field 6.YRES_ID} {field 6.xcms_name1}
  {field 6.YRES_EXPARRTIME}
  {field 6.ycat_shortdesc}
{/forall} {/else} {dif '{field 7.ybom_arrival.0}'='0'}{/dif}{else}
- {translatestatictext 'Next Conference Bookings'.{const language}}
  {forall 7}
- {field 7.ybom_id}
  {field 7.ybom_arrival}
  {field 7.ybom_name}
{/forall} {/else}