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

W156: Create order channel

Adds a new order channel (for example, Direct, Distributor) with a display color. Triggered from Settings, Order channels.

Steps

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

  2. Insert the channel. Call SalesOrders.createChannel.

Returns

The new channel row.

Business rules

  • Names are unique per org.

Errors

  • ValidationError. Duplicate name.