In This Section:
The HFMwMetadata type library contains several components that enable you to work with metadata. The type library contains one component for each Financial Management dimension. The library also contains the HFMwMetadata, HFMwDimension, and HFMwCurrencies components:
The HFMwMetadata component includes properties that provide object references to the components for the Financial Management dimensions.
The HFMwDimension component contains methods and properties that are implemented for all of the dimensions.
The HFMwCurrencies component exposes functionality for Financial Management currencies.
To operate upon a dimension with this type library, you can take the following steps:
To set object references for the type library’s components:
Set an object reference to the HFMwMetadata component with the metadata property of the HFMwSession component:
Set cHFMMetadata = cHFMSession.metadata
Obtain an object reference to a dimension-specific component with the HFMwMetadata component’s properties. For example, the following line sets an object reference for the HFMwAccounts component:
Set cHFMAccounts = cHFMMetadata.accounts
Initialize an object reference to the HFMwDimension component by using the dimension property of the dimension-specific component. For example, the following line initializes the HFMwDimension component to the Account dimension:
Set cDimension = cHFMAccounts.dimension
As an alternative, you can create HFMwMetadata objects with Server.CreateObject and SetWebSession. |