this.WriteRecord()
Hello Team,
I have below escript code where in I am making an update on current record using the "this". After which I have Write record and then copying the current record to create a new record.
this.SetFieldValue("SR Number", sSRNum);
this.WriteRecord();
// Copy the Activity Record & Update the Copy
this.NewRecord(NewAfterCopy);
Issue: I did the code debug and noticed the issue... that is when the code reaches "this.WriteRecord();" the control is going directly to "WriteRecord" but not Pre_WriteRecord. is that expected.
Note: The above code is on custom function "createcopyaccount" which is triggerred from Pre_WriteRecord event.