We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Set date and time field in a CPM

Received Response
18
Views
4
Comments
edited Aug 5, 2019 5:58PM in Integrations and APIs 4 comments

Content

Hi,
I have a custom process that makes a  logs information. I use the field DATA_FINAL (type: data and time) of object CO \ LOG_LUGGO. I just want to set a date in this field. I did a lot of tests, including setting a fixed date and still can't set it.
 
My OSvC version is 19B. 
 
Is there any configuration I should enable to use this? 
 
Below is a script of how I am trying to set this field in PHP.
 
Thanks for the help!

Version

19B

Code Snippet

$log_cpm_luggo = new RNCPHP\CO\LOG_LUGGO();
$log_cpm_luggo->DATA_FINAL=time();
$log_cpm_luggo->save(RNCPHP\RNObject::SuppressAll);

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!