Skip to main content
Version: v1.0.0(int)

W024: Create vendor

Creates a new vendor record. Triggered from the Vendors page, "New vendor".

Steps​

  1. Check name uniqueness. Case-insensitive, scoped to this org.

  2. Insert the vendor. Call Vendors.create.

Returns​

The new vendor.

Business rules​

  • Names are unique per org.

Errors​

  • ValidationError. Duplicate name.