Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SCL-2967 Reduce PASOE Performance issues on multi-core Linux systems with INPUT THROUGH statement

Description:

In a recent Progress Software tech-support case of a customer we have discovered a significant performance penalty of the INPUT THROUGH statement within PASOE on Linux. Calls seem to take roughly 0.1 to 0.2 seconds regardless of what is executed. The same performance penalty is not present within PASOE on Windows.
The Consultingwerk.Environment:Pid property was determining the PID of the current Progress session on Unix/Linux though an INPUT THROUGH command.
This has now been improved to utilizing the _MyConnection VST record.

SCL-2977 Improved MockDataAccessFactory to support the injection of an empty source dataset without the need to supply an empty xml file

Description:

The MockDataAccessFactory now supports injecting a mock Data Access class without the need to provide a mock data XML file. This is supported by providing a .mock file with no data file provided.

SCL-2978 Support for before buffer as parameter for BusinessEntity:FetchRelatedRecords

Description:

We have implemented support for passing a BEFORE-BUFFER handle to the BusinessEntity:FetchRelatedRecords and the related API's in the DatasetHelper: SiblingWhereStringWithValues, ParentRelationWhereStringWithValues and ChildRelationQueryStringWithValues.
This allows to fetch parent, child and sibling records based on the key values of the BEFORE-BUFFER of a modified or deleted ProDataset record.

New Feature

SCL-2782 Implemented rendering support for ViewAs RADIO-SET Attribute

Description:

We have now implemented support for rendering repository based viewers with data fields as a RADIO-SET based on the ViewAs property. The ViewAs property is interpreted like the ABL RADIO-SET Phrase, e.g.

Code Block
languageabl

RADIO-SET RADIO-BUTTONS "Label 1", 1, "Label 2", 2, "Label 3", 3

...

SCL-2951 Implemented new Business Entity Dispatcher base class

Description:

The Business Entity Dispatcher is a class implementing the Interface of the Business Entity and supports dispatching read and update requests to a set of Business Entities and merging the result set of those.
Details about the new feature can be found in the developers reference: https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/250281990/Using+the+Business+Entity+Dispatcher

SCL-2980 Support subscribing events of MetaViewer through the repository

Description:

We have implemented support for subscribing to events of field instances contained in a MetaViewer repository container.
Subscription is achieved by entering the event handler method name in the instance property sheet in the repository designer. Event handlers are expected to be methods in the viewer logic class. The event handler methods are expected to provide the same input parameters (sender, e) as expected by the .NET Controls raising the events.

SCL-2981 SmartBusinessEntityLookup support for Foreign Fields

Description:

The SmartBusinessEntityLookup now provides support for Foreign Fields when performing the lookup on leave or after the timer interval and when opening the Lookup Dialog. When the ForeignFields property is set, the SmartBusinessEntityLookup attempts to provide values for those fields based on
- bound field in the viewer
- a control with the name in the viewer
- a column of the viewer's SmartDataSource
The LookupQueryString and LookupDialogQueryString properties may reference the foreign fields within two @ characters, like:

No Format

for each eItem where eItem.Category1 = @ceCategory@ or (@ceCategory@ = "")


The values can also be provided or manipulated through the ProvideForeignFieldValue event of the SmartBusinessEntityLookup class, e.g.

Code Block
languageabl

METHOD PRIVATE VOID smartComboEditor1_ProvideForeignFieldValue( INPUT sender AS System.Object, INPUT e AS System.EventArgs ):

    IF CAST (e, ProvideForeignFieldValueEventArgs):Value = ? THEN
        CAST (e, ProvideForeignFieldValueEventArgs):Value = BOX ("":U) .

END METHOD.

...

SCL-2982 SmartComboEditor support for Foreign Fields

Description:

The SmartComboEditor now provides support for Foreign Fields when populating the ValueList through a Business Entity. When the ForeignFields property is set, the SmartComboEditor attempts to provide values for those fields based on
- bound field in the viewer
- a control with the name in the viewer
- a column of the viewer's SmartDataSource
The QueryString may reference the foreign fields within two @ characters, like:

No Format

for each eItem where eItem.Category1 = @ceCategory@ or (@ceCategory@ = "")


The values can also be provided or manipulated through the ProvideForeignFieldValue event of the SmartComboEditor class, e.g.

Code Block
languageabl

METHOD PRIVATE VOID smartComboEditor1_ProvideForeignFieldValue( INPUT sender AS System.Object, INPUT e AS System.EventArgs ):

    IF CAST (e, ProvideForeignFieldValueEventArgs):Value = ? THEN
        CAST (e, ProvideForeignFieldValueEventArgs):Value = BOX ("":U) .

END METHOD.

...