Hi,
We have requirement to use editable grid to add/delete/edit rows into CDT. Noting was mandatory from the Interface. where as while writing to DB some of them are NOT NULL columns.
User can submit the empty rows by clicking the Add link in editable grid. Write to Data Store throws an exception because Null values.
how to remove the empty rows from the CDT before giving to Write to Data Store.
Or At least from the interface it self to delete the empty rows before submitting the form.
Working example will help to solve this ASAP.
Thanks in Advance.
Discussion posts and replies are publicly visible
Hi ramp, Suppose you have cdt variable ri!CDT of type multiple and then you can use the code: difference(ri!CDT,type!Employee()) This will give you the CDT variable without null entries. Hope this will help you. Thanks