Skip to content

Instantly share code, notes, and snippets.

@tocohara
Created December 21, 2020 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tocohara/58502c8c149f71079b99f6a67bff8018 to your computer and use it in GitHub Desktop.
Save tocohara/58502c8c149f71079b99f6a67bff8018 to your computer and use it in GitHub Desktop.
Process Re-Open Item Line Method
public virtual int ProcessReOpenItemLine(FSAppointmentDet apptDet)
{
if (apptDet.Status == ID.Status_AppointmentDet.NOT_STARTED)
return 0;
FSAppointmentDet copy = (FSAppointmentDet)AppointmentDetails.Cache.CreateCopy(apptDet);
copy.Status = ID.Status_AppointmentDet.NOT_STARTED;
AppointmentDetails.Update(copy);
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment