Symptoms
Renewal order or account billing fails with an exception "Table Tariff Period doesn't contain row with id".
Cause
There are several possible reasons for the issue:
If the account affected has been transferred between resellers:
a) subscription is based on the service plan with billing type "After Billing Period" - the issue is caused by the bug #PBA-74601 ("BO not created for transferred account with subscription on ABP Service Plan");
b) subscription used to be restored from terminated status - the issue is caused by the bug with id #PBA-79742 ("Failed to restore subscription after Account Transfer").
For sales orders the issue is different, described in kb #130701
- There cases when the subscription has wrong service plan assigned - the subscription belongs to the reseller's customer but is based on the provider's service plan. One of the reasons is the bug with id #PBA-81460 ("CCP v1 - Order was placed on vendor's plan instead of delegated resellers"). Precheck is to be added for such subscriptions presence in scope of the request with id #PBA-80252 ("Need to add precheck for subscriptions pointing to a wrong service plan").
Resolution
Please contact Odin Technical Support Team to apply a workaround