Creating a new policy location
If the associated account location is not yet defined on the account:
- A new account level location is created on the account, and a new associated policy level location is created on the policy.
- The policy level location has a foreign key to the account level location.
If the associated account location is already defined on the account:
- A new associated policy level location is created on the policy.
To add a new PolicyLocation from a policy period, call one of the methods in the PolicyPeriod class:
newLocation()– Creates a new PolicyLocation and a new AccountLocation.newLocation(accLocation : AccountLocation)– Creates a new PolicyLocation linked to the existing AccountLocation passed into the method.
