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

Called

Parameters

_company
Type: DataAreaId Extended Data Type
The company for the customer record.
_custAccount
Type: CustAccount Extended Data Type
The account number for the customer record.
_forUpdate
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.
Show: