Share via


InterCompanyTradingPartner::findOrCreateCustomer Method

Finds or creates the specified record in the InterCompanyTradingPartner table that is based on a customer.

Syntax

client server public static InterCompanyTradingPartner findOrCreateCustomer(CustAccount _custAccount, InterCompanyTradingCustomerDataAreaID _customerDataAreaID)

Run On

Called

Parameters

Return Value

Type: InterCompanyTradingPartner Table
A record in the InterCompanyTradingPartner table if the partner is found or created; otherwise, an empty record.

Remarks

The method returns an empty InterCompanyTradingPartner record if the customer ID is not represented in the CustTable table.

See Also

Reference

InterCompanyTradingPartner Table