So I know this is for 6.5.13 but was hoping I could get a heads up on how to solve a problem, even this late in the 6.5.13 lifecycle!
I am developing a custom debtor allocation breakout which essentially matches the invoice InvRemitNo with the payments (or other credit) InvRemitNo. When a match is found, I am allocating the credit to the debit.
I am using the function
Debtor.Allocations.Add(TransAllocID As String, DebitTransID As String, CreditTransID As String, FXAmount As Double, DebitAmount As Double, CreditAmount As Double, DebitCurrencyRate As Double, CreditCurrencyRate As Double, DebitAged As Boolean, CreditAged As Boolean, DateAlloc As Date)
It seems to do the allocation successfully on the screen however when I save the debtor record, I get an error:
Error: DB_TransAlloc RowCount = 0
Module: clsDebtor.SaveRecord
Is there another step I need to do?