iPharma DB

The module connects Business Central to the iPharma pharmaceutical database. It lets you:

Items are linked to database products through the item's AIC Code.

Search for the iPharma DB Setup page.

Field Description
API Endpoint Address of the iPharma database service.
Authentication Token Access token for the service. It is stored securely and shown masked.
Last Item Update Date and time of the last item update from the database. It must be filled in before the first automatic update and is then maintained by the system.
Last Price Update Date of the last public price update. It must be filled in before the first automatic update and is then maintained by the system.

From the Item Template card, use the Pharmaceutical DB Rules action to define when a product imported from the database must be created with that template.

Field Description
Rule Group Groups the rules: a group is satisfied only if all its rules are satisfied.
Property Code of the database property to check (the same code shown in the database detail page).
Value Filter Filter applied to the property value (e.g. X, A*, >10). Text comparison is case-insensitive.
Value Type Text or Decimal: how the property value is interpreted.

During import, the template whose satisfied rule group contains the highest number of rules is chosen. If no template applies, the import stops with the message "No item template found for ...". Deleting an item template also deletes its rules.

On the Item Card, in the Inventory section, the read-only Pharmaceutical DB Rule Group field shows the rule group associated with the item.

The Item Price Group page provides two options that limit database updates for the items in the group:

Field Description
Prevent Price Update from DB When enabled, the public price of the group's items is not updated from the database (except when the item is created).
Prevent Description Update from DB When enabled, the description of the group's items is not updated from the database (except when the item is created).

Open the Pharmaceutical DB Search page (directly, or from the Item Search page with the Pharmaceutical DB search action, which carries over the text already typed).

  1. Type in the Search field: the list is refreshed with the products found.
  2. For each product you see: Item No. (if the product already exists as an item), AIC Code, Description, Product Type, Public Price.
  3. The side panes show the product Image and its main Details.

Available actions:

Action Effect
Import If the product does not exist yet, asks for confirmation ("Import item ...?") and creates it as an item; then opens the item card. If it already exists, opens the card directly.
Same Substance Replaces the list with products that have the same active substance as the selected product.
Details Opens the Pharmaceutical DB Details page.
Lots Opens the Pharmaceutical DB Lots page.

Shows all database information for the product, grouped by section (in bold) with the Type and Value columns.

Shows the product's lot information for each Progressive: Mandatory flag, saleability dates ("Saleable until" / "Saleable after"), Unsaleable lots, Saleable lots and Notes. If there is none, "No lot information" is shown.

Page Feature
Item Card, Item List Drug DB action (Navigate): opens the database detail for the item.
Item Search Image pane; Pharmaceutical DB search and DB Detail actions.
Item Summary Image pane; Pharmaceutical DB action in the Pharmaceutical group.
Item Inventory Summary Image pane; Pharmaceutical DB action.
Demand Replenishment AIC Code column, Image pane, Drug DB action. The AIC code is also carried over to the generated requisition lines.
Get shipment lines to reverse (sales returns) Product Image pane.

When a product is imported (or updated):

Through a Job Queue entry with parameter UPDATE, the system:

  1. asks the database which items with an AIC Code changed since Last Item Update and re-imports them;
  2. retrieves public price changes since Last Price Update and updates the items (except those in price groups with Prevent Price Update from DB), recording the change in the change log;
  3. updates the last update dates in the setup.

In sales documents, when an item number that does not exist is entered, the system also looks for an item with that AIC Code.


Revision #1
Created 2026-12-03 13:26:35 UTC by AI
Updated 2026-12-03 13:26:35 UTC by AI