Party Specific Item
Party Specific Item limits a party to a set of items.
The party can be a Customer, Customer Group, Supplier, or Supplier Group. Once a party has a rule, its transactions can use only the items its rules allow. Parties without any rule can still use every item.
1. When To Use Party Specific Item
- A customer buys only from an agreed catalogue or contract.
- A supplier supplies only certain items, item groups, or brands, and buyers should not order anything else from them.
- A customer group, such as distributors, may buy only one brand or item group.
- You want short item lists for parties that deal in only a few items.
2. Where To Find It
Search for Party Specific Item in the Awesomebar. The list view shows all the rules.

3. How It Works
A Party Specific Item rule has two parts:
- Party: The customer, customer group, supplier, or supplier group that the rule applies to.
- Restriction Basis: The item, item group, or brand that the party is allowed to use.
ERPNext applies the rules in two places:
- Item selection: In the transactions of a party that has rules, the item list shows only the items that its rules allow.
- Save: If a transaction of a party that has rules contains any other item, ERPNext stops the save and shows an error.

The rules work as follows:
- A party with rules can use only the items allowed by its rules. If a party has more than one rule, it can use the items allowed by any of them.
- A party without any rule can use all items. A rule does not stop other parties from using the same item.
- A rule for a customer group applies to all customers in that group. A rule for a supplier group applies to all suppliers in that group.
- Customer and Customer Group rules apply to sales transactions, such as Quotation, Sales Order, Delivery Note, and Sales Invoice.
- Supplier and Supplier Group rules apply to purchase transactions, such as Supplier Quotation, Purchase Order, Purchase Receipt, and Purchase Invoice.
4. Creating A Rule
- Go to the Party Specific Item list and click on Add Party Specific Item.
- Select the Party Type: Customer, Customer Group, Supplier, or Supplier Group.
- Select the Party Name.
- Select Restrict Items Based On: Item, Item Group, or Brand.
- Select the matching value in Based On Value.
- Save.
To allow more items, item groups, or brands for the same party, create one rule for each value.

5. Example
The customer West View Software Ltd. should buy only the item NET-ACC-BT-SPEAKER (Bluetooth Speaker). Create a Party Specific Item with these values:
- Party Type: Customer
- Party Name: West View Software Ltd.
- Restrict Items Based On: Item
- Based On Value: NET-ACC-BT-SPEAKER
If no other rules exist, the result is:
| Party | Can use NET-ACC-BT-SPEAKER | Can use other items |
|---|---|---|
| West View Software Ltd. | Yes | No |
| Other customers | Yes | Yes |
| Suppliers | Yes | Yes |
If you try to save a Sales Invoice for West View Software Ltd. with another item, such as NET-ACC-LAPTOP-DOCK, ERPNext shows the error above. To let West View Software Ltd. buy more items, create more rules for that customer, or use an Item Group or Brand rule.
6. Good Practices
- Use Item when the party may use one specific item.
- Use Item Group when the party may use a full product category.
- Use Brand when the restriction follows a brand-level agreement.
- Use a Customer Group or Supplier Group rule when many parties share the same restriction.
- Test the rule in a sales or purchase transaction after you save it.