Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

NEXT^XQ92(): Restricted Times Check

Reference Type: Supported, Category: Menu Manager, ICR#: 10077

Description

The NEXT^XQ92 API returns the next time an option can run, checking any time or date restrictions placed on the option. If there are no times in the next week when the option can be run, the x parameter is returned as NULL and a message is issued regarding the time restriction.

Format

  NEXT^XQ92(ien,x)

Input Parameters

ien:

(required) Internal entry number (IEN) of the option in the OPTION (#19) file.

Output

x:

The date/time in VA FileMan format of the next unrestricted runtime when the option can run:

  • Current Time—If the option is able to run at the current time.

  • NULL—If the option is prohibited for the entire next week. It also issues a message regarding the time restriction.