Skip to main content

Completed OnPage Method

All we need to do is add two lines of code:

The first calls the CompleteOrder method, which we will add to the Utils class in a moment.

The second places a thank you message on the page.

ClassMethod OnPage() As %Status
    Do ..CompleteOrder()

    Write "Thank you for using Caché Cinema!<br>",!
    Quit $$$OK

We will put the CompleteOrder method in Cinema.UtilsOpens in a new tab. Let's look at the method.

FeedbackOpens in a new tab