A user opens a maintenance screen from a lookup screen or another maintenance screen by either clicking a button, such as a New or Open button, or clicking a hyperlink. This triggers the application to complete the initial page lifecycle, which is all behind the scenes for the user. As far as they know, they just click a button or link and either create a new record or open an existing one.
- The user clicks a button or hyperlink.
- The business tier calls the corresponding method on the form object (C# business object). If the page mode is new, the business tier calls the new method, which creates a new instance of the business object and sets the default values or loads other objects if required. If the page mode is update, the business tier calls the update method, which loads the form object values from the database, plus all required collections.
- The business tier evaluates the initial load rules defined in the entity or on the form, as the initial load group.
- The business tier creates an object of the utlResponse data, which will have only the values that are required on the form, and returns this object to the webserver.
- The business tier stores the business object in the database.
- The webserver sends the utlResponseData object to the browser.
- The browser builds the page.
This post is part of the Maintenance Form topic. Click here to open the Maintenance Form Overview.