W026: Get vendor detail
Returns a single vendor with the linked-contacts panel data. Triggered by clicking a vendor in the list.
Steps
-
Load the vendor. Call
Vendors.getById. -
Load linked contacts. Call
Contacts.listByEntity('vendor', vendorId).
Returns
The vendor header plus linked contacts.
Business rules
None.
Errors
NotFoundError. The vendor was not found.