InterCompanyTradingPartner::findTradingCustomer Method
Finds the specified InterCompanyTradingPartner record based on valid entities.
Syntax
client server public static InterCompanyTradingPartner findTradingCustomer(
InterCompanyTradingCustomerDataAreaID _customerDataAreaID,
InterCompanyTradingVendorDataAreaID _vendorDataAreaID,
[boolean _forUpdate])
Run On
Called
Parameters
- _customerDataAreaID
Type: InterCompanyTradingCustomerDataAreaID Extended Data Type
The customer company ID of an InterCompanyTradingPartner record to find.
- _vendorDataAreaID
Type: InterCompanyTradingVendorDataAreaID Extended Data Type
The vendor company ID of an InterCompanyTradingPartner record to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: InterCompanyTradingPartner Table
A InterCompanyTradingPartner record if found; otherwise, an empty record.