Share via


TSTimesheetLine.validateSubmit Method

Validates the submition or resubmition of the timesheet document.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean validateSubmit([boolean showInfolog, boolean deleteZeroHourLines])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean validateSubmit([boolean showInfolog])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean validateSubmit([boolean showInfolog])

Run On

Called

Parameters

  • showInfolog
    Type: boolean
    A Boolean value that indicates whether to display the validation error messages.
  • deleteZeroHourLines
    Type: boolean

Return Value

Type: boolean
true if it is ok to submit the timesheet document; false if the action is canceled.

See Also

Reference

TSTimesheetLine Table