通过绕过规则计算转换。此函数会覆盖应用程序设置,且仅可以用于 SubTranslate 规则中。
语法
HS.DefaultTranslate(dRateForBalanceAccounts, dRateForFlowAccounts, bUsePVAForFlowAccounts, bUsePVAForBalanceAccounts)
表 11-16 DefaultTranslate 函数的语法
参数 | 说明 |
---|---|
dRateForBalanceAccounts |
比率数 |
dRateForFlowAccounts |
比率数 |
bUserPVAForFlowAccounts |
True 或 False |
bUsePVAForBalanceAccounts |
True 或 False |
返回值
无。
示例
在以下示例中,如果父代成员是 United States,则会执行 If...Then 和 End If 语句之间的语句。
If HS.Parent.Member="UnitedStates" Then
HS.DefaultTranslate .25, .27, True, False
End If