Returns entity transaction details for the specified cell.
The information returned by GetEntityDetails corresponds to the data displayed by Entity Transaction Detail reports. For more information on the data returned, see the topics for Entity Transaction Detail reports in the Oracle Hyperion Financial Management, Fusion Edition User's Guide.
To return header information for the cell’s entity transaction details, use GetEntityDetailsHeader. |
<HFMwData>.GetEntityDetails lEntityDetailsOptions, bstrScenario, bstrYear, bstrPeriod, bstrEntity, bstrParent, bstrView, bstrAccount, bstrICP, bstrCustom1, bstrCustom2, bstrCustom3, bstrCustom4, pvaravar2DRowColumnDetails
Determines which entity transaction detail data is returned. Valid values are represented by the HFMConstants type library constants listed in Entity Transaction Detail Display Options. You can use the addition operator ( + ) with these constants to return multiple types of information. | |
The label of the cell’s Intercompany Partner dimension member. | |
Returns a two-dimensional array that contains the entity transaction details. The first dimension represents the rows, the second dimension represents the columns. The second dimension is indexed by the HFMConstants type library constants listed in Entity Transaction Detail Information. |
The following function takes the labels of a cell’s dimension members, and returns an HTML string that contains some header information returned by GetEntityDetailsHeader, as well as the Value dimension member, Entity dimension member, amount, debit, and credit entity transaction detail data.
Because some system-generated Value dimension member names contain greater-than and less-than characters, the example calls the VBScript Replace function to replace these characters with their corresponding HTML symbols. |
Function GetHtmlEntDetails(sScen, sYear, sPer, sEnt, sPar, sView, _ sAcct, sICP, sCust1, sCust2, sCust3, sCust4) Dim cHFMData, vaHead, lOptions, vaRowCols, sRet Set cHFMData = Server.CreateObject("Hyperion.HFMwData") ' cHFMSession is a previously set HFMwSession object cHFMData.SetWebSession cHFMSession cHFMData.GetEntityDetailsHeader sScen, sEnt, sPar, vaHead sRet = "<p><b>Time: </b>" & vaHead(ENTITYDETAILS_HEADER_TIME) & "</p>" sRet = sRet & "<p><b>Entity Currency: </b>" & _ vaHead(ENTITYDETAILS_HEADER_ENTITY_CURRENCY) & "</p>" sRet = sRet & "<p><b>Parent Currency: </b>" & _ vaHead(ENTITYDETAILS_HEADER_PARENT_CURRENCY) & "</p>" lOptions = ENTITYDETAILS_CREDIT + ENTITYDETAILS_DEBIT + _ ENTITYDETAILS_ENTITY + ENTITYDETAILS_LID + ENTITYDETAILS_BASE_RECORDS cHFMData.GetEntityDetails lOptions, sScen, sYear, sPer, sEnt, sPar, _ sView, sAcct, sICP, sCust1, sCust2, sCust3, sCust4, vaRowCols sRet = sRet & "<table cellpadding=2>" sRet = sRet & "<tr><td><b>Value</b></td><td><b>Amount</b></td>" & _ "<td><b>Debit</b></td><td><b>Credit</b></td></tr>" For i = lBound(vaRowCols) to uBound(vaRowCols) sVal = Replace(vaRowCols(i, ENTITYDETAILS_DIMENSION_VALUE), "<", "<") sVal = Replace(sVal, ">", ">") sRet = sRet + "<tr><td>" & sVal & "</td>" sRet = sRet & "<td>" & vaRowCols(i, ENTITYDETAILS_DIMENSION_AMOUNT) & _ "</td>" sRet = sRet & "<td>" & vaRowCols(i, ENTITYDETAILS_DIMENSION_DEBIT) & _ "</td>" sRet = sRet & "<td>" & vaRowCols(i, ENTITYDETAILS_DIMENSION_CREDIT) & _ "</td></tr>" Next sRet = sRet + "</table>" GetHtmlEntDetails = sRet End Function