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
MoosecoutureMoosecouture 

I am trying to learn how to do a simple Code

I have what I would think is a very simple task.  My Account Names all begin with a number followed with a space.  Is there any way to have this number load up into a Custom field every time that I open a case?  Maybe I am over reaching here.  We have a code developed that takes that Custom field and looks up the first five digits of an Account.  The Only reason I am asking for help with this is because I am assuming that the code that they developed is causing our Self-Service Portal to have errors thinking that the account is not filled because the Custom field is not filled.

 

I hope that this makes sense.

bob_buzzardbob_buzzard

You shouldn't need code for this - it sounds like something that could be achieved using a workflow field update.