CX_TRANSACTION::UniqueIDIndexMaint2
Description:
Method for automatic index maintenance for Retrieve(UniqueID(), n ) returns(STRING) = aPrePostUpdate - function
see also FeatureRetrieve and the examples ofindexes with retrieve.
Automatic means: data fields relevant for the index are linked in theDDI with the methodUniqueIdIndexMaint2 and the method itself must be in theMDI of the class.
Example DDI / MDI for CX_TRANSACTION
(CX_EXPANDABLE::uniqueID, STRING, INDEXABLE, PrePostUPDATE(UniqueIDIndexMaint))
(CX_TERMED::validity, POINTER, CX_VALIDITY)
. . .
(transaction, REL_1M, CX_TRANSACTION, PrePostUPDATE(UniqueIDIndexMaint2))
MDI(CX_TRANSACTION)
. . .
INTEGER UniqueIDIndexMaint2(INTEGER, OBJECT) Docu(21033)
Attention!
UniqueIDIndexMaint cannot be accessed with InstantView® code.
a) Retrieve(UniqueID(), n) returns(STRING) was registered during the initialisation of the ClassiX system
(b) an index actually exists.