Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

InsPolicyService:createPolicyVersion – Payment Schedule Entry Behavior When useIsPaidFlag is True

Publish Date: Jun 16, 2026
Description

When useIsPaidFlag is set to true during an MTA, InsPolicyService:createPolicyVersion excludes payment schedule entries from premium, tax, and fee recalculations if their Status is not 'Valid' or if the isPaid flag is checked. The service only updates future entries that are both 'Valid' and unpaid.

When calling createPolicyVersion for an MTA:
- If all existing payment entries have Status = 'Valid' → It will update the existing Payment Schedule Entries
- If any existing payment entry has Status != 'Valid' → new Payment Schedule Entries will be created.

Resolution
  1. Before calling `createPolicyVersion`, update all Pending entries to 'Valid' and isPaid is unchecked
  2. Call createPolicyVersion with useIsPaidFlag: true
  3. After MTA completes, revert the entries back to 'Pending' if needed

 

Knowledge Article Number

005387145

 
Loading
Salesforce Help | Article