Namespace: Consultingwerk.SmartFramework.Menu
Class 
SmartProductTableModel_Generated Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.OERA.TableModel
Implements: IDoNotIterateInDebugging, IEnumerable, IModelFilterTarget, ISupportsAvailable, Consultingwerk.OERA.ITableModel
Inherited by: Consultingwerk.SmartFramework.Menu.SmartProductTableModel
ABSTRACT




Top Method Summary
Options Name Purpose
Consultingwerk.SmartFramework.Menu.SmartProductTableModel CreateCurrentRecordView () Creates a new instance of the SmartProductTableModel as a view model for the current record
Consultingwerk.SmartFramework.Menu.SmartProductTableModel CreateView () Creates a new instance of the SmartProductTableModel as a view model
Consultingwerk.SmartFramework.Menu.SmartProductTableModel Fill (IFetchDataByKeyTableParameter) Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Consultingwerk.SmartFramework.Menu.SmartProductTableModel Fill (SmartProductQuery) Fills the TableModel or filters the View TableModel based on the given TableQuery
Consultingwerk.SmartFramework.Menu.SmartProductTableModel Fill (SmartProductQuery, OnNotAvailableEnum) Fills the TableModel or filters the View TableModel based on the given TableQuery
CHARACTER ProductCodeWhenAvailable (character) Returns the value of the ProductCode field when a record is available
LONGCHAR ProductDescriptionWhenAvailable (longchar) Returns the value of the ProductDescription field when a record is available
CHARACTER ProductGuidWhenAvailable (character) Returns the value of the ProductGuid field when a record is available
LOGICAL ProductInstalledWhenAvailable (logical) Returns the value of the ProductInstalled field when a record is available
CHARACTER ProductNameWhenAvailable (character) Returns the value of the ProductName field when a record is available
Consultingwerk.SmartFramework.Menu.SmartProductTableModelFilter ResetFilter () Resets the TableModel Filter
Consultingwerk.SmartFramework.Menu.SmartProductTableModel SetBatching (logical) Sets the Batching property
LOGICAL SystemOwnedWhenAvailable (logical) Returns the value of the SystemOwned field when a record is available

Top Constructor Summary
Options Name Purpose
SmartProductTableModel_Generated () Constructor for the SmartProductTableModel_Generated class
SmartProductTableModel_Generated (DatasetModel, handle) Constructor for the SmartProductTableModel_Generated class
SmartProductTableModel_Generated (handle) Constructor for the SmartProductTableModel class
SmartProductTableModel_Generated (handle, BufferModelGcModeEnum) Constructor for the SmartProductTableModel class
SmartProductTableModel_Generated (SmartProductTableModel, handle) Constructor for the SmartProductTableModel_Generated class

Top Property Summary
Options Name Purpose
Consultingwerk.SmartFramework.Menu.SmartProductTableModelFilter Filter
CHARACTER ProductCode
LONGCHAR ProductDescription
CHARACTER ProductGuid
LOGICAL ProductInstalled
CHARACTER ProductName
Consultingwerk.SmartFramework.Menu.SmartProductTableModelSort SortBy
LOGICAL SystemOwned


Method Detail
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModel CreateCurrentRecordView ()

Purpose: Creates a new instance of the SmartProductTableModel as a view model for the current record
Notes:

Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The SmartProductTableModel as the view model
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModel CreateView ()

Purpose: Creates a new instance of the SmartProductTableModel as a view model
Notes:

Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The SmartProductTableModel as the view model
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModel Fill (IFetchDataByKeyTableParameter)

Purpose: Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Notes: The Tables property of the IFetchDataByKeyTableParameter should match the
FillChildTables property of the TableModel instance

Parameters:
poFetchDataByKeyTableParameter Consultingwerk.OERA.IFetchDataByKeyTableParameter
The IFetchDataByKeyTableParameter to populate the DatasetModel with
Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModel Fill (SmartProductQuery)

Purpose: Fills the TableModel or filters the View TableModel based on the given
TableQuery
Notes:

