Business Entity & Business Tasks

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.