Pharmacy Procurement GRN - hmislk/hmis GitHub Wiki

Pharmacy Procurement — GRN and Goods Receipt

Overview

A Goods Received Note (GRN) records the physical receipt of items ordered via a Purchase Order. The GRN process in the HMIS pharmacy module supports:

  • Standard GRN (against a PO)
  • GRN with costing (invoice matching)
  • GRN with multi-step approval
  • Wholesale GRN (for redistribution from another facility)
  • Direct purchase (receipt without a prior PO)

Standard GRN

Navigation: Pharmacy → Procurement → GRN

Steps:

  1. Select the supplier.
  2. Select the related Purchase Order from the list.
  3. The system pre-fills ordered items — verify quantities actually received.
  4. Enter batch numbers, expiry dates, and unit costs for each line.
  5. Click Save to record the receipt.

Stock levels update immediately upon GRN save.


GRN with Costing (Invoice Matching)

The GRN costing step links the supplier's invoice to the receipt, enabling invoice matching.

Navigation: Pharmacy → Procurement → GRN tab → Create GRN from PO → Create GRN on the approved PO

Steps:

  1. Complete the standard GRN fields.
  2. Enter the supplier invoice number and invoice date.
  3. Verify the invoice total against line-item totals.
  4. Click Save & Approve or save for separate approval.

Finalization: Pharmacy → Procurement → GRN tab → GRN Finalize

Once finalized, the GRN is locked and supplier payment can be processed.

Printing the GRN

After Finalize or Approve, the page shows a GRN Preview with a Print button. Users with the ChangeReceiptPrintingPaperTypes privilege can pick the paper format with the Settings button on the preview (A4 Paper Format One, A4 Paper Format Two, Custom Format 1–3).

A4 Paper Format Two adds the Last Purchase Rate and Profit % columns. To print it without the Profit % column, set the application option Print Profit % in GRN Bill to false (Administration → Manage Institutions → Preferences → Application Options → filter by key → Edit Option). The default is true. This option affects only the printed GRN; the Profit % column on the GRN entry screen is controlled separately by Show Profit Percentage in GRN.

Every format prints the totals block (Sum of Line Net Totals, the Expenses lines, Net Total and Total Bill Value) as positive amounts. These figures are the same after Finalize, after Approve, and on a reprint. Total Bill Value is the Net Total plus the expenses not considered for costing. GRNs approved before this change may still print a blank Total Bill Value and 0.00 expenses on a reprint, because those figures were not saved for them.

A4 Paper Format Two with the Profit % column (option on, the default)

Print Profit % in GRN Bill = true (default): Profit % is printed.

A4 Paper Format Two without the Profit % column

Print Profit % in GRN Bill = false: the Profit % column is left out.


GRN with Approval Workflow

Some deployments require GRNs to be approved before finalization.

Workflow:

Create GRN → Submit for Approval → Approve → Finalize

Approve queue: Pharmacy → Procurement → GRN tab → GRN Approval
Finalize queue: Pharmacy → Procurement → GRN tab → GRN Finalize


Wholesale GRN

Used when receiving goods transferred from another hospital or warehouse facility rather than directly from a supplier.

Navigation: Pharmacy → Procurement → GRN (Wholesale)

The workflow is similar to a standard GRN, but the source is marked as a sister institution rather than an external supplier.


Direct Purchase (No Prior PO)

When goods are received without a formal PO (emergency purchases, small procurements):

Navigation: Pharmacy → Procurement → Direct Purchase

  1. Select the supplier.
  2. Add items with quantities, batch numbers, expiry dates, and unit costs.
  3. Save.

Direct purchases are recorded as a separate bill type and are fully reportable.


Reprinting a GRN

Navigation: Pharmacy → Procurement → GRN tab → Create GRN from PO

  1. Search for the purchase order.
  2. Click the View Finalized GRN (eye) icon on its GRN. The GRN Reprint page opens.
  3. Click Reprint.

Cancelling a GRN

A GRN that has not been costed/finalized can be cancelled.

Navigation: Pharmacy → Procurement → GRN tab → Create GRN from PO

  1. Open the GRN as in Reprinting a GRN.
  2. Click To Cancel, enter a comment and confirm the cancellation. The cancellation bill prints. See also Cancel GRN.

GRNs that have supplier payments applied cannot be cancelled without first reversing the payment.


Batch Numbers and Expiry Dates

Every GRN line item must have a batch number and expiry date. The system uses this data for:

  • FEFO (First Expiry, First Out) dispensing
  • Near-expiry alerts
  • Batch traceability

See Pharmacy Batch Management and Expiry Tracking for full details.


Stock Impact

Action Stock Effect
Save GRN Increases department/pharmacy stock
Cancel GRN Reverses the stock increase
GRN Return Reduces stock for returned items

Related Articles