Versions Compared

Key

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

...

SCL-2935 Resolved an issue with enabling read-only fields in MetaViewer instances

Description:

We have an issue with rendering of MetaViewer instances in GUI for .NET. When lazy loading was used, read-only fields have been enabled when they should have been disabled.
This issue is resolved now.

SCL-2958 Resolved an issue with @RestMethod discovery when .classpath file was used with prefix

Description:

We have resolved an issue that was preventing recovery of RESTful methods (Business Tasks or Business Entities) when a .classpath file was used with entries containing the class name prefix ( https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094795/Support+for+multiple+project+roots+and+the+Shared+AVM+feature ?search_id=93fa789c-2f24-4c78-99d8-399c33537f7c).

SCL-2966 Fixed issue with Decimal values in the UltraGridFilterRowHelper

Description:

We have resolved an issue in the UltraGridFilterRowHelper class which has impacted the ability to filter in the UltraGrid on large decimal values.
Image Modified

Improvement

SCL-2947 Implemented support for KEYS phrase with Buffer-Data-Source

Description:

We have implemented support for setting the DATA-SOURCE KEYS attribute when using the BufferDataSource. The Keys attribute can be passed through additional constructor arguments of the BufferSpec class. To allow type distinction, the Keys attribute is wrapped into a DataSourceKeys value object.

Code Block
languageabl

oBuferSpec = NEW Consultingwerk.OERA.BufferSpec ('Customer':U, 'Customer':U, NEW Consultingwerk.OERA.DataSourceKeys ('CustNum':U)) . 


The BusinessEntity Designer also supports generation for the KEYS option in the following way:

Code Block
languageabl

src_CustomerSalesrep = {Consultingwerk/create-instance.i Consultingwerk.OERA.IBufferDataSource
                        "NEW Consultingwerk.OERA.BufferSpec ('Customer':U, 'Customer':U, NEW Consultingwerk.OERA.DataSourceKeys ('CustNum':U))"
                        "NEW Consultingwerk.OERA.BufferSpec ('Salesrep':U, 'Salesrep':U, NEW Consultingwerk.OERA.DataSourceKeys ('ROWID':U))"}.

...

SCL-2949 Implement Clone() method for FetchDataRequests class

Description:

We have implemented the Clone() method for the FetchDataRequest class. The override returns a new instance of a FetchDataRequest instance.
The Clone() method does not implement a deep clone for the CustomParameter or NamedQuery attribute.

SCL-2950 Added support for Angular server side filtering Attribute

Description:

We have implemented support to control the ServerSideFiltering attribute for MetaDataSource instances when rendered to Angular Web Forms.

SCL-2955 GuiClientStartupManager now provides a progress bar during loading of services

Description:

We have added a Progress bar to the JSON Configuration based GUI Client Startup Manager. With new status bar indicates the progress while loading configured service instances during client startup.

New Feature

SCL-2933 Implemented additional DatasetModel constructors for fetch requests with custom context/parameter

Description:

We've added support to the DatasetModel for passing values for the CustomContext and CustomParameters when retrieving data through the DatasetModel constructors. The CustomContext (CHARACTER) and/or CustomParameter (Progress.Lang.Object) are passed to the DatasetModel contructors through a new holder value object of type Consultingwerk.OERA.FetchOptions.

Code Block
languageabl

oCustomer = NEW CustomerDatasetModel (42, NEW Consultingwerk.OERA.FetchOptions ("sample custom context")) .


or

Code Block
languageabl

oCustomer = NEW CustomerDatasetModel (42, NEW Consultingwerk.OERA.FetchOptions (oCustomParameter)) .

...

SCL-2943 Implemented GroupAssign-Link support for repository

Description:

We have added support for defining GroupAssign links between MetaViewer instances in the SmartFramework repository. GroupAssign links will be rendered to GUI for .NET and Angular Forms.

SCL-2957 Implement ability to inject query values from the DataAccess for referential integrity

Description:

A DataAccess implementing the Consultingwerk.Framework.IRelationServiceQueryCustomizer interface now supports the customization of the queries used during processing of referential integrity rules during add/update and delete operations.
The Data Access class needs to implement the following methods:

Code Block
languageabl

    /**
     * Purpose: Callback method to support customization of the child query string
     * Notes:   Used by the OnParentDelete.... methods
     * @param pcQueryString The default query string
     * @param phParentBuffer The handle of the database buffer with the parent record
     * @param phChildBuffer The handle of the CHild buffer which will be used in the returned query
     * @param poRelation The value object or buffer model describing the relation record
     * @return The customized query string
     */
    METHOD PUBLIC CHARACTER CustomizeChildQuery (pcQueryString AS CHARACTER,
                                                 phParentBuffer AS HANDLE,
                                                 phChildBuffer AS HANDLE,
                                                 poRelation AS ISmartRelationTableModel).

    /**
     * Purpose: Callback method to support customization of the parent query string
     * Notes:   Used by the OnChildUpdateRestrict method
     * @param pcQueryString The default query string
     * @param phChildBuffer The handle of the database buffer with the child record
     * @param phParentBuffer The handle of the database buffer for the parent record, this buffer will be navigated by the returned query
     * @param poRelation The value object or buffer model describing the relation record
     * @return The customized query string
     */
    METHOD PUBLIC CHARACTER CustomizeParentQuery (pcQueryString AS CHARACTER,
                                                  phChildBuffer AS HANDLE,
                                                  phParentBuffer AS HANDLE,
                                                  poRelation AS ISmartRelationTableModel).


The relation service will first generate the query based on the defined field-pairs for the relation and then pass the query string along with details of the relation currently processed to the Data Access class where it can be fully customized.

SCL-2962 Added repository support for DeselectRowsOnActivate

Description:

GUI for .NET Rendering of MetaGrid instances now supports the DeselectRowsOnActivate attribute which is key to support multi-selection in the SmartDataBrowser control.