Top Method Summary
Options Name Purpose
ApplyFetchedData () Applies the data the backend has returned to the lookups of the current batch
Cleanup () Stops the timer and forgets the registered lookups
CollectForeignFields (character) Adds the foreign fields of the lookups of the given partition to the request
FetchPartition (character) Retrieves the data of the registered lookups of a single AppServer partition
FetchPartitionIndividually (character) Retrieves the data of the registered lookups of a single AppServer partition one by one
FetchRegisteredLookups () Retrieves the data of all registered lookups
Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityLookup GetLookup (character) Returns the lookup that has registered with the given request id
CHARACTER GetSourceRequestId (Control, character) Returns the request id of the lookup that provides a foreign field value in the current batch
RegisterLookup (SmartBusinessEntityLookup) Registers a lookup for the next batched fetch
StartTimer () Starts the timer that buffers the registrations of one navigation
TimerTick (Object, EventArgs) Event Handler for the Tick event of the timer
LOGICAL UpdatePendingLookup (SmartBusinessEntityLookup) Positions the ttPendingLookup buffer on the record of a lookup that is registered already


Method Detail
Top

ApplyFetchedData ()

Purpose: Applies the data the backend has returned to the lookups of
the current batch
Notes: A lookup whose request could not be served by the backend
retrieves its data on its own, so that it does not remain
without data

Top

Cleanup ()

Purpose: Stops the timer and forgets the registered lookups
Notes: Invoked by the SmartViewerControl when its controls are
cleaned up

Top

CollectForeignFields (character)

Purpose: Adds the foreign fields of the lookups of the given partition
to the request
Notes: A foreign field provided by another lookup of the same batch
travels as a reference to that lookup, every other foreign
field value is resolved here

Parameters:
pcPartition CHARACTER
The AppServer partition of the lookups to process
Top

FetchPartition (character)

Purpose: Retrieves the data of the registered lookups of a single
AppServer partition
Notes:

Parameters:
pcPartition CHARACTER
The AppServer partition of the lookups to retrieve
Top

FetchPartitionIndividually (character)

Purpose: Retrieves the data of the registered lookups of a single
AppServer partition one by one
Notes: Fallback for a failed batched request

Parameters:
pcPartition CHARACTER
The AppServer partition of the lookups to retrieve
Top

FetchRegisteredLookups ()

Purpose: Retrieves the data of all registered lookups
Notes: The lookups are fetched per AppServer partition, as a request
is issued against a single partition

Top

Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityLookup GetLookup (character)

Purpose: Returns the lookup that has registered with the given request id
Notes:

Parameters:
pcRequestId CHARACTER
The request id of the lookup
Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityLookup
The reference to the lookup, or ? when it is not registered
Top

CHARACTER GetSourceRequestId (Control, character)

Purpose: Returns the request id of the lookup that provides a foreign
field value in the current batch
Notes: Only a lookup of the same batch and the same partition can
provide a value that the backend resolves

Parameters:
poSource System.Windows.Forms.Control
The control that provides the foreign field value
pcPartition CHARACTER
The AppServer partition of the current batch
Returns CHARACTER
The request id of the providing lookup, or the empty string
Top

RegisterLookup (SmartBusinessEntityLookup)

Purpose: Registers a lookup for the next batched fetch
Notes: Invoked by the SmartViewerControl on behalf of the lookup
Lookup Key Value

Parameters:
poLookup Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityLookup
The lookup that needs to retrieve the record of its
Top

StartTimer ()

Purpose: Starts the timer that buffers the registrations of one
navigation
Notes:

Top

TimerTick (Object, EventArgs)

Purpose: Event Handler for the Tick event of the timer
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

LOGICAL UpdatePendingLookup (SmartBusinessEntityLookup)

Purpose: Positions the ttPendingLookup buffer on the record of a lookup
that is registered already
Notes:

Parameters:
poLookup Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityLookup
The lookup to position on
Returns LOGICAL
TRUE when the lookup is registered already


Temp-Table Detail


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