Request for: Capture voucher object creation time in TDL

Discussion in 'Requests' started by rohitmokashi16, Jul 18, 2018.

    
  1. rohitmokashi16

    rohitmokashi16 New Member


    Dear Experts,

    I wanted to capture voucher creation time and store it in respective voucher object.

    Thanks,
    In Advance.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Make a field where you want your Date/Time storage....

    then use $MachineDate and $MachineTime
     


  3. rohitmokashi16

    rohitmokashi16 New Member



    Thank you for replying.

    By following some codes, I have created a TDL which will show time in Voucher Creation screen.
    But I want to store it in respective Voucher Object.

    Your help would be appreciated.

    [#Part: VCH Narration]

    Add : Option : Creation Time

    [!Part: Creation Time]

    Add : Line : At Beginning : Creation Time Line

    [Line: Creation Time Line]

    Fields : Medium Prompt, Creation Time

    Local : Field : Medium Prompt : Info : "Creation Time: "
    Local : Field : Medium Prompt : Set Always : Yes
    Local : Field : Medium Prompt : Style : Normal Bold

    [Field: Creation Time]

    Type : String
    Set As : $$SysInfo:SystemTimeHMS
    Style : Normal
    Set Always : Yes

    [System: UDF]

    Creation Time : String : 1001
     


Share This Page