Skip to Content
author's profile photo Former Member
Former Member

[OPOR.DpmStatus][line: 1] , 'Field cannot be updated (ODBC -1029)

Hi all,

I m getting following error in purchase order update using B1WS.


This is my code. Please any one update. its very urgent


Mypurchase = New PurchaseOrdersService()

Dim myPoDoc As PoUpdate.Document = New PoUpdate.Document()

Dim msgHeader As MsgHeader = New MsgHeader()

msgHeader.SessionID = .GlbData.sessionID

msgHeader.ServiceName = MsgHeaderServiceName.PurchaseOrdersService

msgHeader.ServiceNameSpecified = True

Mypurchase.MsgHeaderValue = msgHeader

Dim objparam As PoUpdate.DocumentParams = New PoUpdate.DocumentParams()

objparam.DocEntry = 2

objparam.DocEntrySpecified = True

' myPoDoc.NumAtCard = "bag"

myPoDoc = Mypurchase.GetByParams(objparam)

myPoDoc.Comments = "HI"

Mypurchase.Update(myPoDoc)

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2014 at 10:39 AM

    This Code working fine in 9.0 B1WS

    Thanks & Regards

    B.Lakshmi narayanan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.