int MGOinssponsor (Validation *val)
The MGOinssponsor() function inserts a new sponsor record. Information is passed through val. The required fields are:
val.validid is the validation id. val.sponsid is the sponsor's validation id. val.source_code is the sponsor validation source reference code. val.status_code is the validation status reference code.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelsponsor(), MGOselrvalstatus(), MGOselrvalsource(), MGOselsponsor(), MGOupdsponsor(), MGOzero()