SYNOPSIS

int MGOupdvalidation (Validation *val)

DESCRIPTION

The MGOupdvalidation() function updates an existing validation record. Information is passed through val. The basic required fields are:

val.validid is the validation id. val.source_code is the validation source reference code. The extended required fields depend on val.source_code. The values in brackets indicate a required field for the indicated validation source.

val.prior_ein is the prior employee number. val.ssn is the social security number. val.studentid is the student number. val.system_key is the student system key value. val.lname and val.fname are the last and first (plus middle) names respectively. val.sec_lname and val.sec_fname are the secondary last and first (plus middle) names respectively. val.pac is the private access code. If specified as "*", a 6-digit pac will be automatically generated. val.birthdate is the birthdate in YYYY-MM-DD form. val.college is the college code. val.department is the department code. val.unit is the HEPPS unit code. val.hepps_type is the HEPPS type code. val.budget is the HEPPS budget code. val.faccode is the HEPPS faculty code. val.mailstop is the HEPPS mailstop code. val.sdb_class is the ASUW class code. val.branch is the ASUW branch code. val.techfee flags whether the tech fee has been paid. val.expiration is the AVF expiration date in YYYY-MM-DD form. val.sdb_status is the ASUW status code. val.employee_status is the HEPPS employee status code. val.comment_code is the comment reference code. val.alumni_member is the alumni member indicator code. val.alumni_type is the alumni type code. val.category_code is the category reference code. val.verify1 is the first verification field. val.verify1_code is the first verification reference code. val.verify2 is the second verification field. val.verify2_code is the second verification reference code. val.notify_code indicates whether the validid has been notified that the validation is to expire. val.notify_date is the date of expiration. val.status_code is the validation status reference code. You can only change the extended fields. To change either basic field, you must insert a new record.

RETURN VALUE

Returns the number of records updated upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOdelvalidation(), MGOinsvalidation(), MGOselvalidation(), MGOselrcategory(), MGOselrcomment(), MGOselrvalsource(), MGOselrvalstatus(), MGOselrverify(), MGOzero()