PurchYearEndProcess::isPurchOrderValidForProcess Method [AX 2012]

Indicates whether a purchase order is valid for the PO year end process.

NoteNote

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


  Microsoft Dynamics AX 2012 R3
          client server private static boolean isPurchOrderValidForProcess(
            PurchId _purchId, 
            TransDate _startDate, 
            TransDate _endDate, 
           [boolean _validateQuantity])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server private static boolean isPurchOrderValidForProcess(
            PurchId _purchId, 
            TransDate _startDate, 
            TransDate _endDate, 
           [boolean _validateQuantity])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server private static boolean isPurchOrderValidForProcess(
            PurchId _purchId, 
            TransDate _startDate, 
            TransDate _endDate)

  Microsoft Dynamics AX 2012 (FPK)
          client server private static boolean isPurchOrderValidForProcess(
            PurchId _purchId, 
            TransDate _startDate, 
            TransDate _endDate)

  Microsoft Dynamics AX 2012 (SYS)
          client server private static boolean isPurchOrderValidForProcess(
            PurchId _purchId, 
            TransDate _startDate, 
            TransDate _endDate)

Run On

Called

Parameters

_purchId
Type: PurchId Extended Data Type
An ID of the purchase order.
_startDate
Type: TransDate Extended Data Type
The first day of the old fiscal year.
_endDate
Type: TransDate Extended Data Type
The last day of the old fiscal year.
_validateQuantity
Type: boolean

Return Value

Type: boolean
true if the purchase order is valid for the process; otherwise, false.
Show: