cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1029 by Update a UDF

Former Member
0 Kudos

Hi,

We have a AddOn that only use the DIAPI. It must update a UDF on A/R Invoice but the update will not work.

I became the error -1029

Here a cut from the code

If (vDoc.GetByKey(oRecordSet.Fields.Item(1).Value) = True) Then

vDoc.UserFields.Fields.Item("U_saMahn").Value = oRecordSet.Fields.Item(0).Value

vDoc.Update()

Have anyone a idea?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member201110
Active Contributor
0 Kudos

Hi,

We'll need more information in order to assist...

1) What version of SBO are you running?

2) What datatype is the UDF?

3) Does the problem occur on all UDFs or only certain ones?

4) Has this code worked before? If so, at what point did it stop working (eg have you installed a new patch recently)?

Sometimes, a particular patch has caused this error to appear.

I'd also recommend that you log this issue with the SAP support desk.

Kind Regards,

Owen

Former Member
0 Kudos

Hi,

1) B1 2005A SP01 PL18

2) alphanumeric; length 3

3) all UDFs

4) The AddOn works befor on B1 2004A PL29; we have adapt it so that works under B1 2005; The AddOn works, only the update instruction will not work.

Today I tested it on a other company ( B1 2005A SP01 PL 18; other udf, but also alphanumeric) and it works.

But not in the company where it must works.

Best regards

Pit