When an invoice is posted, the AR Status and AR Action fields on the Invoice, as well as the AR Status field on the Invoice Lines, must be blank in order to perform a Cancel and Rebill operation (after the first attempt at Cancel and Rebill, these fields are populated. If issues occur, they are typically not reverted automatically).
You may encounter an error like the following:
FIELD_CUSTOM_VALIDATION_EXCEPTION, AR Status cannot be modified.: []
Class.blng.InvoiceDomain.changeARStatusInvoiceLines: line 603, column 1
Class.blng.InvoiceDomain.handleAfterUpdate: line 415, column 1
Class.blng.TriggerManager.triggerHandler: line 171, column 1
Class.blng.TriggerManager.triggerHandler: line 48, column 1
Trigger.blng.InvoiceTrigger: line 16, column 1
To resolve this, these fields need to be set to Null:
To achieve that, you'll need to temporarily disable the triggers, clear the field values, and then re-enable the triggers.
005388236

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.