Skip to content

Organization Settings Guide

This guide explains how to manage organization-specific settings in the ERP-Unlocked platform. Organization settings allow each organization to customize their experience according to their specific business needs and requirements.

  • You must be an organization administrator
  • You must be logged into the ERP-Unlocked platform
  • Your organization must be properly configured in Clerk
  1. Log into the ERP-Unlocked web app
  2. Navigate to Organization Settings from the main menu
  3. Select the specific settings category you want to configure

Configure how the system matches product IDs and handles fuzzy matching for your organization.

  • Trigram Similarity: Controls how similar product IDs need to be for trigram matching (0.0 - 1.0)
  • Full Text Similarity: Controls full-text search matching threshold (0.0 - 1.0)
  • Max Levenshtein Distance: Maximum character differences allowed (0 - 10)
  • Base Similarity Threshold: Overall similarity threshold for matches (0.0 - 1.0)

Define which product ID prefixes are considered incompatible:

  • Incompatible Pairs: Specify which prefixes cannot be matched together
  • Severity Levels: Set whether incompatible matches should be blocked, warned about, or allowed
  • Categories: Organize rules by category (e.g., material_type, product_type)
  • Dynamic Validation: Enable additional validation checks during fuzzy matching
  • Custom Rules: Define custom validation rules for your specific use case

Configure when and how often your data is synchronized with ERP systems.

  • Customers: Sync frequency for customer data
  • Products: Sync frequency for product catalog
  • Inventory: Sync frequency for inventory levels
  • Frequency: Hourly, daily, weekly, or custom cron expressions
  • Batch Size: Number of records to process in each batch
  • Retry Attempts: Number of retry attempts for failed syncs
  • Business Hours: Define when syncs should run based on business hours

Set up custom alerts and notifications for various events.

  • Email: Configure email addresses and frequency
  • Slack: Set up Slack webhook integration
  • Webhooks: Configure custom webhook endpoints
  • Event Types: Choose which events trigger alerts
  • Conditions: Define conditions for alert triggering
  • Severity Levels: Set alert severity (low, medium, high, critical)
  • Thresholds: Configure thresholds for various metrics

Feature flags are managed via Flagsmith, enabling gradual rollouts, A/B testing, and user-specific targeting.

Note: Feature flags are now centrally managed through Flagsmith rather than per-organization database settings. See Flagsmith Feature Flags Configuration for details.

  1. Feature flags are defined in Flagsmith with targeting rules
  2. The @repo/feature-flags package evaluates flags based on user/organization context
  3. Flags can be targeted by:
    • User: Specific Clerk user IDs
    • Organization: Clerk organization ID
    • Segment: Internal team, beta users, enterprise orgs, etc.
    • Percentage: Gradual rollout to X% of users
FlagDescriptionStatus
email_enabledEnable email-based order processingAvailable
dagster_enabledUse Dagster for data synchronizationAvailable
typesense_searchUse Typesense for enhanced searchAvailable
new_order_editorNew React-based order editor UIBeta

Contact your account administrator to enable specific features for your organization. Features can be enabled based on:

  • Subscription tier (Professional, Enterprise)
  • Beta program enrollment
  • Custom organization targeting

Define custom business logic and validation rules.

  • Order Validation: Custom validation for orders
  • Product Validation: Custom validation for products
  • Field Requirements: Define required fields for different entities
  • Order Approval: Configure approval workflows
  • Price Validation: Set up price validation rules
  • Custom Logic: Define custom business logic

Configure integrations with external systems.

  • Connection Management: Manage multiple ERP connections
  • Default Connection: Set default ERP connection
  • Failover: Configure failover connections
  • Rate Limits: Set API rate limits
  • Webhooks: Configure webhook endpoints
  • Authentication: Set up API authentication

Customize the user interface and user experience.

  • Logo: Upload organization logo
  • Colors: Set primary and secondary colors
  • Custom CSS: Add custom styling
  • Default View: Set default view for different pages
  • Items Per Page: Configure pagination settings
  • Sidebar: Configure sidebar behavior
  • Date Format: Set date display format
  • Time Format: Set time display format
  • Currency: Set default currency
  • Language: Set interface language
  • Timezone: Set organization timezone

Configure security policies and access controls.

  • Password Policy: Set password requirements
  • Multi-Factor Authentication: Configure MFA requirements
  • Session Management: Set session timeout and limits
  • Role-Based Access: Configure custom roles and permissions
  • IP Whitelist: Restrict access by IP address
  • API Access: Configure API access controls
  • Logging: Configure audit logging
  • Retention: Set log retention periods
  • Alerts: Set up security alerts
  1. Start with Defaults: Begin with default configurations and adjust as needed
  2. Test Changes: Test configuration changes in a development environment first
  3. Document Changes: Keep track of configuration changes and their reasons
  4. Backup Configurations: Export configurations before making major changes
  5. Gradual Rollout: Implement changes gradually to minimize impact
  1. Threshold Tuning: Adjust thresholds based on your data characteristics
  2. Batch Sizes: Optimize batch sizes for your data volume
  3. Sync Frequency: Balance sync frequency with system performance
  4. Resource Usage: Monitor resource usage when changing configurations
  1. Principle of Least Privilege: Only grant necessary permissions
  2. Regular Reviews: Regularly review and audit configurations
  3. Secure Storage: Ensure sensitive configuration data is properly secured
  4. Access Control: Limit access to configuration management
  • Check if you have administrator permissions
  • Verify the configuration is valid
  • Check for network connectivity issues
  • Review error messages in the browser console
  • Review threshold settings
  • Check batch size configurations
  • Monitor system resource usage
  • Consider reducing sync frequency
  • Review validation rules
  • Check data format requirements
  • Verify field requirements
  • Test with sample data
  1. Documentation: Check this guide and other documentation
  2. Support: Contact support through the platform
  3. Community: Engage with the user community
  4. Training: Attend training sessions and webinars
GET /api/organizations/settings/{config-type}?clerkOrganizationId={org-id}
PUT /api/organizations/settings/{config-type}?clerkOrganizationId={org-id}
Content-Type: application/json
{
"config": {
// Configuration object
}
}
GET /api/organizations/settings/export?clerkOrganizationId={org-id}
POST /api/organizations/settings/import?clerkOrganizationId={org-id}
Content-Type: application/json
{
"configs": {
// All configuration objects
}
}
  • fuzzy-matching: Fuzzy matching configuration
  • sync: Sync schedule configuration
  • alerting: Alerting configuration
  • feature-flags: Feature flags configuration
  • business-rules: Business rules configuration
  • integration: Integration configuration
  • ui: UI configuration
  • security: Security configuration

When upgrading the platform, configurations are automatically migrated to new versions. However, you should:

  1. Backup Configurations: Export configurations before upgrades
  2. Review Changes: Review any configuration changes after upgrades
  3. Test Functionality: Test all configured features after upgrades
  4. Update Documentation: Update any custom documentation
  • Configurations are backward compatible within major versions
  • Breaking changes are communicated in advance
  • Migration tools are provided for major version upgrades
  • Support is available for configuration migration

Organization settings provide powerful customization capabilities for the ERP-Unlocked platform. By following this guide and best practices, you can optimize your organization’s experience and maximize the value of the platform.

For additional support or questions, please contact the ERP-Unlocked support team or refer to the comprehensive documentation available in the platform.