RemoveByFund
The RemoveByFund Assignment element, located in the transaction XML, is used to direct removals from specific funds and also collections of funds and amounts may be specified.
Note: The allocation records should be negative and must match total money-out amount/units or 100%. This allows the removal to be fund specific.
| Type = RemoveByFund | |
|---|---|
|
Allocations needed? |
No |
|
Attributes |
None |
|
Element Value |
One or more MoneyType tags that define the amount and type of money to be applied. Each MoneyType must have a FUND attribute set to a FundGUID value. |
|
Note: Assignment values must be positive. |
|
|
Used when |
To direct removals from specific funds. |
|
Examples |
LoanRepayment |
| Element | Attribute Value | Element Value | Definition |
| <Assignment> | |||
| TYPE | RemoveByFund | Required: Defines the type of assignment to be performed with the allocation | |
| <MoneyType> | AsCodeMoneyType - A literal code value | Required & Repeatable: Defines the money type of the resulting valuation records. | |
| VALUATIONCOLLECTION | A literal value of "Yes" or "No" | Optional: Indicator for the ASSIGNMENTFUNDCOLLECTION to use ValuationGUID/Amount (or DepositValuGUID/Amount if the plan is PIT) as the key value pairing. The default value is "No." | |
| ASSIGNMENTFUNDCOLLECTION | A math collection of fund GUIDs and amounts | Defines a collection of parent fund GUIDs and amounts to use in the assignment. Takes precedence over legacy NAME and FUND attributes for these assignments. | |
| NAME | Math variable containing a numeric value. | Legacy attribute defines the amount to use in the assignment. Requires FUND attribute for these assignments. | |
| FUND | Math variable containing a fund GUID. | Legacy attribute defines the Fund to use in the assignment. Requires NAME attribute for these assignments. |
XML Schema
<Assignment TYPE="[RemoveByFund]">
<MoneyType NAME="[MathVariable Amount]" FUND="[MathVariable FundGUID]" VALUATIONCOLLECTION="[Yes|No]" ASSIGNMENTFUNDCOLLECTION="[Math Collection]">[Code Value]</MoneyType>
</Assignment>
XML Example
<Assignment TYPE="RemoveByFund">
<MoneyType NAME="DBGRMonthlySale" FUND="ShadowDBGFund">87</MoneyType>
<MoneyType NAME="GuarInterestMonthlySale" FUND="ShadowGUARFund">86</MoneyType>
<MoneyType NAME="NewDeficit" FUND="PolicyDeficit">69</MoneyType>
<MoneyType NAME="NewDBGDeficit" FUND="ShadowDBGDeficit">69</MoneyType>
<MoneyType NAME="NewGUARDeficit" FUND="ShadowGUARDeficit">69</MoneyType>
<MoneyType NAME="DCVDeficitNetApplied" FUND="DCVDeficitFund">69</MoneyType>
<MoneyType NAME="DBGDeficit" FUND="ShadowDBGDeficit">69</MoneyType>
<MoneyType NAME="GUARDeficit" FUND="ShadowGUARDeficit">69</MoneyType>
<MoneyType NAME="DCVDeficitNet" FUND="DCVDeficitFund">69</MoneyType>
</Assignment>
OR
<Assignment TYPE="RemoveByFund">
<MoneyType ASSIGNMENTFUNDCOLLECTION="AssignmentFundCollection">69</MoneyType>
</Assignment>