{runquerywithautoparameters 1} {field 1.HotelName}
{field 1.HotelZip} {field 1.HotelCity} {field 1.HotelCountry} {field 1.Siret} {field 1.NAF} {field 1.VAT} {runquerywithautoparameters 2} {runquerywithautoparameters 3} {dif('{field 2.idnum}'<>'')} {field 2.currdatetime} {field 2.fyear} {field 2.fmonth} {field 2.cummulative} {field 2.perpetual} {field 2.realperpetual} {field 2.signature} {dif('{field 2.flag}'<>'Y')} Yes {/dif} {dif('{field 2.flag}'<>'N')} No {/dif} {field 2.prev_signature} {forall 3} {field 3.taxableamount} {dif('{field 3.taxrate}'<1)} {field 3.taxrate}*100 {/dif}{else} {field 3.taxrate} {/else} {field 3.taxamount} {/forall} {/dif}