Parent Account in Leads Object
Content
Hi,
I need to get the Party Number of the Parent Account from Leads Object in a field trigger to set a value for a custom lead field.
Used the API Name "ParentAccountPartyNumber" but there is an error.
"ParentAccountPartyId" works, but unfortunately it's not what I need. Also tried "ParentAccountSourceSystemReferenceValue" but doesn't work either.
Is there a way to get the party number of the parent account in groovy in Leads?
Any help would be much appreciated.
Version
21A0