# EsbPartitionApplyOtlChangeRecs

Description

EsbPartitionApplyOtlChangeRecs() applies outline changes to a target outline. This function is designed to be used interactively with EsbPartitionReadOtlChangeFile() after a call to EsbPartitionGetOtlChanges().

Syntax

    EsbPartitionApplyOtlChangeRecs (hCtx, pszChgFileName, MetaChangeReadHandle, SourceTime)

    ByVal hCtx As Long
    ByVal pszChgFileName As String
    ByVal MetaChangeReadHandle As Long
    ByVal SourceTime As Long

Parameters

hCtx | Handle to Essbase API context.
pszChgFileName | The name of the change file.
MetaChangeReadHandle | Handle to the metadata change file.
SourceTime | The time of the latest change to the metadata file.

Return Value

Returns zero if successful; error code if unsuccessful.

Notes

- There may be dependencies among change records.
- Rejecting a record may cause a failure when applying another record. For example, you have two records "add A" and "add AA as a child of A". Rejecting the first record and accepting the second causes an apply failure.

Access

A call to this function requires database designer access privileges.

Example

See Also

EsbPartitionApplyOtlChangeFile
EsbPartitionCloseDefFile
EsbPartitionFreeDefCtx
EsbPartitionFreeOtlChanges
EsbPartitionGetAreaCellCount
EsbPartitionGetList
EsbPartitionGetOtlChanges
EsbPartitionGetReplCells
EsbPartitionNewDefFile
EsbPartitionOpenDefFile
EsbPartitionPurgeOtlChangeFile
EsbPartitionPutReplCells
EsbPartitionReadDefFile
EsbPartitionReadOtlChangeFile
EsbPartitionResetOtlChangeTime
EsbPartitionReplaceDefFile
EsbPartitionValidateDefinition
EsbPartitionValidateLocal
EsbPartitionWriteDefFile