2 votes

Automatically update a formula field based on checkbox

Yes, it is possible. You just need to use the IF() function to be able to make the formula do something different when a certain condition is met. The gist of it is If your checkbox is checked (i.e. ...
Derek F's user avatar
  • 59.3k
2 votes

Viewing and Updating Related Record when creating a Task

You can create a screenflow and attach it as a QuickAction in your Account (Company) object. The advantages of these are: You can get the Account record and check the Account Type, based on different ...
prem22's user avatar
  • 538
1 vote
Accepted

Querying CampaignMembers based on Lead fields

At first glance, your code is a lot more work than it needs to be. If we use Trigger.newMap instead of Trigger.new, we don't need the partners map. Consequently, we can dramatically reduce your code ...
sfdcfox's user avatar
  • 482k
1 vote

Flow Formula Returning Null

Answer provided by cropredy (thank you!) DATEVALUE expects input to be yyyy-mm-dd I was doing "yyyy-dd-mm" and just needed to flip the month and day positioning. It was returning blank on ...
Snowlian's user avatar
1 vote
Accepted

LWC update Record field without Apex controller

You have several problems with your code. First, you used: @api myRecordId; But then tried to refer to it as: this.recordId If this is a record-context aware component, then you must change: @api ...
sfdcfox's user avatar
  • 482k
1 vote

SonKitapTarihi: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0; first error: MISSING_ARGUMENT, Id no

The simple explanation for your error is that in yeniList, you're adding zyrtci but you never set zyrtci.Id or query for it. DML update requires that the records have the Id populated (or a field ...
Derek F's user avatar
  • 59.3k
1 vote
Accepted

CANNOT_REPARENT_RECORD: Before you can make this contact private, you must remove its relationships to other accounts

The error message "CANNOT_REPARENT_RECORD: Before you can make this contact private, you must remove its relationships to other accounts" occurs when you are trying to update a Contact ...
Likar's user avatar
  • 26

Only top scored, non community-wiki answers of a minimum length are eligible