cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Valid Value - Value do not Exist" for payment terms

Former Member
0 Kudos

Hi,

I am trying to change the payment terms in a Sales Order using UIAPI.

Although the value i am using to update is a valid value, i get the following error:

Valid Value - Value do not Exist

My code is as folows:

Dim sNewValue as String

sNewValue = "2"

oFrm.Items("47").Specific.Select sNewValue, psk_ByValue

What am i doing wrong?

Thanks

Satish

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Satish,

Have you tried defining the new value as an integer instead of a string? The GroupNum data type in the OCTG is Int, not character.

Hope helps,

Ibai Peñ