invalid date Error

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
JRausLH
New User
Posts: 3
Joined: Mon Sep 14, 2020 10:48 am
First Name: Jörg
Last Name: Richter
Company Name: JR-IT
State / Province: Outside Canada/USA
Country: Germany
Contact:

invalid date Error

Post by JRausLH »

there is always an Error (see attachment) in my display. But why?
I think that's from onklick event

//
handleRowClick(row);

function handleRowClick(row) {
var value_RecordId = getObj("Grid01").grid.getDataValue(row, "out_RecordId");
var value_SachbearbeiterKz = getObj("Grid01").grid.getDataValue(row, "out_SachbearbeiterKz");
var value_Kundennummer = getObj("Grid01").grid.getDataValue(row, "out_Kundennummer");
var value_CreateDate = getObj("Grid01").grid.getDataValue(row, "out_CreateDate",);
//alert(value);
pui.set("hd_out_RecordId", value_RecordId);
pui.set("hd_out_SachbearbeiterKz", value_SachbearbeiterKz);
pui.set("hd_out_Kundennummer", value_Kundennummer);
pui.set("hd_out_CreateDate", value_CreateDate);

pui.set("HD_Action", '5');
pui.click("HD_BTDisplayData");
}

out_CreateDate is an Date-Field
hd_out_CreateDate is an Date-Field
Attachments
Invalid Date.docx
(79.98 KiB) Downloaded 131 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: invalid date Error

Post by Scott Klement »

I don't speak German, but it appears to say that the date was provided in the wrong format. I think you have provided it in YYYY-MM-DD format and it is expecting it in DD.MM.YYYY format if I am reading it correctly.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests