Skip to main content

FarmaClick®

The module integrates Business Central with the FarmaClick® ordering platform, used by pharmacies to send orders to the distributor and to check availability, credit limits and delivery documents. Data is exchanged automatically through the iPharma interface: users do not need to perform manual steps, and they find received orders and updated data in Business Central.

The module also adds automatic price recalculation for cumulative shipments.

Function Description
Stock availability Provides, per location and item, the quantity in bins whose bin type is marked Include in Availability, together with quantities already committed by outstanding sales orders and transfer orders.
Order receipt Receives orders sent by pharmacies and records them as sales orders or transfer orders (see below).
Delivery documents Returns a customer's posted sales shipments (or transfer shipments), with lines, quantities, requested quantities and amounts.
Customer credit Provides, for each customer with a Credit Limit (LCY) greater than zero, the limit and the available credit; the same limit is also reported for customers that have that customer as Bill-to Customer No.. If credit limit (plafond) management is active, the valid credit limits are sent as well.

When an order arrives from FarmaClick®, Business Central creates the document automatically without showing confirmation messages. The item availability check and the credit limit check are skipped during creation.

If the order does not specify a transfer-to location, a Sales Order is created:

Field Description
Sell-to Customer No. Customer specified in the order.
Order Type Set if a sales order type exists whose EDI Code matches the type received.
Ship-to Code Ship-to address specified in the order, if any.
External Document No. Pharmacy order reference.

Each line carries item, location, Shipping Line Code, any delivery warehouse and Delivery Line Code, quantity, Requested Quantity, unit price and line discount.

Automatic behaviour:

  • if all lines use the same location, that location (with shipping line and delivery data) is also set on the header;
  • the order is released automatically if it contains at least one item line with a quantity greater than zero.

If the order specifies a destination location, one or more Transfer Orders are created, one for each source location found in the lines. Blocked items are skipped. Orders with at least one line with a quantity are released automatically.

FarmaClick® can request a customer's deliveries by order number, by external document number (last 7 days), or by posting date and document number. If no date is given, shipments from the last 7 days are considered. For sales shipments, amounts exclude free-of-charge quantities; for transfers, amounts are calculated from the item unit cost.

When a Warehouse Shipment with Receiver Type Customer and Cumulative Shipment enabled is posted, for each item appearing on several order lines Business Central:

  1. adds up the Requested Quantity of the item's lines;
  2. calculates the net price the customer would get when ordering the total quantity;
  3. if that price is better than a line's price, updates Unit Price and Line Discount % on the sales order line.

This way the customer benefits from quantity-based pricing even when orders were sent separately.