Top Method Summary
Options Name Purpose
HANDLE GetDataset (character) Fetches the ProDataset of the given Business Entity, used for resolving the proper-cased field names of the Lookup bindings.
Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character) Renders a repository object as JSON
Progress.Json.ObjectModel.JsonObject RenderLookupGridLayout (handle) Renders the lookup grid layout
RenderNumericOptions (JsonObject, JsonObject, handle, handle, character) Renders the numeric options of a lookup bound to an INTEGER, INT64 or DECIMAL field
HANDLE ResolveBoundField (character, handle, character) Returns the handle of the viewer field the lookup is bound to
CHARACTER ResolveFieldName (character, handle, character) Returns the properly-cased SERIALIZE-NAME (or NAME) of a buffer field as defined in the given ProDataset, so that the JSON rendering of the Lookup uses the casing of the schema.


Method Detail
Top

HANDLE GetDataset (character)

Purpose: Fetches the ProDataset of the given Business Entity, used for
resolving the proper-cased field names of the Lookup bindings.
Notes: The caller is responsible for deleting the returned dataset
handle. Returns the unknown value when pcEntityName is empty.

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
Returns HANDLE
The handle of the Business Entity's ProDataset
Top

Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character)

Purpose: Renders a repository object as JSON
Notes:

Parameters:
pcObjectName CHARACTER
The name of the repository field
pcScope CHARACTER
The scope to bind the field to
pcFieldModel CHARACTER
The model to bind the field to
pcFieldName CHARACTER
The name of the field
plMandatory LOGICAL
Logical value indicating if the field is mandatory
plReadOnly LOGICAL
Logical value indicating if the field is mandatory
plAddOnly LOGICAL
Logical value indicating if the field is only enable during add
phAttributes HANDLE
The record buffer with the object attributes
phDataset HANDLE
The handle of the Business Entity Dataset
pcTables CHARACTER
The list of tables (entity table + entity view)
Returns Progress.Json.ObjectModel.JsonObject
The JSON representation of the field
Top

Progress.Json.ObjectModel.JsonObject RenderLookupGridLayout (handle)

Purpose: Renders the lookup grid layout
Notes:

Parameters:
phAttributes HANDLE
The lookup's attribute's buffer
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject representing the Grid layout
Top

RenderNumericOptions (JsonObject, JsonObject, handle, handle, character)

Purpose: Renders the numeric options of a lookup bound to an INTEGER, INT64
or DECIMAL field
Notes: SCL-5792. Adds the dataType to the lookupOptions and - like the
DataFieldWebRendering does for numeric fields - the Kendo number
format (from the FORMAT attribute, falling back to the format of
the bound field) and the step to the inputSettings

Parameters:
poInputSettings Progress.Json.ObjectModel.JsonObject
The inputSettings JsonObject of the field
poLookupOptions Progress.Json.ObjectModel.JsonObject
The lookupOptions JsonObject of the field
phAttributes HANDLE
The record buffer with the object attributes
phBoundField HANDLE
The handle of the viewer field the lookup is bound to (may be invalid)
pcDataType CHARACTER
The ABL data type (INTEGER, INT64, DECIMAL)
Top

HANDLE ResolveBoundField (character, handle, character)

Purpose: Returns the handle of the viewer field the lookup is bound to
Notes: SCL-5792. The field name is the qualified name of the bound
field (table.field) or the unqualified field name, which is
located in the given list of tables. Returns the unknown value
when the field cannot be resolved in the dataset

Parameters:
pcFieldName CHARACTER
The (qualified) name of the bound field
phDataset HANDLE
The handle of the Business Entity Dataset of the viewer
pcTables CHARACTER
The list of tables (entity table + entity view)
Returns HANDLE
The handle of the buffer field or the unknown value
Top

CHARACTER ResolveFieldName (character, handle, character)

Purpose: Returns the properly-cased SERIALIZE-NAME (or NAME) of a buffer
field as defined in the given ProDataset, so that the JSON
rendering of the Lookup uses the casing of the schema.
Notes: When the dataset, table or field cannot be resolved, the
original field name is returned unchanged.

Parameters:
pcFieldName CHARACTER
The name of the field to resolve
phDataset HANDLE
The handle of the Business Entity's ProDataset
pcTableName CHARACTER
The name of the entity table the field belongs to
Returns CHARACTER
The properly-cased field name


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:20:30