在分攤明細行來源計算陳述式中使用總計

您可從多維度資料立方體傳回餘額,並在分攤明細行來源計算陳述式中參考自訂總計時將其運用到分攤計算中。您可以使用自訂總計來傳回在來源地址中指定之維度的餘額。透過將來源地址欄位指定為自訂總計欄位的置換來傳回餘額。

您可以使用 AllocationLine 業務類別中的任何欄位作為與來源自訂計算陳述式相關聯的置換。

下表提供以來源地址中的維度值置換自訂總計維度值時的詳細資訊。

GeneralLedgerTotal 欄位 置換值來源地址欄位
GeneralLedgerTotal.Ledger TransientSourceLedger
Accounting Entity SourceAddress.AccountingEntity
GeneralLedgerTotal.AccountingUnit SourceAddress.AccountingUnit
GeneralLedgerTotal.GeneralLedgerChartAccount SourceAddress.GeneralLedgerChartAccount
GeneralLedgerTotal.Project SourceAddress.Project
FinanceDimension1 SourceAddress.FinanceDimension1
FinanceDimension2 SourceAddress.FinanceDimension2
FinanceDimension3 SourceAddress.FinanceDimension3
FinanceDimension4 SourceAddress.FinanceDimension4
FinanceDimension5 SourceAddress.FinanceDimension5
FinanceDimension6 SourceAddress.FinanceDimension6
FinanceDimension7 SourceAddress.FinanceDimension7
FinanceDimension8 SourceAddress.FinanceDimension8
FinanceDimension9 SourceAddress.FinanceDimension9
FinanceDimension10 SourceAddress.FinanceDimension10