public VoidedNote_DataAccess()
 {
     Voided_Note = new VoidedNote();
     this.PMConnectionString = ConfigurationManager.ConnectionStrings["AvatarDBPM"].ConnectionString;
 }
        public void SetFieldValues(OptionObject optionObject, string currentTime)
        {
            clientID.FieldValue = SimpleHelper.getFieldValue(optionObject,this.FormId, clientID.FieldNumber);
            episode.FieldValue = SimpleHelper.getFieldValue(optionObject, FormId, episode.FieldNumber.ToString());
            entry_UserId =  optionObject.OptionUserId;
            reasonForVoid.FieldValue = SimpleHelper.getFieldValue(optionObject, FormId, reasonForVoid.FieldNumber.ToString());
            comments.FieldValue = SimpleHelper.getFieldValue(optionObject, FormId, comments.FieldNumber.ToString());

            this.voided_Note = vn_data.GetNoteJustVoided(clientID.FieldValue, episode.FieldValue, entry_UserId, currentTime);
        }