EDI DAFNE®

The module integrates Business Central with DAFNE®, the EDI platform of the pharmaceutical industry. Two protocols are supported:

  1. Open Document Exchange Profiles and create a profile with Exchange Format and Exchange Transport set to Dafne.
  2. From the profile, open the transport setup: the Dafne Setup page linked to the profile opens.
Field Description
Profile Code Document exchange profile the setup belongs to (read-only).
Protocol CONDAFNE or DAFNEFMD. The relevant fields are shown depending on the protocol.
Web Endpoint Service address. The assist button (…) proposes the standard address of the selected protocol.
Field Description
Username User for the DAFNE service.
Password Access password (masked).
Company Name Company name at DAFNE.
Company ID Company identifier on DAFNE, included in transmitted orders. Required to send orders.
Archive Path Folder where all sent and received files are archived. Required.
Search Orders by Outstanding Lines When enabled, if a received document does not refer to an existing order, the order is searched among the vendor's outstanding lines. When disabled, a document without a valid order is reported as an error.
Field Description
API Key Service access key.
API Secret Secret associated with the key (masked).
Channel Key Communication channel key.
Warehouse Filter Filter of the warehouses handled by the service.

Section to manually test the verification service operations on a single pack.

Field Description
Location Code Location for the operation.
Product Code Scheme Product code scheme (e.g. GTIN).
Product Code Product code.
Serial Number Pack serial number.
Batch ID Pack batch.
Expiration Date Pack expiration date.
Transaction ID Transaction identifier returned by the last operation (read-only).
Action Description
CONDAFNE › Manual Import Uploads an EDI file from your computer and processes it as if it had been received from DAFNE.
DAFNEFMD › Verify Verifies the status of the pack entered in the test section.
DAFNEFMD › Dispense Records the pack as dispensed.
DAFNEFMD › Undo Dispense Reverts a previous dispense.
DAFNEFMD › Destroy Records the pack as destroyed.
DAFNEFMD › Get Result Retrieves the outcome of the last transaction and displays it (status and message).
Where Field Description
Location Card Dafne ID Location code on DAFNE; sent in orders as the delivery destination and used to recognize the location in received documents.
Purchases Sources (header and lines per location) Dafne ID Vendor/source code on DAFNE. The value on the location line takes precedence over the header.

The VAT Registration No. in Company Information and on the purchase order are also required, both with the country prefix (e.g. IT...).

The Purchase Order page (General tab) and the Purchase Orders list show the Dafne Status field (read-only):

Value Meaning
(blank) Order not yet transmitted.
Transmitted Order sent to DAFNE.
Confirmed Vendor order confirmation received.
Shipped Delivery note received; the warehouse receipt has been created.
  1. Open the purchase order (or select one or more in the list).
  2. Run the document exchange processing and choose Send order via Dafne ().

The order must have an order date, purchases source, location code and VAT registration no., and the Dafne Status must be blank. Item lines with an AIC code are transmitted, and comment lines are sent as notes. The sent file is saved in the archive path and the status becomes Transmitted.

  1. Open the Purchase Orders list.
  2. Run the document exchange processing and choose Receive documents from Dafne ().

All available documents are downloaded, archived and processed; at the end the number of confirmed orders and created warehouse receipts is shown. Alternatively, a single file can be loaded with Manual Import from the Dafne Setup.


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