Share via


VendInvoiceInfoTable::existActive Method

Checks whether an active invoice occurs in the VendInvoiceInfoTable 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 boolean existActive(
            PurchId _purchId, 
           [TradeLineRefId _tableRefId, 
            ParmId _excludeParmId, 
            boolean _connectedToSavedInvoice])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static boolean existActive(
            PurchId _purchId, 
           [TradeLineRefId _tableRefId, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static boolean existActive(
            PurchId _purchId, 
           [TradeLineRefId _tableRefId, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static boolean existActive(
            PurchId _purchId, 
           [TradeLineRefId _tableRefId, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static boolean existActive(
            PurchId _purchId, 
           [TradeLineRefId _tableRefId, 
            ParmId _excludeParmId])

Run On

Called

Parameters

  • _excludeParmId
    Type: ParmId Extended Data Type
    The parameter ID that should be excluded when you inspect for active invoices; optional.
  • _connectedToSavedInvoice
    Type: boolean
    true if only active lines for existing saved invoices need to be looked at; otherwise, false.

Return Value

Type: boolean
true if an active invoice exists; otherwise, false.

See Also

Reference

VendInvoiceInfoTable Table