#REM#ENDREM #LOCAL("LastBookingUnitID", #LastBookingUnit) #IF(NOT #DEFINED(#LastBookingUnitID))#SET("LastBookingUnitID", #Calendar.LastBookingUnit.ID)#ENDIF #IF(NOT #DEFINED(#LastBookingUnitID))#SET("LastBookingUnitID", #Calendar.BaseCalendar.LastBookingUnit.ID)#ENDIF #LOCAL("LastBookingAmount", #LastBookingAmount) #IF(NOT #DEFINED(#LastBookingAmount))#SET("LastBookingAmount", #Calendar.LastBookingAmount)#ENDIF #IF(NOT #DEFINED(#LastBookingAmount))#SET("LastBookingAmount", #Calendar.BaseCalendar.LastBookingAmount)#ENDIF {LastBooking} #IF(#LastBookingUnitID) #ENDIF #ENDLOCAL#ENDLOCAL