How is your experience with the OutSystems Community?
59
Views
6
Comments
Solved
Bookings Assignment 4
Question

so i've been stuck in with this part  because my new book bottom did'nt include the 'Booked' status
any suggestion?

2023-03-08 10-32-19
Vinod Kumar R
Solution

Hi Galih,


You need to pass some Statusid to BOOKROOM action (Booking Detail Screen) before create or update.


Attached is the revised OML file.


Regards,

Vinod

BookingsSahar.oml
2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi galih sahar,

Does your Book Room button now correctly assign the Booked status to new bookings?

If so, just create a new Booking, and it should show that information on your Bookings screen.

If you really want to delete the wrong records, the easy approaches are:

  • You add an extra button to the BookingDetail screen that simply calls the DeleteBooking entity action; or
  • You cut the Booking entity (on the Data Tab, Entities > Database folder) and paste it in the same place again. This will effectively create a new table to store the information of the pasted entity (so there will be no entity records there.

Hope this helps!

UserImage.jpg
galih sahar

Jorge Martins wrote:

Hi galih sahar,

Does your Book Room button now correctly assign the Booked status to new bookings?

If so, just create a new Booking, and it should show that information on your Bookings screen.

If you really want to delete the wrong records, the easy approaches are:

  • You add an extra button to the BookingDetail screen that simply calls the DeleteBooking entity action; or
  • You cut the Booking entity (on the Data Tab, Entities > Database folder) and paste it in the same place again. This will effectively create a new table to store the information of the pasted entity (so there will be no entity records there.

Hope this helps!

 Hey Jorge ,
I already do that and nothing change
if you dont mind
can you check my homework to see what I did wrong
thanks alot Bookings_Sahar.oml

 

BookingsSahar.oml
2023-04-07 07-55-02
Krushna Mantri

Hi,

As I have checked, while booking room you are not assigning the status of booking (the status option is not in Booking detail form as well), so please assign status before creating booking entity record like below:

hope this will help you

Cheers,


UserImage.jpg
galih sahar

Krushana Mantri wrote:

Hi,

As I have checked, while booking room you are not assigning the status of booking (the status option is not in Booking detail form as well), so please assign status before creating booking entity record like below:

hope this will help you

Cheers,


 Ohhh yeah
Its work
Thanks you very much Krushana

 

2023-03-08 10-32-19
Vinod Kumar R
Solution

Hi Galih,


You need to pass some Statusid to BOOKROOM action (Booking Detail Screen) before create or update.


Attached is the revised OML file.


Regards,

Vinod

BookingsSahar.oml
2023-03-09 07-10-59
Vipasha Sharma

Hi Galih,

On click of "Book Room" action you need to assign "StatusID" and "RoomID" just before the "CreateOrUpdate Booking" action. As you are not capturing both values from you form and after clicking on "Book Room" button the records has been created but with 0 value (nullidentifier()) value for them so you either need to assign these values explicitly or add fields into your form to store their values.

Hope this helps you,

Regards,

Vipasha

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