Init Value As Current Date / Time

KARPURSHRIKANTKARPURSHRIKANT Member Posts: 35
How can I Assign the Init Value as Current Date / Time on any Table....? I dont have Access to the code.

Answers

  • DenSterDenSter Member Posts: 8,307
    Without access to the C/AL editor that's not possible. With access to the C/AL editor it's just one line of code in the table's OnInsert trigger.
  • sayslahsayslah Member Posts: 1
    What is that line of code? I tried this on table Sales Shipment Line with my own added column called Ship DateTime as a DateTime(50000)

    OnInsert()
    "Ship DateTime" := CREATEDATETIME(TODAY,TIME);
Sign In or Register to comment.