I've created a API-routine to collect article-items. The purpose is to use these items to refresh webshop-information by a third party. The following problem occurs: when a description of an article is emptied in the ERP OData seems to skip the field in the output because it is NULL. The third party will not recieve any data so the description in the webshop stays filled. Is there a way to force NULL-fields to be in the API-output without using spaces oslt in empty fields where the third party has to coop with.
Solved
OData null values

Best answer by Hugo Nienhuis
Hi all,
I found the error in the log files:
2021-03-25T12:07:48.6943227+01:00 0HM7FCTUHH9L1:00000001 [ERR] TSFMessagesMiddleware: An unhandled exception occurred while processing the request. (fffadd8a)
Microsoft.OData.ODataException: The property 'biologisch[Nullable=False]' of type 'Edm.Boolean' has a null value, which is not allowed.
I have successfully retrieved a record including null- values after entering a valid value in property 'biologisch’.
Thanks for all the help
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.