[SICSR-15754] Technical worksheet Accounting Year and Period in Balance Control Information  
Product Line: P&C
Component/s: Accounting Technical Worksheet
Affects Version/s: SICS 4.7 SSP16
Fix Version/s: SICS 4.9.3 SICS 4.7 SSP16 SIR4 SICS 4.8.6 SSP6
Issue Links: is duplicated by SICSR-15679
Customer: Sirius International Insurance Corporation
External Issue ID: SCR-240

Problem:
Technical worksheet Accounting Year and Period in Balance Control Information

Solution:
When the system parameter Accounting Periods Not Restricted By Definition On Admin Conditions is ON.
This is a change we need to do if the AccYR/Period is filled in by the user in the Balance Control Information section on the technical worksheet and the first detail is added on the worksheet.
1. When only one IP exists on the business:
If only the Period field is given, if it is <None> or a real period, then keep this value in the AccPeriod column and set the AccYear equal the oldest Accounting Year without bookings from the A conditions. If no accounts exist, then set current calendar year.
If only the AccYR field is given, then keep this value in the AccYR column and set the oldest not yet booked account within this year in the AccPeriod column. If no accounts exist for this Accounting Year, then set <None> as AccPeriod.
If both AccYR and Period is given, if the Period is <None> or a real period, then keep both the AccYR and AccPeriod, independent if accounts exist or not for this accounting year.
2. When multiple IPs exists on the business:
If only the Period field is given, if it is <None> or a real period, then this value in the AccPeriod column is kept and the AccYear is set equal the current calendar year. This works fine, but when the user select an Insured Period and this IP has single accounts we must make sure the system keeps the value in the AccPeriod and set the AccYear equal the oldest Accounting Year without bookings from the A conditions. If no accounts exist, then the system works fine, i.e. the AccYR and AccPeriod is kept.
If only the AccYR field is given, then this value is kept in the AccYR column and <None> is set in the AccPeriod column. This works fine, but when the user select an Insured Period and this IP has single accounts we must make sure the oldest not yet booked account within this year in the AccPeriod column. If no accounts exist for this Accounting Year, then set <None> as AccPeriod.
If both AccYR and Period is given, if the Period is <None> or a real period, then both the AccYR and AccPeriod are kept, independent if accounts exist or not for this accounting year. This works fine, but when the user select an Insured and this IP has single accounts we must make sure the system keeps both the AccYR and AccPeriod, independent if accounts exist or not for this accounting year.

Workaround:

Root Cause:

Extent of Impact:

Impact on Existing Data

Recovery Method for Existing Data Affected