← Back to Distributors & Wholesalers Management overview
Features (Full Detail) — Distributors & Wholesalers Management
Current version: v1.0.0
Complete distributors and wholesalers management — brands, products, warehouses, inventory, sales orders, and reports.
This page explains module capabilities in depth so new users understand what each feature does, why it matters, and how to use it inside Perfex CRM.
Feature catalog (explained)
Every major capability below is explained in plain language — what it is, why it helps, and how to use it.
1. Product master via Perfex CRM Items + module extension fields
In plain words: Product master via Perfex CRM Items + module extension fields
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
2. Distributors via Perfex CRM Clients + credit limits, territories, customer tiers, statements
In plain words: Distributors via Perfex CRM Clients + credit limits, territories, customer tiers, statements
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Enable portal options in Settings, link the customer/supplier contact, then test with a portal login to confirm visibility and actions.
3. Multi-warehouse stock (internal engine or Nasbix Inventory Management)
In plain words: Multi-warehouse stock (internal engine or Nasbix Inventory Management)
Why it matters: This keeps stock quantities accurate across warehouses so sales and purchasing decisions stay reliable.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
4. Sales order workflow — draft → approval → partial/full delivery → invoice
In plain words: Sales order workflow: draft → approval → partial/full delivery → invoice
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Create a draft record, submit it, then have an approver open the same record and Approve / Reject. Approvers need the approve permission on their role.
5. Tiered & volume pricing via price lists
In plain words: Tiered & volume pricing via price lists
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
6. Sales rep commission rules (calculated on delivery)
In plain words: Sales rep commission rules (calculated on delivery)
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
7. Multi-currency sales orders
In plain words: Multi-currency sales orders
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
8. REST API (Bearer token) for products, distributors, orders, stock
In plain words: REST API (Bearer token) for products, distributors, orders, stock
Why it matters: This keeps stock quantities accurate across warehouses so sales and purchasing decisions stay reliable.
How to use it: Enable credentials in Distributors & Wholesalers Management → Settings (API keys, webhooks, sandbox/production). Test with a sample record, then monitor the module log or sync screen.
9. Distributor client portal (orders, catalog, self-service ordering, statement, repeat order)
In plain words: Distributor client portal (orders, catalog, self-service ordering, statement, repeat order)
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Enable portal options in Settings, link the customer/supplier contact, then test with a portal login to confirm visibility and actions.
10. Audit trail on sales orders and commission payouts
In plain words: Audit trail on sales orders and commission payouts
Why it matters: This supports compliance, audit readiness, and on-time operations so nothing important is missed.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
11. Automatic credit hold on overdue invoices
In plain words: Automatic credit hold on overdue invoices
Why it matters: This reduces manual work so agents can focus on exceptions and high-value customers.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
12. Commission payout workflow (approve / mark paid / export)
In plain words: Commission payout workflow (approve / mark paid / export)
Why it matters: This reduces manual work so agents can focus on exceptions and high-value customers.
How to use it: Open the list screen for this data, use Import / Export / PDF buttons (or the bulk actions menu), follow the template columns, then verify a few rows after upload.
13. Pick/pack/ship workflow with pick lists and shipment records
In plain words: Pick/pack/ship workflow with pick lists and shipment records
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Create a draft record, submit it, then have an approver open the same record and Approve / Reject. Approvers need the approve permission on their role.
14. Batch/lot tracking with FIFO consumption and expiry alerts
In plain words: Batch/lot tracking with FIFO consumption and expiry alerts
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Ensure Perfex CRM cron is running (`php /path/to/perfex/index.php cron/index`). Then enable the related option in module Settings so jobs, alerts, or queues process automatically.
15. Transfer requests with optional approval workflow
In plain words: Transfer requests with optional approval workflow
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Create a draft record, submit it, then have an approver open the same record and Approve / Reject. Approvers need the approve permission on their role.
16. Promotions & coupon codes with auto-apply and redemption tracking
In plain words: Promotions & coupon codes with auto-apply and redemption tracking
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
17. Volume rebate programs with tiered accruals and payout workflow
In plain words: Volume rebate programs with tiered accruals and payout workflow
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Create a draft record, submit it, then have an approver open the same record and Approve / Reject. Approvers need the approve permission on their role.
18. Outbound webhooks with HMAC signatures, delivery log, and cron retry queue
In plain words: Outbound webhooks with HMAC signatures, delivery log, and cron retry queue
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Enable credentials in Distributors & Wholesalers Management → Settings (API keys, webhooks, sandbox/production). Test with a sample record, then monitor the module log or sync screen.
19. Analytics dashboard (KPIs, trends, promotion ROI, top distributors)
In plain words: Analytics dashboard (KPIs, trends, promotion ROI, top distributors)
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Go to Distributors & Wholesalers Management → Reports / Dashboard (or the matching analytics screen), set filters (date, status, warehouse, staff), then run or export the report.
20. Van sales with mobile stock, route stops, and cash collections
In plain words: Van sales with mobile stock, route stops, and cash collections
Why it matters: This keeps stock quantities accurate across warehouses so sales and purchasing decisions stay reliable.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
21. Delivery routes with driver assignment, stop visits, and completion webhooks
In plain words: Delivery routes with driver assignment, stop visits, and completion webhooks
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Enable credentials in Distributors & Wholesalers Management → Settings (API keys, webhooks, sandbox/production). Test with a sample record, then monitor the module log or sync screen.
22. Dashboard/analytics query caching for scale
In plain words: Dashboard/analytics query caching for scale
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Go to Distributors & Wholesalers Management → Reports / Dashboard (or the matching analytics screen), set filters (date, status, warehouse, staff), then run or export the report.
23. REST API pagination (limit, offset, since)
In plain words: REST API pagination (limit, offset, since)
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Enable credentials in Distributors & Wholesalers Management → Settings (API keys, webhooks, sandbox/production). Test with a sample record, then monitor the module log or sync screen.
24. Sales returns with optional Perfex CRM credit notes
In plain words: Sales returns with optional Perfex CRM credit notes
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
25. 11 report types with Excel/PDF export
In plain words: 11 report types with Excel/PDF export
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Go to Distributors & Wholesalers Management → Reports / Dashboard (or the matching analytics screen), set filters (date, status, warehouse, staff), then run or export the report.
26. Territory manager scoping for field teams
In plain words: Territory manager scoping for field teams
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Open Distributors & Wholesalers Management in the admin sidebar, then use the related menu screen for this capability.
27. Integration with Purchase Management (GRN, reorder PO)
In plain words: Integration with Purchase Management (GRN, reorder PO)
Why it matters: This helps your team complete the work faster with fewer mistakes and a clear audit trail inside Perfex CRM.
How to use it: Enable credentials in Distributors & Wholesalers Management → Settings (API keys, webhooks, sandbox/production). Test with a sample record, then monitor the module log or sync screen.
Features & workflows from documentation
Features
- Product master via Perfex CRM
Items+ module extension fields - Distributors via Perfex CRM
Clients+ credit limits, territories, customer tiers, statements - Multi-warehouse stock (internal engine or Nasbix Inventory Management)
- Sales order workflow: draft → approval → partial/full delivery → invoice
- Tiered & volume pricing via price lists
- Sales rep commission rules (calculated on delivery)
- Multi-currency sales orders
- REST API (Bearer token) for products, distributors, orders, stock
- Distributor client portal (orders, catalog, self-service ordering, statement, repeat order)
- Audit trail on sales orders and commission payouts
- Automatic credit hold on overdue invoices
- Commission payout workflow (approve / mark paid / export)
- Pick/pack/ship workflow with pick lists and shipment records
- Batch/lot tracking with FIFO consumption and expiry alerts
- Transfer requests with optional approval workflow
- Promotions & coupon codes with auto-apply and redemption tracking
- Volume rebate programs with tiered accruals and payout workflow
- Outbound webhooks with HMAC signatures, delivery log, and cron retry queue
- Analytics dashboard (KPIs, trends, promotion ROI, top distributors)
- Van sales with mobile stock, route stops, and cash collections
- Delivery routes with driver assignment, stop visits, and completion webhooks
- Dashboard/analytics query caching for scale
- REST API pagination (
limit,offset,since) - Sales returns with optional Perfex CRM credit notes
- 11 report types with Excel/PDF export
- Territory manager scoping for field teams
- Integration with Purchase Management (GRN, reorder PO)
Permissions
| Permission | Description |
|---|---|
| ------------ | ------------- |
dw_brands | Brand management |
dw_products | Products |
dw_warehouses | Warehouses |
dw_inventory | Stock operations |
dw_distributors | Distributor master |
dw_sales_orders | Sales orders |
dw_sales_returns | Sales returns |
dw_price_lists | Price lists & customer tiers |
dw_commissions | Commission rules |
dw_promotions | Promotions & coupons |
dw_rebates | Rebate programs |
dw_webhooks | Outbound webhooks |
dw_analytics | Analytics dashboard |
dw_vans | Van fleet & van stock |
dw_routes | Delivery routes |
dw_van_sales | Field van sales |
dw_api | REST API keys |
dw_reports | Reports |
dw_territories | Territory assignments |
dw_settings | Module settings |
REST API (v1.8+)
Enable in module settings (dw_enable_rest_api). Create API keys under Distributors & Wholesalers → REST API.
Authentication uses the Authorization: Bearer {token} header only.
GET /distributors_wholesalers/api/products
GET /distributors_wholesalers/api/distributors
GET /distributors_wholesalers/api/orders
GET /distributors_wholesalers/api/orders/{id}
POST /distributors_wholesalers/api/orders
GET /distributors_wholesalers/api/stock
GET /distributors_wholesalers/api/vans?van_id={id}
GET /distributors_wholesalers/api/routes?date=YYYY-MM-DD
POST /distributors_wholesalers/api/van_sales
Authorization: Bearer {token}
Van/route endpoints require Enable van/route mobile API in module settings.
Menu & permissions
Admin path: Distributors & Wholesalers (sidebar)
| Permission | Feature |
|---|---|
| ------------ | --------- |
dw_brands / dw_categories / dw_products | Product master |
dw_warehouses / dw_inventory | Stock |
dw_distributors | Distributor master |
dw_sales_orders / dw_sales_returns | Order workflow |
dw_price_lists / dw_commissions | Pricing & incentives |
dw_promotions / dw_rebates | Promotions |
dw_webhooks / dw_api | Integrations |
dw_vans / dw_routes / dw_van_sales | Field sales |
dw_analytics / dw_reports | Reporting |
dw_territories | Field team scoping |
dw_settings | Module configuration |
Each permission supports: view, create, edit, delete, approve.
---
Sales order workflow
Statuses: draft → pending_approval → approved → partially_delivered → delivered → invoiced
- Create order (admin, quick order, or client portal).
- Credit limit and approval threshold checks on submit.
- Approve → pick list (optional auto-create) → ship → deliver.
- Create Perfex CRM invoice from delivered order.
- Commission calculated on delivery; promotions/rebates applied per settings.
---
REST API
Enable in Settings (dw_enable_rest_api). Create keys under REST API.
Authorization: Bearer {token}
| Method | Endpoint |
|---|---|
| -------- | ---------- |
| GET | /distributors_wholesalers/api/products |
| GET | /distributors_wholesalers/api/distributors |
| GET/POST | /distributors_wholesalers/api/orders |
| GET | /distributors_wholesalers/api/stock |
| GET | /distributors_wholesalers/api/vans |
| GET | /distributors_wholesalers/api/routes |
| POST | /distributors_wholesalers/api/van_sales |
- Read/write scopes per key
- Rate limit per key (default 60/min; configurable)
- Bearer header only — query-string tokens are not accepted
- Pagination:
limit,offset,sinceon list endpoints
---
Integrations
| Module | Integration |
|---|---|
| -------- | ------------- |
| Inventory Management | Stock sync via warehouse mapping |
| Purchase Management | GRN posting, reorder PO from low-stock suggestions |
---
Menu & permissions
Admin path: Distributors & Wholesalers (sidebar)
| Permission | Feature |
|---|---|
| ------------ | --------- |
dw_brands / dw_categories / dw_products | Product master |
dw_warehouses / dw_inventory | Stock |
dw_distributors | Distributor master |
dw_sales_orders / dw_sales_returns | Order workflow |
dw_price_lists / dw_commissions | Pricing & incentives |
dw_promotions / dw_rebates | Promotions |
dw_webhooks / dw_api | Integrations |
dw_vans / dw_routes / dw_van_sales | Field sales |
dw_analytics / dw_reports | Reporting |
dw_territories | Field team scoping |
dw_settings | Module configuration |
Each permission supports: view, create, edit, delete, approve.
---
Sales order workflow
Statuses: draft → pending_approval → approved → partially_delivered → delivered → invoiced
- Create order (admin, quick order, or client portal).
- Credit limit and approval threshold checks on submit.
- Approve → pick list (optional auto-create) → ship → deliver.
- Create Perfex CRM invoice from delivered order.
- Commission calculated on delivery; promotions/rebates applied per settings.
---
REST API
Enable in Settings (dw_enable_rest_api). Create keys under REST API.
Authorization: Bearer {token}
| Method | Endpoint |
|---|---|
| -------- | ---------- |
| GET | /distributors_wholesalers/api/products |
| GET | /distributors_wholesalers/api/distributors |
| GET/POST | /distributors_wholesalers/api/orders |
| GET | /distributors_wholesalers/api/stock |
| GET | /distributors_wholesalers/api/vans |
| GET | /distributors_wholesalers/api/routes |
| POST | /distributors_wholesalers/api/van_sales |
- Read/write scopes per key
- Rate limit per key (default 60/min; configurable)
- Bearer header only — query-string tokens are not accepted
- Pagination:
limit,offset,sinceon list endpoints
---
Integrations
| Module | Integration |
|---|---|
| -------- | ------------- |
| Inventory Management | Stock sync via warehouse mapping |
| Purchase Management | GRN posting, reorder PO from low-stock suggestions |
---
Listing highlights
Item Title
Distributors & Wholesalers Management — Enterprise Distribution & Van Sales Module for Perfex CRM
Short Description (max ~160 chars)
Full distribution ops for Perfex CRM: distributors, multi-warehouse stock, sales orders, pricing, commissions, van sales, client portal, REST API, webhooks & reports.
Full Description
Distributors & Wholesalers Management transforms Perfex CRM into a complete wholesale and distribution platform — without modifying a single core file.
Built for distributors, wholesalers, FMCG brands, and field sales teams who need proper order-to-cash workflows inside Perfex CRM.
By Nasbix Technologies — follows standard Perfex module conventions (activation hooks, migrations, permissions, uninstall cleanup).
Product Master
- Brands and categories
- Products linked to Perfex CRM Items with SKU, barcode, tier pricing
- Multi-warehouse stock with ledger and optional Inventory Management sync
Distributor Management
- Distributors via Perfex CRM Clients with credit limits, tiers, territories
- Account statements (PDF), credit hold, aging receivables
- Territory manager scoping for field teams
Sales Orders
- Draft → approval → partial/full delivery → invoice
- Quick order, promotions, multi-currency
- Sales returns with optional Perfex CRM credit notes
Pricing & Incentives
- Price lists with volume/tier rules
- Commission rules with approve/paid payout workflow
- Promotions, coupon codes, volume rebate programs
Fulfillment
- Pick lists, shipments, transfer requests
- Batch/lot tracking with FIFO and expiry alerts
Van Sales & Routes
- Van fleet with mobile stock
- Delivery routes with stops and cash collections
- Mobile REST API for van sales in the field
Client Portal
- Distributor self-service: catalog, new order, repeat order, statement
- Dedicated
/clients/dw/*routes
REST API & Automation
- Bearer token authentication with read/write scopes
- Per-key rate limiting and request logging
- Outbound webhooks with HMAC signatures
Reports & Analytics
- 11 report types with Excel/PDF export
- KPI dashboard with trends and promotion ROI
Optional Integrations
- Inventory Management — stock sync
- Purchase Management — GRN sync, reorder PO automation
Requirements
- Perfex CRM 3.0+ (tested on 3.x)
- PHP 7.4+ (8.1+ recommended)
- MySQL 5.7+ / MariaDB 10.3+
- PHP extensions: mysqli, json, mbstring, curl, fileinfo
Security
- 20 granular permission groups
- Territory RBAC for field staff
- CSRF on admin forms, Bearer-only API auth
- Upload MIME validation, webhook URL SSRF protection
- Complete uninstall cleanup (all
dw_*tables and options removed)
Tags
perfex crm, distributors, wholesalers, inventory, sales orders, van sales, field sales, warehouse, pricing, commissions, b2b, client portal, rest api, webhooks, nasbix
Category
Add-ons > PHP Scripts > Miscellaneous (or Perfex CRM add-ons if available)
Demo
Include screenshots: dashboard, sales order workflow, distributor profile, client portal, van sales, API keys, reports.
Official HTML documentation (feature sections)
Features
Complete distributors and wholesalers management for Perfex CRM — by Nasbix Technologies.
- Product master via Perfex CRM Items + module extension fields
- Distributors via Perfex CRM Clients + credit limits, territories, customer tiers, statements
- Multi-warehouse stock (internal engine or Nasbix Inventory Management)
- Sales order workflow: draft → approval → partial/full delivery → invoice
- Tiered & volume pricing via price lists
- Sales rep commission rules (calculated on delivery)
- Multi-currency sales orders
- REST API (Bearer token) for products, distributors, orders, stock
- Distributor client portal (orders, catalog, self-service ordering, statement, repeat order)
- Audit trail on sales orders and commission payouts
- Automatic credit hold on overdue invoices
- Commission payout workflow (approve / mark paid / export)
- Pick/pack/ship workflow with pick lists, barcode scanner, and shipment records
- Distributor tier auto-upgrade from rolling sales (optional cron)
- Scheduled rebate accrual rebuild and report export rate limits
- Batch/lot tracking with FIFO consumption and expiry alerts
- Transfer requests with optional approval workflow
- Promotions & coupon codes with auto-apply and redemption tracking
- Volume rebate programs with tiered accruals and payout workflow
- Outbound webhooks with HMAC signatures, delivery log, and cron retry queue
- Analytics dashboard (KPIs, trends, promotion ROI, top distributors)
- Van sales with mobile stock, route stops, and cash collections
Permissions
Granular staff capabilities are registered on activation. Assign them under Setup → Staff → Roles for the Distributors & Wholesalers Management capability group.
Typical capabilities include view, create, edit, delete, plus module-specific actions (approve, export, settings, API access).
Cron Jobs
Background tasks (if enabled) run through Perfex CRM's main cron. Example crontab (every minute):
* * * * * php /path/to/perfex_crm/index.php cron/index > /dev/null 2>&1
Module cron hooks (via after_cron_run): low-stock alerts, webhook retry queue, rebate accrual rebuild, and distributor tier auto-upgrade. Toggle rebate and tier jobs under module Settings.
Related: Quick Start · How to Install · FAQ & Tips · Version & Changelog