Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Calling BO using JS to filter data

Summary:

I have a BO for booking with field of startDate and endDate and a few other field. For now the filtering process is based on a few chosen criteria which is startDate and endDate as one of the filtering input and my design for now is just using the startDate as the criteria to get a specific booking only for that date.

Content (please ensure you mask any confidential information):

The issue right now is if a booking is for example have startDate = 10/12 and endDate = 20/12, it cannot be filtered using just an input (chosenDate) from user e.g: user chose 13/12, the booking data cannot be displayed since i use startDate as the filtering criteria and it did not match. The expected outcome is that the data need to be shown if the chosenDate is equal to the startDate (for this i already managed to achieve) and also if the chosenDate is in between the startDate = 10/12 and endDate = 20/12 (this is the one unachiveable).

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!