VendTable::findByCompany Method

Finds the specified record in the VendTable 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 VendTable findByCompany(
            CompanyId _company, 
            VendAccount _vendAccount, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static VendTable findByCompany(
            CompanyId _company, 
            VendAccount _vendAccount, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static VendTable findByCompany(
            DataAreaId _company, 
            VendAccount _vendAccount, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static VendTable findByCompany(
            DataAreaId _company, 
            VendAccount _vendAccount, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static VendTable findByCompany(
            DataAreaId _company, 
            VendAccount _vendAccount, 
           [boolean _forUpdate])

Run On

Called

Parameters

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

Return Value

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

See Also

Reference

VendTable Table