Questions about Project Bookings

Questions about Project Bookings

  

I am a beginner in the outsystems course and I am currently doing the Outsystems 10 Bookings project but I have some doubts about the things I did and are not working well, for better framing, attached a word file with more detail.

Thank you very much

João Iber Da Costa wrote:

I am a beginner in the outsystems course and I am currently doing the Outsystems 10 Bookings project but I have some doubts about the things I did and are not working well, for better framing, attached a word file with more detail.

Thank you very much



Hey João!

Acho que será mais fácil falar contigo em português, e obrigado por colocares a tua pergunta nos fóruns, como sugeri :-)

Quanto ás tuas questões:

1: Sim, deves usar expressões para exibir dados calculados, mas tens outras opções.

2: Porque é que o Book Room não aparece? Na realidade o Book Room devia aparecer juntamente com o GetAvailableRoom. Terás a tua condição (na propriedade Visible) invertida?

3: Tipo errado para o Status: tens o tipo do atributo "Status" da entidade como Boolean, ou como uma referência para uma entidade estática? Esta última opção seria a correta.

4: Para adicionar uma coluna (RoomNumber) a uma tabela, arrasta o respetivo atributo para a tabela :-)

Espero ter ajudado... 


Hi,

I am also trying to finish the online Web course and i think there is an error in chapter 5 with the RoomAmenity entity. 

Previously a unique index was set on the 2 attributes roomId and amenityId. If you make a booking of the same room in another period, it means the same room and amenity can not be choosen because its not unique.

Should the roomid attribute not be the bookingid attribute instead? So every booking has its own amenities chosen for a room?....or the bookingid being added as extra attribute to this entity?

Hope to hear if i am wrong or not.

Thanks in advance.

Regards,

Kenneth.

Ignore my previous post...seems i modified the wrong screen for this exercise..duh