function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Satheesh Gopalakrishnan 8Satheesh Gopalakrishnan 8 

Value not valid Error while adding products to opportunity

We have a customised product builder app and we are trying multiple delete functionality.
When saved records are deleted, its getting deleted normally.
When temporary records are deleted we are getting value not valid error.

Please help me resolve this issue
R Z KhanR Z Khan
Hi Satheesh,

what do you mean by temprary records? If the record was never saved to database you cant call delete on it. simply dont insert it. and salesforce will remove those records once transaction is over