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
nish5nish5 

Deduct values for particular Field in Parent object from Child Object.

Hi,

I have create 2 custom object name AMCObj and CaseObj..
What I want to achieve is, In Case Obj, if Picklist selected as "P&M " or "AMC Breakdown", it need to Update in AMC(parentObj), Field Updated as "Remaing P&M"should decrease since 1 P&M selected on Caseobj(Child Obj).
Can anyone provide me a code for this logic......?? How can we achieve this using Trigger??
David @ ConfigeroDavid @ Configero
I would suggest you take a look at a Process Builder Flow or cross object field update in a Workflow.
nish5nish5
 While Using Process Builder/Workflow rule ,the field where I need to update is not populating. Is they any other way.??