1. Overview & Business Purpose
The CRM & Client Management Module in ITSTHS Workspace serves as the single source of truth for all customer organizational profiles, primary and secondary contacts, financial transaction history, active projects, contract agreements, and support tickets.
Centralizing client management ensures seamless coordination across sales, project delivery, and billing departments, enabling automated document generation, self-service client portal access, and complete audit logging.
2. What This Feature Does
- Organization Directory Management: Maintain detailed company profiles including legal business names, tax registration numbers, billing addresses, and website domains.
- Multi-Contact Hierarchy: Link multiple staff contact persons to a single client organization with custom job titles, direct emails, and phone extensions.
- Client Portal Provisioning: Grant clients secure self-service portal accounts with fine-grained access toggles for viewing invoices, projects, and contracts.
- 360-Degree Client Account View: Single dashboard displaying all linked invoices, payments, estimates, proposals, contracts, projects, uploaded files, notes, and support tickets.
- Categorization & Segmentation: Organize clients using custom Client Groups and extend record metadata with tailored Custom Fields.
3. Common Business Use Cases
- New Customer Onboarding: Upon signing a new commercial agreement or service contract.
- Lead Conversion: Converting a qualified sales lead from
Workspace → Leadsinto an active customer account. - Direct Invoicing: Creating a one-off or retainer invoice for an external organization.
4. Before You Begin (Prerequisites)
- Company Information: Obtain the official company name, tax ID (VAT/GST), primary billing email, and physical address.
- Primary Contact Details: Name, email address, and phone number of the primary business contact.
- Client Groups (Optional): Pre-define client categories in
Workspace → Settings → Client Groups(e.g., Enterprise, Retainer, VIP).
5. Required System Permissions
Client management access is controlled by granular RBAC permissions in Workspace → Settings → Roles:
- Admin Users: Full permissions to create, edit, view, delete, and manage portal access for all clients.
- Staff Members: Requires permission flag
clientset to All, Specific, or Assigned Only. - Client Editing Check: Creating or modifying client profiles requires internal permission
can_edit_clients().
6. Plan Tier Availability
7. Navigation Path ("Where to Find It")
To navigate to the Client Directory in ITSTHS Workspace:
Workspace → Clients
8. Field-by-Field Reference Dictionary Table
[SCREENSHOT: client-create-modal.png]
| Field Name | Form Control | Required? | Description & Allowed Values | System & Business Effect |
|---|---|---|---|---|
type |
Radio Buttons | Required | Select Organization (Company) or Person (Individual). | Determines whether Company Name or Individual Name is primary display title. |
company_name |
Text Input | Required | Full legal organization or company name. | Primary identifier printed on invoices, estimates, contracts, and PDFs. |
address |
Textarea | Optional | Physical street address. | Printed in invoice and estimate billing address blocks. |
vat_number |
Text Input | Optional | Tax Identification Number (VAT, GST, EIN). | Printed on commercial tax invoices for legal compliance. |
9. Step-by-Step Operating Procedures
Step 1 — Open the Client Creation Modal
- Navigate to
Workspace → Clients. - Click the + Add Client button in the top toolbar.
Step 2 — Fill Account Profile Information
- Select Organization Type: Organization or Person.
- Enter Company Name, billing address, phone, and website.
- Enter official Tax / VAT Registration Number.
- Click Save & Add Contact.
10. Statuses & Lifecycle States Table
| Client Status | Condition | Behavior |
|---|---|---|
| Active | Default state for operational client accounts. | Can receive invoices, proposals, and projects. |
| Archived | Client marked as inactive. | Hidden from default client picker dropdowns; preserves ledger history. |
11. Automated System Actions & Triggers
- Creating a client contact with portal access automatically sends a welcome invitation email containing a secure password reset key.
12. Input Validation Rules & Error Messages
Company Name is required.— Occurs if company title input is empty.Contact Email already exists.— Occurs if the email address is assigned to another user profile.
13. System Constraints & Limits
- Clients with linked invoices or active projects cannot be permanently deleted to protect accounting audit trails.
14. Technical & Payload Architecture
- Client profiles are stored in `clients` table; individual contacts are linked via `users` table where `user_type = 'client'`.
15. Edge Cases & Known Gotchas
- Deleting a client contact revokes portal login credentials immediately.
16. Troubleshooting & Diagnostics Guide
- If client portal login fails, verify `disable_login` flag in client contacts table and confirm email verification status.
17. Operational Best Practices
- Always record official Tax ID / VAT numbers during client creation for tax invoice compliance.
- Group clients into Client Groups for segmented financial reporting.
18. Security, Audit & Compliance Notes
- Client creation, profile edits, and contact permission modifications are logged in `crm_audit_logs`.
19. Frequently Asked Questions (FAQs)
Q: Can a client have multiple contact persons with portal login access?
A: Yes! You can add unlimited contacts under a single client account and grant each contact independent portal login credentials.