smmBusRelTable.relation2Vendor Method
Creates a vendor from a specified business relation.
Syntax
private VendAccount relation2Vendor(smmBusRelTable _smmBusRelTable, [VendAccount _vendAccount])
Run On
ClientOrServer
Parameters
- _smmBusRelTable
Type: smmBusRelTable Table
The business relation vendor.
- _vendAccount
Type: VendAccount Extended Data Type
The vendor account.
Return Value
Type: VendAccount Extended Data Type
The vendor account of the inserted record.
Remarks
The fields of the VendTable table are set with the values from the business relation.