Try OpenEdge Now
skip to main content
Data Access and Business Entity Objects : Business Entity object

Business Entity object

The Business Entity "owns" the data that constitutes a business object. This means that each running instance of a Business Entity procedure represents and holds the data for a particular object. If the Business Entity is for an Order and uses temp-tables for the Order header and for its OrderLines, then typically an instance of the entity would hold the data for a single Order and its OrderLines. In some cases, of course, a Business Entity could be used for a more specialized purpose, such as retrieving all the Order headers for a SalesRep, as one of the earlier examples shows, and returning those to the client, so that the client can then request detail for an Order in a subsequent call. There can be a wide variety to these specialized types of requests, and they will vary a lot from entity to entity.
* Elements of a Business Entity