CustTradingPartnerCode::findByCode Method
Finds the specified record from the CustTradingPartnerCode table for the provided trading partner code.
Syntax
client server public static CustTradingPartnerCode findByCode(
TradingPartnerCodeId _code,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _code
Type: TradingPartnerCodeId Extended Data Type
The trading partner code field of the CustTradingPartnerCode table to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to be used when reading the record; optional.
Return Value
Type: CustTradingPartnerCode Table
A record of the CustTradingPartnerCode table; otherwise, an empty buffer.