Trade Promotion Management — Overview & module guide

Module: Trade Promotion Management v1.4.0

Trade promotion planning, execution and tracking for BIXCRM

Screen-by-screen guides (each tab explained)

Click a menu item below for step-by-step instructions on that Trade Promotion Management screen:

How to use in BIXCRM (daily operations)

  1. Sign in to the admin area with a role that includes Trade Promotion Management permissions.
  2. Open Trade Promotion Management (sidebar) or search for Trade Promotion Management in the admin menu.
  3. Start on the Dashboard (if available) to see open tasks, pending approvals, and KPIs.
  4. Review Settings after upgrades — new options may need defaults for your company.
  5. Create or import master data first; most modules block transactions until masters exist.
  6. Run the main business flow (create → submit → approve → post/complete) using the screens listed in Admin menu below.
  7. Use Reports / Analytics screens to reconcile stock, finance, compliance, or SLA metrics.
  8. For integrations (API, EDI, gateways, tax), confirm credentials in Settings and monitor logs or webhook delivery screens.
  9. Train staff with role-based access — give approvers approve permissions only, operators create/edit on their area.
  10. If something fails overnight, check BIXCRM cron ran and open the module log / failed queue screen if present.

Admin menu — where to work

Open the Trade Promotion Management section in the admin sidebar. Screens your staff may use (depending on role):

  • Accruals
  • API Keys
  • Claims
  • Deduction Codes
  • Execution Checklists
  • Integrations
  • Promotions
  • Promotion Types
  • Reports
  • Sell-Out Data
  • Settings
  • TPM Dashboard
  • Tpm Webhooks
  • Trade Promo
  • Uplift Analysis

Detailed guide — features, workflows, API & FAQ

Phase 5 Features (Current)

FeatureStatus
-----------------
REST API (promotions, claims, accruals, sell-out)Done
API key management with scopes & rate limitingDone
Webhooks (promotion.approved, claim.settled)Done
Distributor sell-out syncDone
Accounting Pro GL posting (accruals & settlements)Done
Promotions & claims CSV/Excel exportDone

All Phases

  • Phase 1: Promotions, types, product lines, client targeting, approval workflow
  • Phase 2: Accruals, claims, deduction codes, invoice matching
  • Phase 3: Sell-out data, CSV import, uplift analysis, execution checklists
  • Phase 4: ROI dashboard, budget vs actual, scorecard, deduction aging, PDF export
  • Phase 5: REST API, webhooks, Distributors & Accounting Pro integration

Quick Start (Phase 5)

  1. Integrations → API Keys — Create a scoped API key
  2. Integrations → Webhooks — Subscribe to promotion/claim events
  3. Integrations → Distributor Sync — Pull sell-out from distributor orders
  4. Settings — Enable GL posting and map Accounting Pro accounts
  5. API: GET /trade_promotion_management/trade_promotion_management_api/promotions

API Authentication

Authorization: Bearer tpm_xxxxxxxx

Permissions

FeatureCapabilities
----------------------
tpm_integrationsview
tpm_api_keysview, create, edit, delete
tpm_webhooksview, create, edit, delete

DB Version

Check option tpm_db_version — expected 104 after Phase 5 upgrade.

See [docs/ROADMAP.md](docs/ROADMAP.md) for full history.

Features

Trade promotion planning, execution and tracking for BIXCRM

  • **Phase 1:** Promotions, types, product lines, client targeting, approval workflow
  • **Phase 2:** Accruals, claims, deduction codes, invoice matching
  • **Phase 3:** Sell-out data, CSV import, uplift analysis, execution checklists
  • **Phase 4:** ROI dashboard, budget vs actual, scorecard, deduction aging, PDF export
  • **Phase 5:** REST API, webhooks, Distributors & Accounting Pro integration

Permissions

Granular staff capabilities are registered on activation. Assign them under Setup → Staff → Roles for the Trade Promotion 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 BIXCRM's main cron. Example crontab (every 5 minutes):

* * * * * php /path/to/bixcrm/index.php cron/index > /dev/null 2>&1

Check module settings for scheduled jobs (alerts, sync, reports, retention).

After activation — configuration checklist

  1. Go to Setup → Modules and activate Trade Promotion Management.
  2. If prompted, click Upgrade Database or reload admin — migrations run automatically.
  3. Assign permissions under Setup → Staff → Roles.
  4. Open the module menu and configure settings.
  5. BIXCRM 3.0+
  6. PHP 7.4+ (8.1+ recommended)
  7. MySQL 5.7+ / MariaDB 10.3+ (InnoDB)
  8. PHP extensions: mysqli, json, mbstring, curl, fileinfo

Staff permissions (from module)

Assign under Setup → Staff → Roles. Each feature can expose different actions:

FeatureActions
TPM Dashboard
tpm_dashboard
view
Promotions
tpm_promotions
view, create, edit, delete, approve
Promotion Types
tpm_types
view, create, edit, delete
Accruals
tpm_accruals
view, create, edit, delete, post
Claims
tpm_claims
view, create, edit, delete, validate, pay
Deduction Codes
tpm_deduction_codes
view, create, edit, delete
Sell-Out Data
tpm_sell_out
view, create, edit, delete, import
Execution Checklists
tpm_execution
view, create, edit, delete, verify
Reports
tpm_reports
view, export
Settings
tpm_settings
view, edit
Integrations
tpm_integrations
view
API Keys
tpm_api_keys
view, create, edit, delete
Tpm Webhooks
tpm_webhooks
view, create, edit, delete

One-time setup (first time only)

  1. Setup → Modules → activate Trade Promotion Management.
  2. Setup → Staff → Roles → assign Trade Promotion Management permissions (view, create, edit, delete, approve, export, settings as needed).
  3. Open Trade Promotion Management → Settings and complete company defaults, prefixes, integrations, and notification options.
  4. Create master data (warehouses, products, templates, accounts, routes, etc.) before processing live transactions.
  5. Enable BIXCRM cron (php /path/to/bixcrm/index.php cron/index) for sync, retries, alerts, and scheduled jobs.
  6. Optionally enable REST API / webhooks in module settings if you integrate external systems.

BIXCRM Knowledge Base — usage guide generated from module README and documentation.

Did you find this article useful?