280
Views
4
Comments
Questions about Project Bookings
Question

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

Minhas+Duvidas.docx
UserImage.jpg
João Iber Da Costa

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



UserImage.jpg
Pedro Freire

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... 


UserImage.jpg
OutSystemsPractitioner

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.

UserImage.jpg
OutSystemsPractitioner

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.