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
Phuc Nguyen 18Phuc Nguyen 18 

Update field in LWC

Hello All,
Can you update a field in LWC?  I want to append a child record field info with info from a parent record? So for example Contact.info = Contact.info + Account.info.  Is this possibe or does this need to be handle in a Apex class?
Thanks,
P  
ANUTEJANUTEJ (Salesforce Developers) 
Hi Phuc,

You could certainly use the trigger so that before inserting the record you can add the account info and in another way you can fetch the parent information that you want to add it to the child record add the completed record to a list and then insert the record into the DB.

In case if this comes handy can you please mark this answer as best if it helps so that others facing the same issue will find it useful.
 
Thanks
madonaa max 9madonaa max 9
Get the world-class accounting platform support at QuickBooks Support Phone Number #1-833-57O-O8OO. QuickBooks Pro is known to be a world-class accounting platform that has also provided its customers with a range of accounting services. If you’re managing your company, you can use this QuickBooks Support Phone Number #1-833-57O-O8OO Accounting service to make your job simpler. For this, you should be able to manage all sorts of company dealings quickly.
Read more: QuickBooks Support Phone Number
QuickBooks Support Phone Number
QuickBooks Support Phone Number