Top Method Summary
Options Name Purpose
CountResultRecords (dataset-handle, ICountRecordsRequest) Counts the number of results of the query
INT64 CountResultRecords (ICountRecordsRequest) Counts the number of results of the query
A FetchData (IFetchDataRequest) Fetch data and/or definitions
F FetchData (IFetchDataRequest, dataset-handle) Fetch data and/or definitions
FetchDataset (dataset-handle) Creates and returns an empty dataset to the caller
Consultingwerk.OERA.IBusinessEntity GetBusinessEntity () Return the reference to the Business Entity
Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor GetBusinessEntityDescriptor () Returns the Business Entity Descriptor for this Business Entity
F GetBusinessEntityDescriptor (dataset-handle, GetBusinessEntityDescriptorParameter) Returns the Business Entity Descriptor for this Business Entity
GetInitialValues (dataset-handle, GetInitialValuesParameter) Returns a dataset with one record containing the initial values
CHARACTER GetTopNavBuffers () Returns the names of the dataset TOP-NAV-BUFFER's
ResetState () Resets the state of the Business Entity by emptying temp-tables
F SaveChanges (dataset-handle) Saves changes
F SaveChanges (dataset-handle, Object) Saves changes
A SaveChanges (Object) Saves changes

Top Constructor Summary
Options Name Purpose
BusinessEntityBusinessTask (handle, character) Constructor for the BusinessEntityBusinessTask class

Top Property Summary
Options Name Purpose
HANDLE DatasetHandle
LOGICAL DelegateGetInitialValues
CHARACTER ENTITY_NAME


Method Detail
Top

CountResultRecords (dataset-handle, ICountRecordsRequest)

Purpose: Counts the number of results of the query
Notes: Used by the Generic JSDO Service to support the Count feature
Supports STOP-AFTER: When STOP-AFTER occurs, the StopAfterNumResults
value of the parameter object is returns as the Results
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount //consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount

Parameters:
phDataset DATASET-HANDLE
The dataset handle (not used)
poParameter Consultingwerk.OERA.ICountRecordsRequest
The CharacterHolder to receive the list of TOP-NAV-BUFFERS
Top

INT64 CountResultRecords (ICountRecordsRequest)

Purpose: Counts the number of results of the query
Notes: Used by the Generic JSDO Service to support the Count feature
Supports STOP-AFTER: When STOP-AFTER occurs, the StopAfterNumResults
value of the parameter object is returns as the Results
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount //consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount

Parameters:
poParameter Consultingwerk.OERA.ICountRecordsRequest
The CharacterHolder to receive the list of TOP-NAV-BUFFERS
Returns INT64
The number of records returned by the query
Top

FetchData (IFetchDataRequest)

Purpose: Fetch data and/or definitions
Notes:

Parameters:
poFetchDataRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest object with the parameter for this call
Top

FetchData (IFetchDataRequest, dataset-handle)

Purpose: Fetch data and/or definitions
Notes:

Parameters:
poFetchDataRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest object with the parameter for this call
phDataset DATASET-HANDLE
OUTPUT Dataset with the resulting data
Top

FetchDataset (dataset-handle)

Purpose: Creates and returns an empty dataset to the caller
Notes: Useful for dynamic callers that need access to the dataset schema prior to calling FetchData

Parameters:
phDataset DATASET-HANDLE
OUTPUT Dataset with the resulting data
Top

Consultingwerk.OERA.IBusinessEntity GetBusinessEntity ()

Purpose: Return the reference to the Business Entity
Notes:

Returns Consultingwerk.OERA.IBusinessEntity
The reference to the IBusinessEntity
Top

Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor GetBusinessEntityDescriptor ()

Purpose: Returns the Business Entity Descriptor for this Business Entity
Notes: https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor

Returns Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The IBusinessEntityDescriptor of the Business Entity
Top

GetBusinessEntityDescriptor (dataset-handle, GetBusinessEntityDescriptorParameter)

Purpose: Returns the Business Entity Descriptor for this Business Entity
Notes: Invokable Method
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor //consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor

Parameters:
phDataset DATASET-HANDLE
The dataset of the Business Entity
poParameter Consultingwerk.OERA.BusinessEntityDescriptor.GetBusinessEntityDescriptorParameter
The GetBusinessEntityDescriptorParameter with the data for this call
Top

GetInitialValues (dataset-handle, GetInitialValuesParameter)

Purpose: Returns a dataset with one record containing the initial values
Notes: Can be overridden in Business Entity implementations to provide
dynamic initial values. The base class implementation will return
the buffer fields initial values. The parameter object's TableNames
is a comma-delimited list. The parameter object's ForeignKeyFields
property is a character array (one element per table) of comma delimited
lists of the provided foreign field names. The ForeignKeyValues property is a
character array (one element per table) of CHR(1) delimited field
values

Parameters:
phDataset DATASET-HANDLE
Used to return the dataset
poParameter Consultingwerk.OERA.GetInitialValuesParameter
The GetInitialValuesParameter instance with the parameters for this call
Top

CHARACTER GetTopNavBuffers ()

Purpose: Returns the names of the dataset TOP-NAV-BUFFER's
Notes:

Returns CHARACTER
The list of TOP-NAV-BUFFERS
Top

ResetState ()

Purpose: Resets the state of the Business Entity by emptying temp-tables
Notes: If the dataset or any temp-tables have been passed BY-REFERENCE and
a reference. This method is typically called from an AppServer's
deactivate procedure via the ServiceInterface's RequestEnded event

Top

SaveChanges (dataset-handle)

Purpose: Saves changes
Notes: This method is called from consumers of the Business Task and
receives the dataset.
This method is called by the ServiceInterface when no parameter object
has been passed in

Parameters:
phDataset DATASET-HANDLE
INPUT-OUTPUT Dataset with changes
Top

SaveChanges (dataset-handle, Object)

Purpose: Saves changes
Notes: This method is called from consumers of the Business Task and
receives the dataset.
This method is called by the ServiceInterface when a parameter object
has been passed in. The parameter object will be accessible from within
the business entity using the protected property SaveChangesParameter

Parameters:
phDataset DATASET-HANDLE
INPUT-OUTPUT Dataset with changes
poParameter Progress.Lang.Object
Optional Parameter object for the SaveChanges method
Top

SaveChanges (Object)

Purpose: Saves changes
Notes: This method is called from consumers of the Business Task and
receives the dataset.

Parameters:
poParameter Progress.Lang.Object
Optional Parameter object for the SaveChanges method


Constructor Detail
Top

BusinessEntityBusinessTask (handle, character)

Purpose: Constructor for the BusinessEntityBusinessTask class
Notes:

Parameters:
phDataset HANDLE
The handle of the Dataset
pcEntityName CHARACTER
The name of the Business Entity


Property Detail
Top

HANDLE DatasetHandle


Returns HANDLE
Top

LOGICAL DelegateGetInitialValues


Returns LOGICAL
Top

CHARACTER ENTITY_NAME


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:21:59