It seems that when using taPopEnterMatchInvToShpMultiLine to match an invoice line to multiple shipments the ACCRUED distribution amount is being duplicated, I have 2 lines so its doubled the amount.
A bit of "Googling" and it seems that taPOPCreateDistributions may have a bug, does anybody have a working version of this stored procedure? I have decrypted but can't work out where it's going wrong.