Compartir a través de


PurchLine::findPurchIdPurchType Method

Finds the specified record in the PurchLine table.

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
          client server public static PurchLine findPurchIdPurchType(
            PurchId purchId, 
            PurchaseType purchType, 
           [TradeLineNumber lineNum, 
            boolean update])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static PurchLine findPurchIdPurchType(
            PurchId purchId, 
            PurchaseType purchType, 
           [TradeLineNumber lineNum, 
            boolean update])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static PurchLine findPurchIdPurchType(
            PurchId purchId, 
            PurchaseType purchType, 
           [LineNum lineNum, 
            boolean update])

Run On

ClientOrServer

Parameters

  • update
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: PurchLine Table
A record in the PurchLine table; otherwise, an empty record.

See Also

Reference

PurchLine Table