Hi all,
my problem is descript in the subject, I attach source code.
SQL 2008 SAP 8.81 PL10.
The user field type is numeric (16,9) and in sap is "Float"
Dim ret As Boolean = False
Dim itm As SAPbobsCOM.Items
itm = CType(_SboCy.GetBusinessObject(BoObjectTypes.oItems), Items)
If itm.GetByKey("A000001") Then
For i As Integer = 0 To itm.WhsInfo.Count - 1
itm.WhsInfo.SetCurrentLine(i)
If itm.WhsInfo.WarehouseCode = "01" Then
itm.WhsInfo.UserFields.Fields.Item("U_MYFIELD").Value = 150
End If
ret = (itm.Update = 0)
Exit For
Next
NothingObj(CType(itm, Object))
End If
._SboCy.GetLastErrorDescription ==> [OITM.EvalSystem] , 'Field cannot be updated (ODBC -1029)
I hope someone can help me. Thanks regards. Enrico.