Share via


InterCompanyTradingPartner::findOrCreateVendor Method

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

Syntax

client server public static InterCompanyTradingPartner findOrCreateVendor(VendAccount _vendAccount, InterCompanyTradingVendorDataAreaID _vendorDataAreaID)

Run On

Called

Parameters

Return Value

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

Remarks

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

See Also

Reference

InterCompanyTradingPartner Table