Function - custom action - fetch and use - I don't succeed in assign a date to new record

Function - custom action - fetch and use - I don't succeed in assign a date to new record

Hi

Please hava a look at the attached document.

I’m trying to create a function.

When pushing the button (that triggers the function)  in form Cluster,

a record should be created in form Planning.

 

Fetching the ID’s of the relationships seems to be working.

Creating a planning record goes ½ well when I hardcode the content of the fields.  Assigning a date fails.

 

Thanks for helping me out.