Share via


SMAServiceOrderActivityDP.countServiceOrdersWithAgreements Method [AX 2012]

Counts the number of the service orders that have service agreements.

Syntax

protected int countServiceOrdersWithAgreements(QueryRun _serviceActivitySRS_Query, date _dateValue)

Run On

Server

Parameters

  • _serviceActivitySRS_Query
    Type: QueryRun Class
    An instance of the QueryRun class.
  • _dateValue
    Type: date
    The date range.

Return Value

Type: int
The number of service orders with agreements for that date.

See Also

Reference

SMAServiceOrderActivityDP Class