I want to edit an existing receivepayment to modify its memo field, how to do?
I using this code (Vb .net):
Dim rcpt As CoreObjX70.ReceivePayment
qb.Company.ReceivePayments.GetByTxnID(oseq) ‘oseq is a variable holding the required txnID number
rcpt = qb.Company.ReceivePayments.Item(1)
rcpt.Memo = CStr(nupPno.Value)
qb.Company.ReceivePayments.Commit()
But getting this error: “Field cannot be modified”