<div dir="ltr">Hello,<div><br></div><div>Basically I’m successfully creating a ticket where a bunch of other CustomFields are set properly except these two Datetime customfields.  The CFs apply to all applicable queues and are type “Select datetime”.  I’ve simplified the ->Create() below a little but generally this is working perfectly *except* for the <span style="font-family:'courier new',monospace">CustomerCreated</span> and <span style="font-family:'courier new',monospace">ServerCreated</span> fields.  The new ticket in the “Investigations" queue does not have values for those (totally unset).</div>

<div><br></div><font face="courier new, monospace">    my ($newinvid, $newinvTransObj, $inverrorMsg) = $new_investigation->Create(<br>                     'Queue'  => "Investigations",<br>                    'Subject' => $self->TransactionObj->Subject,<br>

                     'Status' => 'open',<br>             'CustomField-83' => 'Customer Notification',<br>                   'MemberOf' => $IncidentObj->id,<br>                   'Priority' => $IncidentObj->Priority,<br>

             'CustomField-65' => $IncidentObj->FirstCustomFieldValue('Classification'),<br>             'CustomField-75' => $IncidentObj->FirstCustomFieldValue('Customer'),<br>
             'CustomField-77' => $IncidentObj->FirstCustomFieldValue('Email'),<br>
             'CustomField-78' => $IncidentObj->FirstCustomFieldValue('CustomerCreated'),<br>             'CustomField-79' => $IncidentObj->FirstCustomFieldValue('ServerCreated'),<br>

             'CustomField-81' => $IncidentObj->FirstCustomFieldValue('PreferredLanguage'),<br>             'CustomField-86' => $IncidentObj->FirstCustomFieldValue('CCName'),<br>

             'CustomField-87' => $IncidentObj->FirstCustomFieldValue('TechEmail'),<br>             'CustomField-88' => $IncidentObj->FirstCustomFieldValue('ClientName'),<br>             'CustomField-91' => $IncidentObj->FirstCustomFieldValue('ClientGroups'),<br>

             'CustomField-92' => $IncidentObj->FirstCustomFieldValue('ProductPrice'),<br>            'CustomField-104' => $IncidentObj->FirstCustomFieldValue('ServerType'),<br>
            'CustomField-105' => $IncidentObj->FirstCustomFieldValue('OperatingSystem'),<br>
                    'MIMEObj' => $InvMIMEObj,<br>    );<br></font><div><br></div><div>Do they have to be converted to RT::Date objects or even as far as AsString to be used as the value?</div><div><br></div><div>

-- <br><div dir="ltr"><div><span style="font-family:arial;font-size:small">Landon Stewart :: </span><a href="mailto:lstewart@iweb.com" style="font-family:arial;font-size:small" target="_blank">lstewart@iweb.com</a><br></div>

<span style="font-family:arial;font-size:small">Lead Specialist, Abuse and Security Management</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">Spécialiste principal, gestion des abus et sécurité</span><br style="font-family:arial;font-size:small">

<span style="font-family:arial;font-size:small"><a href="http://iweb.com" target="_blank">http://iweb.com</a> :: +1 (888) 909-4932</span><br><div><span style="font-family:arial;font-size:small"><br></span></div><div><span style="font-family:arial;font-size:small"><br>

</span></div></div>
</div></div>