InterCompanyTradingRelation::getRelatedTradingPartner Method
Gets the InterCompanyTradingPartner record that is related to a specific InterCompanyTradingPartner record through the inter-company trading relations.
Syntax
client server public static InterCompanyTradingPartner getRelatedTradingPartner(InterCompanyTradingPartner _interCompanyTradingPartner)
Run On
Called
Parameters
- _interCompanyTradingPartner
Type: InterCompanyTradingPartner Table
The InterCompanyTradingPartner record from which to find the related InterCompanyTradingPartner record.
Return Value
Type: InterCompanyTradingPartner Table
A record in the InterCompanyTradingPartner table; otherwise, an empty record.