Related action URL stub for the given record type

There is a function getraurlstubbyrecordtype() in 19/.4 to get the url link directly to edit the record but its not working for 21.4. Similar way can we generate the URL in 21.4. Can any one help me with the code how to generate .  Thank you .

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data