CustTable::findByCompany Method [AX 2012]

Finds the specified record in the CustTable table.

client server public static CustTable findByCompany(
    DataAreaId _company, 
    CustAccount _custAccount, 
   [boolean _forUpdate])

Run On



Type: DataAreaId Extended Data Type
The company for the customer record.
Type: CustAccount Extended Data Type
The account number for the customer record.
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.

Return Value

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