InterCompanyTradingRelation::findPartner Method
Finds the specified record in the InterCompanyTradingRelation table by intercompany trading partners.
Syntax
client server public static InterCompanyTradingRelation findPartner(
InterCompanyTradingPartnerRecID _customerPartnerRecId,
InterCompanyTradingPartnerRecID _vendorPartnerRecId,
[boolean _forUpdate])
Run On
Called
Parameters
- _customerPartnerRecId
Type: InterCompanyTradingPartnerRecID Extended Data Type
The record ID of the InterCompanyTradingPartner record that represents the customer trading partner in the relation to find.
- _vendorPartnerRecId
Type: InterCompanyTradingPartnerRecID Extended Data Type
The record ID of the InterCompanyTradingPartner record that represents the vendor trading partner in the relation to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: InterCompanyTradingRelation Table
A record in the InterCompanyTradingRelation table; otherwise, an empty record.