Home Forums CoreObjX / DB How to edit Receivepayments?

This topic contains 2 replies, has 2 voices, and was last updated by  haditime 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #62688

    haditime
    Participant

    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”

    #62728

    Yudel Rosales
    Keymaster

    Look through your receivepayment by TxnID and when you find it, update its memo value.

    #62742

    haditime
    Participant

    Look through your receivepayment by TxnID and when you find it, update its memo value.

    This is what I did and received an error “Field cannot be modified”.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.