smmBusRelTable::convert2Vendor Method
Converts a business relation to a type vendor.
Syntax
server public static NoYes convert2Vendor(smmBusRelTable _smmBusRelTable)
Run On
Server
Parameters
- _smmBusRelTable
Type: smmBusRelTable Table
The record to convert.
Return Value
Type: NoYes Enumeration
A NoYes enumeration value that indicates whether the record was converted.
Remarks
First the vendor account is found, based on the number sequence setup. Then, the business relation is converted to vendor. Finally, the values from the CustAccount table are inserted into the new record.
This method might throw an update exception if the update cannot be performed.