Muhandis Online

AMRONEC’s field marketers’ portal: register the deal, lock the commission, get paid against a receipt

AMRONEC works with field marketers who bring in customers for a commission. I built them a portal on the company’s own system: a marketer registers a deal, the commission rate is locked on it, they see what has been recorded, what is payable and what has been paid, and they request payouts from their account.

AMRONEC Limited, an engineering and industrial company in Saudi Arabia

Requests from the site and WhatsApp

Client
AMRONEC Limited
Default commission
Projects 2%, maintenance 5%, supply 1%
Payouts
Twice a month: on the 1st and the 16th
Tests
About 120 tests, plus PostgreSQL race tests for payouts

From the project

Field marketer’s dashboard: balance available to pay out, commission recorded, payable and paid, and recent updates (demo data)Field marketer’s dashboard on a phone: amount available and the payout request button (demo data)
Field marketer’s dashboard: balance available to pay out, commission recorded, payable and paid, and recent updates (demo data)
  • Registering a new deal: the first to register a customer earns the commission (demo data)
    Registering a new deal: the first to register a customer earns the commission (demo data)
  • The marketer’s deals by stage, each with its locked commission rate (demo data)
    The marketer’s deals by stage, each with its locked commission rate (demo data)
  • Requesting a commission payout and tracking requests, with the bank receipt for a paid one (demo data)
    Requesting a commission payout and tracking requests, with the bank receipt for a paid one (demo data)
  • Managing field marketers: approved profiles and one awaiting approval (demo data)
    Managing field marketers: approved profiles and one awaiting approval (demo data)
  • Everyone’s commission: recorded per marketer and employee, and what each can request (demo data)
    Everyone’s commission: recorded per marketer and employee, and what each can request (demo data)

The marketer’s dashboard

  • What is available to pay out, and the commission recorded, payable and paid out.
  • The latest updates on their deals, never showing staff notes or the customer name on file.
  • The portal’s pages: home, deals, register a deal, payouts, profile, updates, the commission policy, and how it works.

Registering a deal: the first to register a customer earns the commission

  • The marketer enters the company name, a way to identify the customer (a phone number or other), the contact person, the city, the type of work (project, maintenance or supply), the needs and details, and the expected value, with up to 3 files (images or PDF, 8 MB each).
  • The commission rate is locked on the deal when it is registered.
  • If the customer already has an open deal, the commission goes to whoever registered it first. A second marketer is told it is registered, but never by whom.
  • Registrations are handled one at a time, so two at the same moment can never both win.

When commission is earned, and when it is paid

  • Commission is recorded when an invoice is issued, and becomes payable as the customer pays.
  • A credit note takes the matching commission back.
  • Commission earned before the marketer is approved is recorded, but not payable until they are.
  • Payouts go out in batches on the 1st and the 16th of each month.
  • Whoever requests a payout cannot approve it, and it is marked paid only with a bank receipt.
  • A floor on each deal’s margin that only a manager can override, and commission splits that need approval.

Invitation and joining

  • Only staff with the commission-approval permission can invite a marketer. The link lasts 7 days and works once.
  • To join: a password of at least 12 characters, accepting the commission policy, and a profile with a phone number, a national ID, iqama or commercial registration number, and an IBAN checked by its check digits.
  • A marketer goes from invited to pending to approved, and can be suspended.
  • A password reset link lasts 60 minutes, and attempts are rate-limited.

How I checked

About 120 tests across the agents and commission modules, plus race tests on PostgreSQL for payout requests that arrive at the same moment.

Built with

PostgreSQL

Services in this work

Tell me what you want built.

I reply within one working day, with questions or a first idea of scope and price.