Symptom
When attempting to delete a related product (e.g., an add-on service) from a MACD basket, the product remains visible in the basket after clicking the delete button. The browser console may show the warning:
Skipped updating locked configuration : <Product Name> - <GUID>
The customer may believe the delete operation failed because the product is still visible.
Cause
MACD baskets use a soft delete mechanism, not a hard delete. When a related product carried over from the original subscription is deleted in a MACD basket:
- The
_SOFT_DELETE_attribute on the Product Configuration is set totrue - The configuration is marked as
disabled - The product remains visible in the basket -- this is by design
The console warning "Skipped updating locked configuration" is a benign side effect that occurs when subsequent attribute update processing encounters the now-disabled configuration. It fires after the soft delete has already completed successfully and does not indicate a failure.
Resolution
Step 1: Verify the soft delete was applied
After clicking delete, check the _SOFT_DELETE_ attribute on the Product Configuration:
SELECT Id, Name, csordtelcoa__cancelled_by_change_process__c
FROM cscfga__Product_Configuration__c
WHERE Id = '<PC_ID>'
At this point, csordtelcoa__cancelled_by_change_process__c may still be empty -- it is populated after Calculate Totals / Save.
Step 2: Run Calculate Totals / Save
Click Calculate Totals or Save in the Solution Console. This triggers the system to persist the soft delete and set csordtelcoa__cancelled_by_change_process__c = true on the PC record.
Step 3: Verify the field was set
Re-run the query from Step 1 and confirm that csordtelcoa__cancelled_by_change_process__c is now true (or Yes).
Step 4: Confirm the expected outcome
The soft-deleted product will:
- Remain visible in the basket UI (by design)
- Have csordtelcoa__cancelled_by_change_process__c = true
- Be terminated during order processing / orchestration
Why Products Remain Visible After Soft Delete
In a MACD basket, products from the original subscription cannot be hard-deleted because they represent existing services. The soft delete marks them for cancellation so that the order generation process knows to terminate the associated service. If the product were removed from the basket entirely, the system would have no record that the service needs to be cancelled.
Additional Notes
- The console warning "Skipped updating locked configuration" can be safely disregarded -- it is not an error
- This behavior is specific to MACD baskets. In new order baskets, products are hard-deleted and removed from the UI immediately
- If
csordtelcoa__cancelled_by_change_process__cis not set totrueafter Calculate Totals / Save, verify that the_SOFT_DELETE_attribute definition has the correct output mapping tocsordtelcoa__cancelled_by_change_process__c - The same soft delete mechanism applies to all related products in MACD baskets, not just specific product types
Priyanka Bhotika
Comments