How it works

One weekly dispatch plan, built from what GRD already knows and checked for expiry line by line.

Dawai estimates each stockist's stock from GRD's records, reps correct it with quick shelf counts, the planner approves a plan in which every line has passed an expiry check, and Rani picks from it.

01In one minute

Four steps, four people

02What changes

Today, and with Dawai

Today
With Dawai
Stock at stockists
Known from calls, field feedback and the stockist's own figures, where shared.
Estimated every week for every stockist from GRD's own records, with a confidence level, and corrected by rep counts.
How much to send
Last year's sales, recent orders and the planner's experience.
A seasonal forecast by medicine and stockist, with a likely range, turned into a suggested quantity the planner can change.
Which batch goes where
The oldest batch leaves first, to whoever is next on the list.
Short-dated batches go to the stockists that sell fastest. Every line is checked for expiry before it is released.
Month-end orders
Large orders at month-end are invoiced like any other.
Management sees invoices next to estimated sales, so month-end stock building up on shelves is visible early.
Knowing it worked
Expiry losses show up in returns a year or more later.
Stock likely to come back expired is reported every week, with the other targets, against an agreed baseline.
03The challenge, point by point

What GRD asked for, and where to see it

The challenge asks forWhat Dawai does
End-to-end visibility of demand and inventory across the networkFactory batches, the week's plan and every stockist's estimated stock and sales on one network view, each with how sure the estimate is.See it
Earlier, more reliable replenishment decisionsA weekly dispatch plan from the forecast and each route's lead time, with stock-out risks listed first.See it
Improve demand-forecast accuracy by at least 20%Seasonal forecasts by medicine and stockist, with a likely range, back-tested on GRD's history against the agreed baseline method.See it
Reduce stock-out incidence by at least 20%Cover targets by route; lines where a stockist will run short before the next delivery are flagged and dispatched first.See it
Reduce excess or slow-moving inventory by at least 15%Lines that would leave a stockist with more than 12 weeks of cover are flagged. The month-end view shows where it builds up.See it
Reduce expiry-related losses by at least 15%The expiry check on every line, and short-dated batches matched to fast-selling stockists. Stock at risk is reported weekly.See it
Improve order fulfilment by at least 10 pointsFill rate by line, tracked on the results sheet; Rani's pick list follows the approved plan and batch.See it
Work with available data, across states and customer segmentsScheduled exports from GRD's billing and returns; rep counts; stockist files only where offered. New states are new routes and stockists.See it
Actionable outputs for supply-chain, sales and management teamsThe planner's plan, the rep's checks, Rani's pick list and management's results sheet, from the same records.See it
Usable with variable connectivityThe rep's app saves counts on the phone and sends them when there is signal. Office screens are light web pages.See it
Detailed breakdownThe estimate and the expiry check · Workflows · Architecture and security · Discovery
AThe rules

How the estimate and the expiry check work

Both are simple enough for a planner to check by hand. The forecast underneath them is where the modelling sits.

PartHow it worksWho decides
Stockist estimateLast known stock (count or file), plus GRD invoices since, minus estimated sales since. Sales are estimated from the re-order pattern, returns, scheme claims and payment timing, and corrected each time a count arrives.Dawai calculates; a rep count overrides it
How sureHigh: stockist file or a rep count in the last 14 days. Medium: a count 15–45 days old. Low: GRD's records only. Low-confidence stockists go on the reps' list.Thresholds agreed with GRD
ForecastWeekly by medicine and stockist: a gradient-boosted model across all series, with season, same weeks last year and scheme weeks; a slow-mover method for medicines that sell rarely. Each forecast carries an 80% range. Weeks a stockist was out of stock are treated as unknown demand, not zero.The model proposes; the planner edits
QuantityEnough to cover the route's lead time, the week until the next dispatch and safety stock for the forecast range, minus estimated stock. Rounded to cases.Planner approves the plan
Expiry checkWeeks from arrival to the batch's cut-off × weekly sales, minus stock already on the shelf (sold first). Anything left of the new batch is "at risk". Over 10% of the line is flagged.Planner chooses: re-route, change batch, cut, or keep with a reason

We've assumed chemists stop accepting a batch about 90 days before expiry. GRD's returns policy sets the real cut-off, which may differ by medicine and stockist.

BWorkflows

The weekly plan

Dawai
Reads the week's data
Invoices, returns, payments and Rani stock by batch, from scheduled exports.
Dawai
Drafts the plan
Forecast, cover and quantity for every stockist and medicine.
Dawai
Checks every line
Expiry, stock-out risk, too much cover, weak estimates.
Planner
Decides and releases
Accepts or changes each flagged line. Reasons are logged.
Rani warehouse
Picks and loads
Pick list by route, with batch numbers. Invoices raised as usual.

A rep's shelf count

Dawai
Picks where to count
Stockists with the oldest or weakest estimate, two or three per rep a week.
Rep
Counts five medicines
During a normal visit, with the earliest expiry seen. About three minutes.
Dawai
Checks the count
Figures far from the estimate need a recount or a confirmation.
Dawai
Re-runs the plan
The stockist's estimate, sales rate and every line for it are updated.
Planner
Sees what changed
Lines that now fail a check are shown at the top of the plan.
CArchitecture

Small, and kept apart from GRD's billing

Dawai reads exports and never writes into GRD's billing system. Roles, approvals and the audit log come from the platform our live product, Vrixaa Connect, already runs on. It can be hosted on an Indian cloud region or on GRD's own server.

People
Supply-chain planner
Medical reps
Rani warehouse
Sales and management
Apps
Web app for the office
Android app for repsworks offline
Pick listscreen or print
Core
Stockist estimate
Forecast servicePython, versioned models
Plan and expiry check
Approvals and audit log
Data
PostgreSQL
Raw export fileskept for audit
Model registry
Connects to
GRD billing and returnsscheduled export
Rani stock register
Stockist filesaccounting-software or Excel exports; optional

GRD's data stays GRD's

Sales by stockist are commercially sensitive. Data is held in India, encrypted, owned by GRD and exportable at any time. It is never pooled with another client's.

Access by role

Reps see only their own stockists. Rani sees the released plan. Management sees all. Sign-in by OTP on company numbers.

Every change is logged

Who changed a line, when, from what to what and why. The plan Rani received is kept as released.

Little personal data

Staff names and phone numbers, and stockist contacts already in GRD's books. Handled under the DPDP Act 2023.

DDiscovery

What we'll settle with GRD in the first three weeks

The design rests on the challenge statement and on public information about pharma distribution in India. These are the points we'll confirm with GRD's supply-chain, sales and warehouse teams before building the production system.

  • GRD's returns policy: the cut-off before expiry, and how expiry returns are credited by batch.
  • Which billing or ERP system GRD uses, and the export it can schedule.
  • How dispatch is planned today: weekly or monthly, by whom, and what changes at month-end.
  • Whether reps already use a visit-reporting app the shelf count can sit inside.
  • How much of demand comes from hospitals and institutional orders, which we treat as planned orders, not forecasts.
  • Where stock-outs start: at Rani's batches, or in the channel.