cancel
Showing results for 
Search instead for 
Did you mean: 

How to create mandatory UDF fields in SAP B1 using DI API.

dinesh_s1
Participant
0 Kudos

When i make the field mandatory i am getting the below error.

A default value must be defined for a mandatory field.

How to resolve this.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

narayanis
Active Contributor
0 Kudos

Hi,

If you created the field and flag the field as compulsory then the behaviour is as expected. What exactly is the requirement. 

dinesh_s1
Participant
0 Kudos

Hi,

I have an add - on form with Date field. when i add the form date should not be empty. so while creating Date UDF , i am making the field as mandatory. when i do that i got above error.

Thanks.