Skip to Content
0
Former Member
Mar 01, 2017 at 09:22 PM

How to set DateTime value to null via DI Server API

578 Views

I tried to set null value on date time field which is nullable in database.

tried with

<U_etaDate nil="true"></U_etaDate>

but was ignoring by DI Server API

I couldn't set null value to any field for eg. integer/hour field in sap B1. In B1 client if you remove value and update the form it will set null on database.

On DIAPI there is a way.

using SetNullValue() method of IField interface. Is there any similar way in DI Server API.