Page, report, codeunit, query, and XMLport each represent an object data type. Object data types are used when there is a need for a reference to an object or a function in another object. Some examples of this are as follows:
- Invoking a report or an XMLport from a page or a report
- Calling a function for data validation or processing is coded as a function in a table or a codeunit