Parameters:
poQuery Consultingwerk.SmartFramework.Menu.SmartProductQuery
The reference to the SmartProductTableModelQuery
Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModel Fill (SmartProductQuery, OnNotAvailableEnum)

Purpose: Fills the TableModel or filters the View TableModel based on the given
TableQuery
Notes:

Parameters:
poQuery Consultingwerk.SmartFramework.Menu.SmartProductQuery
The reference to the SmartProductTableModelQuery
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not available
Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The reference to this TableModel instance
Top

CHARACTER ProductCodeWhenAvailable (character)

Purpose: Returns the value of the ProductCode field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

LONGCHAR ProductDescriptionWhenAvailable (longchar)

Purpose: Returns the value of the ProductDescription field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LONGCHAR
The default value to return when no record is available
Returns LONGCHAR
The field value or the default value when no record is available
Top

CHARACTER ProductGuidWhenAvailable (character)

Purpose: Returns the value of the ProductGuid field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

LOGICAL ProductInstalledWhenAvailable (logical)

Purpose: Returns the value of the ProductInstalled field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LOGICAL
The default value to return when no record is available
Returns LOGICAL
The field value or the default value when no record is available
Top

CHARACTER ProductNameWhenAvailable (character)

Purpose: Returns the value of the ProductName field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModelFilter ResetFilter ()

Purpose: Resets the TableModel Filter
Notes: Strong-typed variant of the TableModelFilter:Reset() method

Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModelFilter
The SmartProductTableModelFilter instance
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModel SetBatching (logical)

Purpose: Sets the Batching property
Notes: Fluent interface

Parameters:
plBatching LOGICAL
Logical value indicating if Batching should be used
Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The reference to the &1 instance itself
Top

LOGICAL SystemOwnedWhenAvailable (logical)

Purpose: Returns the value of the SystemOwned field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LOGICAL
The default value to return when no record is available
Returns LOGICAL
The field value or the default value when no record is available


Constructor Detail
Top

SmartProductTableModel_Generated ()

Purpose: Constructor for the SmartProductTableModel_Generated class
Notes: Creates a buffer model based on a dynamic internal temp-table in the model class

Top

SmartProductTableModel_Generated (DatasetModel, handle)

Purpose: Constructor for the SmartProductTableModel_Generated class
Notes:

Parameters:
poDatasetModel Consultingwerk.OERA.DatasetModel
The reference to the owning DatasetModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

SmartProductTableModel_Generated (handle)

Purpose: Constructor for the SmartProductTableModel class
Notes: Creates a buffer model

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

SmartProductTableModel_Generated (handle, BufferModelGcModeEnum)

Purpose: Constructor for the SmartProductTableModel class
Notes: Creates a buffer model

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
poGcMode Consultingwerk.OERA.BufferModelGcModeEnum
The BufferModelGcModeEnum describing if the buffer or table handle should be deleted with the BufferModel instance
Top

SmartProductTableModel_Generated (SmartProductTableModel, handle)

Purpose: Constructor for the SmartProductTableModel_Generated class
Notes: Creates a view model

Parameters:
poTableModel Consultingwerk.SmartFramework.Menu.SmartProductTableModel
The reference to SmartProductTableModel on which this SmartProductTableModel servers as a ViewModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents


Property Detail
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModelFilter Filter


Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModelFilter
Top

CHARACTER ProductCode


Returns CHARACTER
Top

LONGCHAR ProductDescription


Returns LONGCHAR
Top

CHARACTER ProductGuid


Returns CHARACTER
Top

LOGICAL ProductInstalled


Returns LOGICAL
Top

CHARACTER ProductName


Returns CHARACTER
Top

Consultingwerk.SmartFramework.Menu.SmartProductTableModelSort SortBy


Returns Consultingwerk.SmartFramework.Menu.SmartProductTableModelSort
Top

LOGICAL SystemOwned


Returns LOGICAL


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:08:20