Re: PM credit memo problem
I've been fixing corrupted GP data for 10 years now, but I had never gotten this error msg until last week. My client had applied a posted check to 2 invoices, but was unable to apply the remaining amount to a 3rd invoice. I got "This invoice is partially applied...etc..." error when I tried applying it to any other invoice or even unapplying to the 2 previously applied invoices.
I basically ran a sql trace when generating the error so I could view the sql tables involved in the process and the PM20100 table was the only one involved.
I also ran some additional sql scripts to find the check and invoices involved in various AP tables I determined that I needed to run deletion scripts in two GP tables.
1) Delete 1 record from the PM10201 which had my check. It shouldn't be here since my check was posted and this is a PM work (unposted transactions) table.
****Delete from PM10201 where docnumber = 'XXXX'
2) Delete the 2 records appying the check to the 2 invoices from the PM20100 table. This is a temp table and thus should NOT retain data permanently.
****Delete from PM20100 where vendorid = 'XXXX' and APFRDCNM = 'XXXX'.
I searched GP Knowledgebase, but they had no information on the error. I believe that because the fix requires deleting data directly in the db MS is not going to provide such a solution on its site for fear that it will be improperly executed and create an even bigger data problem.