int MGOdeldsubscription (Subscription *sub)
The MGOdelsubscription() function deletes a default subscription record. Information is passed through sub. The required fields are:
sub.source_code is the validation source reference code. sub.subscription_code is the subscription reference code. sub.category_code is the category reference code. sub.status_code is the validation status reference code.
Returns the number of records deleted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOinsdsubscription(), MGOseldsubscription(), MGOselrcategory(), MGOselrsubscription(), MGOselrvalsource(), MGOselrvalstatus(), MGOupddsubscription(), MGOzero()