This is what I would do but as mentioned earlier this is not anything to do lightly.
Go to start, programs, Pervasive, Pervasie Control Center. Drill down in the folders to your Pervasive server, then to the database and then finally the table, APOPNFIL_SQL.
Open up the table and browse to the offending record(s) and try to do what Macoladownunder said to do -- change the apply to numbers. There are several fields for apply to numbers:
Apply_to_no
Alt1_apply_to_no
Alt5_apply_to_no
You need to change all three of these for the record(s) in question. Then try to do what Macoladownunder said.
Another alternative is to simply delete these records from the Pervasive Control Panel. If you do that, go into AP and run a reset fully paid status and a recalc vendors balances.
If you have any questions please let me know. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com