I am trying to have a field( AttributeDateandTime) for one of my class where when the object is created the "import_date" field will be filled automatically by current date and time. I have written a php function in the methods section but its not working . Here is the SS of the function and the class, [cid:image001.png@01DA22D0.71D2BFF0] [cid:image002.png@01DA22D0.81B892F0]
Hello,
I am trying to have a field( AttributeDateandTime) for one of my class where when the object is created the "import_date" field will be filled automatically by current date and time. I have written a php function in the methods section but its not working . Here is the SS of the function and the class,
[cid:image001.png@01DA22D0.71D2BFF0]
[cid:image002.png@01DA22D0.81B892F0]
Please let me know how can I accomplish this.
Abdullah Al Noman
Have you verified whether your method gets executed?
At first sight, it looks okay. Although it might be missing a delta attribute on an XML node, as we don't see the full version of your modification.
Hello Jeffrey, thanks for your response. I noticed the method wasnt executing, I fixed it and now its working fine.