Business Entity & Business Tasks
Introduction
In the SmartComponentLibrary, Business Entities and Business Tasks are the core building blocks of the OERA-based service layer.
Business Entities encapsulate all data-centric logic that is tied to tables and ProDatasets: they define the dataset structure (Temp-Tables, relations, indexes) and implement standardized CRUD and query behavior. Using tools like the Business Entity Designer, you model these entities visually and generate the ABL classes and data access layer, ensuring a clean separation between UI and database logic and making the same entity reusable from desktop, web, and REST clients.
Business Tasks encapsulate process‑oriented or workflow logic that is not naturally bound to a single dataset. They coordinate calls to one or more Business Entities, perform calculations, validations, orchestration steps, or background jobs, and expose them as well-defined service methods. Just like Business Entities, Business Tasks are managed by the OERA Service Manager and can be invoked from SmartFramework UIs, PASOE-based REST services, and other integration layers.
Together, Business Entities (data and rules) and Business Tasks (processes and orchestration) provide a consistent, reusable backend model that underpins all SmartComponentLibrary applications.
- Business Entity Count Method
- Business Entity Descriptor
- Business Entity Validation made easy
- Business Service Names
- Business Tasks of the SmartComponent Library
- Dynamic Business Entities
- Invoking Business Tasks Asynchronously
- Managing the life cycle of Business Entities and Business Tasks
- Receiving data from a Business Entity in Batches
- Searching data using ROWID's within the SmartBusinessEntityAdapter
- Using the ADM2 DataView with OERA Business Entities
- Using the Business Entity Dispatcher
- Using the Business Entity method FetchDataByKeyTable
- Using Invokable Business Entity Methods with Dataset Model Classes
- Using the ServiceAdapter to access a Business Entity to retrieve data from the client
- Using the ServiceAdapter to access a Business Entity to update data from the client