Add the rate routine variant identifier to the rate routine plugin
Before you begin
About this task
The built-in implementation of the rate routine plugin (IRateRoutinePlugin) is RateRoutinePlugin.gs in the gw.plugin.rateflow package. The getter for the BranchingFields property returns an ordered list of zero or more variant identifiers.
Procedure
In the implementation of the rate routine plugin, add the name of the variant identifier to the
fields variable of the getter for the BranchingFields property.
For example, add
NewVariantIdentifier to the
fields variable as
follows:override property get BranchingFields() : IEntityPropertyInfo[] {
var fields : ArrayList<String> = {"Jurisdiction", "NewVariantIdentifier"}
...
}What to do next
Now you can go to the next step, Add the rate routine variant identifier to PCF files.
