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

Trigger is not updating the field but I see the value from the field in debug logs

Hi, I have these debug logs, as you can see I have the value '150' but for whatever reason in the record this field is still empty..

User-added image

my trigger:


User-added imageWhat I am doing wrong here? Why the field is not getting populated on the record?

mukesh guptamukesh gupta
Hi Cris,

In this situation 

First, you need to check this field value by SOQL .
Second, Check field API name on page layout that's you had added on layout.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.