Hi, There are two points which you can check:1) Value of variable ID, as you are doing insert or update operation, are you passing id value in your xtk.session.Write. If yes, then please check what is the value generated.2) Typecast string variables to date and time data type. Thanks.