How to set Parent Account value via Groovy Script
**This post was created as part of a How to Service Request (SR)
Summary of the question:
We need to set Parent Account via Groovy Script on Account Object.
The value is not set with the new value.
Could you provide the KM how to update Parent Account using groovy, please?
Object : Account
Trigger : Before Update
if(ParentAccount_Id_c != null)
def newParent = ParentParty
def row = newParent.createRow()
Supporting Documents if any: