# APP Experience (en)

Manual of APP Experience (english)

# Common

# Generic API Page

This feature provides a single API entry point, shared by all integrations that exchange JSON data with Business Central. Instead of publishing a different service for each integration, external systems (or another Business Central installation) send every request to the same address, specifying:

- the **subsystem**, i.e. the integration that must process the request;
- the **procedure**, i.e. the operation requested from that subsystem;
- the request **content** in JSON format.

Business Central forwards the request to the specified subsystem and returns the response, also in JSON format.

The available subsystems depend on the active features, for example:

- Bulk Importer
- Synchronization Handler
- Intercompany Management
- iPharma and iWMS integrations


The external system sends a POST request to the `generic` endpoint of the company's `brayns/api/v2.0` API. The request contains:

| Field | Description |
|---|---|
| Subsystem | Number identifying the integration that must process the request. If it is 0, a test call is performed. |
| Procedure | Name of the requested operation. Mandatory. |
| Compression | Specifies whether the content is compressed (GZip) before Base64 encoding. |
| Body | JSON content of the request, Base64 encoded (and optionally compressed). Mandatory. In the response it contains the returned JSON, encoded the same way. |


If the subsystem is 0, no integration is run: the response contains the company name, an indication that it is a test call and the received procedure name. This is useful to verify that the connection and credentials work.


- If the procedure name is missing, the error *Missing procedure name* is returned.
- If the body is missing, the error *Missing body* is returned.
- Errors raised by the subsystem are returned to the caller; when the call comes from another Business Central installation, the error message is shown to the user.


Integrations that support it can use the same feature to call another Business Central installation (for example an on-premises one), specifying server address, company and login credentials. In this case data compression is enabled by default, to reduce the amount of data transmitted.


The **Generic API Test** page lets you try a subsystem directly from Business Central, without going through an external system.


| Field | Description |
|---|---|
| Subsystem | Integration to test, chosen from the list of available subsystems. |
| Procedure | Name of the operation to run. |
| Request | JSON content of the request, in plain text. |
| Response | JSON content returned by the subsystem. |


1. Choose the search icon (lightbulb), enter **Generic API Test**, and open the page.
2. In the **Subsystem** field, select the integration to test.
3. In the **Procedure** field, enter the operation name.
4. In the **Request** field, enter the request JSON (for example `{}` if no parameters are needed).
5. Choose the **Test** action.
6. The result is shown in the **Response** field.

# Bulk importer

The Bulk Importer is a subsystem of the Generic API page that lets an external system (or another Business Central installation) read and write the data of any table directly, in JSON format. It is designed for bulk data transfers such as migrations, alignments between companies or environments and initial loads, including G/L, inventory and fixed asset entries and posted documents.

There are no pages or actions to use inside Business Central: the feature is used through the API.


In requests to the Generic API page specify:

- **Subsystem:** *Bulk Importer*;
- **Procedure:** one of the procedures described below;
- **Content:** a JSON object with the procedure parameters.


| Parameter | Description |
|---|---|
| tableName | Name of the table to work on (required for all procedures except TABLES). |
| lines | List of records to insert, modify or delete. Each record is an object with one value per field. |
| view | Table filter, in the standard Business Central view format. |
| fields | List of fields returned by the search; if empty, all fields are returned. |
| position | Position from which to continue reading (returned by the previous search). |
| limit | Maximum number of records returned by the search (default 1000). |
| tryCommand | If true, missing or already existing records are skipped instead of raising an error. |
| fieldNames | If true, fields are identified by their original name; otherwise by their JSON name (see below). |


| Procedure | Description |
|---|---|
| TABLES | Returns the list of available tables with name, number and whether data is per company. |
| SCHEMA | Returns the table structure: fields, English captions, type, length, primary key membership and, for option fields, the allowed values. |
| FIND | Reads the table records, applying the optional filter, field selection and limit. Returns the records and the position of the last one read, to be used to read the next block. |
| INSERT | Inserts the given records. With *tryCommand*, already existing records are skipped. |
| MODIFY | Modifies the given records, finding them by primary key. With *tryCommand*, records not found are skipped. |
| UPSERT | Modifies existing records and inserts missing ones. |
| DELETE | Deletes the given records, finding them by primary key. With *tryCommand*, records not found are skipped. |
| TRUNCATE | Deletes all table records, or only those matching the given filter. |


- **Field names:** by default the field name is converted to JSON format: only letters and numbers are kept, dots are removed, other characters are replaced by an underscore and words are joined in camel case (e.g. *Posting Date* becomes *postingDate*).
- **Dates:** `yyyy-MM-dd` format; closing dates are prefixed with the letter `C` (e.g. `C2025-12-31`). An empty date is sent as empty text.
- **Times and date/times:** ISO format; an empty value is sent as empty text.
- **Decimals, GUIDs and date formulas:** text in the standard language-independent format.
- **Options:** numeric value.
- **BLOB and image fields:** sent in Base64 when writing; not returned when reading.
- Only normal fields are considered (not calculated fields).


1. Use **TABLES** to find the table name.
2. Use **SCHEMA** to get the fields and their JSON names.
3. Read data with **FIND**; if there are more records than the limit, repeat the request passing the returned *position* until no more records are returned.
4. Write data with **INSERT**, **MODIFY** or **UPSERT**, or delete it with **DELETE** or **TRUNCATE**.


- Records are written directly, without running the standard field validations and logic: data must already be consistent.
- If an error occurs on a record, the whole request is rolled back (except for cases handled with *tryCommand*).
- Uploaded images are stored in the current company and linked to the record.

# Document Exchange

Document Exchange is the common engine used to send and receive documents and data to and from external systems (e-invoicing, archiving, portals, marketplaces, carriers, etc.). Each exchange is described by a **profile** that combines:

- a **format**, i.e. how data is prepared or read (for example a report, the electronic invoice, a specific integration);
- a **transport**, i.e. how data is delivered or retrieved (for example manual download/upload, e-mail, a file system folder, external services).

The available formats and transports depend on the active features. All operations are recorded in a log.


Search for **Document Exchange Profiles** to create and manage profiles.

| Field | Description |
|---|---|
| Code | Profile identifier. |
| Description | Profile description. |
| Exchange Format | Format used to prepare or interpret documents. |
| Exchange Transport | Channel used to send or receive documents. |
| Enabled | Only enabled profiles with both a format and a transport are offered for processing. |

Available actions:

| Action | Description |
|---|---|
| Format Setup | Opens the specific setup of the selected format. |
| Transport Setup | Opens the specific setup of the selected transport. |
| Activity Log | Opens the activity log of the profile. |


1. Open **Document Exchange Profiles** and create a new line.
2. Enter **Code** and **Description**.
3. Choose the **Exchange Format** and **Exchange Transport**.
4. Use **Format Setup** and **Transport Setup** to complete the specific settings.
5. Turn on **Enabled**.


Several lists and cards (for example posted sales invoices and credit memos, posted shipments, posted purchase invoices and credit memos, sales and purchase orders, customers, G/L and customer ledger entries, journals, issued reminders and finance charge memos, price lists, VAT settlements, withholding taxes) offer the **Document Exchange** action.

1. Select one or more documents.
2. Choose the **Document Exchange** action.
3. In the window that opens, choose the operation among those offered by the enabled profiles that apply to the page.
4. Confirm.

If no profile is available for that kind of document, a message is shown. Some operations run immediately, others are queued for later processing. At the end, if there are warnings, errors or queued activities, the **Document Exchange Log** opens automatically showing the lines of the activity just run.

A generic **Document Exchange** page is also available. It lists all operations not tied to specific documents (for example imports) offered by the enabled profiles: choose the operation and confirm with **OK**.


The log opens from the profile's **Activity Log** action or automatically after processing.

| Field | Description |
|---|---|
| Activity Date/Time | When the activity was recorded. |
| User ID | User who ran the operation. |
| Log Type | Information, Warning, Error, Queued, Queue Error or Completed. |
| Log Message | Description of the activity. |
| Parameters | Requested operation. |
| Document No. | Document involved. |
| Error Message | Error encountered. Click the field to view technical details, if any. |

Available actions:

| Action | Description |
|---|---|
| Download Attachment | Downloads the file linked to the line (for example the document sent or received). |
| Process | Immediately processes an activity of type **Queued**, after confirmation. |
| Reset Status | Sets the selected **Queue Error** lines back to **Queued**, clearing the error message, so they can be processed again. |
| Delete | After confirmation, deletes the selected **Queued** or **Queue Error** lines; other lines are not deleted. |


References let you define conversion tables between Business Central codes and those used by the external system. Search for **Document Exchange References**, create a reference with **Code** and **Description**, and use the actions:

- **Tables**: mapping lines starting from a Business Central record;
- **Values**: mapping lines starting from an external value.

| Field | Description |
|---|---|
| Table ID | Business Central table the mapping refers to. |
| Primary Key 1 / Primary Key 2 | Key of the Business Central record. |
| Value Type | Type of external value. |
| Value 1 / Value 2 | Value used by the external system. |
| Source Type | Restricts the mapping to a customer or a vendor. |
| Source No. | Customer or vendor the mapping applies to. |

Deleting a reference also deletes all its lines.


- Queued activities can be processed automatically by a job queue entry set up for the profile.
- When a queued activity is processed successfully, the line becomes **Completed**; on error it becomes **Queue Error** with the related message.
- On some documents (for example sales orders, invoices and credit memos, issued reminders, purchase documents) the **No. E-Mail Sent** field shows how many times the document has been sent by e-mail.

# File storage

File storage is an area inside the application where files produced or received by other features are kept (for example electronic invoices, PEPPOL documents, document exchange files, PDF documents sent to printing). Files are organized in folders, like a regular file system, and each file is identified by its full path (for example `/Folder/Subfolder/document.xml`).

File storage requires no setup: files and folders are created automatically by the features that use it.


Search for **File Storage** to open the list of stored files and folders. The page is read-only.


| Field | Description |
|---|---|
| Path | Full path of the file or folder. Folders are shown in bold. |
| Modified Date/Time | Date and time of the last change. |
| Size | File size in bytes (blank for folders). |
| Created by User ID | User who created the file or folder. |


| Action | Description |
|---|---|
| Download | Downloads the selected file to your computer. It has no effect on folders. |


1. Search for **File Storage**.
2. Select the line of the file.
3. Choose the **Download** action: the file is downloaded with its original name.


- When a feature saves a file, any folders in its path that do not exist yet are created automatically.
- For each file, the creation date/time, modification date/time and creating user are recorded automatically.
- Paths are normalized: backslashes (`\`) become forward slashes (`/`) and extra spaces are removed. A path must start with `/` and cannot contain the characters `< > : | ? "`; otherwise an invalid path error is shown.
- Files can be deleted automatically by the features that created them, for example when the related document is deleted.
- Other pages (for example the document exchange log) let you download the attached file directly, which is read from file storage.

# More fields in pages

This module adds to many standard pages fields and actions that are not normally shown, so you can see more information without opening the related cards. No setup is required.

Fields marked as *hidden* are not shown by default: add them to the page through personalization (**Personalize** or **Choose Columns**).


| Page | Added fields / actions |
|---|---|
| Customers (list) | Net Change (LCY) after Balance (LCY); E-Mail, City, VAT Registration No., Payment Method Code. |
| Vendors (list) | Net Change (LCY) and Purchases (LCY) after Balance (LCY); City, VAT Registration No., Payment Method Code. VAT Registration No. is also shown in the vendor selection drop-down. |
| Contact Card | E-Mail 2, after E-Mail. |
| Item Card | Manufacturer Code always visible; Units per Parcel after Net Weight; **Transfer Lines** and **Posted Transfer Shipment Lines** actions. |
| Items (list) | Net Change after Inventory; **Transfer Lines** and **Posted Transfer Shipment Lines** actions. |
| Location Card | Name 2, after Name. |
| Locations (list) | Name 2, Address, City, Country/Region Code. |
| Assembly BOM | Parent Item No., as the first column. |
| Item References | Item No., as the first column. |
| Item Substitutions | No. (original item) as the first column; **Item Invoicing** FactBox for the selected substitute item. |


| Page | Added fields / actions |
|---|---|
| Sales Order | Customer Price Group after Customer Posting Group; creation date/time (hidden). |
| Sales Orders (list) and Call Center order pages | Creation date/time (hidden). |
| Sales Invoice | Prices Including VAT, in the invoice details section. |
| Sales Journal | Payment Method Code. |
| Posted Sales Shipments (list) | Customer Address and City (hidden). |
| Posted Sales Shipment | **Open Orders** action. |
| Posted Return Receipts | External Document No. |


| Page | Added fields / actions |
|---|---|
| Purchase Orders (list) | Order Date (hidden); Expected Receipt Date. |
| Purchase Invoice, Purchase Credit Memo | VAT Registration No. (hidden). |
| Purchase invoice lines | Receipt No. and Receipt Line No. (hidden, read-only). |
| Purchase credit memo lines | Return Shipment No. and Return Shipment Line No. (hidden, read-only). |
| Get Receipt Lines | Direct Unit Cost and Line Discount % (hidden); Amount. |
| Purchase Lines | Order Date (hidden); Quantity Received. |
| Purchase line FactBox | Vendor Name and Vendor Item No. |
| Posted Purchase Invoices | VAT Registration No. |
| Posted Purchase Credit Memos | Vendor Cr. Memo No. |
| Posted Purchase Receipts | Order No. and Your Reference. |
| Apply Vendor Entries | Document Date, after Posting Date. |


| Page | Added fields |
|---|---|
| Transfer Order and Transfer Orders (list) | External Document No. |
| Posted Transfer Shipments | Transfer-to Name, Address and City (hidden). |
| Item Ledger Entries | Source Name and Unit Cost (hidden); External Document No. (hidden); Purchase Amount (Expected) and Purchase Amount (Actual). |
| Value Entries | Purchase Amount (Expected) and Purchase Amount (Actual). |


| Page | Added fields |
|---|---|
| General Ledger Entries | Document Date, after Document No. |
| Sent Emails | Recipient. |


- **Source Name** (item ledger entries): shows the name of the customer or vendor on the entry.
- **Unit Cost** (item ledger entries): total cost (actual plus expected) divided by the entry quantity; blank when the quantity is zero.
- **Recipient** (sent emails): shows the first main (To) recipient of the message.
- **Vendor Name** and **Vendor Item No.** (purchase line FactBox): read from the vendor and item of the selected line.


1. Open a **Posted Sales Shipment**.
2. Choose the **Open Orders** action.
3. If the shipment comes from a single sales order that still exists, that order opens directly; if it comes from several orders, the sales order list opens filtered on the related orders.


From the item card or item list, choose **Transfer Lines** to see the item's transfer order lines, or **Posted Transfer Shipment Lines** to see posted transfer shipments.

# Remote Functions

The module connects Business Central to an external "remote functions" service, which performs operations not directly available in the system, for example:

- reading and writing files on network folders or FTP servers;
- extracting the content of digitally signed electronic invoices (`.p7m` files);
- generating QR codes.

The module also adds the **FileSystem** transport to document exchange profiles, which lets you send and receive documents through shared folders or FTP.


1. Search for the **Remote Functions** page.
2. Create one line for each service you want to use and fill in the fields.
3. Select the line and choose the **Test Connection** action: if the service responds correctly, the message *Connection successful* appears.

| Field | Description |
|---|---|
| Code | Code identifying the service. |
| Description | Free description. |
| API Endpoint | Address of the remote functions service. |
| Token | Access key for the service. The value is masked and stored securely. |
| Preferred | Marks the service to use when a feature does not specify one. |
| Enabled | Only enabled services can be used. |

When a feature does not specify a service, the first service marked as both **Preferred** and **Enabled** is used, so it is advisable to have at least one.

If the service returns an error, the message is shown to the user.


When importing electronic invoices, files with the `.p7m` extension (digitally signed) are sent to the preferred service, which returns their XML content. This way signed invoices can be imported just like `.xml` files.


Document exchange profiles can use the **FileSystem** transport, which reads and writes documents in a (network) folder or on an FTP server through the remote functions service. Opening the transport setup from the profile shows the **FileSystem Transport Setup** page.


| Field | Description |
|---|---|
| Reference Code | Document exchange profile the setup refers to. |
| Remote Functions Code | Remote functions service to use. If blank, the preferred service is used. |
| Protocol | **FileSystem** (folder) or **FTP**. |
| Text Encoding | Encoding of sent files: **UTF-8** or **UTF-8 with BOM**. |
| Receving Base Path | Folder from which received files are read. |
| Archive Received Files | If enabled, received files are moved to the archive folder after processing. |
| Preserve Original Archived File Name | If enabled, the archived file keeps its original name (overwriting any file with the same name); otherwise the date and time are added to the name. |
| Receving Base Path (archive) | Folder where received files are archived. |
| Sending Base Path | Folder where sent files are written. A file with the same name is replaced. |


This section is visible only when the protocol is **FTP**.

| Field | Description |
|---|---|
| URI | Address of the FTP server. |
| Login | User name for the server. |
| Password | Access password. The value is masked and stored securely. |
| ASCII Mode | If enabled, FTP transfers use ASCII mode. |


In the **Detail** subpage, enter one or more **Name Filter** values (for example `*.xml`) for each document **Category**. When receiving, only the files in the receiving folder that match the filters of the requested category are read.


Choose the **Do Test** action and confirm the question *Do read/write test?*. A test file is created in the receiving folder, then listed, renamed, read and deleted. If everything succeeds, the message *OK* appears.

# Ledger deletion

The module lets authorized users correct posting mistakes without posting reversals:

- delete posted documents (invoices, credit memos, shipments, receipts, returns, finance charge memos) together with their related entries;
- delete general ledger transactions from the G/L entries page, with a preview;
- edit some G/L entry fields (posting date, account, global dimensions);
- edit the posting date, task and description of job ledger entries;
- change the pay-to vendor of a posted purchase receipt;
- void G/L book and VAT register printouts.

These operations change already posted data directly: use them carefully and only as an experienced user.


In the **User Setup** page, for each user:

| Field | Description |
|---|---|
| Allow Ledger Editing | Allows editing posted entries and documents (G/L entries, job ledger entries, posting date of shipments, pay-to vendor of receipts). |
| Allow Ledger Deletion | Allows deleting posted documents, entries and fiscal printouts. |

Without these settings the operations are blocked with an error message.


The **Delete Document** action is available on the cards of these posted documents:

- posted sales invoices and credit memos;
- posted purchase invoices and credit memos;
- posted sales shipments and purchase receipts;
- posted return shipments and return receipts;
- issued finance charge memos.

Steps:

1. Open the posted document.
2. Choose **Delete Document**.
3. Confirm the deletion.

The system deletes the document and its related entries (general ledger, VAT, customer/vendor, bank, fixed assets, inventory, cost accounting, etc.) and restores the quantities on the source order lines so they can be posted again. For purchase invoices, the related receipt lines also go back to "not invoiced".

Deletion is blocked, among other cases, when:

- the user is not allowed to delete;
- the accounting period is closed or does not allow posting;
- the G/L book or VAT register has already been printed for that date;
- customer/vendor entries are no longer open or have been applied (unapply them first);
- shipments and receipts have already been invoiced;
- the electronic invoice has already been sent;
- there are fixed asset entries after those of the document.


1. Open **General Ledger Entries** and select one or more entries.
2. Choose **Delete Document**.
3. The **Ledger Deletion Preview** page opens, listing every entry that will be removed (G/L, VAT, customer, vendor, bank, fixed asset, cost) with table name, entry no., account, dates, document, amounts and posting groups.
4. Review the list, choose **Delete** and confirm *Delete these entries?*.

The whole transaction the selected entries belong to is deleted. If the entry belongs to a posted document that still exists (invoice, credit memo, finance charge memo), you are asked to delete the document first.


For users with **Allow Ledger Editing**, these fields become editable in **General Ledger Entries**:

| Field | Description |
|---|---|
| Posting Date | The new date is applied to all entries of the same transaction and to the related entries (VAT, customer, vendor, bank, etc.). |
| G/L Account No. | Changes the account of the entry. Both accounts must allow direct posting; any applications must be undone first. |
| Global Dimension 1 and 2 Code | Updates the entry dimensions. |

Changes are blocked if the period is closed or the G/L book has already been printed.


1. Open **Job Ledger Entries**.
2. Choose **Edit**: the **Job Ledger Entries Edit** page opens with the filtered entries.
3. Change **Posting Date**, **Job Task No.** or **Description**.

The date can be changed only for entries with no linked ledger or linked to a resource (in that case the resource entry is updated too).


- **Posted purchase receipt**: use the assist-edit on **Pay-to Vendor No.** to make the field editable. After confirming (*Modify pay-to vendor to no. ...?*) the new vendor and its VAT business posting group are applied to the receipt and to the purchase order, and line amounts are recalculated. Not possible if the receipt has already been invoiced.
- **Posted Sales Shipment - Update**: use the assist-edit on **Posting Date** to make the field editable.


- The reprinting information pages of the **G/L book** and **VAT registers** have a **Delete** action that removes the last recorded printout. A printout cannot be deleted if later ones exist (*Lines exists after ...*).
- In the **VAT Registers** page the **Last Printing Date** field is editable: setting an earlier date and confirming *Void printing until ...?* voids the later printouts and the VAT book entries return to not printed.

# Partner Group

The module lets you classify customers and vendors into freely defined **partner groups** (for example "Corporate group", "Strategic vendors"). A vendor's partner group is also shown on purchase documents, vendor ledger entries and inbound e-invoices, so data can be filtered and analyzed by group.


1. Search for the **Partner Group** page (Tell Me).
2. Add one line for each group.

| Field | Description |
|---|---|
| Code | Group identifier (up to 10 characters). |
| Description | Group description (up to 30 characters). |


On the **Customer** or **Vendor** card, **General** FastTab, fill in the **Partner Group** field by choosing one of the configured groups.


The vendor's **Partner Group** field is shown read-only, and can be used as a filter, in the following lists:

| Page | Source of the value |
|---|---|
| Purchase Invoices | Partner group of the buy-from vendor |
| Posted Purchase Invoices | Partner group of the buy-from vendor |
| Vendor Ledger Entries | Partner group of the entry's vendor |
| Italy Inbound E-Invoices | Partner group of the vendor identified when the invoice is imported |

The value is always read from the vendor: if you change the group on the vendor card, purchase lists and ledger entries immediately show the new value. On inbound e-invoices, however, the group is stored at import time.


In **General Sets**, the **Set Type** **Partner Group** is available: in the lines of a set you can specify a partner group (the description is filled in automatically). A customer or vendor is considered included in the set if it belongs to one of the specified partner groups, in addition to the existing cases (country, customer, vendor, etc.).

# Order type

The module introduces **order types**: freely defined classifications assigned to sales, purchase and transfer documents. Each order type can hold default values (payment terms and method, location, price and discount groups, shipment method, etc.) that are automatically applied to the document, rules about invoice posting, and minimum requirements for releasing sales orders.

The order type is also carried over to posted documents (shipments, receipts, invoices, credit memos, transfer shipments and receipts).


1. Search for the **Order Type** page.
2. Create a new record and fill in the card.


| Field | Description |
|---|---|
| Code | Identification code of the order type. |
| Description | Description of the order type. |
| Area Usage | Area where the type can be used: blank (all), Sales, Purchases, Transfers. |
| Document Usage | Documents for which the type acts as default: blank (all), Order, Return Order, All Orders, Invoice, Credit Memo, All Invoices. |
| Invoice Posting Policy | Defines whether, when posting an order or return order, invoicing is prohibited (ship/receive only) or mandatory (ship/receive and invoice together). |
| Location Code | Location proposed on the document. |
| Default | When enabled, the type is automatically assigned to new documents of the given area and document type. |
| EDI Code | Code used in electronic document exchange. |
| Shipment Method | Shipment method proposed on the sales document. |

Depending on other active features, the card also shows additional fields (for example transport reason code, activity code, warehouse activity template group, warehouse shipment group, item entry tracking).


| Field | Description |
|---|---|
| Gen. Business Posting Group | General business posting group proposed on the purchase document. |


| Field | Description |
|---|---|
| Customer Price Group | Price group applied to the document and used to find sales prices. |
| Customer Disc. Group | Discount group applied to the document and used to find discounts. |
| Gen. Business Posting Group | General business posting group proposed on the sales document. |
| Payment Method | Proposed payment method. |
| Payment Terms | Proposed payment terms. |

Depending on active features, further fields may appear: only items within price list, shipping lines, routing, prevent combine pick, only available quantities, picking limit, shipping invoice, invoicing rule, customer commission group.


Holds warehouse settings for transfer orders (shipping lines, prevent combine pick, only available quantities, picking limit), when the related features are active.


| Field | Description |
|---|---|
| Minimum Amount (LCY) | Minimum amount the sales order must reach to be released. |
| Minimum Quantity (base) | Minimum quantity (in base unit of measure) required for release. |
| Minimum Rows | Minimum number of lines required for release. |


The **Order Type** field is available:

- on sales orders, purchase orders and transfer orders (General tab);
- on the customer card, as the order type proposed for the customer's sales orders;
- on extended texts, to restrict an extended text to documents of a given order type;
- in **Purchases & Payables Setup**, as **Replenishment Transfer Order Type** assigned to transfer orders created by replenishment;
- in the store, store category and PEPPOL setups, to assign the type to orders generated by these features.

On documents, only order types whose **Area Usage** is blank or matches the document area can be selected.


1. Open the document (sales order, purchase order or transfer order).
2. On the **General** tab, select the **Order Type** before entering lines.
3. The type's default values are copied to the document.

The order type cannot be changed once the document has lines: the message "Order lines exists" is shown.


- **Default type:** when a new document is created without an order type, the type with **Default** enabled for the matching area is proposed, looking first for one specific to the document type, then for "All Orders"/"All Invoices", and finally for one with blank document usage.
- **Type from customer:** on sales orders, selecting a customer that has an order type on its card applies that type to the document.
- **Default values:** payment terms and method, general business posting group, location, price and discount groups, shipment method and the other values filled in the order type are copied to the document.
- **Prices and discounts:** if the order type has a customer price group or discount group, sales line prices and discounts are looked up based on these groups.
- **Posting:** when an invoice posting policy is set, posting sales and purchase orders and return orders does not ask what to post but directly offers the only allowed option (ship/receive only, or invoice).
- **Minimum requirements:** when a sales order is released, minimum amount, quantity and number of lines are checked; if not met, release is blocked with a message.
- **Warehouse:** pick requests generated from sales and transfer orders carry the order type and its related warehouse settings.
- **Extended texts and product canvass:** extended texts and product canvass entries linked to the order type are applied to documents of that type.

# Partner Area

This feature lets you define a list of **partner areas** and assign one to each customer. Partner areas are a free-form classification. You can use them to group customers by sales territory, sales network, channel or any other criterion that fits your organization.


1. Use *Search* (the magnifying glass icon) to open the **Partner Area** page.
2. Create one line for each area and fill in these fields:

| Field | Description |
|-------|-------------|
| **Code** | Identifier of the area (up to 10 characters). It is required and must be unique. |
| **Description** | Description of the area (up to 30 characters). |


1. Open the **Customer Card**.
2. In the **General** FastTab, fill in the **Partner Area** field.
3. You can only choose one of the codes defined on the **Partner Area** page. From the field you can open the list to pick a value or create a new one.

# Document Status

This feature lets you define a list of custom statuses to assign to documents, to show where each document stands in its handling (for example "To be checked", "Awaiting approval", "Disputed"). Statuses are free-form: each company can create the ones that best fit its own process.

The document status is currently available on Italian inbound e-invoices.


- Search for **Document Status** using the search function (magnifying glass icon) to open the list of statuses.
- The **Document Status** field is shown on the **Italy Inbound E-Invoices** page.


| Field | Description |
|---|---|
| Code | Code identifying the status (up to 10 characters). |
| Description | Description of the status (up to 30 characters). |



1. Open the **Document Status** page.
2. Add a new line.
3. Fill in **Code** and **Description**.


1. Open the **Italy Inbound E-Invoices** page.
2. On the invoice line, fill in the **Document Status** field by choosing one of the codes defined in the status list.

Only codes that exist in the **Document Status** list can be entered.

# Custom rich texts on reports

This feature lets you define **custom rich texts** (formatted text) and link them to reports. You can use the texts to:

- **customize the e-mail** used to send a document: subject, message body, CC and BCC recipients;
- **print headers or footers** in the reports that support them.

You can define each text for a specific **company** and a specific **language**, so the same report uses different texts depending on the context.


1. Use *Search* (the magnifying glass icon) to open the **Report Layouts** page.
2. Select the report you need.
3. Choose the **Custom Texts** action. The **Report Custom Text** page opens, already filtered on the selected report.


Each line on the page is one custom text.

| Field | Description |
|-------|-------------|
| **Report ID** | Report that the text belongs to. When you select it, the report name is filled in automatically. |
| **Report Name** | Name of the report. |
| **Company Name** | Company the text applies to. On a new line the current company is suggested. Leave it blank to use the text in all companies. |
| **Language Code** | Language of the text. Leave it blank to use the text in any language. |
| **Text Key** | Type of text. You can choose one of the keys available for the report (see below). |
| **Description** | Description of the text. It is filled in automatically from the chosen key. |


- **EMAIL**: available for every report. It defines the e-mail used to send the document.
- **HEAD** (*Header*) and **FOOT** (*Footer*): available only for reports that support them, and printed on the document. The keys available for a report show up in the list after the report has been run at least once.

Two examples of reports that use the HEAD and FOOT keys:
- the *Purchase Return Request* uses both header and footer;
- the *Customer Detailed Aging* uses the footer.


1. Select the line and choose the **Edit Text** action.
2. On the **Report Custom Text Edit** page, fill in these fields:

| Field | Description |
|-------|-------------|
| **Custom Subject** | Subject of the e-mail. |
| **Custom E-Mail CC** | Addresses that are always copied. |
| **Custom E-Mail BCC** | Addresses that are always blind-copied. |
| **User E-Mail BCC** | If you turn it on and no Custom E-Mail BCC is set, the contact e-mail of the user sending the document is added as BCC. |

3. Write the text in the editor below, with any formatting you like (bold, lists, links and so on).
4. Close the page. The text is saved automatically.

The e-mail fields only apply to texts with the **EMAIL** key.


When a text is needed, the system first looks for one defined for the current company and the document language. If it doesn't find one, it uses:
- a text valid for all companies, instead of one for the current company;
- a text with no language (or another language), instead of one in the document language.


When you send a document by e-mail and the report has a text with the **EMAIL** key, the system automatically fills in the subject, the body (as HTML), CC and BCC from the custom text. If the message already has a body set by another configuration, the custom text isn't applied.


In e-mail texts for **issued reminders** you can use the `#lines#` placeholder. When the e-mail is generated, the system replaces it with the list of reminder lines. Lines with a remaining amount show document type, number and due date; other lines show their description.

# Table data editing

The **Table Data Editing** feature lets authorized users view and edit the data of any table directly, including G/L entries, customer and vendor ledger entries, VAT entries, item ledger entries and posted documents, which normally cannot be changed from standard pages.

It is a tool intended for targeted corrections by expert users: changes are written to the database immediately, without additional checks. Use it with care.


Only authorized users can use the feature.

1. Open the **User Setup** page.
2. On the user's line, turn on the **Allow Table Editing** field.

| Field | Description |
|---|---|
| Allow Table Editing | If on, the user can open the Table Data Editing feature. If the user is not in User Setup or the field is off, an error is shown when opening it. |


Search for **Table Data Editing** with the search function (Tell me what you want to do). The feature is listed among the administration tasks.


When opened, a window with the following options is shown.

| Field | Description |
|---|---|
| Table ID | Number of the table to edit. It can be chosen from the list of available tables. |
| Table Name | Name of the selected table, filled in automatically. |
| Filter | Filters to apply to the table records. Set it with the assist button (…), which opens the standard filter window. |
| Fields | Fields to show and edit. Choose them with the assist button (…), which opens the list of the table's fields; primary key fields are preselected. Up to 20 fields can be selected. |


1. Open **Table Data Editing**.
2. Enter the **Table ID**.
3. Optionally set a **Filter** to limit the records.
4. Select the **Fields** to display.
5. Confirm with **OK**. If the table or the fields are missing, an error is shown.
6. A list opens with the table records and one column per selected field, captioned with the original field name.
7. Edit the values directly in the lines:
   - **changing** a value updates the record in the table;
   - **adding a new line** inserts a new record into the table with the given values;
   - **deleting** a line deletes the record from the table.


- At most 1,000 records are shown. If the table (with the filter applied) contains more, a message asks you to refine the filter.
- Only normal fields (not calculated fields) appear in the list of selectable fields.
- Values are entered as text and converted to the type of the original field. Text, code, integer, decimal, date, time, date/time, option and yes/no fields are supported; for other types editing is not allowed and an error is shown.
- Changes are saved immediately, without running the checks performed by standard pages.

# Incoming document lines

This feature manages the lines of purchase documents (invoices and credit memos) created from electronic documents received from vendors. Each line of the received document is turned into a purchase document line using the **Document Exchange Rules** defined for the partner:

- if the line can be matched to a receipt that has not yet been invoiced, a line linked to that receipt is created;
- if a rule specifies an account, item, resource or item charge, a regular line of that type is created;
- if the line cannot be recognized, an **Incoming Line** type line is created, carrying the description, quantity, unit of measure and amounts of the original document, together with the reason for the mismatch.

Lines of type **Incoming Line** must be completed or reprocessed before going ahead with the document.


Open the rules by searching for **Document Exchange Rules**, or from the lines of a purchase invoice or credit memo with the **Incoming Lines > Open Rules** action. If no rule exists yet for the vendor, you are asked whether to create one.


| Field | Description |
|---|---|
| Partner Type | Customer or Vendor. |
| Partner No. | Customer or vendor the rule applies to. The description is filled in with the partner's name. |
| Description | Description of the rule. |
| Strip Chars from Shipment No. | Characters to ignore in the vendor shipment number when comparing it with posted receipts. |
| Strip Chars from Item No. | Characters to ignore in the received item codes. |
| Shipment Date Tolerance (days) | Number of days of difference allowed between the shipment date in the document and the receipt date. |
| Ignore Incoming Lines | The lines of the received document are not imported. |
| Ignore Shipments | Lines are not matched to receipts: only the product rules are used. |
| Ignore Company Item No. | The company's own item number is not considered when looking up the item. |
| Ignore Payment Terms | Payment information in the received document is not considered. |
| Discount on Multiple Lines | Handling of discounts spread over several lines in the received document. |

The **Item References** action opens the item references of the rule's customer or vendor.


Defines which product the received lines are assigned to.

| Field | Description |
|---|---|
| Product Type | G/L Account, Item, Resource, Charge (Item) or Total Discount. |
| No. | Product to use on the purchase document line. |
| Criteria | Text searched for in the description of the received line. If blank, the rule applies to all lines. |
| Priority | Order in which rules are evaluated: the first matching one is used. |
| VAT Prod. Posting Group | VAT group to assign to the line. If blank, it is looked up from the VAT rate of the received line. |
| Shortcut Dimension 1 and 2 Codes | Dimensions to assign to the line (hidden by default). |

Lines matching a **Total Discount** rule are not imported: their amount is spread proportionally over the other lines of the document.


Converts the units of measure stated in the received document.

| Field | Description |
|---|---|
| Unit of Measure Code | Unit of measure to use. |
| Criteria | Unit of measure text as it appears in the received document. |
| Priority | Evaluation order. |
| Default | Unit of measure used when no criteria match. |


On purchase **invoice** and **credit memo** lines:

- the **Incoming Line Mismatch** field shows why the line was not recognized (for example unit of measure or item not found, item not in the stated shipment, quantity exceeding the receipt); when it is filled in, the line description is highlighted in red;
- the **Incoming Line** field (hidden by default) indicates that the line comes from the received document.

Clicking the **Incoming Line Mismatch** field:

- if the problem is the unit of measure, a unit of measure line with the received text as criteria is added to the vendor's rule and the rule opens, where you only need to enter the correct unit of measure;
- if the problem is the item, the **Match Purchase Receipts** page opens.


| Action | Description |
|---|---|
| Open Rules | Opens (or creates) the vendor's document exchange rule. |
| Reapply Line | Reprocesses the selected line using the current rules. |
| Reapply All Lines | Reprocesses all Incoming Line type lines of the document. |
| Match Receipts | Invoices only: lets you manually choose the receipts to link to the document; all lines are then reprocessed. |
| Delete Lines | After confirmation, deletes all Incoming Line type lines of the document. |


1. Open the purchase invoice or credit memo and find the lines with a red description.
2. Click the **Incoming Line Mismatch** value and complete the proposed rule or match.
3. Go back to the document and choose **Incoming Lines > Reapply Line** (or **Reapply All Lines**).

Alternatively, you can change the line type and number manually: the received description, unit of measure, quantity, unit cost and discount are kept.


The page shows the received line data on the left (**From**) and, on the right (**To**), the vendor's receipt lines that have been received but not yet invoiced. After selecting the matching receipt line, you can use:

- **Match as Barcode**: saves the received code as a barcode of the item;
- **Match as Vendor Reference**: saves the received code as a vendor item reference.

After confirmation the page closes; with **Reapply Line** the line will then be recognized.


The lines of purchase orders and purchase return orders, sales orders, transfer orders, the item journal and the item reclassification journal include the **Item Identifier** field (hidden by default; add it by personalizing the page). Entering a barcode, item number, or vendor or customer reference finds and inserts the matching item.


- Item recognition searches, in order: barcodes, the company's item number (unless ignored), the vendor item number and vendor references, customer references. Blocked items are skipped.
- If the received quantity exceeds the quantity of the receipts still to be invoiced, the surplus is inserted as an Incoming Line type line.
- A sales document containing Incoming Line type lines cannot be released.

# Data synchronization

This feature keeps track of the records that are inserted, modified, renamed or deleted in a set of selected tables, so that external applications (synchronization clients) can download only the changes made since their last synchronization.

For each change, a **Synchronization Entry** is recorded with the table, the type of change and the primary key of the record. External applications read these entries through the integration interface (**Synchronization Handler**), and confirm the range of entries they have received: the system remembers, for each client and table, the range of entries already synchronized.


1. Search for **Change Log Setup** and open the table setup (**Tables**).
2. On the line of the table you want to synchronize, select the **Synchronization Log** field.
3. If the table already contains data, choose the **Initialize Synchronization Entries** action on that line and confirm: an entry of type **Insert** is created for every existing record that does not have an entry yet. The operation may take a long time on large tables.

From that moment on, every insertion, modification and deletion in the table is recorded automatically. Clearing **Synchronization Log** stops recording for that table.


Search for **Synchronization Entries** to see the recorded changes. The page is read-only.

| Field | Description |
|---|---|
| Entry No. | Progressive number of the entry. Clients use it to know which changes they have already received. |
| Table ID | Table of the changed record. |
| Entry Type | Type of change: **Insert**, **Modify** or **Delete**. |
| Primary Key 1 … 5 | Values of the primary key fields of the changed record. |


| Action | Description |
|---|---|
| Clients | Opens the list of **Synchronization Clients**. |
| Compress | After confirmation, keeps only the most recent entry for each record, removes the entries of tables no longer selected for synchronization, and removes the **Delete** entries already received by all clients. It may take a long time. |
| Prepare Compress Task | Creates (if it does not exist yet) and opens a job queue entry that runs the compression automatically. The entry is created **On Hold**: set the schedule and enable it from the job queue entry card. |
| Check Deletions | After confirmation, checks every recorded record and, if it no longer exists in the table, changes its latest entry to **Delete**. Useful to realign entries with deletions that were not tracked. |
| Delete All | After confirmation, deletes all synchronization entries. The operation cannot be undone. |


Open the page from the **Clients** action of **Synchronization Entries**. It shows, for each external application and table, the range of entries already received and confirmed. Records can only be deleted, not created or modified: deleting a line makes the system forget what that client has already synchronized for that table.

| Field | Description |
|---|---|
| Client ID | Identifier of the external application. |
| Table ID | Synchronized table. |
| Starting No. | First entry number of the confirmed range. |
| Ending No. | Last entry number confirmed by the client. |
| Last modified | Date and time of the last update of the line. |


- Insertions, modifications and deletions in the selected tables generate an entry automatically. Renaming a record generates a **Delete** entry for the old key and an **Insert** entry for the new one.
- The **Delete** entries are removed during compression only once every client of that table has confirmed them; if no client is registered for the table, they are removed directly.

# Enhanced archiving or deletion

This feature lets you clean up sales and purchase documents that are no longer needed, in bulk:

- fully shipped/received and invoiced **sales orders and purchase orders** (and the related return orders) can be **archived** (copied to the document archives and then deleted) or simply **deleted**;
- unposted **sales invoices** and **sales credit memos** can be deleted in bulk by selecting them in the list.

A completion percentage is displayed during processing. Each document is saved individually, so an interruption does not undo documents already processed.


An order (or return order) is archived or deleted only if:

- it has no lines with a quantity, or all lines are fully shipped/received and invoiced;
- there are no related warehouse activities (picks, put-aways), warehouse shipments or warehouse receipts.

Orders that do not meet these conditions are skipped without notice.


1. Open the **Sales Orders** list.
2. Choose the **Archive/Delete** action.
3. In the **Archive/Delete Invoiced Sales Order** page, set the filters you need (for example customer or date) and confirm.
4. Choose the mode: **Archive** or **Delete**. The message shows how many orders match the filters.
5. The system processes the orders that meet the conditions described above.

With **Archive**, the order and its lines are copied to the archived sales orders before being deleted; with **Delete**, they are deleted without a copy.


1. Search for **Archive/Delete Purchase Orders**.
2. Fill in the options:

| Field | Description |
|---|---|
| Document Date Formula | Optional. Processes only documents with a document date up to the date obtained by applying the formula to today's date (for example `-1Y` for documents older than one year). If blank, all documents are considered. |
| Mode | **Archive**: copies the order and its lines to the purchase order archives, then deletes them. **Delete**: deletes without archiving. |

3. Confirm and answer yes to the question showing the number of documents.

Both purchase orders and purchase return orders are considered.


1. Open the **Sales Invoices** or **Sales Credit Memos** list.
2. Select the documents to delete.
3. Choose the **Batch Delete** action and confirm the question, which shows the number of selected documents.

The selected documents are deleted one at a time, following the standard deletion rules.


Deletion of all invoiced sales orders and sales return orders can also run automatically through a **job queue**, for example overnight. In this case the orders that meet the conditions are deleted without being archived.

# Batch activities

Batch activities are operations (for example document printing or shipping line processing) that are not executed immediately, but queued and processed in the background through the job queue.

Each activity is recorded in a queue; a job queue entry processes them one at a time. Activities completed successfully are removed from the queue, while failed ones remain visible with their error message and, if configured, are retried automatically.


Search for the **Batch Activities** page using the search function ("Tell me what you want to do").

The page is read-only and shows the activities still queued or ended with an error.


| Field | Description |
|---|---|
| **Activity Type** | Type of operation to perform (see below). |
| **Source No.** | Number of the document or item the activity refers to. |
| **Source Entry No.** | Number of the source entry, if any. |
| **Date/Time** | Date and time the activity was queued. |
| **User ID** | User who generated the activity. |
| **Status** | **New** (waiting), **Processing** or **Error**. |
| **Last Error Text** | Message of the last error that occurred during processing. |
| **Retry Not Before** | Date and time before which a failed activity is not retried. |
| **Retry Count** | Number of automatic retries still available. |


Depending on the active features, these types may be available:

- **Print Documents**
- **Shipping Line Print Documents**
- **Shipping Line Post Orders**
- **Shipping Line Create Pick**
- **Shipping Line Release Orders**


- A job queue entry processes, for a given activity type, all activities with status **New**, one at a time. While running, the status becomes **Processing**.
- If processing succeeds, the activity is deleted from the queue.
- If processing fails, the status becomes **Error** and the message is stored in **Last Error Text**.
- The job queue entry parameters can specify the number of retries and the interval between retries (default 30 seconds). On error, the activity is automatically set back to **New** and retried after the interval, until no retries remain.


1. Open the **Batch Activities** page.
2. Select one or more activities with status **Error**.
3. Choose the **Reset Status** action and confirm the question *Reset status to new?*.
4. The activities return to status **New**, with error message and retries cleared, and will be processed at the next job queue run.

Activities with a status other than **Error** are not changed.

# Document barcode

This feature lets you record, on the warehouse receipt, the barcode of the vendor's document (for example the barcode printed on the delivery note). The barcode is automatically carried over to the related purchase documents and posted documents, so you can always trace back to the physical document received.

Optionally, entering the barcode can be made mandatory before the receipt is posted.


- **Warehouse Setup**: **General** FastTab, **Receipt Barcode Mandatory** field.
- **Warehouse Receipt**: **General** FastTab, **Document Barcode** field.
- **Posted Whse. Receipts** (list): **Document Barcode** column.
- **Posted Purchase Receipts** (list): **Document Barcode** column.
- **Non-conformance**: **Document Barcode** field (read-only).


| Field | Description |
|---|---|
| **Receipt Barcode Mandatory** (Warehouse Setup) | When enabled, a warehouse receipt cannot be posted if the **Document Barcode** field is empty. |
| **Document Barcode** (Warehouse Receipt) | Barcode of the vendor's document for the receipt. Enter it manually or with a barcode scanner. |
| **Document Barcode** (posted documents) | Barcode carried over from the receipt, for reference only. |
| **Document Barcode** (Non-conformance) | Barcode of the receipt document from which the non-conformance originated. |


1. (Optional) In **Warehouse Setup**, enable **Receipt Barcode Mandatory**.
2. Open the **Warehouse Receipt** and fill in **Document Barcode**, for example by scanning the barcode on the vendor's document.
3. Post the receipt.


- If **Receipt Barcode Mandatory** is enabled and the barcode is empty, posting the receipt is blocked with an error message.
- On posting, the barcode is copied to the source purchase order and from there to the posted purchase receipt and the posted purchase invoice, as well as to the posted warehouse receipt.
- The barcode is also available as a column (hidden by default) in the page for selecting receipt lines when creating purchase invoices from receipts.
- When a non-conformance is created from a purchase receipt, the document barcode is automatically copied to the non-conformance.

# Delay in calendar change

The module adds the ability to specify a **delay in hours** on base calendar changes. This way, for a specific day, an annually recurring date or a weekday, you can indicate that activity is not suspended but only postponed by a given number of hours.

The delay is used when calculating the departure date/time of shipping lines that use the calendar.


1. Open the **Base Calendars** page and select the calendar.
2. Open the **Base Calendar Changes** of the calendar.
3. The list of changes shows the new **Delay (hours)** column.


| Field | Description |
|---|---|
| Delay (hours) | Number of hours of delay applied on the day defined by the change. When it is zero the field is shown blank and no delay is applied. |


1. In **Base Calendar Changes**, add a new line (or select an existing one).
2. Specify the **Recurring System** (none, annual or weekly) and the **Date** or **Day**, as for regular calendar changes.
3. Keep the day as a working day (do not select **Nonworking**).
4. Enter the number of hours in the **Delay (hours)** field.


- When the shipping date/time of a shipping line linked to the calendar is calculated, if the day found is a working day and the calendar change includes a delay, the line's departure time is postponed by the specified number of hours.
- To find the change that applies to a date, a non-recurring change for that date is considered first, then an annually recurring one (same day and month), and finally a weekly recurring one (same weekday).
- If the day is nonworking, the delay is ignored and the next working day is used.

# Job Queue improvements

The module improves the handling of job queue entries:

- it lets you **start a job queue entry now**, without waiting for the scheduled time and ignoring its starting/ending time window;
- it lets you schedule recurring runs with an interval expressed in **seconds**;
- when an entry is set **On Hold**, it stops runs still in progress.


- **Job Queue Entries**: the **Start Now** action is available in the **Process** action group.
- **Job Queue Entry Card**: the **No. of Seconds between Runs** field is available after **No. of Minutes between Runs**.


| Field | Description |
|---|---|
| **No. of Seconds between Runs** | Interval in seconds (0 to 59) between one run and the next. When filled in, recurrence is calculated in seconds instead of minutes. |



1. Open **Job Queue Entries**.
2. Select an entry with status **Ready**.
3. Choose the **Start Now** action.
4. Confirm the **Start now ...?** question.

The entry runs as soon as possible, even if the current time is outside the **Starting Time**/**Ending Time** window. Afterwards, the original starting and ending times are restored and following runs follow the normal schedule.


1. Open the job queue entry card.
2. Fill in **No. of Seconds between Runs**.


- When **No. of Seconds between Runs** is filled in, the next run date formula is cleared and **No. of Minutes between Runs** is set to 1; that field cannot be edited while the number of seconds is filled in.
- When a job queue entry is set **On Hold**, log entries still **In Process** are closed with status **Error** and message **Interrupted**, and the related background session is stopped. If the run is in progress on another server instance, an error shows the instance and computer where it is running, and the entry is not set on hold.

# Scheduled variations

The module lets you schedule a change to the value of a field on a set of records, to be performed automatically at a given date and time. For example, you can schedule a price or a setting to change from a certain date, without having to do it manually at that moment.

Each variation specifies the table, the field, the records involved (through a filter), the new value and the execution date/time.


Search for the **Scheduled Variations** page using the search function ("Tell me what you want to do").

When opened, the page shows only variations not yet executed (status **Scheduled** or **Error**). To also see executed ones, remove the filter on the **Status** field.


| Field | Description |
|---|---|
| **Table No.** | Table containing the records to change. |
| **Field No.** | Field to change. The lookup shows the fields of the selected table. |
| **Scheduled Action** | Operation to perform. Currently **Modify Value** is available. |
| **Description** | Description of the variation. It is filled in automatically as "*action* of *field* in *table*" when you choose the table, field or action; it can be edited. |
| **Table Filter** | Filter identifying the records to change. It is set with the assist-edit button (**...**), which opens a window with the primary key fields of the table; if empty, the variation applies to all records of the table. |
| **New Value** | Value to assign to the field. It must be entered in the field's format (text, date, time, date/time, number, option as a number, Yes/No). |
| **Scheduled Date/Time** | Date and time from which the variation can be executed. |
| **Status** | **Scheduled**, **Executed** or **Error**. Not editable. |
| **Execution Date/Time** | Date and time when the variation was executed (or failed). |
| **Last Error** | Message of the error that prevented execution. |
| **User ID** | User who created the variation (filled in automatically). |

Variations with status **Executed** can no longer be changed or deleted.


| Action | Description |
|---|---|
| **Run Now** | After confirmation, immediately executes the selected variations without waiting for the scheduled date/time. Variations already executed are skipped. |
| **Reset Status** | For a variation in **Error**, after confirmation sets it back to **Scheduled** and clears the last error, so that it is executed again. |


1. Open **Scheduled Variations** and create a new line.
2. Choose **Table No.** and **Field No.**.
3. Set **Scheduled Action** to **Modify Value**.
4. Use the **...** button of the **Table Filter** field to specify the records to change.
5. Enter the **New Value**.
6. Enter the **Scheduled Date/Time**.


- Automatic execution is performed by a job queue entry that runs the processing of scheduled variations. Each run processes all variations with status **Scheduled**, an action set and a scheduled date/time already passed.
- For each record matching the filter, the field is set to the new value, applying the same validations as a manual entry.
- If the variation succeeds, the status becomes **Executed** and the execution date/time is recorded. On error the status becomes **Error** and the message is shown in **Last Error**; the other variations are still processed.

# Communications Management

The module lets you specify, for each contact person of a customer, which documents they should receive by e-mail: quotes, orders, shipments, invoices and reminders. When a document is sent by e-mail, the recipients are taken automatically from the customer company's contacts enabled to receive that type of document.


1. Open the **Contact Card** of the person contact linked to the customer's company.
2. On the card, right after the **Communication** group, you find the new **Mailing** group.


Each field can be blank, **Yes** or **No**. Only **Yes** enables the contact to receive the document.

| Field | Description |
|---|---|
| **Send Quotes** | Specifies whether the contact should receive sales quotes. |
| **Send Orders** | Specifies whether the contact should receive sales orders. |
| **Send Shipments** | Specifies whether the contact should receive posted sales shipments. |
| **Send Invoices** | Specifies whether the contact should receive posted sales invoices and credit memos. |
| **Send Reminders** | Specifies whether the contact should receive issued reminders. |


1. Make sure the customer is linked to a company contact and that the person contacts to use belong to that company.
2. Fill in the **Email** field for each person contact.
3. In the **Mailing** group, set **Yes** for the documents the contact should receive.


- **Sending sales orders by e-mail:** when sending, the recipients field is filled with the e-mail addresses of all contacts of the customer's company (sell-to customer) with **Send Orders** = **Yes**, separated by semicolons.
- **Sending through e-mail document exchange:** when shipments, invoices, credit memos and reminders are sent through the e-mail channel of document exchange, the recipients are the customer company's contacts enabled for the corresponding document:
  - shipments: **Send Shipments**, contacts of the sell-to customer;
  - invoices and credit memos: **Send Invoices**, contacts of the bill-to customer;
  - reminders: **Send Reminders**, contacts of the reminder's customer.

# Certified E-Mail "PEC" scenario

The module lets you store a certified e-mail (PEC, Posta Elettronica Certificata) address on contacts and automatically send a copy of documents to that address, using an e-mail account dedicated to PEC.

When a document is sent by e-mail and the related contact has a PEC address, in addition to the normal e-mail a second message, with the same subject, body and attachments, is sent to the contact's PEC address.


1. Open the **Contact Card**.
2. Right after the **Email** field you will find the **PEC E-Mail Address** field.


| Field | Description |
|---|---|
| **PEC E-Mail Address** | Certified e-mail address of the contact, to which the certified copy of documents is sent. |


1. Set up in Business Central an e-mail account enabled for PEC sending.
2. In the e-mail scenarios page, assign the **Certified Mail (PEC)** scenario to this account.
3. Open the **Contact Card** of the contacts that must receive documents by PEC and fill in the **PEC E-Mail Address** field.


- The PEC address is taken from the contact on the document: the ship-to contact for sales shipments, the bill-to contact for sales invoices and credit memos, the vendor or pay-to contact for purchase documents.
- The contact is used only when the document does not already have other recipients set.
- The PEC copy is sent as a separate message, with the same subject, body and attachments as the normal e-mail, without CC or BCC recipients.
- The PEC message is sent with the e-mail account assigned to the **Certified Mail (PEC)** scenario.
- If the contact has no PEC address, only the normal e-mail is sent.

# Report Format & E-Mail Transport

The module adds to Document Exchange:

- the **Report** exchange format, which prints a document with the report set up in the report selections and saves it as a PDF file;
- the **E-Mail** exchange transport, which sends the PDF files by e-mail to the recipients of the document.

Combining them in a profile lets you send purchase orders, posted sales invoices, posted sales shipments, posted sales credit memos and issued reminders by e-mail, one at a time or in batches, directly from the lists and cards.


1. Search for **Document Exchange Profiles** and create a new line.
2. In **Exchange Format** choose **Report**.
3. In **Exchange Transport** choose **E-Mail**.
4. Enable the profile.

Make sure that a report is set up in the report selections for each document type you want to send, and that e-mail accounts are set up (you can assign specific accounts to the purchase order, purchase quote, sales order, sales invoice, sales credit memo and reminder e-mail scenarios).


| Field | Description |
|---|---|
| **E-Mail Address Source** | Defines where the recipient addresses of purchase documents are taken from: **Buy-from** (buy-from contact or vendor) or **Pay-to** (pay-to contact or vendor). |


1. Open one of these pages: **Purchase Order** or **Purchase Orders**, **Posted Sales Invoices**, **Posted Sales Shipment**, **Posted Sales Credit Memos**, **Issued Reminder** or **Issued Reminders**.
2. Select the documents to send.
3. Choose the **Document Exchange** action.
4. Choose one of the options offered by the profile:
   - **Send <document> via E-Mail**: sends the selected documents;
   - **Send <document> via E-Mail (batch)**: sends the selected documents as a batch.

A progress window shows the percentage of documents processed. Each document is sent in a separate e-mail with its own PDF attached.


- **Attachment name**: the PDF file is named after the document type followed by the document number (for issued reminders the prefix is "Reminder").
- **Recipients**:
  - purchase orders: the e-mail addresses of the buy-from or pay-to contact (according to **E-Mail Address Source**); if missing, the e-mail of the vendor;
  - posted sales invoices and credit memos: the e-mail addresses of the bill-to contact; if missing, the e-mail of the bill-to customer;
  - posted sales shipments: the e-mail addresses of the sell-to contact; if missing, the e-mail of the sell-to customer;
  - issued reminders: the e-mail of the customer.

  For contacts, both e-mail addresses of the contact are used.
- **Language**: the e-mail text is chosen in the language of the contact, customer or vendor.
- **Subject, body, CC and BCC**: they are taken from the report custom text with the **EMAIL** key for the report used, in the recipient's language. In the body you can use the placeholders `#salutation#` (formal salutation of the contact) and `#username#` (full name of the user sending the e-mail).
- **Sent counter**: after sending, the **No. E-Mail Sent** field of the document is increased by one (purchase orders, posted sales invoices, posted sales credit memos and issued reminders).
- If the document has no recipients, sending stops with the "No recipients" error.

# General Sets

General sets let you group elements of different kinds (countries, customers, vendors, partner groups, product types) under a single code. A set can then be used as a selection criterion in other features: for example, in commission contracts you can specify a general set as the partner or as the product, instead of a single customer, vendor or item.


Search for **General Set**. The page lists the sets; the **Lines** action opens the content of the selected set.


| Field | Description |
|---|---|
| Code | Identifier of the set. |
| Description | Description of the set. |

Deleting a set also deletes all its lines.


| Field | Description |
|---|---|
| Set Type | Kind of element included: **Country**, **Customer**, **Vendor**, **Partner Group** or **Product Type** (the last two are available only when the related features are active). |
| No. | Code of the element, chosen from the list matching the selected type. |
| Description | Filled in automatically with the name or description of the chosen element; can be changed. |

Changing the **Set Type** of a line clears **No.** and **Description**.


1. Open **General Set** and add a new line with **Code** and **Description**.
2. Select the set and choose the **Lines** action.
3. For each element to include, enter **Set Type** and **No.**


- A **customer** or **vendor** belongs to the set if it is included directly, or if its country or its partner group is included.
- An **item** belongs to the set if its product type is included.


In commission contract lines, **Partner Type** and the product type can be set to **General Set**: you then enter the set code, and the line applies to all customers or items belonging to it according to the rules above.

# Performance improvements

This module introduces optimizations that speed up operations on sales documents. It adds no pages, fields or actions: the benefits are automatic and require no setup.



When the **Sell-to Customer No.** field in the header of a sales document (quote, order, invoice, credit memo, etc.) is re-entered with the same customer already on the document, the system no longer recalculates all document lines and no longer asks for confirmation to update them. Lines are updated only when the customer actually changes.

On documents with many lines, this avoids unnecessary waits and confirmation prompts.


The system has additional indexes on sales lines that speed up searching for:

- lines generated automatically by the system;
- lines attached to other lines (for example extended text lines or accessory lines linked to a main line).

Operations that read or delete these kinds of lines, such as changing or deleting a main line, are therefore faster, especially on documents with many lines.

# Enhanced Printing Server

The module lets you print Business Central reports on remote printers through an external **printer server**, or automatically save them as PDF files in a file storage folder. It also adds a **detailed printer selection**, which lets you choose the printer based on user, report and location.

Configured printer servers appear in the Business Central list of available printers and can be selected like any other printer.



Search for **Printer Servers**. The page lists the configured servers; opening a line (or creating a new one) opens the server card.

The card can also be reached from the **Printer Management** page: opening the settings of a printer that corresponds to a printer server opens its card directly.


| Field | Description |
|---|---|
| **Code** | Server identifier. It is also the name under which the printer appears in Business Central. |
| **Description** | Printer description shown in the printer list. |
| **Server Endpoint** | Web address of the printer server the documents are sent to. |
| **Token** | Access key for the printer server. The value is masked and stored securely. |
| **Device Name** | Name of the physical printer, managed by the printer server, to print on. |
| **Passive** | When enabled, documents are not sent to the server but saved as PDF files in file storage. |
| **Passive Path** | File storage folder where PDFs are saved. Editable only when **Passive** is enabled. |


| Field | Description |
|---|---|
| **Paper Kind** | Paper format used by the printer (e.g. A4, Letter, custom). |
| **Paper Width (mm)** | Paper width in millimetres. Editable only with a custom format. |
| **Paper Height (mm)** | Paper height in millimetres. Editable only with a custom format. |
| **Landscape** | Prints in landscape orientation. |
| **Black & White** | Asks the server to print in grayscale. |


1. Open **Printer Servers** and create a new record.
2. Enter **Code** and **Description**.
3. For remote printing, fill in **Server Endpoint**, **Token** and **Device Name**.
4. Alternatively, to save documents as PDF, enable **Passive** and fill in **Passive Path**.
5. In the **Paper** section set the format, any custom dimensions, orientation and black & white printing.
6. Close the card: the new printer is immediately available in printer selections and print dialogs.



Search for **Detailed Printer Selection**, or use the **Detailed Printer Selections** action on the **Printer Management** page.


| Field | Description |
|---|---|
| **User ID** | User the rule applies to. |
| **Report ID** | Report the rule applies to. |
| **Report Caption** | Report name (read-only). |
| **Printer Name** | Printer to use. |
| **Location Code** | Location the rule applies to. |
| **Warehouse Code** | Warehouse the rule applies to (when warehouse management is active). Setting it clears location and shipping line. |
| **Shipping Line Code** | Warehouse shipping line the rule applies to (when warehouse management is active). |

Setting **Location Code** clears **Warehouse Code** and **Shipping Line Code**.


- **Sending to the server:** when a report is printed on a printer that corresponds to a printer server, the document is converted to PDF and sent to the server, which prints it on the configured device. If the server returns an error, the message is shown to the user.
- **Passive mode:** when the server is set as **Passive**, the PDF is saved in the folder specified in **Passive Path**, with a name made of the report name, the print date and time and a unique suffix.
- **Background printing:** the **Print Documents** batch activity type is available to print documents automatically. It currently handles posted transfer shipments: the report is taken from the report selections for this document type and the printer from **Detailed Printer Selection**, looking first for a rule for the report and the transfer-from location and, if none is found, for a rule for the report only.

# Session management

The module adds the **Active Sessions** page, which lists the user sessions currently open in Business Central and lets you stop one of them.


Search for **Active Sessions** using the search function (the page is listed among the administration features). The page is read-only.


| Field | Description |
|---|---|
| Server Instance ID | Identifier of the server instance the session is running on. |
| User ID | User who opened the session. |
| Login Datetime | Date and time the user signed in. |
| Server Computer Name | Name of the computer hosting the server. |
| Server Instance Name | Name of the server instance. |
| Database Name | Database the session is connected to. |
| Client Type | Type of client used (for example web client, web service, background session). |


1. Open the **Active Sessions** page.
2. Select the session to close.
3. Choose the **Stop** action.
4. Confirm the request to stop the session of the indicated user.

The session is closed immediately.


- Only sessions running on the same server instance you are connected to can be stopped. If the selected session is on another instance, a message shows the computer and instance it is running on, and the operation is not performed.
- If you cancel the confirmation, the session is not stopped.

# Comments in journals

The module lets you write free-text comments for a whole journal batch. Comments are currently available in the **Demand Replenishment** page: they are kept together with the batch and, when purchase orders are created from the batch, they are copied into the orders as text lines.


1. Open the **Demand Replenishment** page and select the batch you want to work on.
2. Choose the **Comments** action.

The **Batch Comment Sheet** page opens, showing the comments of the current batch.


| Field | Description |
|---|---|
| Date | Date of the comment. On the first comment entered for a given work date, it is filled in automatically with the work date; you can change it. |
| Comment | Comment text (up to 80 characters). |


1. From the **Demand Replenishment** page, choose **Comments**.
2. Add one line per comment, filling in the **Comment** field (and, if needed, the **Date**).
3. Close the page: comments are saved automatically.


- **Copy to purchase orders:** when you create purchase orders from the batch with **Process Orders** (report **Demand Replenishment Orders**), every non-empty comment of the batch is added to the end of each created order as a text line (description only).
- **Recalculation:** when you run **Calculate Replenishment** on a batch, its existing comments are deleted.
- **Deletion:** if you delete a batch, or a line of the batch, the related comments are deleted as well.

# Private AI support and utilities

This module connects Business Central to a "private" artificial intelligence service (for example an internally hosted model or a service compatible with OpenAI-style chat APIs) and uses it to automatically create purchase invoices from a vendor's PDF file.


Open the **Private AI Setup** page using the search function (it is listed among administration pages).

| Field | Description |
|---|---|
| API Endpoint | Full address of the private AI chat completion service that requests are sent to. Required. |
| Model | Name of the model to use on the service. Required. |
| Token | Access key for the service. The value is masked and stored securely for the company. If left blank, requests are sent without authentication. |


1. Open the **Purchase Invoices** list.
2. Choose the **Create Invoice from PDF...** action.
3. Select the vendor invoice PDF file.
4. Wait for the conversion: the **PDF to Text** window opens and extracts the text from the document; choose **Cancel** to stop the operation.
5. The extracted text is sent to the private AI, which returns the invoice data: vendor VAT registration number, invoice number and date, and lines (description and amount).
6. When finished, the newly created purchase invoice opens, ready to be reviewed and completed.


- The vendor is identified by the VAT registration number read from the document. If no vendor is found, the operation stops with the message **Unknown vendor with VAT registration no. ...**.
- The vendor invoice number is copied exactly as it appears in the document.
- For each line read from the PDF, an invoice line is created with its description and amount.
- If no file is selected or the conversion is cancelled, nothing is created.

# Prevent commits

This module makes posting of purchase documents (orders, invoices, credit memos and return orders) safer. During standard posting, Business Central permanently saves some intermediate changes to the document before posting is complete, in particular:

- automatic release of the document;
- calculation of the invoice discount;
- preliminary checks and updates of the document.

With this module active, these intermediate saves are skipped: the whole posting runs as a single operation.


The module requires no setup and adds no pages, fields or actions. Post the purchase document as usual (**Post** or **Post and Print** action).


- If posting succeeds, the result is the same as standard posting.
- If posting stops because of an error, the purchase document stays exactly as it was before posting: it is not left released and it does not keep recalculated invoice discounts or other partial updates.
- This also allows posting to run inside other processes without intermediate saves interfering with them.

# Record Status

This module lets you assign a custom status to records, choosing it from a list of user-defined statuses. The feature is currently available for **issued reminders**: each issued reminder can be marked with a status (for example "Contacted", "Waiting", "Closed") to track how it is being handled.


Open the **Issued Reminders** list:

- the **Record Status** column shows the status assigned to each reminder;
- the **Change Record Status** action lets you change it.


Statuses are defined on the **Record Status** page, which opens from the **Change Record Status** action or from the lookup of the **Record Status** field. Each record type has its own list of statuses.

| Field | Description |
|---|---|
| Code | Status code (up to 10 characters). |
| Description | Status description. |


1. Open the **Issued Reminders** list.
2. Select one or more reminders.
3. Choose the **Change Record Status** action.
4. The **Record Status** page proposes the current status of the first selected reminder. If needed, add new statuses by filling in **Code** and **Description**.
5. Select the desired status and confirm with **OK**.

The chosen status is assigned to all selected reminders. If you close the page without confirming, the statuses are left unchanged.


- The status can be changed even though the reminder has already been issued.
- In the **Record Status** field you can only choose statuses defined for issued reminders.

# Finance

# Company Bank Account

This feature lets you specify which company bank account customer payments should be received on and vendor payments made from. The account is proposed automatically on documents from the customer/vendor or, if missing, from the company's preferred account, and it is carried over to G/L entries, customer ledger entries and vendor ledger entries.



On the **Company Information** page, before the bank name field, the following field is available:

| Field | Description |
|---|---|
| Preferred Bank Account | Company bank account used as the default when the customer or vendor does not specify one. When selected, the company's bank details (bank name, bank account no., bank branch no., IBAN, BBAN) are updated with those of the chosen account. |


On the **Customer** and **Vendor** cards, right after the preferred bank account field, the following field is available:

| Field | Description |
|---|---|
| Company Bank Account | Company bank account to use on documents for this customer or vendor. |


On the **Payment Setup** page, the **Company Bank Account** field specifies the bank account assigned to the payment postings generated by store (point of sale) sales.


- **Sales:** the company bank account on sales documents is proposed from the **Company Bank Account** of the bill-to customer; if not specified, the **Preferred Bank Account** from Company Information is used.
- **Purchases:** on the **Purchase Invoice**, in the invoice details section, there is a **Company Bank Account** field. If empty, it is filled with the pay-to vendor's value and, if missing, with the **Preferred Bank Account** from Company Information. The value is also carried over to posted receipts, invoices, credit memos and return shipments.


When documents are posted, the company bank account is carried over to:

| Page | Field | Notes |
|---|---|---|
| General Ledger Entries | Company Bank Account | Shown in the list. |
| Customer Ledger Entries | Company Bank Account | Shown and editable. |
| Vendor Ledger Entries | Company Bank Account | Shown and editable. |
| General Journal and Sales Journal | Company Bank Account | Hidden column, can be shown by personalizing the page; the value is transferred to the entries when posting. |

Changes to the field on customer and vendor ledger entries are saved like the other changes allowed on ledger entries.


In the electronic invoice, for payments by bank transfer (MP05), if the customer ledger entry has a **Company Bank Account**, the payment details include the financial institution (derived from ABI and CAB), the IBAN and the BIC/SWIFT code of the account.

# Not allowed dates in Accounting Periods

The module lets you block postings in periods that have already been reviewed, without closing the fiscal year. The block can be set at three levels:

- **Accounting periods**: no G/L posting is allowed with a date falling in a blocked period.
- **Location periods**: no inventory movement is allowed, for a specific location, up to a blocked ending date.
- **No. series periods**: for each number series you can define the date range in which sales and purchase invoices and credit memos may be posted.


Open the **Accounting Periods** page. The new actions are in the **Process** group:

| Action | Description |
|---|---|
| **No. Series Period** | Opens the list of number series to set the allowed dates. |
| **Location Period** | Opens the list of location periods. |
| **Reopen Period** | Removes the block from the selected accounting period. |
| **Close Period** | Blocks postings in the selected accounting period. |


The **Accounting Periods** page shows the column:

| Field | Description |
|---|---|
| **Posting Not Allowed** | Indicates that the period is blocked. It cannot be edited directly: use the **Close Period** and **Reopen Period** actions. |


1. Open **Accounting Periods** and select the period.
2. Choose **Close Period** and confirm the question *Close period?*.
3. The **Posting Not Allowed** field is turned on.


1. Select the blocked period.
2. Choose **Reopen Period** and confirm the question *Reopen period?*.

A period already closed by the fiscal year closing cannot be reopened with this action.


- Any G/L posting (journal postings, sales and purchase documents, etc.) whose posting date falls in a blocked period is rejected with an error. The relevant period is the one with the latest starting date not later than the posting date.
- Posting inventory costs to the general ledger (for example posting adjusted costs) is an exception and remains allowed.
- Entries dated in a blocked period cannot be deleted.
- When the **fiscal year is closed**, all periods up to the closed year are automatically marked as **Posting Not Allowed**.


The **Location Periods** page lets you block inventory movements for a single location.

| Field | Description |
|---|---|
| **Location Code** | Location the period applies to. |
| **Ending Date** | Ending date of the period. |
| **Posting Not Allowed** | Indicates that the period is blocked. Set it with the **Close** and **Reopen** actions. |

Available actions:

| Action | Description |
|---|---|
| **Close** | Blocks the selected period, after the confirmation *Close period?*. |
| **Reopen** | Unblocks the selected period, after the confirmation *Reopen period?*. |


- An item entry for a location is rejected if its posting date is on or before the ending date of the first following period that is blocked for that location.
- The check does not apply to lines with zero quantity, cost adjustments, rounding and revaluation.
- A blocked period cannot be modified or deleted: reopen it first.
- When a store inventory document is posted, a location period with an ending date equal to the inventory posting date is automatically created (or blocked, if it already exists). This prevents posting inventory movements for that location on or before the inventory date.


The **No. Series Period** page lists the number series (in the Italian version only sales and purchase series) and lets you specify the dates within which posting is allowed.

| Field | Description |
|---|---|
| **Code** | Number series code (read-only). |
| **Description** | Number series description (read-only). |
| **No. Series Type** | Number series type (read-only). |
| **Allow Posting From** | First allowed posting date. If blank, there is no lower limit. |
| **Allow Posting To** | Last allowed posting date. If blank, there is no upper limit. |


When posting a sales or purchase invoice or credit memo (or an order with invoicing), the posting date is checked against the dates set on the posting number series (in the Italian version, on the operation type). If the date is outside the range, posting is stopped with the message *Posting period not allowed for* followed by the number series code.

# Arrange Customer/Vendor Entries

This feature lets you rearrange the open installments of an already posted document (invoice, credit memo, etc.) of a customer or vendor: you can change amounts, due dates and payment methods of the installments, add new ones or remove existing ones, without reversing and reposting the document.


- From **Customer Ledger Entries**: select an entry of the document and choose the **Arrange Entries** action.
- From **Vendor Ledger Entries**: select an entry of the document and choose the **Arrange Entries** action.

The **Arrange Customer/Vendor Entries** page opens with all the still open installments of the same document (same customer/vendor, document type and number, posting date and currency). If the document has no open entries, the error "Cannot arrange entries of ..." is shown.



| Field | Description |
|---|---|
| Source No. | Customer or vendor of the document. |
| Document Type | Type of the posted document. |
| Document No. | Number of the posted document. |
| Posting Date | Posting date of the document. |
| Currency Code | Currency of the document. |
| Document Amount | Total remaining amount of the document's open installments. |
| Installments Amount | Total of the installment amounts entered in the page. |


| Field | Description |
|---|---|
| Remaining Amount | Installment amount. |
| Due Date | Installment due date. |
| Payment Method Code | Installment payment method. |

Open installments with the same due date and payment method are shown grouped in a single line.


1. Open the page with the **Arrange Entries** action on the customer or vendor entry.
2. Edit the lines: change amounts, due dates or payment methods, add new installments or delete the ones no longer needed.
3. Check that **Installments Amount** matches **Document Amount**.
4. Choose the **Apply** action and confirm the question "Apply arranged entries?".
5. The page then closes.


- Each installment must have an amount and a due date; otherwise the operation is blocked.
- If the total of the installments does not match the document's remaining amount, an error showing the expected amount is displayed.
- Existing installments are updated (amount, due date, payment method); extra installments are created as new entries of the same document; installments no longer present are zeroed or removed.
- Amounts in local currency, sales/purchases, profit and invoice discounts are split proportionally across the installments.
- The related general ledger entries are adjusted accordingly.

# Repayments

This feature lets you agree a repayment plan with a customer for their open entries (invoices, finance charge memos, etc.). You select the entries to spread, define the installments, any additional charges (fees) and the deferral interest. When the plan is issued, the original entries are split into the new installments with their due dates and, if there is interest or charges, a finance charge memo is issued automatically.


- **Repayment Setup**: initial configuration (number series and default posting groups).
- **Repayments**: list of plans being prepared; create a new plan or open an existing one from here.
- **Issued Repayments**: history of issued plans.
- **Customer Ledger Entries** shows the **Last Repayment No.** field, the last plan that rearranged the entry.


| Field | Description |
|---|---|
| Repayment No. Series | Number series for new repayment plans. |
| Issued Repayment No. Series | Number series for issued plans. |
| Default Gen. Prod. Posting Group | Group proposed on new plans and charges. |
| Default VAT Prod. Posting Group | VAT group proposed on new plans and charges. |



| Field | Description |
|---|---|
| No. | Plan number. |
| Source Type | Customer or Vendor (customers are currently supported). Cannot be changed once the plan has lines. |
| Source No. | Customer of the plan. Selecting it copies name, address, currency, company bank account and payment method from the customer, proposes document and posting dates (work date) and the description "Repayment plan for ...". |
| Source Name, address, post code, county, country | Customer details. |
| Document Date / Posting Date | Dates of the plan and of the generated finance charge memo. |
| Principal Amount | Total of the entries in the plan (excluding interest already charged). |
| Interest Amount | Calculated deferral interest. |
| Charges Amount | Total additional charges; click it to open the charges page. |


The customer entries included in the plan: document type and number, posting date, description, (remaining) amount and due date. Lines are added with the **Get Entries** action and can be deleted.


| Field | Description |
|---|---|
| Description | Installment description (e.g. "Installment 1"). |
| Amount | Installment amount. |
| Additional Amount | Share of charges included in the installment. |
| Due Date | Installment due date. |
| Payment Method Code | Installment payment method (proposed from the plan). |


| Field | Description |
|---|---|
| Description | Plan description. |
| Gen. Prod. Posting Group, VAT Prod. Posting Group | Groups used to post interest and charges on the finance charge memo. |
| Finance Charge Terms | Terms the interest rate is taken from. If blank, no interest is calculated. |
| Interest Method | **Period Interest**: uses the rates of the terms valid at each entry's due date. **Fixed Interest**: uses a single rate entered on the plan. |
| Interest Rate / Interest Period (Days) | Editable only with **Fixed Interest**; proposed from the finance charge terms based on the document date. |
| Company Bank Account Code | Company bank account for collections. |
| Payment Method Code | Payment method proposed on installments. |
| Dimension codes | Global dimensions of the plan. |


The **Charges** action opens **Repayment Charges**, where you enter additional fees charged to the customer:

| Field | Description |
|---|---|
| Charge Account No. | Account the fee is posted to; its name is copied as description. |
| Description | Fee description. |
| Amount | Fee amount. |
| VAT Prod. Posting Group | VAT group of the fee. |
| Charges Application | **First Installment**, **Last Installment** or **Divide** (amount split equally across all installments). |


1. Open **Repayments** and create a new plan.
2. Choose the customer in **Source No.** and complete the **Posting** section (finance charge terms, interest method, payment method).
3. Use **Get Entries**: the customer's open positive entries in the plan currency are shown; select those to include and confirm. Entries already in the plan are not duplicated.
4. Enter any fees with **Charges**.
5. Define the installments manually or with **Suggest Installments**, entering:
   - **Starting Date**: due date of the first installment;
   - **Due Date Formula**: interval between installments (e.g. `1M`);
   - **Installment Amount**: amount of each installment.

   After confirming, existing installments are deleted and new ones are created until principal, interest and charges are covered; the last installment holds the remaining amount.
6. Use **Calculate** to recalculate the split and interest, and **Summary** to print the plan statement.
7. Use **Issue** to issue the plan and confirm.


- Charges are allocated first to installments according to **Charges Application**; if an installment cannot hold them an error is shown.
- Entries are then spread over the installments in posting date and due date order. An entry cannot have a posting date later than an installment's due date.
- For each portion, delay days are counted from the entry's original due date (or the previous installment) to the installment due date, and interest is calculated on the remaining principal. Each installment pays interest first, then principal; interest exceeding the installment carries over to the next one.
- Existing finance charge memos included in the plan do not generate further interest.
- If the installments are not enough, the remaining amount is added to the last installment. Installments left at zero are deleted and installment amounts are updated to the calculated value.


When the plan is issued:

- the plan is recalculated and moved to **Issued Repayments** with a new number; the draft plan is deleted;
- if there is interest or charges, a **Finance Charge Memo** is issued for the customer, itself split into the installment due dates;
- the original customer entries are split into new entries, one per installment, with its due date and payment method;
- the affected entries show the **Last Repayment No.**.


The **Issued Repayment** card shows the plan data, lines and installments read-only, plus the **Reversed** field. Available actions:

- **Summary**: prints the plan statement;
- **Charges**: shows the plan charges;
- **Issued Finance Charge Memo**: opens the generated finance charge memo;
- **Reverse**: cancels the plan. After confirmation, all payments applied to the entries are unapplied, the finance charge memo is reversed on the work date and the entries return to their original due dates. The plan is marked as **Reversed**.


The **Repayment Summary** report (available from the plan, the plan list and issued plans) shows, for each installment, the documents covered, delay start date, delay days, remaining principal, principal share, interest and additional amounts.

# Original Due Date

This feature keeps, for each customer ledger entry, the due date the entry was posted with. If the entry's **Due Date** is later changed (for example, for an extension agreed with the customer), the original date is still available.


Open **Customer Ledger Entries**: the list includes the **Original Due Date** column.


| Field | Description |
|---|---|
| Original Due Date | Due date of the entry at the time it was posted. The field is read-only. |


- When a customer entry is posted, **Original Due Date** is automatically filled with the entry's **Due Date**.
- Later changes to the **Due Date** do not change the **Original Due Date**.
- When the feature is activated, existing entries get an **Original Due Date** equal to their current **Due Date**.

# Edit document posting nos.

This feature lets you view and, when needed, manually change the number that will be assigned to the posted document, before posting sales and purchase invoices and credit memos.

For purchase invoices and credit memos you can also change the number of the sales document generated for reverse charge VAT.


The fields are on the document details tab:

| Document | Tab | Available fields |
|---|---|---|
| Sales invoice | Invoice Details | Posting No. |
| Sales credit memo | Credit Memo Details | Posting No. |
| Purchase invoice | Invoice Details | Posting No., Reverse Sales VAT No. |
| Purchase credit memo | Invoice Details | Posting No., Reverse Sales VAT No. |


| Field | Description |
|---|---|
| Posting No. | Number that will be assigned to the posted document. |
| Reverse Sales VAT No. | Number of the sales document posted for reverse charge VAT (purchase documents only). |


1. Open the document (sales or purchase invoice or credit memo).
2. On the details tab, find the **Posting No.** (or **Reverse Sales VAT No.**) field.
3. Choose the assist button (**…**) next to the field: the field becomes editable.
4. Enter the number you want.
5. To lock the field again, choose the **…** button again.


- By default the fields are read-only, to prevent accidental changes.
- The **…** button toggles the field between locked and unlocked; on purchase documents it acts on both fields at the same time.
- When the document is reopened, the fields are read-only again.

# Enhanced Fiscal Reports

The module adds four reports to analyse customer receivables and vendor payables at a given date:

| Report | Content |
|---|---|
| **Receivables Aging** | Balance of each customer split into five time bands, with the exposure for issued bills. |
| **Payables Aging** | Balance of each vendor split into five yearly bands. |
| **Customer Detailed Aging 2** | Open entries of each customer, with overdue, amounts due by band and exposure. |
| **Vendor Detailed Aging 2** | Open entries of each vendor, with overdue and due amounts. |


Search for the report name with the search function (magnifier icon). The reports are listed under reports and analysis. Options are saved and proposed again the next time you run the report.


For each customer it shows number, name, the amounts in the five bands, the total balance (in local currency) and the exposure. Customers with no balance and no exposure are not printed.


| Field | Description |
|---|---|
| Customer No., Customer Posting Group | Filters on the customers to include. |
| **Balance Ending Date** | Date at which the situation is calculated. If empty, the work date is used. |
| **Period Formula** | Width of each band (e.g. `-1M`, `30D`). The sign determines the type of analysis, see below. |


- **Negative formula** (e.g. `-1M`): analysis by **posting date**. Bands go backwards from the balance ending date; the first band collects everything earlier and is titled "Before".
- **Positive formula** (e.g. `30D`): analysis by **due date**. The first band collects what is due up to the balance ending date ("Due until ..."), the next three cover the following periods and the last one everything due later ("After"). Only entries posted up to the balance ending date are considered.


In the Italian localization the **Exposure** column shows the amount of bills already issued to the bank, not recalled and due on or after the balance ending date.


For each vendor it shows number, name, the amounts in five bands and the total balance in local currency.

| Field | Description |
|---|---|
| Vendor No., Vendor Posting Group | Filters on the vendors to include. |
| **Balance Ending Date** | Date at which the situation is calculated. If empty, the work date is used. |

Bands are calendar years based on the posting date: the year of the balance ending date (from 1 January to that date), the three previous years and a "Before" band with everything else.


For each customer it prints a header with the company and customer addresses and the list of entries with a remaining amount other than zero at the reference date: document date, document type and number, description, payment method, currency, due date, amount and remaining amount.


| Field | Description |
|---|---|
| Customer No., Customer Posting Group | Customers to include. |
| Date Filter | The end date of the filter is the report reference date; if not set, the work date is used. |
| Open, Due Date, Payment Method Code | Filters on the entries to print. |
| **Show applied entries** | Shows the applied documents (type, number, description, date and amount) under each entry. |
| **Show footer** | Prints the custom footer text at the end of the report. |


The remaining amount of each entry is classified as:

- **Overdue**, if the due date is before the reference date;
- **Due**, split into **Due in 30 days**, **Due in 60 days**, **Due in 90 days** and **Due over 90 days**.

The report shows the general total, the past due total, the exposure total and the due total.


In the Italian localization, entries included in bills issued to the bank, not recalled and due on or after the reference date are treated as exposure: the payment method is marked with an asterisk (`*`) and the amount is shown in the Exposure column. Issued bills whose entry is already closed are also included, with the bill amount.


The footer text is set in the **Report Custom Text** page, under the report's "Footer" entry, and is printed in the report language when **Show footer** is enabled.


Similar to the customer report, for vendors: it lists entries with a remaining amount other than zero posted up to the reference date, separating overdue (due up to the reference date) from due amounts, with general, past due and due totals.

| Field | Description |
|---|---|
| Vendor No., Vendor Posting Group, Date Filter | Vendors to include and reference date (last date of the filter, otherwise the work date). |
| Open, Due Date, Payment Method Code | Filters on the entries. |
| **Show applied entries** | Shows the applied documents under each entry. |


1. Search for and open **Receivables Aging**.
2. Set any filters on customers.
3. Enter the **Balance Ending Date**.
4. In **Period Formula** enter a positive formula, for example `30D`.
5. Choose **Preview** or **Print**.

# Calculate balance in entries pages

The module adds a running balance to the entries pages, so you can see row by row how the amount of the displayed entries builds up. It is available on these pages:

- **General Ledger Entries**
- **Customer Ledger Entries**
- **Vendor Ledger Entries**


Open one of the entries pages listed above. At the end of the columns you find the **Balance** field; in the **Functions** menu you find the **Calculate Balance** action.


| Field | Description |
|---|---|
| **Balance** | Running balance of the displayed entries, from the first one up to the current row. The field is read-only and stays blank until you run **Calculate Balance** (or when the value is zero). |


1. Open the entries page.
2. Set the filters and sorting you need (for example a single account, customer or vendor and a date range).
3. Choose **Functions** > **Calculate Balance**.
4. The **Balance** column shows, for each row, the running total of the amounts starting from the first displayed row.

If you change filters or sorting, run **Calculate Balance** again to refresh the values.


- The calculation only considers entries matching the active filters, in the order they are displayed.
- **General Ledger Entries:** the amount of each entry is added up.
- **Customer and Vendor Ledger Entries:** the entry amount is added up. If a filter on the **Open** field showing open entries is active, the remaining amount is added up instead, so the balance represents what is still to be collected or paid.
- The balance is not stored: after closing and reopening the page you need to calculate it again.

# Better posting description

This feature makes the **Posting Description** of sales and purchase documents easier to read. Instead of the standard description, made of the document type and number (for example "Order 1001"), the system proposes the document type followed by the name of the customer or vendor being invoiced (for example "Order Contoso Ltd.").

The description is carried over to the general ledger entries and customer/vendor ledger entries created by posting, making it easier to recognize who each entry refers to.


- **Sales documents**: quotes, orders, invoices, credit memos, return orders and blanket orders.
- **Purchase documents**: quotes, orders, invoices, credit memos, return orders and blanket orders.

The **Posting Description** field is on the document card (usually on the **General** FastTab or among the additional fields shown with **Show more**).


| Field | Description |
|---|---|
| Posting Description | Text shown on the entries created by posting. It is filled in automatically with the document type followed by the name of the customer (**Bill-to Name**) or vendor (**Pay-to Name**). |


- **Sales**: when you enter or change the **Sell-to Customer No.**, the description becomes "<Document type> <Bill-to customer name>".
- **Purchases**: when you enter or change the **Buy-from Vendor No.**, the description becomes "<Document type> <Pay-to vendor name>".
- The description is no longer reset automatically to the document number, for example when the document is created or its number changes.
- If the text exceeds the maximum field length, it is truncated.
- You can still edit the description manually: the value you enter is used for posting, unless you change the customer or vendor again.


1. Create a new sales or purchase document.
2. Select the customer or vendor.
3. Check the **Posting Description** field, which shows the document type and the customer or vendor name; change it if needed.
4. Post the document: the resulting entries show this description.

# Allow skip errors in journal: negative amount, invoice already exists, dimensions

When posting general journal lines, Business Central runs some standard checks that stop the posting when they fail. This module adds three flags to journal lines that allow some of these checks to be skipped, line by line:

- the check on the sign of the amount (positive or negative amount not allowed, zero amount);
- the check on an already existing document number (invoice or credit memo already posted for the customer or vendor, external document number already used);
- the dimension checks.


| Field | Description |
|---|---|
| Skip Positive/Negative Error | When enabled, the line is posted even if the amount sign is not the expected one for the document type, or if the amount is zero. |
| Skip Doc. Exists Error | When enabled, the line is posted even if a sales or purchase document with the same number already exists, or if the vendor external document number has already been used. |
| Skip Dimension Error | When enabled, dimension checks (mandatory dimensions, blocked or not allowed values, combinations) are not performed. |


The flags are not shown on journal pages: they are set automatically by the features that create journal lines and need to bypass these checks. In particular:

- the journal entries created by store (point of sale) management enable **Skip Positive/Negative Error**, so that receipts, returns and other entries can be posted with the required sign;
- the import of entries from DocFinance enables **Skip Positive/Negative Error** on all imported lines.


- At posting, for each line with a flag enabled the related check is skipped; all other standard checks remain active.
- Lines without any flag enabled are checked normally.

# Improved accruals

The module lets you specify the accrual period (starting and ending date) of costs and revenues directly on documents and journal lines. Based on these dates, two periodic batch jobs automatically prepare, in a general journal, the entries for:

- **accruals and deferrals** (Accruals Calculation), split in proportion to the days in the period;
- **invoices and credit memos to receive / to send** (Expected Invoices Calculation), for receipts and shipments not yet invoiced at the closing date.



| Field | Description |
|---|---|
| Positive Accruals Account No. | Balance sheet account used for accruals on revenues, when the revenue account does not specify its own account. |
| Negative Accruals Account No. | Balance sheet account used for accruals on costs, when the cost account does not specify its own account. |
| Positive Deferrals Account No. | Balance sheet account used for deferrals on costs, when the cost account does not specify its own account. |
| Negative Deferrals Account No. | Balance sheet account used for deferrals on revenues, when the revenue account does not specify its own account. |
| Invoice to Receive Account No. | Balancing account for uninvoiced purchase receipts and for accruals of purchase invoices. |
| Invoice to Send Account No. | Balancing account for uninvoiced sales shipments and for accruals of sales invoices. |
| Credit Memo to Receive Account No. | Balancing account for uninvoiced return shipments and for accruals of purchase credit memos. |
| Credit Memo to Send Account No. | Balancing account for uninvoiced return receipts and for accruals of sales credit memos. |


In the Sales and Purchases FastTabs you can specify, for a single posting group combination, accounts that take precedence over those in General Ledger Setup:

| FastTab | Field |
|---|---|
| Sales | Invoice to Send Account No., Credit Memo to Send Account No. |
| Purchases | Invoice to Receive Account No., Credit Memo to Receive Account No. |


| Field | Description |
|---|---|
| Accrual Account No. | Account used for accruals of this account, instead of the one in General Ledger Setup. |
| Deferral Account No. | Account used for deferrals of this account, instead of the one in General Ledger Setup. |
| Accrual Dates Mandatory | When enabled, every posting to this account requires the accrual starting and ending date. |

For the calculation, the cost or revenue account must be an Income Statement account with an **Account Category** (Expense or Income).


The **Accruals** and **Expected Invoices** fields hold the source code assigned to the generated entries. If empty, the codes ACCRUALS and EXPINVOICE are created and set automatically the first time the batch jobs run.


The **Accrual Starting Date** and **Accrual Ending Date** fields are available on:

- sales and purchase invoice and credit memo lines;
- posted purchase invoice and credit memo lines;
- general journal and sales journal;
- finance charge memo header (Posting FastTab) and lines, issued finance charge memo lines;
- general ledger entries.

Checks when posting documents:

- if the ending date is filled in, the starting date must be filled in too;
- the ending date cannot be earlier than the starting date;
- the dates are allowed only on lines of type G/L Account.

Lines with different accrual dates are posted to separate G/L entries, so each entry keeps its own period.

On finance charge memos created by the batch job that creates finance charge memos on arrears, the accrual dates are set to the interest calculation period and carried over to the entries when the memo is issued.


The accrual dates of G/L entries can be edited. Editing them (as well as the posting date or account) is not allowed on entries generated by these batch jobs, nor on entries for which accruals or deferrals have already been generated (message "Accrual entries exist").


Search for **Accruals Calculation**. On the request page, Options FastTab:

| Field | Description |
|---|---|
| Ending Date | Closing date. It is automatically moved to the last day of the accounting period. |
| Template Name | General (non-recurring) journal template. |
| Batch Name | Batch where the lines are written. |

You can also filter the G/L entries to consider.

Procedure:

1. Fill in the options and run the batch job.
2. Confirm the question: **the batch content is deleted** and replaced by the new lines.
3. At the end a message shows how many lines were transferred. Review and post the batch.

Calculation logic (only for income statement accounts with complete accrual dates):

- **Accruals**: entries posted after the ending date whose period started by the ending date. The share of days accrued in the fiscal year (from the starting date, or the fiscal year start, up to the ending date) is posted on the ending date, and its reversal on the posting date of the original entry.
- **Deferrals**: entries of the fiscal year posted by the ending date whose period ends after the ending date. The share of days after the ending date is deferred.
- **Open deferrals**: at subsequent closings, the deferral share that has matured in the meantime is reversed.

Lines carry the document, dimensions and source of the original entry, and a description such as "Accrual N days …" / "Deferral N days …". The balancing account is:

- for accruals on customer/vendor invoices and credit memos, the related invoice/credit memo to send or to receive account;
- otherwise, the accrual or deferral account of the G/L account, or the one in setup according to the category (Expense or Income).

The batch job takes amounts already posted into account, so it can be run again without duplicating entries. When the accruals/deferrals of an entry sum to zero, they are closed automatically.


Search for **Expected Invoices Calculation**.

| Field | Description |
|---|---|
| Ending Date | Closing date and posting date of the lines. |
| Template Name | General (non-recurring) journal template. |
| Batch Name | Batch where the lines are written. |
| Purchase Receipts | Includes uninvoiced purchase receipts (invoices to receive). |
| Sales Shipments | Includes uninvoiced sales shipments (invoices to send). |
| Return Receipts | Includes uninvoiced sales return receipts (credit memos to send). |
| Return Shipments | Includes uninvoiced purchase return shipments (credit memos to receive). |

Procedure:

1. Fill in the options, select the document types and run the batch job.
2. Lines are appended to the batch (existing lines are kept). A message shows how many lines were transferred.
3. Review and post the batch.

Behavior:

- For each document not yet invoiced at the ending date, a line is created on the sales/purchase (or credit memo) account of the General Posting Setup, balanced on the invoice/credit memo to receive or to send account. The description shows the customer/vendor name, document number and date.
- Documents already recognized earlier are not recognized again.
- For recognized documents that have been invoiced in the meantime, a reversal is generated, described with the invoice or credit memo references.
- When a document is fully invoiced, its recognition is closed automatically.


Generated entries carry information visible on the entries: **Accrual Entry**, **Accrual for Entry No.** (originating entry), **Accrual Days**, **Accrual Open** and **Accrual Type** (Expected Invoice, Actual Invoice, Accrual, Deferral, Accrual (reverse), Deferral (reverse)). In the general journal, the posting date or document number of a line generated by these batch jobs cannot be changed.

# Calc average payment days

This feature adds the **Average Due Date Days** field to payment terms. It shows after how many days, on average, payments with that term fall due. The value is calculated automatically and makes it easy to compare different payment terms (for example "30 days invoice date" and "60 days end of month").


1. Search for and open the **Payment Terms** page.
2. The **Average Due Date Days** field is shown as the last column of the list.


| Field | Description |
|---|---|
| Average Due Date Days | Average number of days between the document date and the payment due date. It is calculated automatically and should not be filled in manually. When the value is zero the field is shown blank. |


- **Term with a single due date:** when you change the **Due Date Calculation** of the payment term, the average days are recalculated. The calculation uses the 15th of the month as reference, so "end of month" formulas count as an average half month. Example: "30 days end of month" corresponds to about 45 days.
- **Term with installments:** when the payment term has several installment lines (each with its own due date formula and payment percentage), the average days are the average of the installment due dates, weighted by each installment's percentage. Example: 50% at 30 days and 50% at 60 days gives 45 days.
- If the due date formula is cleared, the field goes back to zero.


1. Open the **Payment Terms** page and select the term.
2. Open the payment (installment) lines of the term.
3. Enter or change due date formulas and percentages.
4. Close the lines page: on closing, the term's **Average Due Date Days** field is recalculated automatically.


- When the feature is installed or upgraded, the average days are calculated for all existing payment terms.
- During recalculation, the system also stores for each installment its due days and whether it falls due at the end of the month.

# Calc average fin charge grace periods

The module adds the **Average Grace Days** field to finance charge terms. It converts the **Grace Period** (a date formula, such as `10D`, `1M` or `CM+15D`) into a number of days. The value is used as a reference to estimate finance charges when prices and amounts are calculated based on payment terms.


Open the **Finance Charge Terms** page: the new field is shown at the end of the list, as the last column.


| Field | Description |
|---|---|
| Average Grace Days | Average number of days corresponding to the grace period. Calculated automatically; left blank when no grace period is specified. |


1. Open **Finance Charge Terms**.
2. Enter or change the **Grace Period** of the terms.
3. The **Average Grace Days** field is recalculated immediately.


- **Calculation:** the grace period formula is applied to a reference date in the middle of the month (the 15th); the resulting days, rounded to whole days, represent an average. This way, formulas based on the end of the month (e.g. `CM`) give a realistic average result.
- **Recalculation:** the value is updated whenever the grace period changes.
- **Initial values:** when the module is installed, the field is calculated for all existing finance charge terms.
- **Use in estimates:** the average grace days are subtracted from the average due days of the payment terms to estimate finance charges (based on the interest rate and interest period of the terms), for example when calculating sales prices and amounts. If the grace days are greater than or equal to the due days, no charge is estimated.

# Global e-invoice

This feature provides the common, country-independent foundation for electronic invoicing. It lets you:

- assign an e-invoice format to each number series;
- automatically prepare electronic documents when invoices and credit memos are posted, based on the format of the number series used;
- track the e-invoice status of sales VAT entries;
- exclude individual description lines of sales invoices from the electronic document.

Actual formats (for example **Italy E-Invoice**) are provided by country-specific localizations, when active.


Open the **No. Series** page and, for each number series used to post documents that must be sent electronically, set the field:

| Field | Description |
|---|---|
| E-Invoice Format | Format used to prepare electronic documents for documents posted with this number series. If blank, no electronic document is produced. |


- **Sales:** when a sales invoice or credit memo is posted, if the posting number series has a format, the electronic document is prepared using that format.
- **Purchases (Italian localization):** when a purchase invoice or credit memo with reverse charge self-invoicing is posted, the format of the reverse charge sales VAT number series is used.
- **Finance charge memos (Italian localization):** when a finance charge memo is issued, the format of the issuing number series is used.


Sales invoice lines include the field:

| Field | Description |
|---|---|
| Exclude from E-Invoice | When enabled, the line is not included in the electronic document. It can only be enabled on lines without a type (description-only lines). |

If a line has this option enabled, its type cannot be changed. The setting is carried over to posted invoice and credit memo lines.


The **VAT Entries** page shows the field:

| Field | Description |
|---|---|
| E-Invoice Status | Status of the entry with respect to electronic invoicing: blank (to be checked), **Delivered** or **Not Required**. |


1. Open the **VAT Entries** page.
2. Choose the **Check E-Invoice Status** action.
3. All sales VAT entries with a blank status are examined; the status of each is updated based on the format of the document's number series. A window shows the progress percentage.

For entries whose number series has no e-invoice format, the status is set to **Not Required**.

# Allow vendor Earlier Posting

In the standard application, when applying vendor entries, the system blocks the operation if the entry being applied has a posting date later than the applying document (for example, a payment dated before the invoice it is meant to settle).

This module disables that check: entries can be applied even when the applying document's posting date is earlier than the posting date of the entries being applied.


- **Apply Vendor Entries**: from vendor ledger entries or journal lines, using the **Apply Entries** action.
- **General journal lines** (for example payment journals): when a document to apply is specified in the **Applies-to Doc. Type** / **Applies-to Doc. No.** fields or through the **Apply Entries** action.


| Situation | Without the module | With the module |
|---|---|---|
| Applying an entry whose posting date is later than the applying document | Error, the application is rejected | The application is accepted |
| Journal line dated earlier than the document to apply | Error during application | No error, the line can be applied and posted |


1. Create the payment (or credit memo) line for the vendor, even with a posting date earlier than the invoice.
2. Use the **Apply Entries** action and select the entries to settle.
3. Confirm and post: the system no longer reports the earlier posting date error.

# G/L Adjustment Entry

This feature lets you post **off-book adjustments**: journal lines that are not posted to the general ledger but saved in a separate **General Ledger Adjustment Entries** register. These entries can be viewed from the chart of accounts and included in account schedules (financial reports), for example for simulations, management closings or reclassifications, without changing the official ledger balances.

Entries can be cancelled at any time, sending the lines back to the journal they came from.


The **Post as Adjustment** action is available in:

- **General Journals**;
- **Fixed Asset G/L Journals**.


1. Open the journal and select the batch.
2. Enter the lines as for a normal posting (date, document type and number, account, balancing account, amount, dimensions, etc.).
3. Choose **Post as Adjustment** and confirm.
4. A message shows how many adjustment entries were posted.

Behavior:

- Lines are checked as in a normal posting (mandatory fields, dimensions, etc.).
- An adjustment entry is created for each line; if the line has a balancing account, a balancing entry (opposite sign) is also created and flagged as **Balancing Entry**.
- All lines posted together form a single **transaction**.
- After posting, the lines are deleted from the journal. No G/L entries nor customer, vendor, bank or fixed asset entries are created.
- VAT and posting groups are ignored.


| Account type | G/L account the adjustment is posted to |
|---|---|
| G/L Account | The account on the line |
| Bank Account | The G/L account of the bank's posting group |
| Fixed Asset | The accumulated depreciation account of the asset's posting group (only with FA posting type **Depreciation**) |

Other account types are not allowed and raise an error.


The **General Ledger Adjustment Entries** page shows posted entries (read-only). You can open it:

- by drilling down on **Adjustment Balance** and **Adjustment Net Change** in the chart of accounts;
- from **Find entries** (Navigate), searching by document number, posting date or external document number.

| Field | Description |
|---|---|
| Posting Date | Date of the adjustment. |
| Document Type | Document type of the journal line. |
| Document No. | Document number of the journal line. |
| G/L Account No. | G/L account affected by the adjustment. |
| Description | Line description. |
| Global Dimension 1 and 2 Code | Dimensions of the adjustment (shown if set up as shortcut dimensions). |
| Amount / Debit Amount / Credit Amount | Amount of the adjustment; what is shown depends on the **Show Amounts** setting in General Ledger Setup. |
| Bal. Account Type / Bal. Account No. | Balancing account of the line. |
| Entry No. | Sequential entry number. |
| External Document No. | External document number. |

Additional fields available through personalization: User ID, Balancing Entry, Source Type, Source No., Reason Code, Dimension Set ID, Business Unit Code.


| Action | Description |
|---|---|
| **Find entries...** | Opens Navigate for the document number of the selected entry. |
| **Cancel transactions** | Cancels the transactions of the selected entries (see below). |


1. On the **General Ledger Adjustment Entries** page, select one or more entries.
2. Choose **Cancel transactions**.
3. All transactions the selected entries belong to are cancelled in full (including unselected entries of the same transaction).

Behavior:

- If the entries came from a journal, you are asked to confirm transferring them back to the original journal template and batch: the main lines (not balancing ones) are recreated at the end of the journal, with their original balancing account, amounts and dimensions, and the adjustment entries are deleted. A message shows how many lines were transferred.
- If the entries were created automatically by the system (no source journal), you are asked to confirm and the entries are simply deleted.
- System-created entries and journal entries cannot be cancelled together.


The chart of accounts pages show these fields:

| Field | Description |
|---|---|
| **Adjustment Balance** | Total adjustment entries of the account (or of the totaled accounts), according to business unit and dimension filters. |
| **Adjustment Net Change** | Same as above, limited to the date filter. |


In account schedule column layouts, the **Ledger Entry Type** field has the value **Adjustment Entries**. Columns of this type calculate net, debit or credit amounts from adjustment entries, applying the date, business unit and global dimension filters of the row and column. This type cannot be used with schedules linked to an analysis view.

# Notes in document

This feature adds a **Note** field (free text, up to 50 characters) to sales and purchase documents. On purchase documents the note follows the document through posting: it is carried over to the posted invoice or credit memo and to the vendor ledger entry, where it can still be viewed and edited.


| Page | Location | Notes |
|---|---|---|
| Sales Order | **General** FastTab | Editable |
| Sales Orders (list) | Column | |
| Call Center sales order and order list | Field / column | |
| Purchase Order | **General** FastTab | Editable |
| Purchase Orders (list) | Column | Read-only |
| Purchase Invoice | Header | Editable |
| Purchase Invoices (list) | Column | |
| Purchase Credit Memo | Header | Editable |
| Posted Purchase Invoices (list) | Column | |
| Vendor Ledger Entries | Column | Editable |


| Field | Description |
|---|---|
| Note | Free text (up to 50 characters) attached to the document or entry. |


1. Open the sales or purchase document.
2. Enter the text in the **Note** field.
3. For purchases, post the document: the note is automatically carried over to the posted document and the vendor ledger entry.
4. To correct the note after posting, open **Vendor Ledger Entries** and edit the **Note** field on the entry.


- **Purchase posting:** the note on the purchase document is copied to the posted invoice or credit memo and to the resulting vendor ledger entry.
- **Incoming e-invoices:** when a purchase document is created by importing an Italian electronic invoice, the **Note** field is filled with the note contained in the received file.
- **Editing vendor ledger entries:** changes to the **Note** field made on the **Vendor Ledger Entries** page are saved on the entry.

# Totals in receipts or shipments

The feature calculates and stores the amount of each line of posted sales shipments and purchase receipts, both excluding and including VAT. Document totals are shown in the posted shipment and receipt lists, so you can see the value of the goods shipped or received without opening the order or the invoice.


| Page | Notes |
|---|---|
| Posted Purchase Receipts (list) | Visible columns |
| Posted Sales Shipments (list) | Hidden columns, add them with **Personalize** |
| Get Receipts | **Amount** column visible, **Amount Including VAT** hidden |


| Field | Description |
|---|---|
| Amount | Total of the document lines, excluding VAT. |
| Amount Including VAT | Total of the document lines, including VAT. |

When the value is zero the field is shown blank.


1. Post the shipment of a sales order or the receipt of a purchase order as usual.
2. Open the **Posted Sales Shipments** or **Posted Purchase Receipts** list.
3. Check the **Amount** and **Amount Including VAT** columns; for shipments, if they are not visible, add them with **Personalize**.


- When a shipment or receipt is posted (including from a drop shipment), each line amount is calculated as quantity × unit price (or direct unit cost for purchases), less the line discount.
- If the order has prices including VAT, the amount including VAT is calculated first and the net amount is derived from it; otherwise the net amount is calculated first and the amount including VAT is derived from it, using the line's VAT percentage.
- When the feature is installed, amounts are also calculated for purchase receipts that were already posted.

# Enhanced Reminders

The module replaces the standard reminder creation functions with logic that takes into account the reminder level already issued for each customer ledger entry. It also allows reminders to be created, issued and sent automatically by a batch process.

Main differences from the standard behavior:

- a separate reminder is created for each level of the customer's reminder terms;
- each open customer ledger entry is reminded at the level following the last one already issued;
- for entries already reminded, the reference due date becomes the due date of the last issued reminder (instead of the invoice due date);
- the last issued reminder level is visible and editable in the customer ledger entries.


The standard **Create Reminders** action (from the **Reminders** page) automatically runs the enhanced version.


| Field | Description |
|---|---|
| Posting Date | Posting date and document date of the created reminders; it is also the date used to determine whether an entry is overdue. The work date is proposed. |

Customers can be filtered by number and by reminder terms code. Only customers that are not blocked and have a reminder terms code are considered.


1. Open the **Reminders** page and choose **Create Reminders**.
2. Enter the **Posting Date** and any customer filters.
3. Choose **OK**.


For each customer, open entries with a positive amount, not on hold, of type invoice or finance charge memo are considered. For each level of the customer's reminder terms:

- entries whose last issued reminder level is lower than the level being processed are included;
- an entry is included only if, at the posting date, the level's grace period has elapsed since its due date (or since the due date of the last issued reminder);
- each entry goes into one reminder only, the one for the first level at which it qualifies.

For each level with at least one entry, a reminder is created with:

- a fixed reminder level, the same for all lines;
- a due date calculated with the level's formula starting from the posting date (if no formula is set, the due date equals the posting date);
- the text lines and any charges defined for the level.

Any unissued reminders already existing for the same customer, terms and level are deleted and replaced.


The standard **Suggest Reminder Lines** action (from the reminder card) also runs the enhanced version.

| Field | Description |
|---|---|
| Level | Reminder level to apply to the reminder (minimum 1). |

The reminder must have a customer and a reminder terms code. Existing lines are deleted and replaced with the customer entries that qualify at the specified level, following the same rules described above; the reminder level is set to the chosen value.


The **Customer Ledger Entries** page shows the **Last Issued Reminder Level** field, which indicates the last reminder level issued for the entry. The field can be changed with the entry edit function, for example to restart or advance the reminder sequence of an invoice.

When a reminder is created, the level of each line is always higher than the last level already issued for the entry.


The module provides a batch process, which can be run for example from a job queue, that for a given document exchange profile:

1. deletes unissued reminders previously created by the same process;
2. creates reminders, with today's date as posting date, for all non-blocked customers with reminder terms;
3. issues each reminder that has lines;
4. queues the issued reminder for sending through the specified document exchange profile.

Reminders created by this process have the **System Created Entry** field enabled, both on the reminder and on the issued reminder.

When issued reminders are sent through document exchange, the generated files use the "Reminder" prefix.

# Invoice without G/L

This feature lets you invoice sales and purchase orders and return orders **without creating general ledger entries**: no G/L entries, customer/vendor ledger entries or VAT entries are created. The document is still posted (posted invoice or credit memo), quantities are marked as invoiced and item entries are updated.

It is useful, for example, to close shipments or receipts that must not be invoiced in the accounts (free goods, internal movements, adjustments).

Invoices and credit memos posted this way:

- get a number from a dedicated number series;
- do not generate an electronic invoice;
- do not generate split payment lines (Italian localization);
- are not subject to the allowed posting period checks, either for the posting date or for the number series;
- ignore blocked items and blocked vendors.


Before using the feature, specify the number series to use for documents posted without G/L.

| Page | Field | Description |
|---|---|---|
| Sales & Receivables Setup | Invoice/Cr.Memo without G/L Nos. | Number series for sales invoices and credit memos posted without G/L (Number Series section). |
| Purchases & Payables Setup | Invoice/Cr.Memo without G/L Nos. | Number series for purchase invoices and credit memos posted without G/L. |

If the number series is not set, posting stops with an error.


On **sales orders**, **purchase orders**, **sales return orders** and **purchase return orders**, the **Invoice Details** FastTab contains the field:

| Field | Description |
|---|---|
| Order without G/L | When enabled, the order is always invoiced without G/L. |

When the field is enabled and you post a shipment or receipt (or the corresponding return operation), the system:

1. automatically sets the quantity to invoice on each line equal to the quantity to ship/receive;
2. invoices at the same time, without G/L entries;
3. on purchases, uses the order number as the vendor invoice number.


On **sales orders** and **purchase orders**, the **Post without G/L** action is available next to the **Post** action.

1. Open the order.
2. Choose **Post without G/L**.
3. Confirm the message "Post ... without G/L?".

The system invoices the order's quantities to invoice without shipping or receiving goods and without G/L entries.


The **Batch Post without G/L** action is available on the following lists:

| List | Document invoiced |
|---|---|
| Posted Sales Shipments | Sales orders |
| Posted Purchase Receipts | Purchase orders |
| Posted Return Receipts | Sales return orders |
| Posted Return Shipments | Purchase return orders |

Procedure:

1. Open the list and choose **Batch Post without G/L**.
2. In the filter window, set at least one filter on the documents (for example number or date). Without filters, the error "Missing filters." is shown.
3. Confirm the message showing the number of documents and the posting date (work date).

For each selected document, the system:

- finds the source orders of the lines not yet invoiced;
- clears the quantities to invoice already on the orders and sets as quantity to invoice the document's shipped/received but not yet invoiced quantities;
- posts the invoice (or credit memo) for the orders with the work date as posting date, without G/L;
- on purchases, uses the receipt or return shipment number as the vendor invoice or credit memo number.

Each document is saved individually: an error on one document does not undo those already processed. The number of the document being processed is shown during processing.

# First Depreciation Date as First Cost Document

This feature changes how the start date for calculating a fixed asset's depreciation is determined. Instead of relying on the FA posting date, the system uses the **posting date** of the FA ledger entries already in the depreciation book.

The feature works automatically: there are no new fields, pages or actions to set up.


When you calculate depreciation (for example with the **Calculate Depreciation** batch job), for each fixed asset and depreciation book the system determines the start date of the period to depreciate as follows:

| Situation | Depreciation start date |
|---|---|
| The asset already has (non-reversed) depreciation entries in the depreciation book | The day after the posting date of the last depreciation |
| The asset has not been depreciated yet but has (non-reversed) acquisition cost entries | The posting date of the first acquisition cost entry |
| None of the above | The standard logic applies |

Reversed entries are always ignored.


- During depreciation calculation, only FA ledger entries with an FA posting date up to the calculation date are taken into account. Entries with a later date do not affect the calculated amounts.


An asset is purchased with an invoice posted on 03/15, while the FA posting date is 04/01. On the first depreciation calculation, the period to depreciate starts on 03/15, the date of the first cost document. On later calculations, the period restarts from the day after the last posted depreciation.

# Legacy G/L

The module lets you keep, in ledger entries, references coming from a previous (legacy) system. Two additional fields, **Legacy No.** and **Legacy Batch No.**, can be filled in on general journal lines and are automatically carried over to the entries created when posting. This is useful, for example, when migrating balances or history, to trace back the original document and import batch.


The fields are hidden by default: use **Personalize** or **Choose Columns** on the page to show them.

| Page | Editable |
|---|---|
| General Journal | Yes |
| General Ledger Entries | No |
| Customer Ledger Entries | No |
| Vendor Ledger Entries | No |


| Field | Description |
|---|---|
| Legacy No. | Reference number of the document or entry in the previous system. |
| Legacy Batch No. | Number of the batch (import or posting batch) in the previous system. |


1. Open the general journal and show the **Legacy No.** and **Legacy Batch No.** columns.
2. Fill in the two fields on the lines to post (manually or by import).
3. Post the journal.
4. Review the values in **General Ledger Entries** and, for lines with a customer or vendor, in the related ledger entries.


- When posting, the **Legacy No.** and **Legacy Batch No.** values are copied to the G/L entries created from the line.
- If the line concerns a customer or vendor, the values are also copied to the customer or vendor ledger entry.
- On posted entries the fields are read-only.

# Apply per document

When you post a receipt or payment from a general journal and apply the line to several open entries of a customer or vendor, the system normally keeps a single journal line applied to all the selected documents.

With the **Apply per Document** option enabled on the journal batch, the system instead automatically creates a separate journal line for each selected document. This way each invoice or credit memo has its own line, with its own amount and reference.


1. Open the **General Journal Batches** page (for example from the general journal, **Batch Name** field).
2. Select the batch used for receipts and payments.
3. Turn on the **Apply per Document** field.

| Field | Description |
|---|---|
| **Apply per Document** | If enabled, applying a line to several open entries generates one journal line for each applied document. |


1. In a general journal using a batch with **Apply per Document** enabled, enter a line for the customer or vendor (as account or as balancing account).
2. Run the **Apply Entries** action.
3. On the open entries page, select the documents to apply with **Set Applies-to ID** and, if needed, enter the **Amount to Apply**.
4. Confirm with **OK**.


- For each selected document, a new journal line is created at the end of the batch, copying the data from the original line and setting:
  - the applies-to document type and number (in Italy also the installment number);
  - **Amount** equal to the document's amount to apply, with the correct sign depending on whether the customer/vendor is the account or the balancing account;
  - **External Document No.** of the applied document;
  - **Description** made of document type, external document number and customer/vendor name.
- If the batch already contains a line applied to the same document, no new line is created for it.
- The original line, if it was not applied to a specific document, is deleted and replaced by the new lines.
- If the option is not enabled on the batch, or no documents were selected, application works as standard.

# Apply G/L Entries

This feature lets you manage the general ledger entries of selected accounts as "open items", as is done for customers and vendors: each entry has a **Remaining Amount** and an **Open** status, and it can be applied to other entries of opposite sign on the same account until it is closed.

It is useful for transit, clearing or suspense accounts, where you want to know at any time which entries have not yet been matched.


1. Open the **G/L Account Card** of the account.
2. Turn on the **Detailed Entries** field.
3. Confirm the request.

When enabled, the system processes all entries already posted on the account (showing a progress window) and makes them all open, with a remaining amount equal to the entry amount.

| Field | Description |
|---|---|
| Detailed Entries | Enables open-item management for the account's entries. It cannot be turned off if detailed entries already exist for the account. |


The **General Ledger Entries** page shows the new fields:

| Field | Description |
|---|---|
| Remaining Amount | Part of the entry amount not yet applied. Clicking the value opens the **Detailed G/L Entries** page. |
| Open | Indicates that the entry still has a remaining amount to apply. |

When G/L entries are opened filtered on a single account with **Detailed Entries** enabled:
- without a posting date filter, only open entries are shown;
- with a posting date filter, entries with a non-zero remaining amount at that date are shown (open items at a given date).



1. In **General Ledger Entries**, select an open entry with a remaining amount.
2. Choose the **Apply Entries** action.
3. The **Apply G/L Entries** page opens, showing at the top the data of the applying entry (**Document Type**, **Document No.**, **Posting Date**, **Remaining Amount**, **Amount to Apply**) and below the open entries of the same account with opposite sign.
4. Select one or more entries and choose **Select Entries to Apply**: the entries get the **Applies-to ID** and the **Amount to Apply** is proposed equal to the entry amount. Running the action again on selected entries clears the selection.
5. If needed, change the **Amount to Apply** on individual lines (it must have the same sign as the remaining amount and cannot exceed it).
6. Choose **Apply Entries** and confirm.

The total to apply cannot exceed the remaining amount of the applying entry. If you close the page without applying, the selections are cleared.


1. In **General Ledger Entries**, select several entries of the same account.
2. Choose the **Automatic Apply** action and confirm.

The system applies the selected entries of opposite sign to each other, in posting date order, until the remaining amounts are used up.


On general journal lines with **Account Type** = G/L Account and an account with **Detailed Entries** enabled:

- **Apply Entries**: opens the **Apply G/L Entries** page with the open entries of the account. Select entries with **Select Entries to Apply** and adjust the amounts to apply; when the page is closed, the journal line gets the **Applies-to ID** and its amount is set to the total (with opposite sign) of the amounts to apply. If nothing was selected, the amount is cleared.
- **Applies-to Doc. No.**: the lookup on the field opens the **Apply G/L Entries** page in selection mode; when you choose an entry, the line gets the document type and number to apply to and an amount equal to the remaining amount (with opposite sign).

The account and **Document No.** must be filled in on the line. When posting, the new entry is automatically applied to the indicated entries.


The **Detailed G/L Entries** page shows the history of each entry: an **Initial Entry** with the original amount and an **Application** line for each application.

| Field | Description |
|---|---|
| Entry No. | Sequential number of the detailed entry. |
| G/L Entry No. | G/L entry it refers to. |
| G/L Account No. | Account of the entry. |
| Entry Type | Initial Entry or Application. |
| Posting Date | Entry date; for applications it is the later date of the two applied entries. |
| Document No. | For applications, the document of the applied entry. |
| Amount | Amount of the detailed entry. |
| User ID | User who posted or applied the entry. |


1. Open **Detailed G/L Entries** (for example from the **Remaining Amount** field).
2. Select a line of type **Application**.
3. Choose **Unapply** and confirm.

The application is removed from both entries, which become open again.


- **Posting**: every new entry on an account with **Detailed Entries** is created open, with a remaining amount equal to its amount.
- **Reversal**: when a transaction is reversed, the original entry and the reversal entry are applied to each other automatically. An entry that is not open or that already has applications cannot be reversed: unapply it first.
- **Close income statement**: opening entries posted with the close income statement source code are automatically applied to the closing entry of the previous fiscal year.
- **Deleting or changing entries**: an entry with applications cannot be deleted or moved to another account; unapply it first.

# Allocation in G/L

The **Cost Allocation in G/L** function distributes the amounts posted on general ledger accounts according to the allocation rules defined in Cost Accounting (allocation sources and targets). Instead of working on cost entries, the allocation is performed directly on the general ledger:

- by creating lines in a general journal, to be reviewed and posted manually, or
- by posting the allocation directly as G/L adjustment entries.


Search for **Cost Allocation in G/L** using the search function (magnifying glass icon). The options page opens; the values entered are saved for the next run.


| Field | Description |
|---|---|
| Posting Date Filter | Period of the entries to allocate (required). The last date of the filter is used as the posting date of the allocation lines and to select the valid allocations. |
| Document No. | Document number assigned to all generated lines (required). |
| Allocate Adjustment Entries | When enabled, the allocation is calculated on the G/L adjustment entries and posted directly as an adjustment; the journal fields are not required. |
| Template Name | General journal template (non-recurring) where lines are written. Required when the previous option is disabled. |
| Batch Name | Journal batch where lines are written. Required when the adjustment option is disabled. |

If a required option is missing, the message "Missing options" is shown.


The Cost Accounting allocation sources used are those that:

- are not blocked;
- are valid at the posting date (valid-from date not later, and valid-to date not earlier or blank);
- have a cost type range filled in, interpreted as a range of G/L accounts.

From the setup the following are used:

- **Cost Type Range**: source G/L accounts from which amounts are taken;
- source **Cost Center** / **Cost Object**: if specified, only entries with these dimensions are considered;
- **Credit to Cost Type**: if specified, G/L account used as balancing account on the lines;
- for each target: **Target Cost Type** (G/L account), target **Cost Center** and **Cost Object**, and **Percent**.

Cost center and cost object correspond to the dimensions set in the Cost Accounting setup.


1. Define the allocations in Cost Accounting, with target percentages adding up to exactly 100.
2. Open **Cost Allocation in G/L**.
3. Enter **Posting Date Filter** and **Document No.**.
4. Choose whether to enable **Allocate Adjustment Entries**:
   - disabled: specify **Template Name** and **Batch Name**, run, then open the general journal, check the lines and post them;
   - enabled: run; the lines are posted immediately as adjustment entries.
5. At the end, a message shows the number of lines transferred to the journal or allocated as adjustments.


- For each source account with a non-zero balance in the period, a line reversing the amount from the source account (with the source dimensions) is created, plus one line for each target with its percentage share, on the target account and with the target dimensions.
- If a **Credit to Cost Type** account different from the source account is specified, it is used as balancing account on all lines.
- Amounts are rounded to the cent; any rounding difference is added to the last target line.
- The line description is "Allocation" followed by the allocation code.
- In the journal, new lines are added after those already in the batch.
- If the target percentages do not add up to 100, processing stops with an error indicating the allocation to correct.

# Check accounts in schedule

This feature checks that every posting G/L account is included in at least one line of an account schedule (financial report). At the end of the check, a list of the accounts not covered by any line is shown, making it easy to spot accounts missing from the schedule.


1. Open the account schedule to check (the **Account Schedule** page with the schedule lines).
2. In the **Actions** / processing menu, choose **Check Accounts...**.


When the action starts, the **Check Account Filter** window opens, where you can set filters on the G/L accounts to verify (for example a range of account numbers or only balance sheet accounts).

| Field | Description |
|---|---|
| Check Account Filter | Filter on G/L accounts used by the check. It is saved on the account schedule and proposed again automatically the next time you run the check. |


1. Open the account schedule and choose **Check Accounts...**.
2. Set or confirm the filters on the G/L accounts and choose **OK**.
3. Wait for the processing to finish: a window shows the number of the account being checked.
4. If some accounts are not included in the schedule, the error messages page opens with one message per account, in the form "Account *number* *name* is missing".
5. If all accounts are included, the check ends without showing any message.


- Only accounts of type **Posting** are checked; heading, total and other account types are ignored even if they match the filter.
- An account is considered present if it falls within the **Totaling** filter of at least one schedule line with totaling type **Posting Accounts**. Lines of other types (for example formulas or total accounts) are not considered.
- The filter is saved on the account schedule only if it does not exceed the maximum allowed length; otherwise the check still runs, but the filter is not stored.
- If you cancel the filter window, the check is not run.

# Allow invoicing to same bill-to and different sell-to, different categories

When you post a purchase invoice created from receipt lines (**Get Receipt Lines** function), the system checks that each invoice line matches the receipt line it comes from.

With this module the check is less strict: a single invoice can include receipts from **different buy-from vendors** (**Buy-from Vendor No.** field), as long as they share the same vendor to be invoiced (**Pay-to Vendor No.**), and lines whose **posting groups** (general business and general product posting groups) differ from the original receipt.


The behavior is automatic and requires no setup:

1. Open a **Purchase Invoice** for the pay-to vendor.
2. Use the **Get Receipt Lines** action and select the receipts, including those from different buy-from vendors.
3. If needed, change the posting groups on the invoice lines.
4. Post the invoice.


During posting, each invoice line must still match the receipt line for the following fields:

| Field | Description |
|---|---|
| Type | Line type (item, G/L account, etc.). |
| No. | Item, account or resource number. |
| Job No. | Job linked to the line. |
| Unit of Measure Code | Unit of measure of the line. |
| Variant Code | Item variant. |
| Prod. Order No. | Linked production order. |

If any of these values does not match, posting is stopped with an error message.


- The system no longer checks that the buy-from vendor of the receipt line matches the one on the invoice.
- The system no longer checks that the posting groups of the invoice line match those of the receipt: the invoice is posted with the posting groups on the invoice lines.

# Disable deletion of master data with entries

This feature prevents a master record from being deleted when entries have already been posted for it. This avoids losing the link between posted entries and the record they refer to.

The check is always active and requires no setup.


| Record | Entries checked |
|---|---|
| Fixed assets | FA ledger entries |
| Bank accounts | Bank account ledger entries |
| G/L accounts | G/L entries |
| Customers | Customer ledger entries |
| Vendors | Vendor ledger entries |


When you try to delete one of the records listed above (for example with the **Delete** action from the list or the card):

- if no entries exist for the record, it is deleted normally;
- if at least one entry exists, the deletion is cancelled and the message *"Unable to delete <number>, entries exists"* is shown, where *<number>* is the record number.

To stop using a record that has entries, use the standard blocking options instead (for example the **Blocked** field).

# Allow posting no per batch

This feature lets you specify, directly on sales journal lines, a different posting number series for each line. When the option is enabled on the journal batch, posting skips the standard posting number series check and instead verifies that each document is balanced.


- **General Journal Batches**: new field **Allow Posting No.** on the batch line.
- **Sales Journal**: new field **Posting No. Series** on the journal lines.



| Field | Description |
|---|---|
| Allow Posting No. | When enabled, posting does not perform the standard posting number series check on the batch lines and instead verifies that each document is balanced. |


| Field | Description |
|---|---|
| Posting No. Series | Posting number series to use for the line. In the Italian version, only Sales-type number series are offered. |


1. Open the **General Journal Batches** page for the journal template you need.
2. Enable **Allow Posting No.** on the batch.
3. In the **Sales Journal**, fill in **Posting No. Series** on the relevant lines.
4. Post the journal.


- When posting, for lines with **Posting No. Series** filled in, the system groups lines by posting number series, document number and posting date and checks that the amounts total zero.
- If a document is unbalanced, posting stops with a message showing the document number, posting date and unbalanced amount.

# Batch posting journal per document

The module adds an action to the **Sales Journal** that posts the batch lines **one document at a time**. Each document (lines sharing the same **Document No.**) is posted separately only if it is balanced; unbalanced documents stay in the journal without preventing the other documents from being posted.


1. Open the **Sales Journal** page.
2. Select the batch to post.
3. In the posting actions, next to **Post**, choose **Post batch per document**.


1. Choose **Post batch per document**.
2. Confirm the question **Post batch per document?**.
3. The system goes through all lines of the batch, grouped by **Document No.**, and posts each balanced document.
4. When finished, only the lines of documents that could not be posted remain in the journal.


- Only lines with an **Account No.** filled in are considered.
- A document is considered balanced when the sum of the amounts of its lines without a **Bal. Account No.** is zero. Lines with a balancing account are balanced on their own and do not affect the check.
- Unbalanced documents are skipped without error messages and remain in the batch so they can be corrected.
- Each document is posted and saved independently: a problem on a later document does not undo those already posted.

# Posting categories on finance charge

This feature adds two posting groups to finance charge terms: the general product posting group and the VAT product posting group. These groups are used when payment finance charges are automatically added as a charge on sales invoices, so they determine the G/L accounts and the VAT treatment of the charge line.


1. Search for and open the **Finance Charge Terms** page.
2. Open the card of the desired finance charge terms.
3. The new fields are at the bottom of the **General** FastTab.


| Field | Description |
|---|---|
| **Gen. Prod. Posting Group** | General product posting group assigned to the finance charge line. It determines the revenue accounts used when posting. |
| **VAT Prod. Posting Group** | VAT product posting group assigned to the finance charge line. It determines how VAT is calculated on the line. |


1. Open the finance charge terms card.
2. On the **General** FastTab, fill in **Gen. Prod. Posting Group** by choosing a group from the list.
3. Fill in **VAT Prod. Posting Group** by choosing a group from the list.
4. Close the card.


- When finance charge terms are assigned to a customer in the **Payment Fin. Charge Code** field and payment finance charges are calculated on a sales invoice, a charge line is created with the line description of the finance charge terms and the two posting groups set on the terms.
- If either posting group is blank on the finance charge terms, the system shows an error asking you to fill it in before continuing.

# Easy batch import from Excel

This feature loads into a **General Journal** batch the lines prepared in an Excel file. The current content of the batch is replaced by the lines in the file.


Open the **General Journals** page, select the desired batch, and use the **Import from Excel** action in the **Functions** group.


| Element | Description |
|---|---|
| Format | `.xlsx` file. |
| Sheet | The sheet to import must be named **Batch**. |
| First row | Column headers: each cell must contain exactly the name of a journal line field, as shown in the user's language (for example *Posting Date*, *Account Type*, *Account No.*, *Amount*). |
| Following rows | Each row of the sheet becomes a line of the batch; cells are assigned to the field named in the column header. |


1. Open **General Journals** on the batch where you want to import the lines.
2. Choose **Functions** > **Import from Excel**.
3. Confirm the message warning that the current batch will be erased.
4. Select the Excel file to upload.
5. When finished, the imported lines appear in the batch, ready to be reviewed and posted.


- Before importing, all lines already in the batch are deleted.
- Lines are numbered automatically in the order of the file.
- Values are entered with the same logic as manual entry: field validations and automatic completions (for example the description proposed from the account) are applied.
- If a column header does not match any field, if the **Batch** sheet does not exist, or if a value is not valid for its field, the import stops with an error.

# Import Fixed Assets from Excel

This feature lets you create or update fixed asset cards from an Excel file and prepare, in the **Fixed Asset Journal**, the acquisition cost and accumulated depreciation lines to post. It is especially useful for the initial load of fixed assets during go-live.


Open the **Fixed Assets** page and use the **Import Export from Excel** action. You are asked to choose between:

- **Export template**: downloads an empty Excel file with the column headers;
- **Import fixed assets**: uploads a completed Excel file.


- The first depreciation book defined must not have G/L integration enabled for acquisition cost and depreciation.
- The **FA Journal Setup** for the depreciation book (for the current user or generic) must specify the fixed asset journal template and batch.


The file must be in `.xlsx` format and contain a sheet named **Fixed Assets** (the sheet name used in the exported template). The first row contains the headers; each following row represents one fixed asset. Columns are read by position, in this order:

| Column | Description |
|---|---|
| No. | Fixed asset number. If it does not exist, the fixed asset is created. |
| Description | Fixed asset description. |
| FA Class Code | Fixed asset class. |
| FA Subclass Code | Fixed asset subclass; the same code is also used as the FA posting group in the depreciation book. |
| Global Dimension 1 Code | Value of the first global dimension. |
| Depreciation Starting Date | Depreciation start date in the depreciation book. |
| Straight-Line % | Depreciation percentage. If zero, the depreciation method is set to **Manual**, otherwise to **Straight-Line**. |
| Document No. | Document number of the acquisition cost line. |
| Document Date | Posting date of the acquisition cost line. |
| Historical Cost | Acquisition cost amount. |
| Depreciation at Date | Posting date of the depreciation line. |
| Depreciation Value | Accumulated depreciation amount. |


1. On the **Fixed Assets** page choose **Import Export from Excel** > **Export template** and save the file.
2. Fill in the file, one row per fixed asset, without changing the column order.
3. Choose **Import Export from Excel** > **Import fixed assets** and select the file.
4. When finished, the **Fixed Asset Journal** opens with the generated lines: review and post them.


- Fixed assets that do not exist are created; existing ones are updated with the values from the file.
- If the fixed asset does not yet have the depreciation book, it is added automatically.
- Before importing, the fixed asset journal batch specified in the setup is **cleared**.
- For each fixed asset with a **Historical Cost** greater than zero, an **Acquisition Cost** line is created with the document number and date from the file.
- For each fixed asset with a **Depreciation Value** greater than zero, a **Depreciation** line is created with a negative amount; the document number is `DEPR` followed by the last two digits of the depreciation date's year.

# Remove "simple" view from Fixed Assets

In standard Business Central, the **Fixed Asset Card** uses a "simple" view when the asset has only one depreciation book: instead of the list of books, it shows a few fields of that book (depreciation book code, depreciation method, depreciation starting date, number of years, etc.) directly on the **Depreciation** FastTab.

This module turns off the simple view: the **Fixed Asset Card** always shows the full **Depreciation Books** list, even when the asset has only one book or none yet.


1. Search for **Fixed Assets** and open the list.
2. Open an existing fixed asset or create a new one.
3. On the **Fixed Asset Card**, the depreciation books section is always shown as a list.


- When the card opens and whenever the depreciation books are reloaded, the view is forced to list mode.
- No setup is required: the behavior applies to all fixed assets.
- From the list you can add, edit and review depreciation books with all their fields, consistently for assets with one or several books.

# Draft Credit Memo

The module adds the **Draft Cr. Memo** action to the **Sales Credit Memo** card, letting you print or preview a draft of the credit memo before posting it, to check its content.

The report used for the draft is set up in **Report Selection - Sales**, through the new **Draft Cr. Memo** usage.


1. Search for **Sales Credit Memos** and open the list.
2. Open the credit memo you want.
3. In the actions menu (**Processing** area), choose **Draft Cr. Memo**.


1. Search for **Report Selection - Sales**.
2. In the **Usage** field, select **Draft Cr. Memo**.
3. Add one or more lines specifying the report to use for the draft.

| Field | Description |
|---|---|
| Usage | Select **Draft Cr. Memo** to set up the reports for the credit memo draft. |
| Sequence | Order in which the reports run, if more than one is set up. |
| Report ID | Report used to print the draft. |


1. Open the unposted sales credit memo.
2. Choose the **Draft Cr. Memo** action.
3. On the report request page, choose whether to print, send, or preview the document.


- Printing unposted sales credit memos uses the reports set up for the **Draft Cr. Memo** usage in **Report Selection - Sales**.
- Printing the draft does not post the document and does not change its data.

# No. Series document description

This feature lets you assign a document description to a number series (for example "Service report" or "Return note"). When sales shipments are invoiced, the descriptive lines that refer to the shipment use this description instead of the standard "Transport doc." text.


1. Search for and open the **No. Series** page.
2. The **Document Description** field is hidden by default: add it to the view by personalizing the page (**Personalize** or **Show column**).


| Field | Description |
|---|---|
| **Document Description** | Text (up to 50 characters) identifying the type of document numbered with this series. If empty, the standard descriptions are used. |


1. Open the **No. Series** page.
2. Make the **Document Description** column visible.
3. On the line of the series used for sales shipments, enter the description you want.


- **Shipment reference line on the invoice.** When shipment lines are added to an invoice (for example with **Get Shipment Lines**), the descriptive line preceding the shipment lines becomes "*<Document Description>* no. *<number>* of *<posting date>*" instead of "Transport doc. no. *<number>* of *<date>*".
- **Total line in Enhanced Combine Shipments.** When running **Enhanced Combine Shipments**, the total line of each shipment becomes "Total *<Document Description>* amount *<currency>* *<amount>*" instead of "Total shipment amount *<currency>* *<amount>*".
- If the shipment's number series has no document description, the standard texts are kept.

# Retain payment method on Credit Memo

In the standard application, when you create a sales credit memo or a sales return order, the **Payment Method Code** field is not filled in from the customer. With this feature, the customer's payment method is automatically copied to these documents as well.


- **Sales Credit Memos**
- **Sales Return Orders**


When the bill-to customer is set on the document (directly or through the customer):

| Situation | Result |
|---|---|
| The document has no payment method yet and the customer card has one | The document's **Payment Method Code** field is filled in with the customer's |
| The document already has a payment method | The existing value is kept |
| The customer has no payment method | The field is left unchanged |

You can always change the payment method manually on the document.

# Simplified payments from document lists

The module lets you post the receipt or payment of a posted document directly from its list, without using the general journals. The entry is posted and automatically applied to the document, closing it fully or partially.

It is available for:

- **Posted Sales Invoices** and **Posted Sales Credit Memos** (customer receipts and refunds);
- **Posted Purchase Invoices** and **Posted Purchase Credit Memos** (vendor payments and refunds).


In the lists above, select the document and choose the **Payment** action among the processing actions. The **Payments** page opens.

The action can be used only if the document still has a remaining amount; otherwise an error is shown.


| Field | Description |
|---|---|
| **Document Type** | Invoice or credit memo. Read-only. |
| **Document No.** | Number of the selected document. Read-only. |
| **Posting Date** | Date of the entry. Defaults to the work date. Mandatory. |
| **Account Type** | Balancing account type: **G/L Account** or **Bank Account**. |
| **G/L Account No.** | Balancing G/L account (for example cash). Enabled only when the account type is **G/L Account**. |
| **Bank Account No.** | Balancing bank account. Enabled only when the account type is **Bank Account**. |
| **Payment Amount** | Amount to post. Defaults to the document's remaining amount; it can be reduced for a partial payment but cannot exceed the remaining amount. Mandatory. |

Account type and account numbers are remembered and proposed again the next time the page opens.


1. Open the list of posted documents (for example **Posted Sales Invoices**).
2. Select the document to pay or collect and choose **Payment**.
3. Check or change the **Posting Date**.
4. Choose the **Account Type** and enter the G/L account or bank account.
5. Confirm or reduce the **Payment Amount**.
6. Choose **Post Payment** and answer **Post payment?** with Yes.

The page closes and the list is updated with the new remaining amount.


- A **payment** is posted for invoices and a **refund** for credit memos.
- The document number of the entry is the posting date in YYYYMMDD format (for example `20261202`).
- The entry is applied to the selected document; if the document has several open installments, the amount is spread over them in order until it is used up.
- Before posting, date, account and amount are checked; if missing or invalid a message is shown (**Missing posting date**, **Missing account no.**, **Invalid amount**).

# Agent "Alice" purchases invoices posting

The "Alice" agent automatically posts purchase invoices received electronically (inbound Italian electronic invoices). For each received e-invoice not yet processed, the agent creates the purchase document, releases it and posts it, without manual intervention.

Documents posted by the agent show **+ALICE** as the user, so they can be told apart from manually posted ones.


- Search for the **Alice Agent Setup** page to configure the agent.
- The agent runs through a job queue entry, which can be scheduled to run periodically.


| Field | Description |
|---|---|
| Partner Group Filter | Limits processing to e-invoices from vendors belonging to the specified partner groups. Standard filters can be used (e.g. `GROUP1\|GROUP2`). If empty, all invoices are considered. |

In **Purchases & Payables Setup**, the **Allow Posting From** and **Allow Posting To** fields must be filled in: they define the date range in which the agent can post.


The agent considers e-invoices that:

- are inbound;
- already have the vendor identified;
- are not yet linked to a purchase document or a posted document;
- belong to a partner group included in the setup filter.


For each invoice the agent calculates the posting date:

1. It starts from today's date, capped at **Allow Posting To**.
2. If the invoice was received after that date, it is not processed.
3. If the invoice was received in a previous year, December 31 of the receipt year is used.
4. If it was received in a previous month of the same year, the last day of the receipt month is used, provided it is after the last VAT settlement.
5. The invoice is not posted if the resulting date is before **Allow Posting From** or not after the last VAT settlement date.


- The document is created from the e-invoice, released and posted as a purchase invoice or credit memo.
- If the document has differences from the order, it is not posted.
- If posting fails for any reason, the created purchase document is deleted and the e-invoice remains to be processed (manually or in a later run).
- When the agent is started manually, after each posting it asks for confirmation before continuing with the next invoice.

# Enhanced Advance Management

This feature tracks advances invoiced to customers in a dedicated ledger, the **Advance Entries**. Every sales invoice or credit memo line posted to a G/L account flagged as an advance creates an advance entry with its remaining amount. Entries with opposite signs (for example the advance invoice and its later reversal in the final invoice) can then be applied to each other, manually or directly when posting the document, so you always know which advances are still open.


The **Gen. Product Posting Groups** page has the field:

| Field | Description |
|---|---|
| Advance Entry | When enabled, sales lines using this group are treated as advance lines and create an advance entry when posted. |

Assign this group to the G/L accounts used to invoice and reverse advances.


When you select a G/L account on a sales line (or change the **Gen. Prod. Posting Group**), the line automatically inherits the **Advance Entry** setting from the group and the **Apply To Advance No.** field is cleared.

Sales invoice lines include the following field (hidden by default, can be shown by personalizing the page):

| Field | Description |
|---|---|
| Apply To Advance No. | Open advance entry the line is applied to when posted. Only open entries for the same bill-to customer, with the same general and VAT product posting groups, can be selected. It can only be filled in on advance lines. |

Advance lines must be of type **G/L Account**: other line types cause an error when posting.


When a sales invoice or credit memo is posted, for each advance line:

- an advance entry is created for the bill-to customer, with the line's date, document, description, account, posting groups, currency and dimensions;
- the line amount becomes the initial amount of the entry (with the opposite sign of the line);
- if **Apply To Advance No.** is filled in, the new entry is immediately applied to that advance. This is only possible if the two entries have opposite signs and the remaining amount of the advance is sufficient; otherwise posting stops with a message showing the missing amount.

If a posted invoice or credit memo is deleted with the ledger deletion function, its advance entries are deleted too, provided they are still open and not applied.


Search for **Advance Entries**, or use **Find entries** from a posted document.

| Field | Description |
|---|---|
| Source Type | Customer or vendor the advance refers to. |
| Source No. | Customer or vendor number. |
| Posting Date | Posting date of the document. |
| Document Type | Invoice or credit memo. |
| Document No. | Posted document number. |
| Type / No. | G/L account of the advance line. |
| Description | Line description. |
| Gen. Prod. Posting Group | General product posting group. |
| VAT Prod. Posting Group | VAT product posting group. |
| Currency Code | Document currency (hidden by default). |
| Amount / Amount (LCY) | Initial advance amount, in currency and local currency. |
| Remaining Amount / Remaining Amount (LCY) | Amount not yet applied. |
| Open | Shows whether the entry still has a remaining amount. |
| Global dimensions | Global dimension 1 and 2 codes (hidden by default). |

Actions:

- **Apply**: applies the selected entries to each other.
- **Find entries...**: opens the Find Entries page for the document of the selected entry.

Drilling down on the amounts opens the **Detailed Advance Entries** page.


1. Open **Advance Entries** and select the entries to apply (for example the advance invoice and the invoice that reverses it).
2. Choose **Apply** and confirm.
3. In posting date order, entries with opposite signs for the same customer and with the same general and VAT product posting groups are applied for the smaller of the two remaining amounts. The application date is the later of the two posting dates.
4. Entries whose remaining amount reaches zero are closed (**Open** cleared).


The **Detailed Advance Entries** page shows each change to an advance:

| Field | Description |
|---|---|
| Source Type / Source No. | Customer or vendor. |
| Entry Type | **Initial Entry** (advance amount) or **Application** (application to another entry). |
| Posting Date | Date of the entry or application. |
| Document Type / Document No. | Reference document. |
| Currency Code | Currency (hidden by default). |
| Amount / Amount (LCY) | Amount of the change. |


1. On the **Detailed Advance Entries** page, select a line of type **Application**.
2. Choose **Unapply** and confirm.
3. The application is removed from both entries involved, which reopen with their previous remaining amount.

# Inventory

# Item Ranking

This feature lets you classify items into ranking classes (for example A, B, C) according to their weight on sales. Each item can be assigned a ranking code and an absolute position in the overall ranking. Replenishment functions then use the ranking to sort items and apply class-specific parameters.


- **Item Ranking**: search for the *Item Ranking* page with Tell Me (Alt+Q).
- **Item Card**: on the item card, **Inventory** FastTab.
- **FactBoxes**: the ranking code is also shown in the item details FactBox of purchase lines and in the item replenishment FactBox.


| Field | Description |
|---|---|
| Code | Code identifying the ranking class. |
| Description | Description of the class. |
| Sales Top % | Sales percentage identifying the class (for example the items making up the top 20% of sales). |
| Replenishment Demand Multiplier | Factor by which the demand of items in the class is multiplied when calculating replenishment. Available when the replenishment feature is enabled. |
| Purchase UoM Rounding Threshold % | Percentage threshold for rounding to the purchase unit of measure proposed for items in the class. Available when the replenishment feature is enabled. |
| Item Multiply | Multiple proposed for quantities of items in the class. Available when the replenishment feature is enabled. |


The **Inventory** FastTab of the **Item Card** shows the following read-only fields:

| Field | Description |
|---|---|
| Ranking Code | Ranking class the item belongs to. |
| Absolute Ranking | Position of the item in the overall ranking. |


When calculating replenishment:

- items are sorted by **Absolute Ranking**; items without a ranking are considered last;
- if a **Replenishment Demand Multiplier** is set for the item's class, the demand is multiplied by that value;
- if an **Item Multiply** is set for the class, it is proposed on the replenishment line when not already specified;
- if a **Purchase UoM Rounding Threshold %** is set for the class, it is copied to the requisition line as the purchase unit of measure rounding threshold.

# Enhanced Search Description

This module makes the item **Search Description** field more effective. When enabled, every time an item's **Description** is changed, the **Search Description** is automatically recalculated in a "normalized" form: letters and digits only, without spaces, punctuation or symbols, with optional user-defined character replacements.

This way, descriptions written in different ways (for example `Screw M6x20 - stainless` and `SCREW M6 X 20 STAINLESS`) produce similar search descriptions that are easier to find.

The **Search Description** field is also shown directly on the item card.


Open the **Inventory Setup** page; the **General** FastTab contains the new fields:

| Field | Description |
|---|---|
| Enhanced Item Search Description | Enables the automatic calculation of the normalized search description. When disabled, Business Central behaves as usual. |
| Search Description Replace | Comma-separated list of rules applied to the description before normalization (see below). Maximum 50 characters. |


Each rule in the list can be:

- **two characters** `XY`: every `X` character is replaced with `Y` (e.g. `àa` turns "à" into "a");
- **one character** `X`: the `X` character is removed (e.g. `-`);
- **`$`**: removes consecutive repeated characters (e.g. "BOTTLE" becomes "BOTLE").

Example: `àa,èe,ìi,òo,ùu,$`

Replacements are case-sensitive.


On the **Item Card** page, right after the **Description** field, the **Search Description** field is shown and can be viewed or edited manually.


When an item's **Description** is changed and **Enhanced Item Search Description** is enabled:

1. the **Search Description Replace** rules are applied in order;
2. only letters (A-Z, a-z, without accents) and digits are kept; spaces, punctuation, symbols and accented letters that were not replaced are discarded;
3. if the `$` rule is present, identical consecutive characters are reduced to one;
4. the result is written to the **Search Description** field.

Example, with no rules: `Screw M6x20 - stainless` becomes `ScrewM6x20stainless`.

Existing items are not updated until their description is changed.

# Requested quantity

This feature stores the **Requested Quantity** on document lines, that is the quantity originally ordered, and lets you "close" a line by reducing its quantity to what has already been shipped or received, while keeping track of what was requested. This way you can always compare what was ordered with what was actually fulfilled.


The **Requested Quantity** field is shown, read-only and before the **Quantity** field, on the lines of:

- **Sales Order**;
- **Purchase Order**;
- **Purchase Return Order**;
- **Transfer Order**;
- order lines of the sales Call Center page.

The value is also carried to the lines of posted documents: sales shipments and invoices, sales credit memos, return receipts, purchase receipts and invoices, purchase credit memos, return shipments, transfer shipments and receipts.


| Field | Description |
|---|---|
| Requested Quantity | Quantity entered by the user in the line's **Quantity** field. It cannot be edited directly and does not change when the quantity is closed. |


| Action | Where | Effect |
|---|---|---|
| Close Quantity | **Sales Order** lines (line Actions menu) | Reduces the line quantity to the quantity already shipped. |
| Close Quantity | **Purchase Order** and **Purchase Return Order** lines | Reduces the line quantity to the quantity already received. |
| Close Quantities | **Purchase Order** header, **Functions** menu | Closes all order lines with an outstanding quantity, setting them to the quantity already received. |



1. Open the order and select the line.
2. Choose the **Close Quantity** action.
3. Confirm the message *Close line quantity from X to Y?*, where X is the current quantity and Y the quantity already shipped/received.

The action works only if the line quantity is greater than zero. After closing:

- **Quantity** becomes equal to the quantity already shipped or received and the outstanding quantity is cleared;
- quantities to ship, receive and invoice are set to zero;
- the line discount is recalculated;
- **Requested Quantity** keeps its original value.

Closing is allowed even when the system would normally prevent changing the line quantity.


1. Open the **Purchase Order**.
2. From the **Functions** menu choose **Close Quantities**.
3. Confirm the message *Close all quantities?*.

All lines with an outstanding quantity are closed to the quantity already received.


- When the user enters or changes the **Quantity** of a sales, purchase or transfer line, **Requested Quantity** is updated with the same value.
- When a transfer shipment is posted, the requested quantity is carried to the shipped line.
- Sales and purchase lines with zero quantity but with a requested quantity are still included in the sales shipment (if the location matches the header) or in the purchase receipt, so the document also shows what was requested and not fulfilled.
- The requested quantity is carried only to the first shipment or receipt of an order line: on later shipments or receipts of the same line, if it differs from the shipped/received quantity, it is left blank so it is not repeated.

# No series per location

This feature lets you assign each location its own number series for posted shipments. Shipments posted from a location then get a numbering distinct from the default one defined in the setup.


Open the **Location Card** of the location. The new field is on the **Number Series** FastTab.


| Field | Description |
|---|---|
| Posted Shipment Nos. | Number series used for posted shipments leaving this location. If empty, standard numbering applies. |


1. Open the **Location Card**.
2. On the **Number Series** FastTab, select the desired number series in the **Posted Shipment Nos.** field.
3. Post documents as usual: the shipment number is assigned automatically from the location's series.


- **Sales orders:** when posting the shipment of a sales order with a location code, if the shipping number has not already been assigned, it is taken from the location's **Posted Shipment Nos.** series. This does not happen in posting preview.
- **Purchase return orders:** when posting the return shipment of a purchase return order with a location code, if the return shipment number has not already been assigned, it is taken from the same location series.
- If the location has no series set, or the document has no location code, the standard Business Central numbering applies.

# Item Taxes

This feature lets you assign fixed-amount taxes or levies (for example environmental fees or excise duties) to items and add them automatically to sales documents. When you insert or change an item line on a sales document, the system creates one or more additional lines below it carrying the tax amount, calculated from the quantity sold.

Setup is organized in three levels:

1. **Item Tax Groups**: group taxes together (e.g. by regulation).
2. **Item Tax Types**: the individual taxes within each group.
3. **Item Tax Setup**: how each tax type is posted and handled, per customer VAT business posting group.

Finally, on the item card you specify which taxes apply to the item and their amounts.


- **Item Tax Groups** and **Item Tax Setup**: search for the pages with "Tell me what you want to do".
- **Tax Types**: from the **Item Tax Groups** page, **Tax Types** action.
- **Tax Setup**: from the **Item Tax Groups** or **Item Tax Types** page, **Tax Setup** action (the page opens filtered on the selected group or type).
- **Item Taxes**: from the **Item Card** page, **Item** navigation menu, **Item Tax** action.


| Field | Description |
|---|---|
| Code | Code of the tax group. |
| Description | Description of the group. |


| Field | Description |
|---|---|
| Code | Code of the tax type within the group. |
| Description | Description of the tax. This text is used as the description of the tax line created on sales documents. |


For each tax group and type you can define one or more lines, one for each customer VAT business posting group the tax applies to.

| Field | Description |
|---|---|
| Item Tax Type | Tax type the setup refers to. |
| Apply-to VAT Bus. Posting Group | Customer VAT business posting group (of the sales line) the setup applies to. |
| Tax Gen. Prod. Posting Group | If filled in, the tax line is created as a G/L Account line, using the sales account (for orders and invoices) or the sales credit memo account (for other documents) defined in the General Posting Setup for the customer's business posting group and this product posting group. |
| Tax Item Charge | Item charge used for the tax line when the previous field is blank. In this case the line is created with type **Charge (Item)**. |
| Tax VAT Prod. Posting Group | If filled in, VAT product posting group assigned to the tax line. |
| Sales Handling | Behavior on sales: blank (no handling), **Track**, **Track and apply**. Only with **Track and apply** are tax lines added automatically to sales documents. |
| Purchases Handling | Behavior on purchases: blank, **Track**, **Track and apply**. |


| Field | Description |
|---|---|
| Item No. | Item the tax applies to (filled in automatically when the page is opened from the item card). |
| Variant Code | Item variant (hidden by default). |
| Item Unit of Measure | Item unit of measure the tax refers to. |
| Item Quantity Factor | Factor multiplied by the quantity sold (in base unit of measure). |
| Tax Group | Tax group. |
| Tax Type | Tax type of the selected group. |
| Tax Quantity | Tax quantity per item unit. |
| Tax Unit Amount (LCY) | Tax amount per unit, in local currency. |
| Tax Unit of Measure | Unit of measure the tax is expressed in (informational). |


1. Open **Item Tax Groups** and create a group.
2. Use the **Tax Types** action to create the group's tax types.
3. Use the **Tax Setup** action to define, for each type and customer VAT business posting group, how the tax is posted (product posting group or item charge), and set **Sales Handling** to **Track and apply**.
4. Open the item card, choose **Item Tax**, and add a line for each tax to apply, filling in group, type, quantity, factor and unit amount.


- When you insert an item line on a sales document, or change its type, number, quantity, variant or unit of measure, the system deletes the tax lines previously generated for that line and recreates them.
- Only item taxes with a group and type and with tax quantity, factor and unit amount greater than zero are considered. If the line has a variant, the taxes for that variant are used. Taxes for the line's unit of measure are looked up first; if there are none, the item's taxes are used regardless of unit of measure.
- For each tax, the setup matching the group, type and the line's VAT business posting group is looked up; the tax line is created only if **Sales Handling** is **Track and apply**.
- The tax line is inserted right below the item line, with:
  - description equal to the tax type description;
  - quantity = item quantity factor × base quantity sold × tax quantity;
  - unit price = tax unit amount; if the document has prices including VAT, the amount is increased by the tax line's VAT.
- Deleting the item line also deletes the related tax lines. Setting the quantity to zero removes the tax lines.

# Default in transit code

This feature lets you set a default in-transit location code that is automatically suggested on transfer orders.


Open the **Inventory Setup** page and, on the **General** FastTab, fill in the new field.

| Field | Description |
|---|---|
| Default In-Transit Code | In-transit location suggested on new transfer orders. Only locations with the **Use As In-Transit** option enabled can be selected. |


1. Open **Inventory Setup**.
2. On the **General** FastTab, select the location in the **Default In-Transit Code** field.
3. Create a transfer order and fill in the **Transfer-to Code** field: the **In-Transit Code** field is filled in automatically.


- When you fill in **Transfer-to Code** on a transfer order, if the **In-Transit Code** field is empty it is filled with the **Default In-Transit Code** value.
- If **In-Transit Code** already has a value, it is not changed.
- If the field is empty in **Inventory Setup**, no value is suggested.

# Negative transfer

This feature lets you post item transfers between locations even when the quantity available at the source location is not sufficient. The source location can therefore go into negative inventory, while the destination location still receives the full transferred quantity.

There are no new pages, fields or actions: the behavior applies automatically to **Transfer Orders** and to transfer postings made from item journals (for example the **Item Reclassification Journal**).


1. Create a **Transfer Order** as usual, entering the source location, destination location, items and quantities.
2. Post the shipment: posting is no longer blocked if the item is not available in sufficient quantity at the source location.
3. Post the receipt: the destination location receives the full transferred quantity, including the part that was not available at the source.


- **Availability check on shipment:** when posting a transfer order shipment, the available inventory check is skipped.
- **Negative inventory at the source:** the unavailable part of the quantity remains as an open negative entry at the source location, which will be closed by subsequent receipts.
- **Items with "Prevent Negative Inventory":** if negative inventory is blocked for the item (or in **Inventory Setup**), a negative transfer is not allowed and the usual error message is shown.
- **Valuation:** transfer entries are valued using an average cost approach and linked to the source entries as a cost application, so that the destination cost follows the actual source cost when **Adjust Cost - Item Entries** is run. The costing method on the item card is not changed.
- **Unapplying entries:** you can unapply transfer entries (for example from the **Application Worksheet** page) without the system preventing it because of the entry type.

# Storage information

The module adds storage information to the item card: storage notes, shelf life in days, and whether the item must be kept in a refrigerator.


1. Open the **Items** page and select an item to open the **Item Card**.
2. Expand the **Item Tracking** FastTab: the new fields are at the bottom of the section.


| Field | Description |
|---|---|
| **Storage Note** | Free text (up to 100 characters) with instructions for storing the item correctly. |
| **Duration (days)** | Shelf life of the product, in days. |
| **In Refrigerator** | When turned on, indicates that the item must be stored in a refrigerator. |


1. Open the **Item Card** of the item.
2. On the **Item Tracking** FastTab, fill in **Storage Note** and **Duration (days)**.
3. Turn on **In Refrigerator** if the product requires refrigerated storage.

The information is saved automatically with the item.

# Simplified item tracking

Simplified item tracking lets you manage lot numbers, serial numbers and expiration dates without using standard Business Central item tracking (tracking lines linked to document lines). Tracking data is entered directly on documents (orders, picks, journals) or in a dedicated **Item Tracking Lines** page, and is checked at posting according to the assigned item tracking code.



The Business Central **Item Tracking Code Card** has these new fields:

| Field | Description |
|---|---|
| Sales Minimum Expiration | Date formula for the minimum remaining shelf life required to sell or ship a lot. If the expiration date is earlier than the calculated date (from the posting date or work date), posting is blocked. |
| Lot Transfer Tracking (outbound) | Requires a lot number on transfer order shipments. Cannot be combined with lot specific tracking. |
| Lot SN Tracking (outbound) | Requires a serial number on transfer order shipments. Cannot be combined with SN specific tracking. |

The other standard settings of the code (lot/SN tracking for purchases, sales, transfers and adjustments, use of expiration dates) determine which data is mandatory.


On the **Item Card**, after the **Item Tracking Code** field, you find:

| Field | Description |
|---|---|
| Entry Tracking Code | Item tracking code used for the item's simplified tracking. |


On the **Order Type** card you define whether and how simplified tracking applies to documents of that type:

| Field | Description |
|---|---|
| Track Item Entries | Blank: no simplified tracking. **Per Item**: the code on the item is used (if any). **Always**: the item's code is used or, if missing, the code on the order type (mandatory in that case). |
| Item Entry Tracking Code | Default item tracking code used with the **Always** option. |

The resulting code is copied automatically to sales, purchase and transfer order lines and to the related warehouse documents.



- From the document header, in the **Functions** group, the **Item Tracking Lines** action opens the simplified tracking page for the whole document. Transfer orders have two actions: **Item Tracking (shipment)** for the from-location and **Item Tracking (receipt)** for the to-location.
- From the lines, the standard **Item Tracking Lines** action (or **Shipment**/**Receipt** on transfer lines) opens the simplified page filtered on the line when the line has a simplified tracking code; otherwise the standard page opens.

The **Item Tracking Lines** page contains:

| Field | Description |
|---|---|
| Location Code | Item location. |
| Item No. | Tracked item. |
| Variant Code | Item variant. |
| Lot No. | Lot number. |
| Serial No. | Serial number. |
| Expiration Date | Lot expiration date. |
| Quantity (base) | Quantity in the base unit of measure. |

On new lines, document, item, variant and location are proposed from the filter the page was opened with.

On purchase orders the **Suggest Items** action creates lines for the quantities to receive not yet covered by tracking; you then just complete them with lot, serial number and expiration date.


In the **Item Journal** the standard **Lot No.**, **Serial No.** and **Expiration Date** fields are replaced by equivalent fields at the end of the line, together with the **Item Entry Tracking Code** field. Values are entered directly on the journal line.


On pick lines, **Lot No.** and **Expiration Date** can be edited directly. For items with simplified tracking, the value entered on a take line is copied automatically to the matching place line (and vice versa). **Expiration Date** can be changed only on lines with simplified tracking.


- **Document posting check**: when posting sales, purchase and transfer orders, the system checks that shipped or received quantities are covered by tracking lines and that lot, serial number and expiration date are present when required by the tracking code. Otherwise a message such as "Missing item tracking for …", "Missing lot no. for …", "Missing serial number for …" or "Missing expiration date for …" appears.
- **Item journal check**: if the code requires lot or serial number for adjustments, or uses expiration dates, the related fields are mandatory. For sales, the **Sales Minimum Expiration** is also checked.
- **Picks**: when the pick is registered, lot and expiration data are checked and stored in the **Registered Item Tracking Lines** (document number, posting date, item, variant, lot, serial number, expiration date and quantity).
- **Item ledger entries**: lot number, serial number and expiration date are copied to the posted item ledger entries.
- **Undo sales shipment**: undoing a sales shipment line also reverses the registered tracking lines; if this is not possible for the full quantity, the operation is blocked.
- **Document deletion**: deleting a sales, purchase or transfer order also deletes its simplified tracking lines.

# Order only for available quantity

This feature automatically limits the quantities on sales orders and transfer orders to the quantity actually available in inventory. It is enabled per order type: when a document uses an order type with **Only Available Quantities** turned on, the quantity entered on its lines is reduced to the available quantity.

The feature also includes:

- a FactBox showing item availability by location;
- the option to put the missing quantity "on reservation" by moving it to a dedicated sales order;
- retrieval of sales reservations into the demand replenishment worksheet.



| Field | Description |
|---|---|
| **Item Availability Method** | Defines how availability is calculated. **Inventory**: the item's inventory at the location. **Bin Type - Sales - Transfer**: quantity in bins whose bin types are included in availability, minus open sales and transfer lines and reservations, plus quantities already picked for warehouse shipments. |


| Field | Description |
|---|---|
| **Include in Availability** | When on, the content of bins of this type counts toward availability (method **Bin Type - Sales - Transfer**). |


| Field | Description |
|---|---|
| **Include in Availability** | When on, the location is shown in the item availability FactBox (up to 10 locations). |


The field appears in both the Sales and the Transfers sections.

| Field | Description |
|---|---|
| **Only Available Quantities** | When on, line quantities on documents with this order type are limited to the available quantity. |


| Field | Description |
|---|---|
| **Allow Reservation** | When on, the quantity requested but not available for this item can be put on reservation. |


| Field | Description |
|---|---|
| **Reservation Order Type** | Order type used for the sales orders that collect reserved quantities. This order type must not have **Only Available Quantities** turned on. |


The **Availability** / **Item Availability Factbox** shows, for the selected item, the available quantity at each location with **Include in Availability** turned on. It appears in:

- the item list;
- item search;
- the item summary;
- item substitution entries (for the substitute item);
- call center sales orders;
- the **Demand Replenishment** worksheet.



When you enter or change the quantity on an item line of a sales order or invoice whose order type has **Only Available Quantities** on:

- if availability is lower than the requested quantity, the line quantity is reduced to the available quantity;
- if the item is not available at all, the system looks for an available (not blocked) substitute item and, if found, uses it instead of the original item;
- the standard Business Central availability warning is not shown.

The check does not apply to drop shipment or special order lines.


On a transfer order whose order type has **Only Available Quantities** on, the line quantity is reduced to the quantity available at the transfer-from location.


If a warehouse shipment is processed for less than the source line quantity, the quantity on the sales or transfer order line is reduced to the quantity actually shipped. Likewise, when a posted sales shipment is undone, the order line quantity is closed at the shipped quantity.


In call center orders, when the requested quantity on a line exceeds the assigned quantity due to lack of availability and the item has **Allow Reservation** on, the system asks **Reserve <quantity> <unit of measure>?**. If you confirm, the line is marked **To be Reserved** (a field visible in the call center order lines).

When the sales order is released:

1. the system looks for an open sales order with the **Reservation Order Type**, the same customer, ship-to address and location, and no shipped lines yet; if none exists, a new one is created;
2. for each **To be Reserved** line, it adds a line with the missing quantity (requested quantity minus assigned quantity) to the reservation order and removes the line from the original order;
3. it releases the reservation order;
4. if the original order is left with no lines, it is deleted.


The **Demand Replenishment** worksheet provides the **Get Sales Reservations** action:

1. Open the worksheet and choose **Get Sales Reservations**.
2. On the request page, set any filters on the purchases sources (source, purchaser, vendor, location). The purchaser filter is suggested based on the current user.
3. Confirm: existing worksheet lines are deleted and one line is created for each item and location found in orders with the **Reservation Order Type** that are not yet reserved, with the total quantity to order.
4. The sales order lines are linked to the worksheet lines, so the resulting purchases are reserved for those orders.

In addition, in demand replenishment, items with **Allow Reservation** are flagged on the worksheet lines and handled separately in the calculation.

# Merchandise categories

The module introduces **Product Types**, a free merchandise classification you can assign to items. The item's product type is carried automatically to sales lines and posted documents, replenishment proposals and price lists, and it can be used as a criterion in customer charges and general sets.


Search for the **Product Types** page with Business Central's search, or open it from the lookup of the **Product Type** field on the item card.


| Field | Description |
|---|---|
| Code | Identifier of the product type (up to 10 characters). |
| Description | Description of the product type. |


| Page | Behavior |
|---|---|
| Item Card | Editable field to assign the product type to the item. |
| Item List | Editable column. |
| Item Template Card | Editable field; when the template is applied to an item, the product type is copied to the item. |
| Sales lines | Filled automatically from the item; the value is kept in posted shipments, invoices, credit memos and return receipts. |
| Purchase price list lines | Read-only column showing the item's product type. |
| Demand Replenishment | Read-only column, in both the list and the detail; the value is also carried to the generated requisition worksheet lines. |
| Item Summary | Read-only field showing the item's product type. |


1. Open **Product Types** and create the codes with their descriptions.
2. Open the **Item Card** and select the desired **Product Type**.
3. Alternatively, set the **Product Type** on the item template: items created from that template inherit it.


- When you enter an item on a sales line or a requisition worksheet line, the product type is copied from the item.
- **Customer Charges:** the **Base Filter** field offers the **Product Type** option; the charge applies only to sales lines with the specified product type.
- **General Sets:** the **Product Type** set type is available; an item is considered included in the set if its product type is listed in the lines. The line description is filled in automatically from the chosen product type.

# Item Ledger Book Entry

This feature lets you keep one or more **inventory ledger books** (registers) in which item ledger entries are recorded in numbered, read-only form. Each item is assigned to a register; periodically you extract the entries up to a date and print the register.


- **Item Ledger Registers**: search the page with "Tell me" (Administration). Registers are defined here.
- **Item Ledger Book Entries**: search the page with "Tell me" (History), or open a register and use the **Entries** action.
- **Item Card**: new field **Item Ledger Register**, after the **Item Tracking Code** field.


| Field | Description |
|---|---|
| Code | Register identifier. |
| Name | Register description. |
| Report ID | Report used to print the register. |
| Purchase Note Mandatory | (If available) the register requires a purchase note. Cannot be changed if the register already has entries. |

Actions:
- **Entries**: opens the book entries of the selected register.
- **Print Register**: runs the report set in **Report ID**, filtered on the register.

A register with entries cannot be deleted ("Entries exist").


| Field | Description |
|---|---|
| Item Ledger Register | Register that collects the item's entries. Cannot be changed if the item already has ledger entries. |


The page is read-only.

| Field | Description |
|---|---|
| Entry No. | Sequential entry number. |
| Item Ledger Register | Register the entry belongs to. |
| Year | Year of the posting date. |
| Line No. | Sequential line number in the register, per warehouse and year. |
| Item Line No. | Sequential line number per item, warehouse and year. |
| Posting Date | Posting date of the entry. |
| Item No. | Item moved. |
| Reason Code | Reason code. |
| Quantity | Quantity moved (negative for outbound). |
| Base Unit of Measure | Item's base unit of measure. |
| Partner Type | Customer, Vendor or Location (for transfers). |
| Partner No. / Partner Name | Document counterparty. |
| Document No., External Document No., Document Date, Document Type | Source document data. |
| Item Ledger Entry Type | Item ledger entry type (purchase, sale, etc.). |
| Serial No., Lot No., Expiration Date | Tracking data. |
| Location Code | Location of the entry. |
| Warehouse Code | Warehouse linked to the location. |
| Printing Date | Date the entry was printed on the register. |
| AIC Code | (If available) item AIC code. |
| Purchase Note No. / Date | (If available) purchase note of the document. |

Actions:
- **Get Entries**: runs the entry extraction.
- **Print Register**: prints the register of the selected line.


1. On **Item Ledger Book Entries** choose **Get Entries**.
2. Enter **Register Code** and **Ending Date** (both required).
3. Confirm: item ledger entries of the items assigned to the register are extracted, from the day after the last existing entry up to the ending date.


- Entries are grouped by item, date, document and location, with quantities summed.
- Entries of in-transit locations are skipped; other locations must have a warehouse code.
- Line numbering restarts every year for each warehouse (and, for the item line number, for each item).
- Partner data (number, name, address, city, country) is taken from the posted document: customer for sales, vendor for purchases, destination/origin location for transfers.
- If the documents have posted tracking lines, the entry is split by lot/serial; if quantities do not match, extraction stops with an error.
- A sales shipment line cannot be undone if the document has already been recorded in the item ledger book.

# Mandatory substitution

This feature lets you specify that an item must **always** be replaced by another item (for example because it is discontinued or replaced by a new code). When the original item is entered on a sales order, the system automatically replaces it with the substitute item if the customer accepts substitutions; otherwise it blocks the entry.



On the **Item Substitution Entry** page (opened from the item card with the **Substitutions** action) a new field is available:

| Field | Description |
|---|---|
| **Mandatory** | Specifies that the item must always be replaced by the substitute item on the line. |

Rules:
- **Mandatory** and **Interchangeable** cannot both be enabled on the same line.
- Only one mandatory substitution can exist for the same item (and variant): if one already exists to a different item, the message "Already substituted by …" is shown.
- Mandatory substitutions can be chained (A replaced by B, B replaced by C): the system follows the chain to the last item. If the chain loops back to an item already met, a "Recursive mandatory substitution" error is raised.


On the **Customer Card**, **Shipping** FastTab, the following field is available:

| Field | Description |
|---|---|
| **Allow Substitutions** | Specifies that the customer accepts ordered items being replaced by substitute items. |


When an item with a mandatory substitution is entered on a **sales order** line:

- if the customer has **Allow Substitutions** enabled, the line item is automatically replaced by the final substitute item: description and unit of measure (the new item's base unit) are updated and the variant is cleared;
- if the customer does not allow substitutions, the error "Item … is mandatory substituted by …" is shown and the item cannot be entered.

Mandatory substitution applies only to sales orders, not to other document types.

During the availability check of order lines, if the mandatory substitution cannot be applied the line quantity is set to zero (and, where used, the default unavailability reason code for unsellable items is assigned). In addition, the search for substitute items when availability is insufficient is performed only for customers with **Allow Substitutions** enabled.


When demand replenishment is calculated, any mandatory substitute item is shown for each item. The **Item Replenishment Factbox** contains the **Substitute** field, which shows whether the item is the mandatory substitute of other items; clicking the value opens the list of mandatory substitutions involving it.

# Exclude location from cost calculation

This feature lets you exclude a location from item cost calculation. Entries posted in an excluded location do not affect the item unit cost, do not take part in cost adjustment, and do not create inventory postings to the general ledger.

It is useful, for example, for locations holding consignment stock, samples, or non-valued material.


Open the **Location Card** (**Locations** page > select the location). The new field is on the **General** FastTab.

| Field | Description |
|---|---|
| Cost Calculation Excluded | When enabled, entries of the location are excluded from item cost calculation. |


1. Open the **Location Card** of the location to exclude.
2. Enable the **Cost Calculation Excluded** field.
3. If the location already has entries, the system asks for confirmation: *"Location has entries. All item ledger entries must be adjusted. The operation is not reversible. Continue?"*. Answer **Yes** to proceed.
4. The system marks the existing value entries of the location as excluded and flags the affected items for cost adjustment.
5. Run the standard **Adjust Cost - Item Entries** function to recalculate item costs.

> **Warning:** the operation is not reversible. Once enabled, the **Cost Calculation Excluded** field cannot be disabled.


For excluded locations:

- new value entries are posted with entry type **Excluded**;
- entries do not contribute to the item average cost and unit cost, and the unit cost is not updated from these entries;
- entries are ignored by cost adjustment;
- entries do not create inventory postings to the general ledger;
- when the last direct cost of an item is needed, excluded entries are also considered if no other entries are available.

# Compare physical inventories

The module adds two tools for physical inventory:

- the **Compare Inventory** action on the **Phys. Inventory Journal** page, which compares counted quantities with the system inventory (per location or per bin) and prepares the adjustment lines;
- the **verify bin**, a buffer bin used in **Physical Inventory Orders** to automatically offset items found in bins other than the expected ones.


On the **Location Card**, after the **Adjustment Bin Code** field, there is a **Verify** group.

| Field | Description |
|---|---|
| Verify Bin Code | Bin of the location used as a buffer for inventory checks. It is proposed automatically on the location's physical inventory orders and, if the location uses bins, it is mandatory and used as the transfer-from bin in transfers created by store management. |



Open **Phys. Inventory Journal** and choose the **Compare Inventory** action. The first journal line must have **Posting Date** and **Document No.** filled in: they are used for the new lines.


| Field | Description |
|---|---|
| Use Date for Compare | If enabled, the system inventory is calculated up to the journal posting date; otherwise all entries are considered. |
| Per Bin Content | If enabled, the comparison is done per location, bin, item and variant (based on warehouse entries); otherwise per location, item and variant. |
| Recalculate Unit Cost | If enabled, the line unit cost is always taken from the item card; otherwise the line's **Unit Cost (Phys. Inventory)** is kept, if any. |

You can filter the **locations** and **items** to process.


1. Enter the counted quantities (**Qty. (Phys. Inventory)**) in the journal by item, variant, location and, if needed, bin.
2. Choose **Compare Inventory**, set options and filters and confirm.
3. Review the resulting lines and post the journal.


- For each item with non-zero system inventory, the matching journal line is updated by setting **Qty. (Calculated)**; if the line does not exist, it is created with a counted quantity of zero (the item was not found).
- When comparing per location, if the location uses bins, lines use the location's **Adjustment Bin Code**, which must be filled in.
- Counted lines with no system inventory are treated with a calculated quantity of zero.
- For each line the entry type (**Positive Adjmt.** if counted is greater than or equal to calculated, otherwise **Negative Adjmt.**), the difference quantity and the unit cost are calculated automatically.
- On posting, if a physical inventory line refers to a bin or bin content that does not exist yet, it is created automatically.


| Field | Description |
|---|---|
| Unit Cost (Phys. Inventory) | Unit cost to use for the inventory line when you do not choose to recalculate it. |



| Page | Field | Description |
|---|---|---|
| Physical Inventory Order (header, after **Location Code**) | Verify Bin Code | Proposed from the location when you choose the **Location Code**; can be changed. |
| Order lines (before **Pos. Qty. (Base)**) | Verify Qty. (Base) | Quantity moved to/from the verify bin, calculated automatically when the order is finished. |


- If some lines are not yet on recording lines, the system asks "Confirm not found lines?"; if you confirm, they are included.
- If a verify bin is specified, for each item (without item tracking) of the location that has both positive and negative differences in different bins, or has inventory or a line in the verify bin:
  - the differences of the lines in the other bins are moved to **Verify Qty. (Base)** and those lines become "without difference";
  - the sum of these differences is offset on the verify bin line, which is created if it does not exist; only the net difference, if any, remains on this line as a positive or negative adjustment.
- On posting, lines with a **Verify Qty. (Base)** post movements between the verify bin and the line's bin instead of inventory adjustments. Lines without difference do not post item entries.
- The verify quantity is also shown on posted physical inventory orders.


When the order is reopened, the lines created automatically for the verify bin are deleted, and on all lines **Verify Qty. (Base)** is reset and the "without difference" flag is cleared.

# Skip validation errors on Item Journal

This feature allows lines in the **Item Journal** (including the physical inventory journal) for **blocked** items or item variants to be entered and posted without Business Central stopping with the blocked item error.

It is especially useful for inventory adjustments: an item blocked for sales and purchases may still have a quantity on hand that must be aligned with the physical count.


Item journal lines have a new system field:

| Field | Description |
|---|---|
| Skip Blocked Error | When enabled, the blocked item or variant check is skipped for the line, both when the line is entered and when it is posted. |

The field is not shown on the journal pages: it is set automatically by the features that need it.


- **Compare Inventory**: lines created by the **Compare Inventory** function (available on the **Phys. Inventory Journal** page) always have **Skip Blocked Error** enabled. This way, inventory differences are suggested and posted for blocked items too.
- When these lines are posted, Business Central does not check whether the item or variant is blocked, and posting completes normally.
- Lines entered manually keep the standard behavior: the blocked item error is shown as usual.

# Enhanced Cost Adjustment

The module improves inventory cost adjustment:

- it lets you run the **item cost adjustment** on a schedule through the job queue, processing one item at a time;
- it prevents the item's **Unit Cost** from being automatically updated with the last direct cost when purchases are invoiced;
- it adds the **Inventory Valuation per Location** report.



1. Open the **Job Queue Entries** page and create a new entry.
2. Set the object to run to the inventory batch processing codeunit provided by the extension.
3. In the **Parameter String** field enter `AdjustCost`.
4. Define the desired recurrence (for example every night) and set the status to **Ready**.


Each run processes all items whose cost has not been adjusted yet (**Cost is Adjusted** = No). The adjustment is run and committed item by item: an error on one item does not undo the work already done on previous items, and processing is lighter than a single adjustment of the whole inventory.


With the module active, posting purchase invoices no longer automatically updates the **Unit Cost** on the item card from the **Last Direct Cost**. The unit cost is therefore determined by the costing method and the cost adjustment.


The report shows inventory value and quantity at a given date, grouped by location and optionally by item. Search for **Inventory Valuation per Location** (Reports and Analysis category).


| Filter | Description |
|---|---|
| Item – Inventory Posting Group | Limits the valuation to items in the specified inventory posting groups. |
| Location – Code | Limits the valuation to the specified locations (where available, also by location blocked status). |


| Field | Description |
|---|---|
| Ending Date | Date at which the valuation is calculated. If blank, today's date is used. |
| Exclude Negative | If enabled, values with negative amount or quantity are excluded from the calculation. |
| Item Details | If enabled, the report shows one line per item within each location; otherwise it shows only location totals. |


For each location (code and name) and, if requested, for each item (number, description and code 2), the report shows:

| Column | Description |
|---|---|
| Quantity | Quantity on hand at the ending date. |
| Amount | Inventory value at the ending date, including both actual and expected costs. |

The header shows the reference date ("At ...") and the filters applied. Lines with zero quantity are not printed.

# Disable "Post Value Entry to G/L"

This module completely disables posting of inventory value entries to the general ledger. Inventory postings (purchases, sales, adjustments, production, cost adjustment, etc.) still update item ledger entries and value entries, but **no general ledger entries are created** for the inventory value.

It is intended for companies that do not keep perpetual inventory accounting and prefer to record the inventory value in the general ledger with manual entries (for example at period end).


- **No G/L posting of inventory value.** Regardless of the **Automatic Cost Posting** setting in **Inventory Setup**, value entries are never considered for posting to the general ledger.
- **Post Inventory Cost to G/L.** Even when the **Post Inventory Cost to G/L** batch job (or its test report) is run manually, no value entries are transferred to the general ledger.
- **Compression of cost adjustment entries.** When cost adjustment is run by the Experience job queue (parameter `AdjustCost`, see the module for automatic cost adjustment), after each item is adjusted its adjustment value entries are merged into the original value entry they apply to: the amounts (cost, sales, purchase, discount, cost posted to G/L, unit cost) are added to the original entry and the adjustment entry is deleted. This keeps the value entries table smaller and each entry shows the adjusted value directly.


- The inventory value is not automatically reconciled with the inventory accounts in the general ledger: the related entries must be posted manually.
- When reviewing an item's **Value Entries** after the automatic cost adjustment, you will not find separate adjustment entries, but the original entries with already updated amounts.

# Item Rule per Location

This feature lets you define rules that determine which items (or product types) are allowed in a given location or location group. A **Not Allowed** rule prevents posting inventory transactions for the item in the specified location.


Search for the **Location Item Rules** page using the Business Central search (magnifying glass icon).


| Field | Description |
|---|---|
| Location Type | Specifies whether the rule applies to a single **Location** or to a **Location Group**. |
| Location Code | Code of the location or location group, depending on the selected type. |
| Item Type | Specifies whether the rule applies to a single **Item** or to a **Product Type**. |
| Item No. | Item number or product type code, depending on the selected type. |
| Code | Free code to classify the rule. |
| Rule | Rule type: blank, **Not Allowed** or **Substitute**. Changing the rule clears the **Substitute No.** field. |
| Substitute No. | Item to use as a substitute. Can be filled in only with the **Substitute** rule and must differ from the rule's item. |
| Starting Date | Date from which the rule is valid. |
| Ending Date | Date until which the rule is valid. |
| Enabled | Specifies whether the rule is active. |


1. Open the **Location Item Rules** page.
2. Create a new line and choose **Location Type** and **Location Code** (single location or location group).
3. Choose **Item Type** and **Item No.** (single item or product type).
4. Set **Rule** = **Not Allowed**.
5. Fill in **Code**, **Starting Date**, **Ending Date** and **Enabled** as needed.


When an inventory transaction is posted (for example from sales, purchase or transfer documents, or from item journals) with a location specified, the system looks for rules that apply to the item and location, considering in this order:

1. the item in the location;
2. the item's product type in the location;
3. the item in the location group the location belongs to;
4. the item's product type in the location group.

If at least one of the rules found is **Not Allowed**, posting is blocked with the message "Item ... unallowed in ...".

# Barcodes in pages

This feature shows the item barcode directly in everyday pages, without having to open the item references. The value is read automatically from the item's **Item References** of type **Bar Code**.


The **Barcode** field is available in the following pages:

| Page | Position |
|---|---|
| **Items** (item list) | after the **No.** column |
| **Purchase Order** – lines | after the **No.** column |
| **Purchase Return Order** – lines | after the **No.** column |
| **Purchase Lines** (purchase line list) | among the line columns |
| **Posted Purchase Receipt** – lines | after the **No.** column |
| **Warehouse Receipt** – lines | after the **Item No.** column |


| Field | Description |
|---|---|
| **Barcode** | Item barcode, taken from the item references of type **Bar Code**. The field is read-only. |


1. Open the item card.
2. Open **Item References**.
3. Add a line with **Reference Type** = **Bar Code** and enter the code in the **Reference No.** field.


- The barcode is calculated when the page is displayed: if the item reference changes, all pages immediately show the new value.
- If the item has more than one barcode, the first one found is shown.
- If the item has no barcode, the field is empty.

# Skip Value Entries

This feature lets you specify, per location, that inventory postings must not create value entries. It is useful for locations where goods are tracked only by quantity (for example third-party warehouses or technical locations) without affecting inventory value.


Open the **Location Card** page of a location: the new field is at the end of the **General** FastTab.


| Field | Description |
|---|---|
| **Prevent Value Entries** | When enabled, item postings on this location do not create value entries. |


1. Create (or open) the location in the **Location Card**.
2. Before posting any entry on the location, enable **Prevent Value Entries**.

The field can be changed only if no item ledger entries exist for the location yet; otherwise the message "Entries exists" is shown.


- **Posting:** for receipts, shipments, sales, transfers, consumptions and adjustments on the location, item ledger entries are created with their quantities, but no value entries. The invoiced quantity of the item ledger entries is still updated when the invoice is posted, so the entry becomes completely invoiced.
- **Cost adjustment:** the **Adjust Cost - Item Entries** batch job skips entries of locations with this option enabled, so they are not revalued.

# Location Groups

This module lets you define **location groups** and assign each location to a group. Groups let you gather several locations with common characteristics so they can be handled together (for example in location item rules, which can be defined per single location or per location group).


- Search for **Location Group** with *Tell Me* (Alt+Q) to open the list of groups.
- To assign a group to a location, open the **Location Card** and fill in the **Location Group** field on the **General** FastTab.


| Field | Description |
|---|---|
| Code | Unique code of the location group (up to 10 characters). |
| Description | Description of the group (up to 30 characters). |


| Field | Description |
|---|---|
| Location Group | Group the location belongs to. The value is chosen from the groups defined on the **Location Group** page. |


1. Open the **Location Group** page.
2. Create a new line entering the group's **Code** and **Description**.
3. Open the **Location Card** of each location to be grouped.
4. On the **General** FastTab, select the group in the **Location Group** field.


When location item rules are in use, the system looks up the rules defined for the location group the location belongs to. If the location has no group assigned, rules defined by group are not considered.

# Receipt Dispatching

This feature lets you dispatch received goods directly to the customers or locations waiting for them. When incoming goods (from a purchase order or a transfer) are already reserved for a sales order or a transfer order, the system can put them away into a bin dedicated to shipping instead of the normal storage bins. From that bin you can then quickly create a warehouse shipment that is already completely picked.


Rules define, for each receiving location, which bin to use for goods destined to a given customer or location.

**How to access:** search for **Receipt Dispatching Rules** with Tell Me (Alt+Q).

| Field | Description |
|---|---|
| Source Location Code | Location where the goods are received. |
| Destination Location Code | Destination location of a transfer order the goods are reserved for. |
| Source Vendor No. | Vendor the goods come from (optional). If no rule matches the vendor, rules without a vendor are used. |
| Destination Customer No. | Customer (Sell-to Customer of the sales order) the goods are reserved for. |
| Dispatch Bin Code | Bin of the source location where goods for the given customer or location are placed. |


- When a warehouse receipt is posted (from a purchase order or an inbound transfer), the system stores the item ledger entry created, so the reservations linked to those goods can be found later.
- When put-away/movement activities are created for the received goods, lines reserved for a sales or transfer order matching a rule are split: the reserved quantity is directed to the rule's **Dispatch Bin Code** (and its zone), while the remainder follows the normal flow. If item tracking is used, the lot/serial data of the reservation is carried over.
- When a movement of goods received from a purchase is registered, the system calculates and assigns the shipping line on reserved sales or transfer orders that don't have one yet; if the document was released, it is reopened and released again automatically in the background.


The **Warehouse Shipments** list has a **Dispatch Receipts** action, which creates a warehouse shipment for a customer with the goods in a dispatch bin.


| Field | Description |
|---|---|
| Customer No. | Customer to create the shipment for. |
| Location Code | Location (only locations that require shipment). |
| Bin Code | Dispatch bin to take the goods from; the lookup shows the bins defined in the receipt dispatching rules. |

The options are remembered for the next use.


1. Open the **Warehouse Shipments** list.
2. Choose the **Dispatch Receipts** action.
3. Fill in **Customer No.**, **Location Code** and **Bin Code** (all mandatory, otherwise the message "Missing options" appears).
4. Choose **OK**.

The system reviews the items in the bin and matches them to the customer's open sales order lines with goods reserved from inventory, up to the reserved quantity and the quantity available in the bin. A new **Warehouse Shipment** is then created and opened:

- with the specified location and bin and the customer as receiver;
- marked as a cumulative shipment;
- with status **Completely Picked** and lines already picked, ready for posting the shipment.

If there is nothing to ship, the message "Nothing to dispatch" appears.

# Posting information in Transfer Order

The module adds a **Document Date** to **transfer orders** and manages the numbering of posted transfer shipments and receipts, allowing predefined numbers or a number series specific to the origin location.


- **Transfer Orders** page (list): new **Document Date** column.
- **Transfer Order** page (card), **General** FastTab: new **Document Date** field.


| Field | Description |
|---|---|
| Document Date | Date of the transfer document. When the order is created the work date is proposed; it can be changed. It is carried over to the posted transfer shipment. |
| Shipping Posting No. | Number to assign to the posted transfer shipment. |
| Receiving Posting No. | Number to assign to the posted transfer receipt. |


- **Default Document Date:** when a new transfer order is created, the Document Date is set to the work date.
- **Document Date on the posted shipment:** when the shipment is posted, the order's Document Date is copied to the posted transfer shipment.
- **Posted shipment number:**
  - if Shipping Posting No. is blank and the origin location (Transfer-from) has a **Posted Shipment Nos.** series set on the **Location Card**, the number is taken from that series, as of the posting date;
  - if Shipping Posting No. is filled in, the posted shipment gets that number; otherwise standard numbering is used.
  - After posting, the field is cleared on the order.
- **Posted receipt number:** if Receiving Posting No. is filled in, the posted transfer receipt gets that number; otherwise standard numbering is used. After posting, the field is cleared on the order.
- **Orders from store documents:** transfer orders generated from store documents inherit the Document Date of the source document.

# Batch Transfer Order Release

This module lets you release multiple transfer orders in a single operation, directly from the **Transfer Orders** list, instead of opening and releasing them one at a time.


Open the **Transfer Orders** list page and use the standard **Release** action: its behavior is extended to work on all selected lines.


1. Open the **Transfer Orders** list.
2. Select one or more orders to release.
3. Choose the **Release** action.
4. Confirm the message **Release N orders?**, where N is the number of selected orders.
5. The selected orders are released one after another and the list is refreshed.


- If you answer **No** to the confirmation, no order is released.
- Each order is released using the standard Business Central release procedure, so the same checks that apply to releasing a single order still apply.
- When finished, the list is refreshed to show the new status of the orders.

# Automatic transfer receipts

This feature automatically posts the receipt of a transfer order as soon as its shipment is posted, for the configured destination locations. The goods therefore do not stay "in transit" and are immediately available at the destination location.


Open the **Location Card** of the destination location. On the **General** FastTab you will find the new field:

| Field | Description |
|---|---|
| **Receipt on Shipment** | When enabled, posting the shipment of a transfer order to this location also automatically posts the receipt. |


1. Enable **Receipt on Shipment** on the destination location card.
2. Create a **Transfer Order** with **Transfer-to Code** set to that location.
3. Post the shipment as usual.
4. The receipt is posted automatically right afterwards.


- After the shipment is posted, for each line with a quantity in transit the **Qty. to Receive** is set equal to the quantity in transit, and the receipt is posted.
- The receipt is part of the same operation as the shipment.
- If the destination location does not have the field enabled, or there is no quantity in transit, standard Business Central behavior is unchanged.
- If the transfer order no longer exists after the shipment is posted, no automatic receipt is performed.

# Comments in transfers

In the lines of a **Transfer Order** you can enter descriptive (comment) lines, that is lines with no **Item No.** but with text in the **Description** field. With this module, these lines are also carried over to the **Posted Transfer Shipment**, so the notes remain visible in the shipment document and its printouts.


1. Open the **Transfer Order**.
2. In the lines, add a line leaving the **Item No.** field empty and type the comment text in the **Description** field.
3. Post the shipment of the transfer order as usual.
4. Open the **Posted Transfer Shipment**: the comment lines appear among the document lines.


| Situation | Effect |
|---|---|
| Line with no item and with a description | Copied to the posted transfer shipment every time the shipment is posted |
| Line with no item and no description | Not copied |
| Item lines | Handled normally by standard posting |

# Advanced undo

This module relaxes the standard Business Central **Undo Receipt** function (and the other undo functions for posted lines, such as **Undo Shipment** and **Undo Return Receipt**). It allows posted document lines to be undone even in situations where the standard procedure would block it.


There are no new pages or fields: use the usual undo actions on posted document lines, for example from **Posted Purchase Receipts** › lines › **Functions** › **Undo Receipt**.


With the module active, during the undo:

| Standard check | Behavior with the module |
|---|---|
| Line received through a posted **Warehouse Receipt** | The undo is allowed even if the receipt comes from a posted warehouse receipt. |
| Put-away already registered for the warehouse receipt | The undo is allowed even if the related put-away has already been registered. |
| Item ledger entries already applied, partially used or invoiced | The system no longer checks the status of the original item ledger entries (remaining quantity, applications, etc.) before proceeding. |

In addition, when the reversing entry is created, the **original item ledger entry** is also marked as **Correction**, not only the new one. This way both entries (original and reversal) are identified as corrections and can easily be excluded from analyses and filters.


1. Open the posted document (for example a posted purchase receipt).
2. Select the line to undo.
3. Choose the **Undo Receipt** action (or the corresponding undo action) and confirm.
4. Check in **Item Ledger Entries** that both the original entry and the reversing entry have the **Correction** field selected.

# Suggest negative inventories

This feature automatically suggests, in an item journal, the positive adjustment lines needed to bring negative item inventories back to zero in the selected locations, as of a given date.


On the **Item Journal** page, in the processing actions, choose **Suggest negative inventories**.


| Field | Description |
|---|---|
| **Document No.** | Document number assigned to all created lines. Required. |
| **Ending Date** | Date at which inventory is calculated; it is also used as the posting date of the lines. Required. |

On the **Location** filter tab, specify the **Code** of the locations to analyze. If no location is specified, no lines are suggested.


1. Open the **Item Journal** on the batch you want to use.
2. Choose **Suggest negative inventories**.
3. Fill in **Document No.** and **Ending Date** and filter the desired locations.
4. Choose **OK**: you are asked to confirm that the batch will be deleted.
5. Review the suggested lines and post the journal.


- **All lines already in the batch are deleted** before the calculation (after confirmation).
- If **Document No.** or **Ending Date** is blank, processing stops with the message "Missing Options".
- For each item, variant and location combination with negative inventory at the ending date, a **Positive Adjmt.** line is created for the quantity that brings inventory back to zero.
- For locations where a bin is mandatory, the line gets the **Verify Bin Code** set on the **Location** card; if that field is blank, processing stops with an error.
- The option values are saved and proposed again the next time.

# Blocked on locations

This feature lets you block a location to prevent inventory transactions from being posted to it. It is useful, for example, for decommissioned or temporarily inactive locations.


Open the **Location Card** page (search for **Locations** and open the desired location). The new field is at the bottom of the **General** FastTab.


| Field | Description |
|---|---|
| **Blocked** | When enabled, the location is blocked and inventory transactions that use it cannot be posted. |


1. Open the **Location Card** of the location to block.
2. On the **General** FastTab, enable the **Blocked** field.
3. To unblock it, disable the field.


- When an inventory line is posted (for example from item journals, sales, purchase, transfer or production documents) with a location code and a quantity other than zero, the system checks that the location is not blocked. If **Blocked** is enabled, posting stops with an error message.
- Lines with zero quantity are not checked.
- In the **Inventory Valuation per Location** report, the **Blocked** filter is available on locations, so you can include or exclude blocked locations.

# Summary fields on Item

This module adds two automatically calculated summary fields to the standard Business Central **Item** table, showing quantities currently moving through the warehouse.


| Field | Description |
|---|---|
| **Qty. on Put Away** | Quantity of the item (in base unit of measure) still to be put away on open warehouse put-away lines, counting only *Place* lines. |
| **Qty. on Outbound Transfers** | Quantity of the item (in base unit of measure) still to be shipped on transfer orders leaving the location. |

Both fields are read-only, recalculated automatically and left blank when the value is zero. They respect any location and variant filters applied to the item.


- **Qty. on Put Away** is shown in the **Item Warehouse Factbox**, displayed next to pages that list items.
- **Qty. on Outbound Transfers** is used by replenishment calculations to take into account goods already committed to outbound transfers.

# Obsolete items

The module adds the **Obsolete** indicator to the item master data, allowing you to flag items that are no longer active or are being phased out.


1. Search for and open the **Items** page.
2. Open the **Item Card** of the desired item.
3. The field is located at the bottom of the **Item** FastTab.


| Field | Description |
|---|---|
| **Obsolete** | Indicates that the item is obsolete. Select the field to flag the item as obsolete; clear it to make the item active again. |


1. Open the **Item Card**.
2. On the **Item** FastTab, turn on the **Obsolete** field.
3. Close the card: the change is saved automatically.


- If the JDA replenishment integration is active, items flagged as **Obsolete** are sent to JDA as discontinued items, in the same way as items whose last supplies date has already passed.

# Packing List

The module introduces **packing lists**: documents listing the items, variants, units of measure and quantities included in a shipment. Each packing list is linked to a source document (sales order, warehouse shipment, posted sales shipment or posted transfer shipment) and can be created manually or generated automatically from registered warehouse picks.



On the **Inventory Setup** page, **Numbering** section:

| Field | Description |
|---|---|
| Packing List Nos. | Number series used to number new packing lists created manually. |


The **Bin Types** page has these columns:

| Field | Description |
|---|---|
| Packing List | If enabled, goods picked and placed into bins of this type automatically generate a packing list. |
| Goods Appearance | (Italian localization only) Goods appearance proposed on packing lists generated from bins of this type. |


- Search for **Packing Lists** to open the full list.
- From **Sales Order**: **Functions** menu > **Packing List** action.
- From **Posted Sales Shipment**: **Functions** menu > **Packing List** action.
- From **Warehouse Shipment** (when cumulative shipments are in use): **Functions** menu > **Packing List** action. The shipment must be marked as cumulative.

The document actions open the packing list list filtered on the current document; new packing lists created from there are automatically linked to it.


| Field | Description |
|---|---|
| No. | Packing list number. |
| Source Document | Type of linked document. |
| Source No. | Number of the source document. |
| Location Code | Location (hidden by default). |
| Created from Bin Code | Bin it was generated from (hidden by default). |
| Line Nos. | Number of lines. |
| Quantity (base) | Total quantity in the base unit of measure. |
| Goods Appearance | (Italian localization only) External appearance of the goods. |
| Created Date/Time | Creation time. |

The **Open Source Document** action opens the linked sales order or posted sales shipment.



| Field | Description |
|---|---|
| No. | Packing list number; if left blank it is assigned from the setup number series. |
| Goods Appearance | (Italian localization only) External appearance of the goods, editable. |
| Created Date/Time | Set automatically on creation. |
| Source Document / Source No. | Linked document (not editable). |
| Location Code | Location the goods come from. |
| Created from Bin Code | Bin it was automatically generated from. |
| Lines | Number of lines. |
| Quantity (base) | Total quantity in base unit of measure. |


| Field | Description |
|---|---|
| Item No. | Item. When selected, description and base unit of measure are proposed. |
| Variant Code | Item variant. |
| Description | Item description, editable. |
| Unit of Measure Code | Unit of measure; the base quantity is recalculated accordingly. |
| Quantity | Packed quantity. |

The **Open Source Document** action is also available on the card.


1. Open the sales order (or posted shipment) and choose **Functions** > **Packing List**.
2. Choose **New**: the number is assigned automatically and the source document is filled in.
3. Enter the lines with item, variant, unit of measure and quantity.


- **Generation from picks**: when a warehouse shipment is posted (and during shipping line processing, if in use), registered pick lines placed into bins whose type has **Packing List** enabled are grouped into packing lists: one per pick and bin. Lines with the same item, variant and unit of measure are summed. Each pick line is processed only once. The packing list is linked to the warehouse shipment or, if the shipment originates from an already posted shipment, to the posted sales or transfer shipment.
- **Update on posting**: when a sales order or warehouse shipment is posted, linked packing lists are re-linked to the new posted sales shipment.
- **Cumulative shipments**: the cumulative shipment flag cannot be removed from a warehouse shipment that already has linked packing lists ("Packing list exists" message).
- **Deletion**: deleting a packing list also deletes its lines.

# Shipping Manifest

The module introduces **shipping manifests**: documents that group, for a warehouse, a shipping agent and a shipping date, all the posted sales shipments handed over to the carrier. The manifest lists each shipment with its destination, volume, weights and number of parcels, and can be printed to accompany the goods.

When packing lists are used, the manifest shows one line for each packing list of the shipment.



On the **Inventory Setup** page:

| Field | Description |
|---|---|
| Shipping Manifest Nos. | Number series used to number new shipping manifests. |


In **Report Selection - Inventory**, choose the usage **Shipping Manifest** and specify the report used to print the manifest.


If shipping lines are used, the **Shipping Lines** page has these additional fields:

| Field | Description |
|---|---|
| Use Manifest | Indicates that a shipping manifest is printed for the shipping line. |
| Manifest Copies | Number of copies to print for each manifest (if blank, one copy is printed). |


Search for **Shipping Manifests** to open the list of manifests. From the list you can open a manifest, create a new one, or print the selected manifests.



| Field | Description |
|---|---|
| No. | Manifest number, assigned automatically from the number series. |
| Warehouse Code | Warehouse the goods are shipped from. Changing it clears the shipping line. |
| Shipping Agent Code | Shipping agent (carrier) collecting the goods. |
| Shipping Agent Name | Name of the shipping agent, filled in automatically. |
| Shipping Line Code | Shipping line of the warehouse (available when shipping lines are used). |
| Shipping Line Description | Description of the shipping line, filled in automatically. |
| Shipping Date | Date of the shipment. |
| Shipping Time | Time of the shipment. |
| Parcel Units | Total number of parcels of the manifest lines (not editable). |


Lines cannot be inserted manually: they are created with the **Suggest Lines** action. They can be deleted, and the quantity fields can be modified.

| Field | Description |
|---|---|
| Document No. | Number of the posted sales shipment. |
| Posting Date | Posting date of the shipment. |
| Destination Type | Type of destination (Customer). |
| Destination No. | Customer the goods are shipped to. |
| Destination Name | Name of the ship-to address. |
| Destination Address Code | Ship-to address code of the customer. |
| Packing List No. | Packing list the line refers to, if any. |
| Volume | Volume of the goods. |
| Gross Weight | Gross weight. |
| Net Weight | Net weight. |
| Parcel Units | Number of parcels. |
| Goods Appearance | Appearance of the goods (Italian localization). |
| Transport Reason Code | Reason for the transport (Italian localization). |



1. Open **Shipping Manifests** and choose **New**.
2. Fill in **Warehouse Code**, **Shipping Agent Code** and **Shipping Date** (they are required to suggest lines); optionally the **Shipping Line Code** and **Shipping Time**.
3. Choose **Suggest Lines** and confirm.
4. Check the lines, adjust volumes, weights and parcels if needed, and delete any line that must not be included.


- From the manifest, choose **Print Manifest**: the report request page opens.
- From the **Shipping Manifests** list, select one or more manifests and choose **Print Manifest**. With more than one manifest, after confirmation they are printed directly without the request page.
- From the **Shipping Line Status** page, select one or more shipping lines and choose **Print Manifest**. Only lines with **Use Manifest** enabled are considered; if some destinations have not been shipped yet, a confirmation is requested. The latest manifest of the shipping line is queued for printing, together with the related shipping documents, on the printer configured for the warehouse and shipping line, in the number of copies set in **Manifest Copies**.


- **Suggest Lines** replaces the existing lines with all posted sales shipments of the same warehouse, shipping agent, shipment date and (if specified) shipping line. Volume, weights, parcels, goods appearance and transport reason are copied from the shipment.
- If a shipment has packing lists, it is replaced by one line per packing list, with one parcel each and weights cleared; the goods appearance is taken from the packing list.
- When the manifest is printed from a shipping line, the shipped destinations of the line are marked as having the manifest printed.
- Deleting a manifest also deletes its lines.

# Inventory per Location

The module provides a read-only data view, **Inventory per Location**, which calculates the on-hand quantity of each item, broken down by location and variant, by summing the item ledger entries.

It is a foundation feature: it does not add pages or actions of its own, but supplies the inventory calculation to other features (for example inventory comparison, suggesting corrections for negative inventory, and store management).


| Field | Description |
|---|---|
| Location Code | Location the inventory refers to. |
| Item No. | Item. |
| Variant Code | Item variant. |
| Quantity | Sum of the item ledger entry quantities for the location/item/variant combination. |


- Inventory can be calculated as of a date: in that case only entries whose **Posting Date** falls within the filter set by the feature using the view are considered.
- Reading the data does not block other users' work and does not change any data.

# Intercompany

# Intercompany Master Data

The module lets group companies, linked through IC partners with an API connection, share master data (items, vendors, G/L accounts and other tables). It allows you to:

- set up the API connection to IC partner companies;
- define which tables and fields are shared (**IC Data**);
- send the configuration to partner companies (**Push to IC Partner**);
- search a record in the partner company and import it into the current company (**IC Search**);
- block local creation and modification of centrally managed fields;
- use number series managed by a partner company.


On the **IC Partner Card** a new inbox type, **API**, is available. When selected, the partner is reached through API calls to its Business Central company.

To set up the connection:

1. Open the partner's **IC Partner Card**.
2. Set **Inbox Type** = **API**.
3. Use the **API Setup** action, or click the **Inbox Details** field: the **API IC Setup** page opens.
4. Fill in the fields and use **Test Connection** to check the link.

If the page is opened from the **Inbox Details** field and confirmed with **OK**, the connection is tested and the name of the connected company is written in the field.

| Field | Description |
|---|---|
| Environment Type | Installation type of the partner company. Currently only **On Premises** is supported. |
| Endpoint URL | Address of the partner company's API service. |
| Company ID | Identifier of the company in the partner's database. |
| Login | User used for the connection. |
| Password | User password (stored securely and shown masked). |

The **Test Connection** action performs a test call and, if it succeeds, shows the message "Successfully connected to" followed by the company name.


The **IC Data** page (searchable with "Tell me") lists the shared data configurations. Each configuration opens in the **IC Data** card.


| Field | Description |
|---|---|
| Code | Configuration code. |
| Description | Configuration description. |
| IC Partner Code | IC partner (company) from which data is read during **IC Search**. |
| Enabled | Activates the configuration: only enabled configurations are used for search and blocking. |


Lists the shared tables.

| Field | Description |
|---|---|
| Table No. | Business Central table to share (e.g. Item, Vendor, G/L Account). |
| Table Name | Name of the table. |
| Field Nos. | Number of fields available in the table. Click it to open the fields page. |
| Sync Field Nos. | Number of fields marked for synchronization. Click it to open the fields page. |

If you change the table on a line, the field settings of the previous table are deleted. Deleting a table line also deletes its field settings; deleting a configuration deletes all its lines.


The **Fields** action in the Tables section opens the **IC Data Fields** page, listing all fields of the table. For each field you can enable the following options:

| Field | Description |
|---|---|
| Field No. / Field Name | Table field (not editable). |
| Sync | The field value is read from the partner company and copied when the record is imported. |
| Blocked | The field is managed centrally: it cannot be changed manually in the current company. |
| Search | The field is used for searching in the **IC Data Search** page and shown as a result column (maximum 4 fields). |

Settings are saved when the page is closed; only fields with at least one option enabled are stored.


The **Push to IC Partner** action on the **IC Data** card sends the configuration (header, tables and fields) to other companies:

1. Open the **IC Data** card.
2. Choose **Push to IC Partner**.
3. Select one or more IC partners (only partners with inbox type **API** are listed) and confirm.

The configuration is created or updated in each selected company; a window shows the progress.


The **IC Search** action is available on the **Items**, **Vendors** and **Chart of Accounts** pages. It opens the **IC Data Search** page when an enabled configuration contains the corresponding table.

1. Choose **IC Search** from the list.
2. Type text in the **Search** field: the search runs in the company of the IC partner set in the configuration, on the fields marked **Search**.
3. Results show up to 4 columns, matching the search fields.
4. Select the desired line and choose **Import**.

The record is created in the current company with its key and the values of the fields marked **Sync**; if it already exists, it is updated. The page closes when done.


- **Blocked fields:** when a table has **Blocked** fields in an enabled configuration:
  - manual changes to those fields are prevented with the message "IC Data, unable to modify" followed by the field name;
  - if the record key fields (e.g. the number) are blocked, records cannot be created or renamed manually: the message "Unable to insert into ..., use IC Data Search" appears. New records must be imported with **IC Search**.
- **Intercompany number series:** the **No. Series** page has an **IC Partner Code** field (hidden by default, can be shown by personalizing the page) and the series lines offer the **Intercompany** implementation. With this setting numbers are not assigned locally but requested from the company of the specified IC partner, which manages the series with the same code. This way several companies can share a single numbering.

# Integrations

# Italy E-Invoice via Aruba®

This feature adds **Aruba FE** as a document exchange transport, so Italian electronic invoices can be exchanged with the Exchange System (SdI) through Aruba's e-invoicing service. It lets you:

- send outgoing sales e-invoices to Aruba;
- receive SdI notifications for invoices sent (rejection, delivery to SdI, delivery or non-delivery to the recipient);
- download incoming purchase invoices.


1. Open the **Document Exchange Profiles** page.
2. Create or select the profile used for e-invoicing and set its transport to **Aruba FE**.
3. Choose the **Transport Setup** action: the **Aruba FE Setup** page for the profile opens. If no setup exists yet, it is created automatically.


| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup belongs to. Not editable. |
| API Endpoint | Address of Aruba's e-invoicing service. Use the assist button (…) to fill in the default production addresses. |
| API Endpoint (authentication) | Address of Aruba's authentication service. Use the assist button (…) to fill in the default production addresses. |
| Username | Username of the Aruba e-invoicing account. |
| Password | Password of the Aruba account. It is stored securely and displayed masked. |
| Last Reception Date/Time | Date and time from which incoming purchase invoices are searched. Updated automatically after each reception. Normally read-only: use the assist button (…) to make it editable. |


1. Open the **Aruba FE Setup** page from the profile, as described above.
2. In the **API Endpoint** field choose the assist button (…) and confirm *Use default production endpoint?*: both endpoints (service and authentication) are filled in.
3. Enter the Aruba account **Username** and **Password**.
4. Set **Last Reception Date/Time** to the date and time from which you want to start receiving purchase invoices (choose the assist button to make the field editable).
5. Make sure the **VAT Registration No.** in **Company Information** is filled in with the country prefix (e.g. `IT01234567890`): it identifies the company as sender when sending and as recipient when receiving.


- **Sending:** e-invoices are sent to Aruba one at a time, together with the company VAT number. The file name returned by Aruba is stored as the invoice transport ID.
- **Receiving notifications:** for sales invoices sent and not yet delivered, the status is read from Aruba and converted into the matching notification:
  - *Processing error* or *Rejected* → SdI rejection, with the error description;
  - *Sent* → delivery to SdI;
  - *Delivered* or *Not delivered* → outcome of delivery to the recipient.
- **Receiving purchase invoices:** invoices received after **Last Reception Date/Time** are downloaded in groups of 20. The unsigned version of the file is imported (without the `.p7m` extension). If reception is interrupted, the next run resumes where it left off. At the end, **Last Reception Date/Time** is updated with the date of the most recent invoice received.
- **Authentication:** sign-in to Aruba happens automatically with the username and password; when the session expires it is renewed without user action.
- **Service limits:** if Aruba reports too many requests, the system waits 60 seconds (showing a countdown) and retries, up to three attempts.

# Italy E-Invoice via ArXivar IX®

This feature adds **ARXivar IX** as a transport channel for document exchange, so electronic documents can be exchanged through the ArXivar IX platform. Two services are supported:

- **IXFE** (Italian electronic invoicing): sending sales e-invoices, receiving SdI notifications about sent invoices, and receiving purchase invoices;
- **IXPEPPOL**: receiving orders through the PEPPOL network.


1. Open the **Document Exchange Profiles** page.
2. Create or select the profile to use and set **ARXivar IX** as its transport.
3. Choose the transport setup action: the **ARXivar IX Setup** page for the profile opens. If the setup does not exist yet, it is created automatically.

The **ARXivar IX Setup** page can also be found through Business Central search.



| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup belongs to. Not editable. |
| API Endpoint | Address of the ArXivar IX service. Use the assist button (…) to fill in the default production address. |
| Username | ArXivar IX account username. |
| Password | Account password. Stored securely and shown masked. |
| Service ID | ArXivar IX service used by the profile: **IXFE** for electronic invoicing, **IXPEPPOL** for PEPPOL. It determines which additional section is shown on the page. |
| Aoo ID | Identifier of the Homogeneous Organizational Area (AOO) on ArXivar. Not directly editable: fill it in with the assist button (…). |
| Aoo Name | AOO name, filled in automatically. |
| Uo ID | Identifier of the Organizational Unit (UO) on ArXivar, filled in automatically. |
| Uo Name | UO name, filled in automatically. |


| Field | Description |
|---|---|
| Reception Restart Date/Time | If set, receiving purchase invoices restarts from notifications after this date and time. Normally not editable: use the assist button (…) to make it editable. |
| Transmission Restart Date/Time | If set, receiving notifications about sent sales invoices restarts from this date and time. Normally not editable: use the assist button (…) to make it editable. |


| Field | Description |
|---|---|
| Identifier Code | Code identifying the company on the PEPPOL network. When the IXPEPPOL service is selected, the **VAT Registration No.** from **Company Information** is proposed. Required to receive orders. |


1. Open the **ARXivar IX Setup** page from the profile, as described above.
2. In the **API Endpoint** field choose the assist button (…) and confirm the question *Use default production endpoint?*.
3. Enter **Username** and **Password**.
4. Choose the **Service ID** (IXFE or IXPEPPOL).
5. In the **Aoo ID** field choose the assist button (…): the system connects to ArXivar and finds the AOO and its UO matching the **VAT Registration No.** in **Company Information**, filling in IDs and names. If no AOO or UO is found, an error is shown.
6. For IXFE, set the reception and transmission restart dates/times if needed; for IXPEPPOL check the **Identifier Code**.


- **Sending invoices:** sales e-invoices are sent one at a time to the configured AOO/UO; the identifier returned by ArXivar is stored as the invoice reference.
- **Notifications on sent invoices:** SdI notifications (delivery to SdI, delivery to recipient, outcome, rejection with reason) are received and linked to the sent invoices.
- **Receiving purchase invoices:** purchase invoices available on ArXivar are downloaded and imported.
- **Restart dates/times:** when set, they are updated during reception with the date of the last processed notification and cleared when there are no more notifications to retrieve.
- **PEPPOL orders:** with the IXPEPPOL service, orders received through PEPPOL are downloaded.
- **Sign-in:** authentication with ArXivar is automatic; changing **Username** or **Service ID** renews the sign-in. With wrong credentials, an invalid login or password message is shown.
- **Upgrade:** existing setups without a **Service ID** are automatically set to IXFE.

# Treasury via DocFinance®

The module connects Business Central to the DocFinance® treasury software. It lets you:

- export master data to DocFinance (chart of accounts, banks, customers, vendors);
- export the open customer and vendor entries (due dates schedule);
- export general ledger entries to be reconciled;
- import entries generated by DocFinance (collections, payments, bank charges) into a general journal.

Exchanges run through **Document Exchange Profiles**, using the **DocFinance** format and the desired transport.



Search for **DocFinance Setup**. The page holds the general integration parameters.

| Field | Description |
|---|---|
| Company Name | Company code in DocFinance. On import only lines for this company are processed. |
| Default Line | Credit line proposed when not otherwise specified. |
| Default Priority | Priority used for due entries when none is set on the entry or on the master record. |
| Default Payment Method | Payment method used when the entry has none. |
| Default Cust. Financial Item | DocFinance financial item proposed for customer entries. |
| Default Vend. Financial Item | DocFinance financial item proposed for vendor entries. |
| Document No. Strip Chars | Characters removed from document numbers before export (e.g. `/` or `-`). |
| Document No. Length Error | What happens when a document number is too long for DocFinance: **Break** (error) or **Trim**. |
| Reference No. | Value exported as reference: blank, **Document No.** or **Global Dimension 1**. |
| Company Section | Source of the company section: blank or **Global Dimension 1**. |
| Default Company Section | Company section used when it cannot be derived from the entry. |
| Payment Discount Mode | Handling of payment discount on vendor entries: **Today** (only if still valid today), **Always**, **Never**. |


The **Bank Account Card** has a **DocFinance** section:

| Field | Description |
|---|---|
| DocFinance Code | Bank code in DocFinance. |
| DocFinance RBN | Bank relationship code in DocFinance. Together with the code it identifies the bank account in imported entries. |


On the **Payment Methods** page, the **DocFinance Code** field holds the matching payment method code in DocFinance.


The **Customer Card** and **Vendor Card** have a **DocFinance** section; the **G/L Account Card** shows the same section when the related account management feature is also active.

| Field | Description |
|---|---|
| DocFinance Priority | Default priority for due entries. It is copied to customer/vendor ledger entries when posting. |
| Export to DocFinance | What to export: blank (nothing), **Master data** (record only) or **Entries** (record plus entries). |

Initial values: customers and vendors **Entries**, G/L accounts **Master data**.


On the **Vendor Posting Groups** page, the **Export Entries to DocFinance** field (on by default) lets you exclude the vendors of a group from the due entries export.


In **Payment Setup**, the **DocFinance Reason Code** field sets the DocFinance reason code assigned to automatically generated collection journal lines.


| Where | Field | Description |
|---|---|---|
| Customer Ledger Entries | DocFinance Priority | Priority of the due entry; editable. |
| General Ledger Entries | DocFinance Lot No. | DocFinance lot the entry was imported from (read-only). |
| General Ledger Entries | DocFinance Reason Code | DocFinance reason code of the entry. |
| General Ledger Entries | DocFinance Exported | Shows whether the entry has already been exported (read-only). |
| General / Sales Journal | DocFinance Reason Code | DocFinance reason code of the line (hidden by default). It is carried to the posted G/L entry. |



1. In **Document Exchange Profiles**, create a profile with **Exchange Format** = **DocFinance** and the desired **Exchange Transport**.
2. Run the profile manually from the relevant page. The options offered are:
   - **Export Chart of Accounts, Banks, Customers, Vendors to DocFinance via ...** (from customers, vendors or chart of accounts);
   - **Export Customer/Vendor Entries to DocFinance via ...** (from customer or vendor ledger entries);
   - **Export G/L Entries to DocFinance via ...** (from general ledger entries).
   When run without a context, all three exports are offered.
3. The file is sent through the profile's transport (master data, due entries, G/L entries).


1. Open the **General Journal** on the batch to load.
2. Run the DocFinance profile and choose **Import G/L entries from DocFinance via ...**.
3. Existing lines in the batch are deleted and replaced with the received ones; review and post them.


1. In **General Ledger Entries**, select the entries.
2. Use the **Mark for DocFinance Export** action and confirm.
3. The entries become exportable again on the next export. Only entries of accounts with **Export to DocFinance** = **Entries** are allowed.


- **Due entries**: open entries of customers and vendors with **Export to DocFinance** = **Entries** are exported. Customer payments of bank receipt type and vendors whose posting group excludes export are skipped.
- **Priority**: the exported priority is the entry's; if blank, the master record's; otherwise the setup **Default Priority**.
- **G/L entries**: only entries not yet exported, not reversed, not imported from DocFinance, with a DocFinance reason code and a company bank account, on accounts with **Export to DocFinance** = **Entries**, are exported. After sending they are marked as exported and the number of exported entries is shown.
- **Import**: for each line company, bank (code and RBN), account and currency are checked; a document from an already imported lot is reported. If there are errors, the file is not confirmed as received. Withholding tax and contributions are handled on vendor payments.
- **Priority on entries**: on posting, the customer or vendor DocFinance priority is copied to the entry; changes made on the entry are kept.

# FedEx®

The module integrates Business Central with the FedEx® web services through **Document Exchange**. It adds FedEx as both a format and a transport that can be selected in **Document Exchange Profiles**, a dedicated setup page for the FedEx API credentials, and an action to request the shipping label from **Shipping Agent Requests**.


1. Open the **Document Exchange Profiles** page.
2. Create or select a profile and set **FedEx** as its format and/or transport.
3. Use the **Transport Setup** (or **Format Setup**) action to open the profile's **FedEx Setup** page. If the setup does not exist yet, it is created automatically.


**General** FastTab:

| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup refers to. Not editable. |
| API Endpoint | Base address of the FedEx web services (test or production environment). |
| API Key | API key (client ID) provided by FedEx to access the services. |
| API Secret | API secret (client secret) provided by FedEx. The value is masked and stored in a protected area. |
| Shipping Agent Code | Business Central shipping agent (**Shipping Agents** table) that corresponds to FedEx. |


1. Open a **Shipping Agent Request** (or the **Shipping Agent Requests** list).
2. Use the **Document Exchange** action.
3. Choose the **Request label to <profile description>** option for the FedEx profile.


- On the first call, the system authenticates with FedEx using the API key and secret, stores the access token it receives and reuses it for subsequent calls.
- If the token has expired or is invalid, a new token is requested automatically and the request is repeated.
- Any error messages returned by FedEx are shown to the user.
- The FedEx profile supports sending only: document receiving functions are not available.
- Deleting the FedEx setup of a profile also deletes the stored API secret.

# JDA® Replenishment

The module integrates Business Central with the JDA® replenishment system. Through a document exchange profile you can:

- **export** to JDA items, item descriptions, vendors, inventory, open purchase orders and outbound history;
- **import** from JDA the proposed purchase orders, which are created automatically in Business Central.

Only locations that have a **JDA Warehouse ID** are involved.



On the **Location Card** page, **General** FastTab, the following field is available:

| Field | Description |
|---|---|
| JDA Warehouse ID | Code that identifies the location in JDA. Only locations with this field filled in take part in the data exchange. |


1. Create a document exchange profile with format **JDA Replenishment** and configure its transport (folder, FTP, etc.).
2. Open the format setup from the profile: the **JDA Replenishment Setup** page opens, created automatically for the profile.


| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup refers to (read-only). |
| Item Entries Starting Date | Date from which item entries are considered to decide whether an item is active at a location. |
| History Starting Date | Date from which the outbound history export starts. Required to export history. |
| Purchases Source Filter | Filter on the purchase sources to include: limits the exported items and vendors. |
| Sales Order Type Filter | Filter on the sales order types whose shipments and invoices are counted in the history. |
| Transfer Order Type Filter | Filter on the transfer order types whose outbound movements are counted in the history. |


The **JDA Replenishment Setup** page provides the following actions:

**Import**

| Action | Effect |
|---|---|
| Purchase Orders | Receives the proposed purchase orders from JDA and creates them in Business Central. |

**Export**

| Action | Effect |
|---|---|
| Items | Sends JDA the master data of items managed at JDA locations. |
| Item Descriptions | Sends JDA the item descriptions. |
| Vendors | Sends JDA the vendors linked to enabled purchase sources. |
| Inventory | Sends JDA the inventory by item and location. |
| Purchase Orders | Sends JDA the open purchase orders (quantity still to receive) and goods being put away. |
| History | Sends JDA the outbound history (shipments, sales invoices and transfers) starting from the history starting date. |


- **Items considered:** only items that are not blocked, have a vendor and a purchase source (within the set filter) and are active at the location are exported: with open purchase orders, put-aways in progress or entries since the item entries starting date.
- **Daily export:** the profile can run a cumulative export (items, descriptions, vendors, inventory and purchase orders) sent in a single batch, for example from a job queue.
- **Order import:** for each order received a purchase order is created with vendor, location (identified by the JDA Warehouse ID), order date, reference and lines with quantity, cost, discount and expected receipt date. Orders already existing with the same vendor, location, reference and order date are not duplicated. If the purchaser code sent by JDA does not exist, it is created automatically. At the end, an import confirmation is sent to JDA.

# Shopify®

The module connects Business Central to a Shopify® online store through document exchange. Paid Shopify orders are downloaded automatically and turned into sales **Store Documents** of the linked store, with item lines, shipping charges, payments and any refunds. The number of the document created in Business Central is then written back to the order in Shopify.


1. Open the **Document Exchange Profiles** page.
2. Create (or select) a profile with **Exchange Format** and **Exchange Transport** set to **Shopify**.
3. Use the profile's **Setup** action to open the **Shopify Setup** page for that profile.


| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup belongs to (read-only). |
| Store URL | Address of the Shopify store. Required. |
| Client ID | Client identifier of the Shopify app used for the connection. |
| Client Secret | Secret key of the Shopify app. It is stored securely and shown masked; changing it forces a new authentication on next use. |
| Exchange Reference Code | Optional exchange reference that maps a Shopify product name to a Business Central item or G/L account. |
| Store No. | Business Central store in which documents are created. The store must have a customer (with a VAT business posting group) and a linked location. |
| Order Starting Date | Only payments and refunds made on or after this date are imported. |
| Last Order Check | Date/time of the last order update read from Shopify. Must be filled in before the first download and is updated automatically. |
| Fixed Payment Method Code | Payment method used for all imported payments and refunds. |
| Shipping Account No. | G/L account for shipping charges. |
| Shipping VAT Posting Group | VAT product posting group for shipping charges. |
| Refund Account No. | G/L account for refunds. |
| Refund VAT Posting Group | VAT product posting group for refunds. |


After entering the connection data, run **Initialize APP** (with confirmation). The action prepares the Shopify store by creating, if it does not already exist, the custom order field in which Business Central writes the number of the created document.


1. Create a custom app in Shopify and note its client ID and client secret.
2. Create the document exchange profile with **Shopify** format and transport and open its **Setup**.
3. Fill in **Store URL**, **Client ID** and **Client Secret**.
4. Enter **Store No.**, **Order Starting Date**, **Last Order Check** and **Fixed Payment Method Code**.
5. Enter the accounts and VAT groups for shipping and refunds.
6. Run **Initialize APP**.



The download process reads from Shopify all orders updated after **Last Order Check**. For each order a queued entry with the message "Order <no.> downloaded" is created in the **Document Exchange Log** and then processed. **Last Order Check** moves forward as orders are read. The number of the order being processed is shown during the operation.


Only paid, partially refunded or refunded orders are considered.

- **Sale**: at the date of the first successful payment (if not earlier than **Order Starting Date**) a sales store document is created, with:
  - the customer's **store contact**, found by e-mail or created with first name, last name, address and e-mail;
  - one line per product, with quantity and discounted amount. The item is identified, in this order, through the exchange reference (product name), the barcode in item references, or an item number equal to the barcode. An unrecognized product with an amount stops processing with the message "Unknown: <barcode> <name>"; unrecognized zero-amount lines remain as comments;
  - a **Shipping** line on the shipping account, if there is a shipping cost;
  - payment lines (described with the Shopify payment gateway) and, if needed, a balancing line for any difference from the total.

  The document is closed automatically and its number is written to the Shopify order.
- **Refunds**: for each successful refund (not earlier than **Order Starting Date**) a separate store document is created with a negative **Refund** line on the refund account and the matching negative payment; this document is also closed automatically.

Orders and refunds already imported are not created again. At the end, the queued entry is replaced by a completed entry linked to the created store document.

# Italy E-Invoice via Zucchetti Digital Hub®

This feature adds **Zucchetti Digital Hub** as a transport channel for document exchange, so you can exchange Italian electronic invoices with the Exchange System (SdI) through the Zucchetti Digital Hub service. It lets you:

- send sales electronic invoices, which are automatically signed and confirmed on the service;
- receive SdI notifications for sent invoices (delivery to SdI, delivery to recipient, rejection);
- download received purchase invoices.


1. Open the **Document Exchange Profiles** page.
2. Create or select the profile to use for electronic invoicing and set **Zucchetti Digital Hub** as its transport.
3. Choose the **Transport Setup** action: the **Zucchetti Digital Hub Setup** page for the profile opens. If no setup exists yet, it is created automatically.


| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup refers to. Not editable. |
| API Endpoint | Address of the Zucchetti Digital Hub service. Use the assist button (…) to set the default production address. |
| Username | Username of the Zucchetti Digital Hub account. |
| Password | Account password. It is stored securely and shown masked. |
| Company Code | Code of the company on the Zucchetti Digital Hub service, used to sign in. |
| Company Identifier | Identifier of the company as recipient (transferee) of purchase invoices; required to receive purchase invoices. |
| Last Reception Date/Time | Date and time from which purchase invoices to receive are searched. It is updated automatically during reception. It is normally not editable: to correct it, use the assist button (…), which makes it editable. |


1. Open the **Zucchetti Digital Hub Setup** page from the profile, as described above.
2. In the **API Endpoint** field choose the assist button (…) and confirm the question *Use default production endpoint?* to set the production address.
3. Enter the **Username**, **Password** and **Company Code** provided by Zucchetti.
4. To receive purchase invoices, fill in **Company Identifier** and set **Last Reception Date/Time** to the date and time from which you want to start receiving (choose the assist button to make the field editable).


- **Sending:** each electronic invoice is uploaded to the service and then immediately signed and confirmed. If the service returns a negative outcome, the error message received is shown. An identifier generated at sending time is stored as the invoice's transport ID.
- **Receiving notifications:** for sent sales invoices not yet delivered, the status is queried on the service, in groups of 50, and converted into the corresponding notification:
  - delivery to SdI;
  - delivery to recipient;
  - SdI rejection;
  - invoices still being processed are skipped and checked again at the next reception.
- **Receiving purchase invoices:** received invoices are downloaded day by day starting from **Last Reception Date/Time**, in their unsigned version. After each processed day, **Last Reception Date/Time** moves forward automatically, up to the current date and time. If an invoice can no longer be downloaded because the period has been archived, reception stops with the message *Date … has been archived, move forward*: in this case, move **Last Reception Date/Time** forward.
- **Authentication:** sign-in to the service happens automatically with username, password and company code.

# Italy

# Activity Code

The Italian localization of Business Central includes the **Activity Code** field, used to identify the VAT activity that documents and postings refer to. This feature automatically fills in the field with the default **Activity Code** set in **Company Information**, so you don't have to enter it manually every time.


1. Open the **Company Information** page.
2. Fill in the **Activity Code** field with the code of the company's main activity.

If the field is blank, no automatic fill-in takes place.


The **Activity Code** from Company Information is suggested only if the field on the document or line is still blank; an existing value is never overwritten.

| Where | When it is suggested |
|---|---|
| **General journal lines** | When you enter the **Account No.** of a G/L account and the **Gen. Posting Type** is **Purchase** or **Sale**; or when you change the **Gen. Posting Type** to **Purchase** or **Sale**. |
| **Sales documents** (quotes, orders, invoices, credit memos…) | When the system sets the document's operation type, for example when it is created. |
| **Purchase documents** (quotes, orders, invoices, credit memos…) | When the system sets the document's operation type, for example when it is created. |
| **Finance charge memos** | When you enter the **Customer No.** |

You can still change the suggested value manually on the document or line.

# Italy E-Invoice

The module manages Italian electronic invoices (FatturaPA) to and from the Exchange System (SdI):

- **outbound**: creates the XML file for posted sales invoices and credit memos, issued finance charge memos and reverse charge self-invoices, sends it and tracks its SdI status;
- **inbound**: imports e-invoices received from vendors, lets you view them, create the vendor if missing and automatically generate the purchase invoice or credit memo.


Search (magnifying glass icon) for:

- **Italy E-Invoice Setup** – module setup;
- **Italy Outbound E-Invoices** – list of issued e-invoices;
- **Italy Inbound E-Invoices** – list of received e-invoices.

Opening a line of the lists shows the **Italy E-Invoice** card.



| Field | Description |
|---|---|
| Working Path | Folder where received and generated XML files are stored. Required to import and export invoices. |
| Stylesheet Path | Stylesheet used to display invoices in HTML. Load it with the **Upload stylesheet** action. |
| Company PA Code | Company recipient code, used in reverse charge self-invoices. |


| Field | Description |
|---|---|
| Skip SdI Delivery Date Check | When enabled, turns off the date checks performed when posting purchase documents created from e-invoices (see *Automatic behavior*). |


| Field | Description |
|---|---|
| Last Progressive No. | Last transmission progressive number assigned to files. |
| Document No. Strip Chars | Characters removed from the document number when written in the e-invoice. |
| Description Lines VAT Reference | VAT legal reference text used for description lines that are sent. |
| Description Lines VAT Nature | VAT nature assigned to description lines that are sent. |
| Send Description Lines | When enabled, text-only lines (no type) are also included in the e-invoice. |
| Item No. Tag Name | If filled in, the item number is added to the line item codes with this code type. |
| Item Barcode Tag Name | If filled in, the item barcode is added to the line item codes with this code type. |
| Create E-Invoice after Posting | When enabled, the e-invoice is created automatically when sales invoices and credit memos are posted, finance charge memos are issued and reverse charge purchase documents are posted. |


| Field | Description |
|---|---|
| Transmitter VAT Registration No. | VAT number of the party transmitting invoices to SdI (intermediary). |
| Transmitter Phone No. | Transmitter phone number. |
| Transmitter E-Mail | Transmitter e-mail address. |


- **Upload stylesheet**: uploads the stylesheet file used for the HTML view.


| Page | Field | Description |
|---|---|---|
| Customer Card (after *PEC E-Mail Address*) | Send E-Invoice via PEC | When enabled, the invoice is addressed to the customer's PEC address (required) and, if no PA code is set, recipient code `0000000` is used. When disabled, the customer's **PA Code** is required. |
| Sales Invoice and Sales Order (after *Customer Purchase Order No.*) | PA Code | Recipient code specific to the document; if blank, the customer's code is used. |
| Fattura Codes (payment codes) | Payment Method Code | Payment method proposed on purchase documents created from received e-invoices with that payment code. |
| VAT Entries | Fattura Document Type | Shows the e-invoice document type; it is kept when VAT entries are edited. |
| Apply VAT Summary | **Get from IT E-Invoice** action | Fills the purchase document VAT summary lines with data from the received e-invoice. |


| Field | Description |
|---|---|
| Document Type | E-invoice document type (TD01, TD04, …). |
| Document No. / Posting Date | Source posted document. |
| Source No. / Source Description | Customer (or vendor for self-invoices). |
| PA Code | Recipient code used. |
| Amount | Document amount. |
| Send/Receive Date/Time | Sending date and time. |
| SdI Number | Identifier assigned by SdI. |
| SdI Status | Delivery status: blank, Sent, Delivered to SdI, Delivered to Recipient, Error. |
| SdI Status Message | Message of the last notification received. |
| Progressive No. | Progressive number of the sent file. |
| Source VAT Registration No. / Source Fiscal Code | Counterparty tax data. |


- **Export in HTML**: downloads the selected invoices as readable HTML using the configured stylesheet.
- **Download**: downloads the XML file; with several lines selected, downloads a ZIP file.
- **Upload**: after confirmation, replaces the XML file of the selected invoice with an uploaded file.
- **Mark as Delivered to Recipient**: after confirmation, marks the selected invoices as delivered to the recipient on the work date.
- **Document Exchange**: runs document exchange profile operations, such as **Export Italy E-Invoice**, **Export Italy E-Invoice (reverse charge)**, **Send Italy E-Invoices via …** and **Receive Italy E-Invoices Notifications via …**.

An outbound invoice can be deleted only if its SdI status is blank or **Error**.


| Field | Description |
|---|---|
| Document Type | E-invoice document type. |
| External Document No. / Document Date | Vendor invoice number and date. |
| Document No. / Posting Date | Linked posted purchase document. |
| Source No. / Source Description | Vendor. |
| Amount | Total amount. |
| Payment Discount Amount / Payment Discount Date | Early payment discount (hidden by default). |
| Send/Receive Date/Time | Date and time received from SdI. |
| Source VAT Registration No. / Source Fiscal Code | Vendor tax data. |
| SdI Number | SdI identifier. |
| Purchase Document No. | Purchase invoice or credit memo (not yet posted) created from the e-invoice. |
| Note | Free, editable note. |

The **Attachments** FactBox shows the attachments contained in the e-invoice.


- **Create Vendor**: if the vendor does not exist, asks for confirmation and creates it with the invoice data.
- **Create Document**: asks for confirmation and creates the purchase invoice or credit memo with lines, payments and attachments from the e-invoice (plus the HTML version if a stylesheet is set), then opens it. If the document already exists, it opens it.
- **Export in HTML**: downloads the selected invoices in HTML.
- **Upload**: manually imports an e-invoice file (XML, signed P7M or ZIP with several invoices). Confirmation is requested if the invoice is not addressed to the company or is a self-invoice.
- **Download**: downloads the original file.
- **Document Exchange**: runs document exchange profile operations, such as **Receive Italy E-Invoices via …**.
- **Find entries...**: opens Find Entries for the posted document.
- **Extract Lines**: exports the lines of the selected invoices to a CSV file.

An inbound invoice cannot be deleted if it is linked to a purchase document or has an SdI number.



1. Open **Italy E-Invoice Setup**.
2. Fill in **Working Path** and, if needed, upload the stylesheet with **Upload stylesheet**.
3. Fill in transmitter data and outbound document options.
4. On customers, enter the **PA Code** or enable **Send E-Invoice via PEC**.


1. In **Italy Inbound E-Invoices**, receive invoices with **Document Exchange** or load them with **Upload**.
2. If the vendor is not recognized, use **Create Vendor**.
3. Use **Create Document** to generate the purchase invoice, review it and post it.


1. Post the sales invoice (with **Create E-Invoice after Posting** the file is created immediately; otherwise use **Document Exchange** > **Export Italy E-Invoice**).
2. In **Italy Outbound E-Invoices**, send invoices with **Document Exchange** and receive notifications to update the **SdI Status**.


- On receipt, the system tries to link the invoice to an already posted purchase document with the same vendor, number and date.
- When a purchase invoice or credit memo is posted, the matching e-invoice is linked to the posted document (**Document No.**, **Posting Date**).
- If the purchase document is deleted, the link on the e-invoice is removed and the document can be created again.
- If the invoice was received in a year other than the work date year, the proposed VAT date is the last day of the previous year.
- Unless **Skip SdI Delivery Date Check** is enabled, at posting the posting date cannot be earlier than the SdI receipt date, and the VAT reporting date and operation occurred date cannot be later than 31/12 of the receipt year.
- On the e-invoice card, **SdI Status** and **Send/Receive Date/Time** can be edited only while there is no SdI number.

# Enhanced Fiscal Report

The module provides enhanced versions of the Italian fiscal prints (G/L Book, VAT Registers, VAT Settlement, Fixed Asset Book) and a set of Italian business document layouts (orders, invoices, credit memos, shipments, reminders). It also adds a few setup fields and an automatic check for numbering gaps in VAT documents.



Automatically replaces the standard G/L Book print: when the user runs **G/L Book - Print**, the enhanced version is executed.

| Option | Description |
|---|---|
| Report Type | **Test Print**, **Final Print** or **Reprint**. |
| Starting Date | Automatically proposed as the day after the last final print. |
| Ending Date | Last date of the period to print. |
| Print Headings | Prints the company heading (name, fiscal code, VAT registration no.). |
| Last Page No. | Number of the last printed page, to continue page numbering. |

Behavior:
- In final print the report checks that no unprinted entries exist before or within the period and that the period has not already been printed; otherwise it stops with an error.
- Each document is checked for balance; an unbalanced document blocks the print.
- At the end of a final print, the printed G/L entries are marked with their progressive line and registration numbers, and on the **General Ledger Setup** page the last printing date, last progressive number and last registration number (**Last General Journal Reg. No.**) are updated.
- The report shows starting totals and print totals.


Replaces the standard VAT register print. It can also be started from the **VAT Registers** page with the **Print Register** action, which proposes the selected register.

| Option | Description |
|---|---|
| VAT Register | Register to print. |
| Starting Date / Ending Date | Period to print. |
| Printing Type | **Test**, **Final** or **Reprint**. |
| Print Headings | Prints the company heading. |
| Last Page No. | Number of the last printed page. |

Behavior:
- The report lists VAT entries grouped by number series, unrealized VAT payments and the summary by VAT identifier; entries whose operation date falls in a different month from the posting date are highlighted.
- **Final** printing is allowed only if there are no earlier unprinted entries and the period has not already been printed as final; a confirmation is requested before running.
- After a final print the entries are marked as printed, the register's last printing date is updated, and the period is stored so it can be **Reprinted**.
- **Reprint** is allowed only for periods already printed as final.


Available from search as a report. Prints the VAT settlement for the given period with a summary by VAT identifier.

| Option | Description |
|---|---|
| VAT Register | Reference register. |
| Starting Date / Ending Date | Settlement period. |
| Print Headings | Prints the company heading. |
| Last Page No. | Number of the last printed page. |


Available from search as a report. Prints the fixed asset book for the given period, with acquisitions, disposals and depreciation.

| Option | Description |
|---|---|
| Depreciation Book | Depreciation book to print. |
| Starting date / Ending date | Period to print. |

If a parameter is missing, the report stops with an error.


When running Calculate and Post VAT Settlement, the system checks that, in sales and purchase number series with date order, no invoice, credit memo or finance charge memo numbers are missing in the period. If a number is missing, the process stops showing the number series, type and missing number.

On the **No. Series** page the following field is available:

| Field | Description |
|---|---|
| Ignore Gaps | When enabled, the number series is excluded from the gap check. |


In **General Journal Templates**, the **Force Doc. Balance** option must always remain enabled: it cannot be turned off.


The module provides the following print layouts, with a company heading that includes fiscal code, VAT registration no., REA no., paid-in capital, website, e-mail and PEC address, and bank details where relevant (ABI, CAB, SWIFT):

- IT Sales - Order
- IT Sales - Draft Invoice
- IT Sales - Invoice
- IT Sales - Draft Cr. Memo
- IT Sales - Credit Memo
- IT Sales - Shipment
- IT Issued Reminder
- IT Purchase - Order
- IT Transfer Shipment
- IT Direct Transfer Shipment

Shipment prints have a **No. of Copies** option to print multiple copies of the document.


**Customer Card** (Shipping FastTab):

| Field | Description |
|---|---|
| Shipment Copies | Number of copies proposed when printing the customer's sales shipments (if blank, 1 copy). |

**Location Card**:

| Field | Description |
|---|---|
| Company Name | Name used as the delivery recipient in the ship-to address of purchase orders. |
| Shipment Copies | Number of shipment copies associated with the location. |

# Recalculate payment % from amount

In the **Payment Date Lines** page (the payment installments of a document, splitting the payment into several due dates) the **Amount** field becomes editable. When you change the amount of an installment, the **Payment %** of all installments is automatically recalculated in proportion to the amounts.


Open the **Payment Date Lines** page from the document or entry where the payment installments are managed.


| Field | Description |
|---|---|
| **Amount** | Installment amount. It can now be edited directly. |
| **Payment %** | Percentage of the installment over the total. Automatically recalculated after an amount is changed. |


1. Open the **Payment Date Lines** page.
2. Change the **Amount** field of one or more installments.
3. After each change, the **Payment %** of all installments is updated and the page immediately shows the new values.


- Each installment's percentage is calculated as its amount divided by the sum of the amounts of all installments in the same group, multiplied by 100.
- The recalculation runs only if the amount actually changed and the total of the amounts is not zero.

# Check external document no. by year

When you post a purchase document (vendor invoice or credit memo), Business Central checks that the **External Document No.** has not already been used for the same vendor. With this module, the duplicate check is limited to the **calendar year** of the **Document Date**.

This lets you post documents from a vendor with the same external number as long as they belong to different years — the typical case of Italian vendors who restart their invoice numbering every year.


1. Open a purchase invoice or credit memo and fill in **External Document No.** and **Document Date**.
2. When posting, the system searches the vendor ledger entries of the same vendor for a document with the same external number.
3. The search only considers entries whose **Document Date** falls between January 1 and December 31 of the year of the new document's date.
4. If a duplicate is found in the same year, posting is blocked as usual; if the number was used only in other years, posting continues.


| Document | External Document No. | Document Date | Result |
|---|---|---|---|
| Already posted invoice | 15 | 03/10/2025 | — |
| New invoice | 15 | 02/05/2026 | Can be posted (different year) |
| New invoice | 15 | 11/20/2025 | Blocked (same year) |


- The check is automatic and requires no additional setup.
- The external document no. check must still be enabled in Purchases & Payables Setup.

# Enhanced "Fattura Stamp" management

This module simplifies the handling of the Italian stamp duty (Fattura Stamp) on sales documents. Based on a configured threshold, the system checks whether a document requires the stamp, sets its amount automatically and, if requested, adds a line to charge the stamp refund to the customer.

The feature is available on:

- Sales Invoices and Sales Credit Memos;
- Finance Charge Memos, which get the new **Fattura Stamp** and **Fattura Stamp Amount** fields, also carried to issued finance charge memos and to the electronic invoice;
- Invoicing Rules, to apply the stamp automatically.


Open **Sales & Receivables Setup**. The new **Fattura Stamp** section contains these fields:

| Field | Description |
|---|---|
| Default Fattura Stamp Amount | Stamp amount applied to documents. Required to use the feature. |
| Fattura Stamp Threshold | The stamp is applied only when the total of the document lines without VAT (0% rate) exceeds this value. |
| Fattura Stamp G/L Account | G/L account used for the stamp refund line charged to the customer. When filled in, the refund is proposed as the default option. |
| Fattura Stamp Description | Description used for the stamp refund line. If blank, the account description is used. |



1. Open the sales invoice or sales credit memo.
2. In the **Fattura Stamp Amount** field, click the assist button (…).
3. Choose one of the options:
   - **Only declare stamp**: the document is marked with the stamp and its amount, without charging it to the customer;
   - **Declare and apply stamp refund**: in addition to the declaration, a line on the configured account with the stamp amount is added at the end of the document, to charge it to the customer.


1. Open the finance charge memo.
2. The **Posting** FastTab contains the **Fattura Stamp** and **Fattura Stamp Amount** fields.
3. Click the assist button (…) of the **Fattura Stamp Amount** field and choose the desired option, as for invoices.

| Field | Description |
|---|---|
| Fattura Stamp | Indicates that stamp duty is due on the document. |
| Fattura Stamp Amount | Stamp amount declared on the document. |


- Each time it runs, any stamp refund lines previously created by the system are removed and recalculated, so no duplicates are created.
- If the total of the lines without VAT does not exceed the **Fattura Stamp Threshold**, the stamp is removed from the document (fields cleared, no refund line).
- The stamp declared on finance charge memos is carried to the electronic invoice.


The **Invoicing Rule** page has the **Apply Stamp** field. When enabled, applying the rule to a sales document automatically declares the stamp (if a default amount is set up) and, if a **Fattura Stamp G/L Account** is specified, also adds the refund line.

| Field | Description |
|---|---|
| Apply Stamp | Automatically applies the stamp to documents the rule is applied to. |

# Enhanced RIBA/RID

The module extends Business Central customer bill handling (RIBA and RID/SDD):

- export of issued bills in CBI format through **Document Exchange**, replacing the standard exports;
- import of the CBI dishonored file directly into the cash receipt journal;
- a dedicated account and payment method for dishonored bills;
- direct debit type (SDD Core / B2B) and code type on SEPA mandates;
- automatic proposal of the customer bank account and SEPA mandate on bill lines.



| Field | Description |
|---|---|
| Dishonored Acc. No. | G/L account used as balancing account for imported dishonored lines. If empty, the bank of the issued bill is used. |
| Dishonored Payment Method | Payment method assigned to the customer ledger entry when the bill is closed by the bill list. |


| Field | Description |
|---|---|
| Direct Debit Type | For direct debit methods: blank, **Consumption** (SDD Core) or **Fast** (SDD B2B). The value is written to the exported CBI file. |


| Field | Description |
|---|---|
| Code Type | Digit from 0 to 9 written to the CBI file as the debtor code type. Hidden by default: add it through page personalization. |


Document exchange profiles can use the **Customer Bill** format, which enables CBI bill export and CBI dishonored import.


On the **Customer Bill Card** and the **Issued Customer Bill Card** the standard export-to-file actions are hidden. To export:

1. Open the **List of Issued Cust. Bills** (or an issued bill card).
2. Select one or more bills.
3. Choose the **Document Exchange** action and the **Export CBI Customer Bill** option.

The file is produced according to the configured exchange profile. Required: payment method with a bill code, bank with ABI code, SIA code in company information and EUR as local currency.


1. Open the **Cash Receipt Journal** on the desired batch.
2. Choose the **Document Exchange** action and the **Import CBI Dishonored** option.
3. The batch is cleared and filled with the dishonored lines read from the received file(s).
4. Review the lines and post the journal.

For each dishonored bill, **Dishonored** lines are created for the customer, applied to the original bill, balanced against the bill's **Dishonored Acc. No.** or, if empty, the bank of the bill list. The customer is identified by the SEPA mandate (RID/SDD) or by customer number (RIBA). If the dishonored amount exceeds the amount that can be applied, an extra line is created for the difference and a warning is logged. Errors (mandate, customer, bill or bill list not found) are reported in the document exchange log.


- **Suggested bill lines:** with a direct debit payment method, the customer's first non-blocked SEPA mandate is proposed; otherwise the customer's preferred bank account is proposed.
- **Customer bank account:** changing the customer bank account on a direct debit bill line proposes the non-blocked SEPA mandate linked to that bank account.
- **Mandate:** selecting a mandate on the line takes the customer bank account from the mandate.
- **Cumulative bills:** the standard check on the cumulative bank receipts field of bill lines is not applied.
- **Bill closing:** when the bill list closes the bill entry and the bill has a **Dishonored Payment Method**, it is assigned to the customer ledger entry.
- **Issued bill lines:** a **Posting Date** field shows the posting date of the bill list.

# Electronic VAT Settlement

The module prepares and generates the XML file of the **Periodic VAT Settlement Communication** (LIPE) to be submitted to the Italian Revenue Agency. Starting from the periodic VAT settlements posted in Business Central, it calculates the totals of sales and purchase transactions, output and deductible VAT, quarterly interest and advances, and produces the file in the format required by the technical specifications.



On the **General Ledger Setup** page, **Fiscal Reporting** section, the following field is available:

| Field | Description |
|---|---|
| VAT Quarter Interest % | Interest percentage due by taxpayers with quarterly settlement (normally 1%). It is used to calculate the quarter interest automatically. |

On the same page, the fields for the last general journal number and the official debit/credit amounts are read-only; the last printed general journal register number is also shown, read-only.


On the **VAT Posting Setup** page, next to the field that includes the combination in the VAT communication report, the following field is available:

| Field | Description |
|---|---|
| VAT Settl. Comm. Type | When blank, the combination contributes normally to the totals. With **Exclude Sale Base** the sales VAT is counted, but the sales base is not included in the total of sales transactions. |

Only VAT posting setup combinations included in the VAT communication report are considered in the calculation.


To export the file you need a document exchange profile with the **Italy Periodic VAT Settlement** format, linked to the desired transport channel (for example, file download).


The following fields have been added to the periodic VAT settlement card.

In the **Settlement** section:

| Field | Description |
|---|---|
| Quarter Interests | Interest due for quarterly settlement, calculated automatically when the period VAT is payable. The value can be changed. |
| Advance Method | Method used to determine the VAT advance: Historical, Forecast, Exact, Utilities Sector. Required when an advance amount is specified. |

In the **Periodic Communication** section:

| Field | Description |
|---|---|
| Periodic Communication No. | Sequential number of the communication in which the settlement was submitted. It is assigned automatically on the first export. To change it manually, use the assist button (…) that makes the field editable. |
| Sales Base | Total sales transactions for the period. The assist button (…) recalculates all amounts in the section, after a confirmation prompt. |
| Sales Amount | Output VAT for the period. |
| Purchase Base | Total purchase transactions for the period (including the non-deductible part). |
| Purchase Amount | Deductible VAT for the period. |



When you run **Calc. and Post VAT Settlement** with the post option enabled, the periodic communication amounts for the settled period are calculated automatically at the end (also for each activity code, if settlement per activity code is enabled):

- all sales and purchase VAT entries of the period are read;
- for purchases, VAT and base (including the non-deductible part) are summed;
- for sales, the payable VAT and the base are summed; for transactions with deferred VAT, the base is counted at the time of the transaction and the VAT when it becomes payable;
- if settlement is quarterly and the period is payable, **Quarter Interests** is calculated by applying the **VAT Quarter Interest %** to the amount due.

The amounts can be recalculated at any time from the card, with the assist button of the **Sales Base** field.


1. Open the list of periodic VAT settlements.
2. Select one to three settlements of the same year (for example the three months of a quarter, or a single quarter).
3. Start document exchange and choose the **Export Italy Periodic VAT Settlement** operation.
4. The system generates the XML file, with one module for each selected settlement, and sends it through the profile channel.

Notes:

- The selected settlements must belong to the same year and have the same communication number (or all be not yet communicated); otherwise an error is shown.
- On the first export, the next communication number after the last one used is assigned; later exports of the same settlements reuse the same number.
- The file contains the company data (VAT registration number, which must be Italian in the format "IT" followed by 11 digits, and fiscal code), the declarant (from the company officials) and, if set up, the intermediary.
- For each period the file reports: sales and purchase totals, output and deductible VAT, VAT payable or credit, prior period debit or credit, prior year credit, interest, advance with its method, and the final amount to pay or credit.
- The file name consists of the VAT registration number, the "_LI_" suffix and the communication number.

# Fiscal code on salesperson

The module adds the **Fiscal Code** field to the Business Central **Salesperson/Purchaser Card**, to record the Italian fiscal code (codice fiscale) of the salesperson or purchaser.


1. Search for and open the **Salespersons/Purchasers** page.
2. Open the card of the salesperson or purchaser you want.
3. The field is at the bottom of the **General** FastTab.


| Field | Description |
|---|---|
| **Fiscal Code** | Fiscal code of the salesperson or purchaser (up to 20 characters). |


1. Open the **Salesperson/Purchaser Card**.
2. On the **General** FastTab, fill in the **Fiscal Code** field.
3. Close the card: the value is saved automatically.

# Fattura PA improvement

The module enriches the Italian electronic invoice (FatturaPA) with the customer's purchase order data, required in particular by the Public Administration: order number and date, job/agreement code, Project Code (CUP) and Tender Code (CIG).

The data is set once on the customer card, proposed automatically on sales documents and written into the electronic invoice XML file.


On the **Customer Card** page, **Invoicing** FastTab, the following new fields are available:

| Field | Description |
|---|---|
| Customer Purchase Order No. | Customer purchase order (or contract) number to be shown on the invoice. |
| Customer Purchase Order Date | Date of the customer purchase order. |
| Customer Job Code | Job or agreement code provided by the customer. |
| Fattura Project Code | CUP code, chosen among the configured codes of type Project. |
| Fattura Tender Code | CIG code, chosen among the configured codes of type Tender. |


On the **Sales Order** and **Sales Invoice** pages, right after the **Customer Purchase Order No.** field, you'll find:

| Field | Description |
|---|---|
| Customer Purchase Order Date | Date of the customer purchase order. |
| Customer Job Code | Customer job or agreement code. |

The same data is also kept on posted shipments, invoices and credit memos.


- **Defaults from the customer card:** when you set the Bill-to Customer on a sales document, the purchase order number and date, job code, CUP and CIG are copied from the customer card. You can then change them on the individual document.
- **Electronic invoice:** if the document has a customer purchase order number, the electronic invoice file includes the *Purchase Order Data* section (DatiOrdineAcquisto) with the document number and, when filled in, the date, job/agreement code, CUP and CIG.
- **Combine shipments:** when invoicing shipments of an order that is not set to combine shipments, the customer purchase order date and number, job code, CUP and CIG are carried from the order to the created invoice.
- **Imported PEPPOL orders:** when a PEPPOL order is imported, the order date and job code are read from the file and filled in on the sales document.

# Generate split payment mandatory

For sales documents subject to split payment, Business Central requires the dedicated VAT reversal lines to be generated. This feature makes these lines **mandatory** at posting time and allows them to be generated automatically:

- during batch posting of sales invoices and credit memos;
- when invoices are created through invoicing rules (for example when combining shipments).

A document is considered subject to split payment when it contains at least one line with VAT greater than zero whose VAT business and product posting group combination matches a reversal combination defined in **VAT Posting Setup** (split payment reversed VAT fields).


When posting an invoice, a credit memo or an order with the invoice option, if the document is subject to split payment but contains no automatically generated lines, posting is stopped with the message:

> Generate split payment lines first

In this case, generate the lines with the standard Business Central split payment action on the document, or use the options described below.


The **Batch Post Sales Invoices** and **Batch Post Sales Credit Memos** request pages include a new option:

| Field | Description |
|---|---|
| Generate Split Lines | When enabled, for documents subject to split payment that do not yet contain split lines, these lines are generated automatically before posting, avoiding the block. |


1. Open **Batch Post Sales Invoices** (or **Batch Post Sales Credit Memos**).
2. On the **Options** tab, enable **Generate Split Lines**.
3. Set the other parameters and filters, then confirm with **OK**.


The **Invoicing Rule** card includes the field:

| Field | Description |
|---|---|
| Generate Split Lines | When enabled, whenever an invoice is created or updated by applying the rule and the document is subject to split payment, existing split lines are deleted and regenerated automatically. |


- Before regenerating split lines, automatically generated lines with a zero amount including VAT are removed to avoid duplicates.
- If the document is not subject to split payment, no lines are generated and posting proceeds normally.

# Default operation type for credit memos, customer and vendor

The module automatically suggests the **Operation Type** (the number series used for VAT numbering of posted documents) on sales and purchase documents:

- for **credit memos** and **return orders**, based on the document's VAT business posting group;
- for sales documents, based on the bill-to customer.



The **VAT Business Posting Groups** page has two new fields:

| Field | Description |
|---|---|
| Default Sales Operation Type (Credit Memo) | Operation type (sales number series) suggested on sales credit memos and sales return orders using this group. |
| Default Purch. Operation Type (Credit Memo) | Operation type (purchase number series) suggested on purchase credit memos and purchase return orders using this group. |


On the **Customer Card**, right after the **VAT Bus. Posting Group** field, the following field is available:

| Field | Description |
|---|---|
| Operation Type | Operation type (sales number series) suggested on all sales documents where this customer is the bill-to customer. |


When Business Central sets the **Operation Type** on a document:

**Sales documents**
1. If the document is a credit memo or return order and the VAT business posting group has a **Default Sales Operation Type (Credit Memo)**, that value is suggested.
2. If the bill-to customer has an **Operation Type**, it is applied for any document type and takes precedence over the previous step.

**Purchase documents**
- If the document is a credit memo or return order and the VAT business posting group has a **Default Purch. Operation Type (Credit Memo)**, that value is suggested.

If the fields are blank, standard Business Central behavior applies. The suggested value can still be changed manually on the document.


1. Open **VAT Business Posting Groups** and fill in the default credit memo operation types for the relevant groups.
2. If needed, open the **Customer Card** and enter a customer-specific **Operation Type**.
3. Create a credit memo, return order or sales document: the **Operation Type** is suggested automatically.

# Interest on Arrears Fin. Charge

This feature automatically creates finance charge memos for customer late payments, calculated on invoices that were **already paid late** within a given period.

For each customer with an **Int. on Arrears Code**, the payments posted in the specified period are examined: if an invoice was settled after its due date (plus any grace period defined in the terms), the invoice is added to a finance charge memo for that customer.

The standard **Int. on Arrears** action on the **Finance Charge Terms** page is hidden and replaced by this procedure.


- The **Int. on Arrears Code** field must be filled in on the customer card (customers without a code are skipped).
- The finance charge terms referenced by the code must have **Interest Calculation** set to **Closed Entries**; otherwise the procedure stops with an error.


From the **Finance Charge Memos** list page, **Functions** menu, choose **Create Finance Charge on Arrears**.


| Field | Description |
|---|---|
| **Posting Date** | Posting date and document date of the created finance charge memos. |
| **From Date** | Start of the period in which payments are searched. |
| **To Date** | End of the period in which payments are searched. |

All three dates are required: if one is missing, the message "Specify posting date, from date and to date" is shown. The values entered are remembered for the next run.

In the customer filter section you can restrict processing by customer **No.** and **Int. on Arrears Code**.


1. Open **Finance Charge Memos** and choose **Functions > Create Finance Charge on Arrears**.
2. Enter **Posting Date**, **From Date** and **To Date**.
3. Filter the customers if needed.
4. Choose **OK**. When finished, a message shows how many finance charge memos were created.
5. Review the created memos and issue/post them with the standard functions.


- Only **invoices** that are fully settled at the ending date, not on hold (**On Hold** field blank), and applied to payments posted in the period and not unapplied are considered.
- An invoice is late if the payment was posted after its due date, extended by the **Grace Period** of the finance charge terms (if any).
- One finance charge memo is created per customer, using the finance charge terms of the customer's **Int. on Arrears Code**; each late invoice becomes a customer ledger entry line.
- In the line descriptions, the placeholders **%10** and **%11** of the finance charge terms texts are replaced with the days of delay and the invoice due date, respectively.
- If the total interest amount of the memo is lower than the **Minimum Amount (LCY)** of the finance charge terms, the memo is deleted.
- If the accrual period module is active, **From Date** and **To Date** are copied to the memo as accrual starting and ending dates.

# "Prorata" management

This feature lets you define, for each combination of VAT business posting group and VAT product posting group, the VAT deductible percentage (prorata) valid from a given date. The percentages are suggested automatically on purchase lines.


1. Open the **VAT Posting Setup** page.
2. Select the desired posting group combination.
3. Choose the **Prorata** action.

The **VAT Prorata** page opens, already filtered on the selected combination.


| Field | Description |
|---|---|
| Starting Date | Date from which the percentage is valid. |
| Deductible % | Deductible VAT percentage (0 to 100; the default is 100). |


1. On the **VAT Prorata** page, add a new line.
2. Enter the **Starting Date** and the **Deductible %**.
3. Add a new line with a later date whenever the percentage changes (for example every year).


When the VAT product posting group is set on a purchase line, the system looks for the prorata percentage of the line's VAT combination with the most recent starting date not later than the operation occurred date of the purchase document. If found, it is copied into the line's **Deductible %** field.

# Italy Finance Charge Memo

The module adapts Business Central **Finance Charge Memos** to Italian requirements: it adds the operation occurred date and the fattura document type, carries them into posted entries and electronic documents, and allows the issued memo to be sent as an electronic invoice. Finance charge memos are also suggested together with invoices when generating customer bills.


The **Fattura Document Type List** page has a new field:

| Field | Description |
|---|---|
| Finance Charge Memo | If enabled, marks the fattura document type (e.g. TD01) to propose automatically on new finance charge memos. If several types are marked, the first one is used. |


The **Finance Charge Memo** page has new fields:

| Field | Location | Description |
|---|---|---|
| Operation Occurred Date | General tab, after **Posting Date** | Date the operation took place. Required to issue the memo. |
| Fattura Document Type | Posting tab | Document type used for the electronic invoice. |

The same fields are kept on the **Issued Finance Charge Memo**.


- **Memo creation:** Operation Occurred Date is set to the Posting Date and Fattura Document Type is proposed from the type marked as Finance Charge Memo.
- **Changing the Posting Date:** Operation Occurred Date, **Document Date** and **Due Date** are updated to the same date.
- **Issuing:** issuing is blocked if Operation Occurred Date is empty. The date and fattura document type are carried into the posted entries; for G/L account lines the VAT identifier and deductible percentage are also taken from the VAT posting setup.
- **Electronic invoice:** if the number series used for issuing is linked to an electronic invoice format, the issued memo is prepared as an electronic invoice (normal invoice type). The memo must be in local currency.
- **Suggest Customer Bills:** the function suggests customer entries of type **Invoice** and **Finance Charge Memo**.


1. On the **Fattura Document Type List** page, enable **Finance Charge Memo** on the type to use.
2. Create a new finance charge memo and check **Operation Occurred Date** and **Fattura Document Type**.
3. Issue the memo: the data is carried into the entries and, where applicable, into the electronic invoice.

# Shipping information in Sales & Purchases

The module adds to sales, purchase and transfer documents the transport information typical of the Italian transport document (DDT): transport reason, freight type, goods appearance, weights, volume, number of parcels, shipping start date and time, and shipping notes. The information follows the document from the order to the posted documents and can be corrected even after posting.


| Field | Description |
|---|---|
| Transport Reason Code | Reason for the transport (e.g. sale, on approval, return), selected from the list of transport reason codes. |
| Freight Type | Who carries out or pays for the transport: **Agent Code** (carrier), **Carriage Consigner** (sender) or **Carriage Forward** (recipient). |
| Goods Appearance | External appearance of the goods (e.g. boxes, pallets), selected from the list of goods appearances. |
| Volume | Total volume of the shipment. |
| Net Weight | Total net weight of the goods. |
| Gross Weight | Total gross weight of the goods. |
| Parcel Units | Number of parcels shipped. |
| Shipping Starting Date | Date the transport starts. |
| Shipping Starting Time | Time the transport starts. |
| Shipping Notes | Free notes for the transport (up to 100 characters). |

The document pages also show the standard **Shipping Agent Code**, **Shipping Agent Service Code** and **Shipment Method Code** fields grouped together with the fields above.


- **Sales Order**: **Reporting** FastTab, with the shipping fields and the **Shipment Method Code**.
- **Posted Sales Shipment**: **Reporting** FastTab (read-only), with shipping agent, agent service, shipment method and all shipping fields.
- **Posted Sales Shipment - Update** (**Update Document** action on the posted shipment): **Reporting** FastTab, where the fields can be edited.
- **Posted Return Shpt. - Update** (**Update Document** action on the posted return shipment): editable shipping fields.
- **Posted Direct Transfer**: **Reporting** FastTab with shipment method, shipping agent, agent service and shipping fields.
- **Customer Card**, **Shipping** FastTab: **Shipping Notes** field.
- **Ship-to Address Card**, **General** FastTab: **Shipping Notes** field.

The same information is also stored on purchase documents and on posted invoices and credit memos, so it is available for printouts.



1. Open the sales order and go to the **Reporting** FastTab.
2. Choose the assist button (**...**) of the **Parcel Units** field.
3. Answer **Yes** to *Calculate weights and parcels?*.

The system recalculates, based on item lines and their **Qty. to Ship**:
- **Gross Weight**, **Net Weight** and **Volume**, multiplying the item card values (gross weight, net weight, unit volume) by the quantity to ship;
- **Parcel Units**, dividing, for each item, the total quantity to ship by the item's **Units per Parcel** and rounding up. Items without units per parcel are not counted.

Previous values are replaced.


1. Open the posted sales shipment (or posted return shipment).
2. Choose the **Update Document** action.
3. Change the fields on the **Reporting** FastTab and confirm with **OK**.


- **Shipping Notes**: when the customer is selected on a sales document, the customer's shipping notes are copied; if a ship-to address with notes is selected, its notes replace the customer's.
- **Direct transfers**: when a direct transfer is posted, shipment method, shipping agent, agent service, transport reason, freight type, goods appearance, volume, weights, parcels, shipping start date/time and notes are carried over to the posted direct transfer. Changing the shipping agent clears the agent service.
- **Invoicing from shipments**: when shipment lines are retrieved into a sales invoice, the description line reads *Transport doc. no. <number> of <date>*. For return receipt lines the description is *Your transport doc. no. <external document no.> of <document date>*.
- **Shipping manifests and shipping lines**: volume, weights, parcels, goods appearance and transport reason of posted sales shipments are carried over to shipping manifests; the transport reason of the source order is also used for shipments generated from warehouse shipping lines.

# PEC E-Mail on company info

The module adds a field to **Company Information** for storing the company's certified e-mail address (PEC, Posta Elettronica Certificata).


1. Search for and open the **Company Information** page.
2. Expand the **Administration** FastTab: the new field is at the bottom of the tab.


| Field | Description |
|---|---|
| **PEC E-Mail Address** | The company's certified e-mail (PEC) address (up to 80 characters). |


1. Open **Company Information**.
2. On the **Administration** FastTab, fill in the **PEC E-Mail Address** field.
3. Close the page: the value is saved automatically.


- In the header of documents printed with the Italian layouts (for example sales orders, purchase orders and transfer shipments), the PEC address is printed next to the company's home page and e-mail address. If the field is empty, nothing is printed.

# "Forgotten" purchase invoices

Sometimes a purchase invoice for an already elapsed VAT period is received or posted late: the invoice is posted with a later **Posting Date**, but with an **Operation Occurred Date** that falls in the earlier period.

This feature lets you include these "forgotten" invoices in the VAT settlement of the period their operation occurred date belongs to, as long as they were posted by the end of the same year.


The feature works automatically in the standard Business Central **Calc. and Post VAT Settlement** report. There are no new fields or actions to set up.


When you run **Calc. and Post VAT Settlement** for a period:

- VAT entries with an **Operation Occurred Date** within the settlement period are considered, as usual;
- the limit on the entries' **Posting Date** is extended up to **December 31** of the year in which the period ends.

This way, a purchase invoice posted late (for example in May) but with an operation occurred date in an earlier period of the same year (for example March) is included in the settlement of the operation occurred date's period.


1. Post the late purchase invoice, entering the actual date of the transaction as the **Operation Occurred Date** (within the relevant VAT period).
2. Run **Calc. and Post VAT Settlement** for the relevant period.
3. Check that the invoice is included in the VAT entries considered by the settlement.

# Withholding Tax improvement and declaration

The module improves withholding tax management and lets you export the Italian **Withholding Tax Declaration** file (Certificazione Unica, CU) for payees, based on the withholding tax entries recorded in Business Central.

Main features:

- handling of multiple payments with the same document number when creating withholding tax entries;
- improvements to the **Withholding Tax Card**;
- export of the Withholding Tax Declaration file through **Document Exchange**.


On the **Vendor Ledger Entries** page, the standard **Create Withholding Tax Entry** action is extended.

If the same payment document (same **Document No.** and **Posting Date**) contains several vendor payments, after the withholding tax is created its document number is made unique by adding a progressive suffix, for example `PAY001-1`, `PAY001-2`, according to the position of the payment within the document.

This way a separate withholding tax can be created for each payment of the same document. If a withholding tax with the resulting number already exists, the message *Withholding %1 already exists* is shown.


On the standard **Withholding Tax Card**:

| Field | Description |
|---|---|
| **Reason** | When changed, the withholding tax is saved immediately and the page is refreshed. The reason is mandatory for the declaration export. |
| **Base - Excluded Amount** | The standard field is replaced by an equivalent one that, when you click the value, opens the **withholding tax lines** with the breakdown of the excluded amounts by non-taxable income type. |



1. Open **Document Exchange Profiles** and create a profile with **Exchange Format** = **Italy Withholding Tax Declaration**.
2. Choose the **Exchange Transport** used to deliver the file (for example, download).
3. In **Company Information**, make sure the following are filled in: **Name**, **Fiscal Code**, **Email**, **Phone No.**, **Transmission Intermediary No.** (a vendor with a fiscal code) and **General Manager No.** (legal representative from **Company Officials**, with first name, last name and fiscal code).
4. On payee vendors, fill in the **Fiscal Code**. For individuals (**Individual Person** enabled) also **Last Name**, **First Name**, **Gender**, **Date of Birth**, **Birth City** and optionally **Birth County** are required; for companies the **Name** is required.


1. Open the withholding tax list and select a withholding tax of the year to declare.
2. Start document exchange and choose the **Export Italy Withholding Tax Declaration** option.
3. The system processes all withholding taxes of the same **Year** as the selected one and produces the file.


- Withholding taxes are grouped by **vendor** and **reason**: one certification is generated per pair, with gross amount, excluded amounts, taxable base and withheld amount.
- Excluded amounts are summarized by **non-taxable income type** (set on the withholding tax lines, mandatory).
- The signature and transmission commitment date is the work date.
- The file is named `<Company fiscal code>_CURyy.txt`, where `yy` are the last two digits of the year following the withholding tax year.
- If any required data is missing (company, intermediary, representative, vendor, reason or income type) the export stops, indicating the field to fill in.
- The withholding tax's excluded amount must match the total of its lines.

# Massive bill recall

On the **Issued Customer Bills** page, the lines section lets you select several bills for recall at once, instead of one at a time as in standard Business Central. The lines also show the **Recall Date** of bills that have already been recalled.


1. Open **Issued Customer Bills** and select the bill list you need.
2. In the lines section, use the **Select Bill to Recall** action (it replaces the standard action with the same name).


| Field | Description |
|---|---|
| Recall Date | Date on which the bill was recalled. Empty for bills not yet recalled. |


1. In the issued bill lines, select all the bills to recall (multiple selection).
2. Choose **Select Bill to Recall**: the **Recalled by** field of the selected lines is filled in with the current user.
3. Continue with the standard recall action from the bill header.


- The action works as a toggle: if a selected line is already marked (**Recalled by** filled in), the mark is removed; otherwise it is set.
- Lines already recalled (with **Recall Date** filled in) are skipped.

# VAT shareout "ventilazione"

This feature manages Italian **VAT shareout ("ventilazione dei corrispettivi")**, the scheme for retailers who record sales without distinguishing the VAT rate and, at the end of each period, split them across VAT rates in proportion to the goods purchased since the beginning of the year.

In short:

1. purchases of goods for resale are flagged as **Purchase Base**;
2. sales are posted without VAT and flagged as **Sales to be Sharedout**;
3. at each VAT settlement you run the **VAT Shareout Calculation**, which determines the shareout percentage for each VAT rate and posts the VAT on sales (**Sharedout Sales**).



The **VAT Posting Setup** page has a **VAT Shareout** field (hidden by default; add it by personalizing the page).

| Value | Description |
|---|---|
| (blank) | The combination is not part of the shareout. |
| Purchase Base | Purchases posted with this combination form the basis for calculating the shareout percentages. |
| Sales to be Sharedout | Sales posted with this combination are shared out. The combination must have a **VAT %** of zero and **Normal VAT** as VAT calculation type. |
| Sharedout Sales | Combination used to post the VAT resulting from the shareout. It must have **Full VAT** as VAT calculation type and a **Sales VAT Account**. You need one such combination for each VAT rate used in purchases. |


On the **Store Card**, **Posting** group, the **VAT Shareout** field indicates that the store applies the shareout. In that case, when the store is closed:

- sales lines for items with VAT are posted with a **Sales to be Sharedout** combination;
- purchase lines for items with VAT are posted with a **Purchase Base** combination.

Sales for which a document with specific posting is issued (for example an invoice) are not shared out.


The **Document Exchange Rule Products** page has a **VAT Shareout** field (hidden by default). When enabled, lines of electronically received purchase documents matching the rule are imported with a VAT product posting group of type **Purchase Base**.


The **VAT Entries** page has a **VAT Shareout** field (hidden by default) showing the role of the entry in the shareout.


Search for **VAT Shareout Calculation** using the search function (magnifying glass icon).


| Field | Description |
|---|---|
| VAT Register | Sales VAT register used for the printout heading. |
| Document No. | Document number assigned to the shareout postings. Required when posting the calculation. |
| Starting Date | Start of the period. Defaults to the day after the last VAT settlement. |
| Ending Date | Calculated automatically from the VAT settlement period (monthly or quarterly). Not editable. |
| Post Calculation | When enabled, the shareout is posted in addition to being printed. |
| Print Headings | Prints the VAT register, the year and the company details (address, fiscal code, VAT registration no.) in the heading. |
| Last Page No. | Last page number already printed, to continue page numbering. |


1. **Purchase Base** purchases (base plus VAT, including non-deductible amounts) from the beginning of the year to the ending date are totaled by VAT rate. If purchases of earlier periods are no longer available as entries, they are taken from the last shareout posted in the year.
2. For each rate the **Shareout %** is calculated, i.e. the share of purchases at that rate over the total.
3. **Sales to be Sharedout** sales of the period, grouped by activity code, number series, VAT posting groups, G/L account and dimensions, are split across rates according to the percentages; base and VAT are extracted from each VAT-inclusive portion.
4. The printout shows purchases by rate, percentages and the sales breakdown.


With **Post Calculation** enabled, after a confirmation prompt:

- the system checks that the shareout for the period has not already been posted;
- for each sales portion, VAT is posted on the ending date of the period between the sales revenue account and the **Sales VAT Account** of the **Sharedout Sales** combination with the same rate; the resulting VAT entry carries the calculated base;
- VAT entries of the period included in the shareout are flagged with their type;
- the result is saved in the **VAT Shareout** page.


Search for **VAT Shareout** to review the history of posted calculations. The page is read-only.

| Field | Description |
|---|---|
| Type | Purchase (percentages calculated on purchases) or Sale (sales breakdown). |
| No. Series | Number series of the shared-out sales. |
| VAT Date | Ending date of the shareout period. |
| Document No. | Document number of the posting. |
| VAT % | VAT rate. |
| Purchases Year to Date | Total purchases (VAT included) since the beginning of the year for the rate. |
| Shareout % | Split percentage for the rate. |
| Calculated Sales Amount / Calculated Sales Base | Amounts resulting from the sales split. |
| VAT Bus. Posting Group / VAT Prod. Posting Group | VAT posting groups of the shared-out sales. |
| Sales Account No. | Revenue account of the shared-out sales. |
| Activity Code | VAT activity code (hidden by default). |

The **Find entries...** action opens Find Entries for the document and date of the selected line. The standard Find Entries page, when searching for the shareout document number, also shows the lines of this page.


- **VAT settlement:** **Calc. and Post VAT Settlement** stops with the message "VAT shareout not calculated" if the period contains sales to be shared out but no shareout has been posted.
- **VAT settlement printout:** Sales to be Sharedout entries are excluded, as they are replaced by the shared-out sales.
- **VAT register printouts:** the base is not printed for sales to be shared out, and the document total is not counted for shared-out sales, so sales are not counted twice.

# Close bank receipts at due date

When you run the standard **Closing Bank Receipts** report, Business Central normally applies the closing entries to the customer ledger entries using the batch posting date as the application date.

With this feature, the application date used for each closed customer ledger entry is instead its **due date**. This way the bank receipt is closed on the date it actually fell due.


There are no new fields or settings: the behavior is applied automatically every time you run the **Closing Bank Receipts** report (find it with the "Tell me" search).


1. Open the **Closing Bank Receipts** report.
2. Set filters and options as usual.
3. Run the report.
4. When it finishes, the customer ledger entries of the closed bank receipts are applied with a date equal to their **Due Date**.


- The application date of every customer ledger entry closed by the report is always its due date, regardless of the work date or posting date.
- The behavior applies only while running the **Closing Bank Receipts** report; other customer ledger entry applications are unchanged.

# INPS at posting (ENASARCO)

This module lets you post social security contributions (for example ENASARCO) directly when the purchase invoice is posted, instead of later at payment time. When the invoice is posted, the system creates the contribution entry and automatically posts both the vendor's share and the company's share.


1. Search for the **Contribution Codes-INPS** page.
2. On the line of the relevant contribution code (for example ENASARCO), turn on the **Apply at Posting** field.


**Contribution Codes-INPS**

| Field | Description |
|---|---|
| Apply at Posting | If turned on, contributions with this code are posted when the purchase invoice is posted. |


1. Set up the contribution code with **Apply at Posting** turned on and make sure the social security payable account and social security charges account are filled in.
2. Create the purchase invoice and, in the invoice's withholding tax and contribution data, enter the contribution code, the amounts and the **related date** (mandatory).
3. Post the invoice.


When a purchase **invoice** with a contribution code that has **Apply at Posting** turned on is posted:

- an entry is created in **Contributions**, with month and year taken from the related date, posted document number, vendor invoice number, vendor, amounts and posting date (also used as payment date);
- the contribution data on the document is cleared, so it is not considered again at payment;
- if there is a **vendor's share**, a payment is posted on the vendor, applied to the invoice, balanced against the social security payable account, with description "<code> <document type> <vendor invoice no.> vendor amount";
- if there is a **company's share**, an entry is posted from the social security charges account to the social security payable account, with description "... company amount".

The postings use the invoice's posting date, external document number and dimensions. Credit memos are not affected.

# VAT exemption

This feature extends the standard Business Central **VAT Exemptions** (declarations of intent) to:

- automatically suggest the valid declaration of intent on sales document lines;
- check at posting that the declaration is valid on the date and that the declared ceiling is not exceeded;
- track the amount already used for each declaration;
- include the declaration references in the electronic invoice.



The **VAT Posting Setup** page has a new field (hidden by default, add it by personalizing the page):

| Field | Description |
|---|---|
| VAT Exemption Mandatory | If enabled, sales lines with this VAT business/product posting group combination must specify a VAT exemption number. The **VAT Exemption No.** field on lines can be filled in only for these combinations. |


The **VAT Exemptions** page (opened from the customer or vendor card) has new fields:

| Field | Description |
|---|---|
| VAT Bus. Posting Group | VAT business posting group automatically applied to sales lines when the declaration is valid. |
| Posted Sale Amount | Amount already invoiced to the customer under this declaration (net of credit memos). Visible only for customer exemptions. |
| Posted Purchase Amount | Amount already posted under this declaration in purchases. Visible only for vendor exemptions. |


The lines of **Sales Orders**, **Sales Invoices** and **Sales Credit Memos** have the **VAT Exemption No.** field (hidden by default).

| Field | Description |
|---|---|
| VAT Exemption No. | Declaration of intent of the bill-to customer applied to the line. You can choose among the bill-to customer's exemptions; it is accepted only if the line's VAT combination has **VAT Exemption Mandatory** enabled. |

The exemption number is also carried to posted sales invoice and credit memo lines and to VAT entries, together with the **VAT Exemption Amount** (line base amount).


- **Declaration suggestion:** when a sales line is created, if the bill-to customer has a VAT exemption valid on the document date, **VAT Exemption No.** is filled in with its number and, if the exemption specifies a **VAT Bus. Posting Group**, that group is set on the line.
- **VAT group change:** changing the line's VAT business posting group clears the exemption number.
- **The standard exemption lookup on the document header is no longer performed**: exemptions are handled at line level.
- **Posting checks** (when invoicing):
  - lines whose VAT combination has **VAT Exemption Mandatory** must have an exemption number;
  - the declaration must have a starting and ending date, and the posting date must fall between them;
  - for orders and invoices, the amount of the lines using the declaration must not exceed the remaining ceiling (declared amount minus **Posted Sale Amount**);
  - for credit memos and return orders, the amount to reverse must not exceed the **Posted Sale Amount**.
- **Electronic invoice:** for lines subject to mandatory exemption, the XML file includes an *Other management data* block with data type `INTENTO`, a reference made of exemption number and consecutive number, and the declaration date. These values (consecutive number and exemption date) must be filled in on the VAT exemption.


1. In **VAT Posting Setup**, enable **VAT Exemption Mandatory** on the VAT combinations used for exempt sales.
2. On the customer card, open **VAT Exemptions** and enter the declaration of intent with number, consecutive number, date, validity period, declared amount and, optionally, the **VAT Bus. Posting Group** to apply.
3. Create the sales document: lines automatically receive the valid declaration.
4. Post the document: the system checks validity and ceiling and updates the **Posted Sale Amount**.

# Copy setup VAT Identifier in Split Payment Lines

In sales documents subject to split payment, Business Central automatically generates split payment lines that reverse the VAT owed by the public entity.

With this module, the automatically generated split payment lines receive the **VAT Identifier** defined in the **VAT Posting Setup** used for the line. This way the split payment lines carry the same VAT identifier as the lines they refer to and are grouped correctly in the document's VAT summaries (for example in statistics and printouts).


- Sales documents (quotes, orders, invoices, credit memos) for customers with split payment.
- Split payment lines created automatically by the system.


When the system creates or recalculates the split payment lines of a sales document:

1. it finds the **VAT Posting Setup** for the line's VAT posting group combination;
2. it copies the setup's **VAT Identifier** value into the **VAT Identifier** field of the split payment line.

No setup is required: the **VAT Identifier** field only needs to be filled in the **VAT Posting Setup**.

# Withholding Tax in Sales

This feature lets you assign a withholding tax code to agents' commission contracts. The **Commission Contracts List** report then shows commission amounts net of withholding tax.


Open the **Commission Contract** card for the contract. The new field is in the **Posting** section.


| Field | Description |
|---|---|
| **Withholding Tax Code** | Withholding tax code applied to the contract's commissions. You choose among the withholding codes set up in Business Central. If left blank, no withholding tax is calculated. |


1. Open the **Commission Contract** card.
2. In the **Posting** section, select the **Withholding Tax Code** to apply.
3. Run the **Commission Contracts List** report to see the net amounts.


In the **Commission Contracts List** report, for contracts with a **Withholding Tax Code**:

- **Commission Net** is the commission amount minus withholding tax;
- **Settled Net** is the settled amount minus withholding tax;
- **Remaining Net** is the difference between commission net and settled net.

Withholding tax is calculated by applying the **Taxable Base %** and **Withholding Tax %** of the withholding code line valid at the work date (the latest line whose starting date is not after the work date). If the contract has no withholding code, net amounts equal gross amounts.

# Shipping Agent Registry

This feature lets you record, for each shipping agent, its registration number in the road haulage registry (Albo degli autotrasportatori).


1. Search for and open the **Shipping Agents** page.
2. The new field is available as a column in the list of shipping agents.


| Field | Description |
|---|---|
| **Registry No.** | Registration number of the shipping agent in the road haulage registry (up to 20 characters). |


1. Open the **Shipping Agents** page.
2. Select the shipping agent's line.
3. Fill in the **Registry No.** field with the registration number.

# Job

# Automatic creation of Planning Line from Sales Invoice

This feature lets you invoice a project (job) directly from a manually entered sales invoice (or credit memo), without first creating the project planning lines. When the document is posted, Business Central automatically creates the matching billable planning line and links it to the sales document line.


On the lines of the **Sales Invoice** (lines subpage), the **Project No.** and **Project Task No.** columns become editable. If they are not visible, add them by personalizing the page.


| Field | Description |
|---|---|
| Project No. | Project to which the invoice line is charged. |
| Project Task No. | Project task to which the line is charged. Required when a project is specified. |


1. Create a new sales invoice (or credit memo) and fill in the header as usual.
2. Enter lines of type **Item**, **Resource** or **G/L Account**.
3. On each line to be charged to the project, fill in **Project No.** and **Project Task No.**.
4. Post the document.


- A project task can only be specified on lines of type Item, Resource or G/L Account; other types raise an error.
- On posting, for each line with a project that is not yet linked to a planning line, a new project planning line is created on the specified task, with:
  - line type **Billable** and planning date equal to the document posting date;
  - the same type, number, description, location, quantity, unit of measure, unit price, line discount % and general product posting group as the sales line.
- The new planning line is linked to the sales document, so it is already shown as invoiced in the project.
- The check that the bill-to customer matches the project customer is skipped for automatically created lines.

# Sales posting from G/L

In Business Central, general journal lines linked to a job always create job ledger entries of type **Usage** (costs). This module lets you choose the job entry type to create, so that job **revenues (sales)** can also be posted directly from the general ledger.


Open the **Job G/L Journal** page. In the lines, before the **Job No.** field, the new **Job Entry Type** field is available.


| Field | Description |
|---|---|
| Job Entry Type | Type of job entry created by the line: **Usage** (cost) or **Sale** (revenue). |


1. Open the **Job G/L Journal**.
2. Fill in the line as usual (account, amount, etc.).
3. Set **Job Entry Type** to **Sale** to post a revenue, or leave **Usage** for a cost.
4. Enter **Job No.**, **Job Task No.** and **Job Quantity**.
5. Post.


- The job entry created on posting uses the type set on the line.
- When a job quantity is entered, unit amounts are calculated from the line amount excluding VAT, converted to the job currency, divided by the quantity:
  - with type **Usage**, the value becomes the **Unit Cost** and the **Unit Price** is set to zero;
  - with type **Sale**, the value becomes the **Unit Price** and the **Unit Cost** is set to zero.

# Handle Entry Type in Job Journal

In the Business Central **Job Journals** page the **Entry Type** of the lines is normally set automatically (Usage) and is not shown on the page. This feature adds the field to the journal lines and makes it editable, so users can choose the type of entry to post for each line.


1. Open the **Job Journals** page.
2. The **Entry Type** field is hidden by default: use **Personalize** (or **Show/hide columns**) to add it to the lines. The field is placed after **Document No.**


| Field | Description |
|---|---|
| Entry Type | Type of job ledger entry created by the line: **Usage** (consumption of resources, items or G/L accounts on the job) or **Sale** (billable/revenue amount on the job). The value can be edited directly on the line. |


1. Enter the job journal line as usual (job, task, type, no., quantity, etc.).
2. In the **Entry Type** field select **Usage** or **Sale** according to the entry to create.
3. Post the journal: job ledger entries are created with the type specified on the line.

# Purchases

# Revaluate receipts

This feature lets you update the value of the receipts of a purchase order line that has been received but not yet invoiced. If the price or discounts change after receipt, the new values can be carried over to the posted receipts and to the expected cost of the inventory entries, without undoing the receipt.


1. Open the **Purchase Order**.
2. In the **Lines** subpage, select the line to revaluate.
3. From the lines **Line** menu, choose the **Revaluate Receipts** action.


- The document must be a purchase order.
- The line must have a **Quantity Received** other than zero.
- The line must not have been invoiced, not even partially (**Quantity Invoiced** equal to zero).


1. On the order line, enter the correct values, for example **Direct Unit Cost** or **Line Discount %** (and any additional discounts).
2. Run the **Revaluate Receipts** action.
3. Confirm the question *Revaluate receipt of ...?* (the line description is shown).
4. At the end the message *Amount revaluated, execute cost adjustment* appears: then run **Adjust Cost - Item Entries** to propagate the new values.


- On all posted receipt lines linked to the order line, direct unit cost, unit cost, unit cost (LCY), discount percentages and, when present, line amounts (proportional to the received quantity) are updated.
- For item lines, the expected purchase amount of the receipt value entries is recalculated; for items with a costing method other than **Standard**, the expected cost and cost per unit are recalculated as well.
- Any item charges assigned to the line are included in the line value.
- The affected item ledger entries are marked for cost adjustment.

# Automatic lines (source)

The module adds two pieces of information to purchase document lines that identify lines created automatically by the system (rather than entered manually by the user) and trace them back to the line they originated from.

This is a foundation feature: the fields are filled in by the automatic procedures that generate lines on purchase documents and are kept throughout the document life cycle, up to the posted documents.


The fields are available on the lines of:

- purchase documents (quotes, orders, invoices, credit memos, return orders) – Purchase Lines;
- posted purchase receipts – Purch. Rcpt. Lines;
- posted purchase invoices – Purch. Inv. Lines;
- posted purchase credit memos – Purch. Cr. Memo Lines;
- posted return shipments – Return Shipment Lines.

The fields are not shown on the pages by default; they can be made visible through page personalization or reviewed with the data analysis features.


| Field | Description |
|---|---|
| System-Created Source | Code identifying the automatic procedure that created the line. It is blank for lines entered manually. |
| System-Created From Line No. | Number of the line in the same document from which the current line was automatically generated. |


- The values are set by the procedures that create lines automatically; users are not expected to change them.
- When posting, the values are carried over to the posted document lines, so the automatic origin of the lines is also kept in the history.

# Enhanced Purchase Return

This module enhances vendor return handling:

- a return reason can be set directly on the **Purchase Return Order** header; it is proposed on the lines and can determine the location;
- return reasons available in purchases are limited to those intended for the Purchases area;
- rules can be defined per return reason (alternative location, pricing rules per vendor);
- an item information box is added to the return order;
- the **Purchase Return Request** report lists, per vendor, the items in stock to be returned.


Open the **Return Reasons** page.

| Field | Description |
|---|---|
| Area Usage | Area where the reason can be used: blank, Sales or Purchases. On purchase return orders only reasons set to **Purchases** can be selected. |

Two actions are available for the selected reason.


Defines the location to propose for the reason, based on the user's default location.

| Field | Description |
|---|---|
| Location Code | Default location of the warehouse employee (user). |
| New Location Code | Location to set on the document when the user's default location is the one specified. |


Defines pricing rules applied when the reason is used on return lines.

| Field | Description |
|---|---|
| Priority | Evaluation order of the rules: the first valid rule is applied. |
| Partner Type | Blank (all), Customer or Vendor. Purchase returns use blank or Vendor rules. |
| Partner No. | Specific vendor the rule applies to; if blank it applies to all. |
| Grace Period Formula | Grace period associated with the rule. |
| Amount % | Percentage of the base price to apply as the return cost. |
| Price List Base | Price list used to get the base price (when the price list feature is available). |



On the **General** FastTab of the **Purchase Return Order** the **Return Reason Code** field is available.

When a reason is selected:

1. if the reason has a **Default Location Code**, it is set on the document;
2. otherwise, if the user has a default location as warehouse employee and a matching entry exists in **Return Reason per Location**, the corresponding **New Location Code** is set.


On the return order lines, the **Return Reason Code** field only offers reasons with **Area Usage** = Purchases. When a new line is created without a reason, the header reason is proposed automatically.


For item lines with a return reason, if a valid rule exists (for all vendors or for the pay-to vendor) with a **Price List Base**, the **Direct Unit Cost** is calculated as the list price multiplied by the rule's **Amount %**, and the line discount is cleared.


On the side of the page, the **Purchase Return Factbox** shows information about the item on the selected line, including the **Manufacturer** and, where applicable, additional item information (for example lot status).


Find the **Purchase Return Request** report using search (Reports and Analysis).

Available filters: item **No.**, **Vendor No.**, **Location Filter**, **Date Filter**.

For each vendor (items with a vendor set) the report prints a request with the company and vendor addresses, customizable header and footer texts, and the lines of items in stock:

| Column | Description |
|---|---|
| Location | Location where the goods are stored. |
| Bin | Bin (for locations using bins). |
| Item Reference | Item reference code. |
| Description | Item description. |
| Quantity | Quantity in stock. |
| Price | Unit price. |
| Amount | Quantity times price. |

For locations with mandatory bins one line per bin with positive stock is printed; for other locations one line per location. Report options are saved for later use.

# Reference unit cost and last direct cost

The module adds two "reference" costs to the item, calculated periodically by a dedicated batch job that can be limited to one or more locations:

- **Reference Unit Cost**: average inventory cost, obtained by dividing the inventory value by the quantity on hand.
- **Reference Last Cost**: unit cost of the latest posted purchase.

Unlike the standard **Unit Cost** and **Last Direct Cost** fields, these values can be calculated considering only the selected locations.


| Field | Where | Description |
|---|---|---|
| Reference Unit Cost | Item Card, after **Unit Cost**; Items list (hidden column, can be added with *Personalize*) | Average inventory cost in the locations considered by the latest calculation. |
| Reference Last Cost | Item Card, after **Last Direct Cost**; Items list (hidden column) | Unit cost of the latest purchase receipt in the locations considered. |

Blank fields mean a zero value (not yet calculated).


1. Search for **Calculate Reference Costs** (lightbulb icon / *Tell me*).
2. On the request page, optionally filter the **Code** field of the locations to consider. With no filter, all locations are considered.
3. Choose **OK**. A progress window shows the item being processed.


The batch job processes all items that are not blocked:

- **Reference Unit Cost**: total inventory value (actual plus expected cost) divided by the quantity on hand in the filtered locations. It is updated only if both quantity and value are positive; otherwise the previous value is kept.
- **Reference Last Cost**: taken from the most recent inbound purchase item ledger entry (from a purchase receipt or invoice) in the filtered locations, as purchase amount (actual plus expected) divided by quantity. If there are no purchases, the previous value is kept.

The item is saved only if at least one of the two values has changed.

# Purchase sources

**Purchases sources** group items according to where they are bought from: a vendor, a responsible purchaser, a physical repository the goods come from, and the contacts used to send orders. Each source can have different settings per location.

The purchases source is assigned to items and carried onto purchase documents; it can also be used as the target of purchase price lists. **Purchases repositories** describe the physical places (vendor warehouses, distribution centers) the goods come from.

The module also includes the **Purchase Orders Worksheet**, which shows purchase orders still to be received, grouped by source.


The **Purchases & Payables Setup** page provides the number series:

| Field | Description |
|---|---|
| Purchases Source Nos. | Number series used to automatically number new purchases sources. |
| Purchases Repository Nos. | Number series used to automatically number new purchases repositories. |

When the series is set, the number is assigned automatically on creation; manual numbers are allowed only if the number series permits it.


Search for **Purchases Repositories** to open the list. The **Purchases Repository** card contains:

| Field | Description |
|---|---|
| No. | Repository code. |
| Name / Name 2 | Repository name. |
| Address / Address 2 | Address. |
| City, Post Code, County, Country/Region Code | Location; city and post code are suggested and validated from the standard post codes. |
| VAT Registration No. | Repository VAT registration number. |
| Phone No., Mobile Phone No., Email, Contact Name | Contact details (**Contact** section). |


Search for **Purchases Sources** to open the list. The **Purchases Source** card contains:


| Field | Description |
|---|---|
| No. | Source code. |
| Name | Source description. |
| Vendor No. | Vendor you buy from. |
| Purchaser Code | Responsible purchaser. |
| Repository No. | Purchases repository the goods come from. |
| Locations | **All Locations**: the source applies to all locations; **Locations in Lines**: the source is managed for the locations defined in its lines. |
| Lines | Number of lines (per-location settings) defined. |
| Lead Time Calculation | Lead time of the source. |
| Enabled | Specifies whether the source can be assigned to items. |


| Field | Description |
|---|---|
| Exchange Profile Code | Document exchange profile used to send orders. |
| Email | Email address purchase orders are sent to. |


- **Lines**: opens the source lines, i.e. the location-specific settings.
- **Items**: opens the list of items linked to the source.


Each line is identified by the source and a **Location Code**, and lets you specify, for that location, its own **Name**, **Vendor No.**, **Purchaser Code**, **Repository No.**, **Lead Time Calculation**, **Exchange Profile Code** and **Email**. When a line is created, the values are copied from the source header and can then be changed.


- A source cannot be disabled (clearing **Enabled**) while items are linked to it: the message "Linked items exists" is shown.
- A source used by items cannot be deleted; deleting an unused source also deletes its lines.


On the **Item Card**, after the **Vendor No.** field, the **Purchases Source No.** field is available. Only enabled sources can be selected. When you select a source that has a vendor, the item's **Vendor No.** is updated automatically with the source's vendor.


- On **Purchase Orders** (**Shipping and Payment** tab) the **Purchases Source No.** and **Repository No.** fields are available.
- On **Purchase Return Orders** (**Shipping and Payment** tab) the **Purchases Source No.** field is available.
- The values are kept on posted receipts, invoices, credit memos and return shipments.
- When a purchase order is created automatically starting from an item, the item's purchases source is copied to the order.


Purchase price lists offer the **Purchases Source** source type, so a price list can be assigned to a source. The price list uses the currency, prices including VAT setting and VAT business posting group of the source's vendor.

Prices from price lists assigned to the source are suggested automatically:
- on purchase order lines, when the document has a **Purchases Source No.**;
- on requisition worksheet lines that have a purchases source.


Requisition worksheet lines have the **Purchases Source No.** field. When a source is entered, the line's vendor is set to the vendor of the source line for the line's location or, if none exists, to the source's vendor. If you change the vendor manually, the source is cleared.


When a purchase order with a purchases source is sent and there are no other recipients, the order is sent to the **Email** of the source line matching the order's location or, if none exists, to the source's **Email**. The vendor's language is used.


The item summary page shows the item's **Purchases Source No.** and **Purchases Source Name**.


Search for **Purchase Orders Worksheet**. The page shows purchase order item lines with quantities still to be received, grouped in a tree by purchases source (lines without a source are grouped under "No source"). Group lines, shown in bold, show the total outstanding quantity.


| Field | Description |
|---|---|
| Purchaser Code | Shows only the orders of the specified purchaser; when the page opens, the purchaser linked to the user is suggested. |
| Expected Rcpt. Date Filter | Filters by expected receipt date. |
| Location Code | Filters by location. |
| Purchase Source | Filters by source. |
| Vendor No. | Filters by vendor. |


Purchases Source No., Purchases Source Name, Document No., vendor name, order type, item No., Description, unit of measure, Quantity, Outstanding Quantity and Expected Receipt Date.


- **Close Source**: closes the outstanding quantities of all lines of the selected source.
- **Close Document**: closes the outstanding quantities of all lines of the selected order.
- **Close Line**: closes the outstanding quantity of the selected line.

Each close action asks for confirmation and reduces the line quantity to the quantity already received.

- **Document**: opens the purchase order.
- **Purchase Entries**: opens the item's purchase item ledger entries.
- **Bin Content**: shows the bins where the item is stored.

# More field in invoices and receipts

The module adds informational fields and support functions to purchase documents (orders, invoices, receipts), to make invoicing receipts and monitoring order progress easier. In particular:

- an automatically calculated **Order Status** on purchase orders;
- the **Get Receipts** function, to add entire receipts to an invoice in a single step;
- the vendor shipment number and document date stored on posted receipt lines;
- line comments visible directly in document lines;
- quick item actions from purchase order lines;
- several descriptive fields (names, descriptions) in lists and entries.


On the **Purchases & Payables Setup** page, **General** tab:

| Field | Description |
|---|---|
| Receipt Date Check on Invoice | Defines which receipt date is compared with the invoice posting date to decide which receipts can be invoiced: **Posting Date** or **Document Date**. Only receipts dated on or before the invoice posting date are offered. |


The **Purchase Orders** list includes the columns:

| Field | Description |
|---|---|
| Order Status | Progress status of the order, updated automatically. |
| Location Name | Name of the location specified on the order. |

**Order Status** values:

| Value | Meaning |
|---|---|
| (blank) | The order has no lines with a quantity. |
| Outstanding | No line has been received yet. |
| Partial Outstanding | Some lines have been received, but quantities remain to be received. |
| Handling | Everything has been received, but put-away activities are still open. |
| Completed | Everything has been received and no put-aways are open. |

The status is recalculated automatically when the order is released, after each posting of the order (or return order), and when put-aways are created from posted warehouse receipts. For return orders, the shipped quantity is considered instead of the received quantity. When the module is installed, the status is calculated for all existing orders.



In the **Purchase Invoice** lines, next to the standard **Get Receipt Lines** action, the **Get Receipts** action is available.

1. Open the purchase invoice and fill in the vendor and posting date.
2. In the lines, choose **Get Receipts**.
3. The list shows the posted receipts of the pay-to vendor, in the invoice currency, with received quantities not yet invoiced and a date (posting or document date, according to setup) not later than the invoice posting date.
4. Select one or more receipts and confirm with **OK**: all lines still to be invoiced from the selected receipts are added to the invoice.

Lines already included in another unposted invoice are not offered again.

List columns: No., Pay-to Vendor No., Pay-to Name, Posting Date, Document Date, Vendor Shipment No., Order No., Location Code, **Item Quantity (base)**.


In the standard **Get Receipt Lines** page:

- the receipt's **Vendor Shipment No.** and **Document Date** columns are shown;
- lines already included in another unposted invoice are excluded;
- lines are filtered by receipt date according to the **Receipt Date Check on Invoice** setting;
- the **Get Document** action adds to the invoice all lines still to be invoiced from the receipt of the selected line and closes the page.

The description line preceding each receipt's lines in the invoice reads "Shpt. no. *vendor shipment no.* of *document date*, receipt *receipt no.*".


The same date criterion is also applied when receipt lines are automatically matched to incoming documents.



| Field | Description |
|---|---|
| Vendor Shipment No. | Vendor's delivery note number. |
| Item Quantity (base) | Total quantity of items in the receipt, in the base unit of measure. |
| Qty. Rcd. Not Inv. Exists | Indicates whether the receipt still has quantities to be invoiced. |

The receipt's **Vendor Shipment No.** and **Document Date** are also stored automatically on posted receipt lines.


| Field | Description |
|---|---|
| Vendor Order No. | Vendor order number specified on the document. |
| Vendor Item No. | Vendor's item code. |
| Last Receipt Date | Posting date of the last receipt for the order line. |


Available columns (hidden by default): **Document Date**, **Vendor Invoice No.**, **Pay-to Name**.


In the lines of **Purchase Order**, **Purchase Invoice**, **Posted Purchase Invoice** and **Purchase Return Order**, two columns are available (hidden by default, can be shown by personalizing the page):

| Field | Description |
|---|---|
| Comment Exists | Indicates whether the line has comments. |
| Last Comment | Text of the line's latest comment. |

Clicking the value opens the line's comments.


| Page | Field | Description |
|---|---|---|
| Vendor Ledger Entries | Vendor Name (lookup) | Name of the entry's vendor. |
| Customer Ledger Entries | Customer Name (lookup) | Name of the entry's customer. |
| Purchase Price List Lines | Item VAT Posting Group | VAT product posting group of the item. |
| Warehouse Receipt lines | Vendor Item No. | Vendor's item code. |
| Bin Contents (related pages) | Item Description | Item description (column hidden by default). |


In the **Purchase Order** lines, **Item** menu:

| Action | Description |
|---|---|
| Order Lines | Shows all purchase order lines with the same item, most recent first. |
| Receipt Lines | Shows posted receipt lines for the same item. |
| Ledger Entries | Shows the item's ledger entries. |
| Purchase Ledger Entries | Shows only the item's purchase entries. |
| Price List Lines | Shows the item's purchase prices. |

# Apply VAT Summary in invoices

This feature aligns the amounts of a purchase invoice or credit memo with the VAT summary on the vendor's document. For each VAT product posting group, the page shows the amounts calculated from the document lines; by entering the vendor's actual amounts, the system automatically adds G/L account lines for the differences (for example, rounding or small discrepancies).


From the **Purchase Invoice** and **Purchase Credit Memo** pages, in the **Functions** menu, choose the **Apply VAT Summary** action.



| Field | Description |
|---|---|
| Account No. | G/L account used for the difference lines added to the document. Required. |
| Service | Specifies whether the document concerns services; used by the **Get from IT E-Invoice** action (when available). |


| Field | Description |
|---|---|
| VAT % | VAT percentage of the group, taken from the VAT posting setup. Read-only. |
| VAT Nature | VAT transaction nature (Italian localization only). Read-only. |
| VAT Prod. Posting Group | VAT product posting group of the line. |
| Calculated Amount | Total amount of the document lines with that VAT group. Read-only. |
| Applied Amount | Amount that must result for that VAT group, according to the vendor's document. Initially equal to the calculated amount. |


1. Open the purchase invoice (or credit memo) and fill in its lines.
2. Choose **Functions** > **Apply VAT Summary**: the page proposes one line for each VAT group in the document.
3. Enter the **Account No.** to use for the differences.
4. Change the **Applied Amount** of the lines according to the vendor's VAT summary. You can also add new lines for VAT groups not in the document, entering the group and the applied amount.
5. Alternatively, when available, use **Get from IT E-Invoice** to fill in the summary from the received electronic invoice.
6. Choose **Apply VAT Summary**: the page closes and the difference lines are added to the document.


- For each line where the applied amount differs from the calculated amount, a G/L account line is added at the end of the document with the specified account, the line's VAT group, quantity 1 and a unit cost equal to the difference.
- Lines whose amounts match do not generate new lines.
- If **Account No.** is empty, or a line with an applied amount has no VAT group, an error is shown and nothing is added.
- Lines proposed from the document (with a calculated amount) cannot be deleted; only manually added lines can be deleted.

# Do not delete invoiced orders

In standard Business Central, when a purchase order or purchase return order is fully received (or shipped) and invoiced, the document is automatically deleted at the end of posting.

With this feature, fully processed and invoiced **purchase orders** and **purchase return orders** **are no longer deleted**: they remain available in their lists even after the final posting.


- When you post a purchase order or purchase return order, even if all lines are fully received/shipped and invoiced, the document stays in the **Purchase Orders** or **Purchase Return Orders** list.
- You can review the original document alongside the posted documents (receipts, shipments, posted invoices and credit memos).
- Other purchase document types (such as invoices and credit memos) follow the standard behavior and are deleted after posting.


Fully invoiced orders can be deleted manually when no longer needed, for example from the order card or with the standard **Delete Invoiced Purchase Orders** function.

# Drop shipment dates and document

When you post the shipment of a sales order linked to a purchase order through **drop shipment**, Business Central automatically creates the posted purchase receipt as well. With this module, the **Document Date** of the posted purchase receipt is taken from the linked purchase order, instead of from the sales posting data.


- **Purchase Order** page: **Document Date** field (General FastTab), to be set to the desired date before posting.
- **Posted Purchase Receipt** page: **Document Date** field of the document created by posting.

| Field | Description |
|---|---|
| Document Date (Purchase Order) | Document date entered on the drop shipment purchase order. |
| Document Date (Posted Purchase Receipt) | Automatically carries the document date of the linked purchase order. |


1. Create the sales order with drop shipment lines and the related purchase order.
2. On the purchase order, set the desired **Document Date** (for example, the vendor's document date).
3. From the sales order, choose **Post** and post the shipment.
4. Open the posted purchase receipt: its **Document Date** matches the purchase order's.


- The date is copied on every drop shipment posting performed from the sales order, with no user action required.

# Order difference management

This feature compares purchase invoice amounts with the purchase orders the received goods come from. For each invoice line linked to a receipt, the expected amount based on the order and the difference from the invoiced amount are calculated. When the invoice is released, if the difference exceeds the configured tolerances, the invoice is flagged as "To Be Checked" and, if configured, put on hold.

Also available:

- a **differences worksheet** to correct line costs and automatically post the difference to a dedicated account;
- a **Purchase Order Differences** report to print the order/invoice comparison and mark invoices as checked.



The **Purchases & Payables Setup** page contains the **Order Difference** group:

| Field | Description |
|---|---|
| Order Difference Calculation | **Sum**: positive and negative line differences offset each other. **Sum (absolute)**: every difference is taken as an absolute (always positive) value, so differences do not offset. |
| Order Tolerance Amount (plus) | Maximum allowed difference, as an amount, when the invoice exceeds the order. |
| Order Tolerance % (plus) | Maximum allowed difference, as a percentage of the invoice amount, when the invoice exceeds the order. |
| Order Tolerance Amount (minus) | Maximum allowed difference, as an amount, when the invoice is lower than the order. Editable only with the **Sum** calculation. |
| Order Tolerance % (minus) | Maximum allowed difference, as a percentage, when the invoice is lower than the order. Editable only with the **Sum** calculation. |
| Order Difference On Hold | Code entered in the invoice's **On Hold** field when the tolerances are exceeded. |
| Order Difference Account | G/L account used by the differences worksheet to create adjustment lines. |

If all tolerances are zero, no check is performed on release.


The **G/L Account Card** has the **Purchase Diff. Account** field. Invoice lines of type G/L Account using an account with this option enabled are considered entirely as order difference (for example the adjustment lines created by the differences worksheet).


| Page | Field | Description |
|---|---|---|
| Purchase Invoice (header, after **Check Total**) | Order Difference Amount | Sum of the invoice line differences. Not editable. |
| Purchase Invoice lines (hidden by default) | Order Difference | Difference between the line amount and the amount expected from the order. |
| | Receipt Amount | Line amount calculated with the purchase order prices for the invoiced quantity. |
| Purchase Invoices and Posted Purchase Invoices (lists, hidden by default) | Order Difference Status | Blank, **To Be Checked** or **Checked**. |
| | Order Difference Amount | Total of the document differences. |
| Posted Purchase Invoice Lines (hidden by default) | Receipt Amount, Order Difference | Values carried over from the posted invoice. |

Hidden fields can be added to the view by personalizing the page.



Whenever the amounts of a purchase invoice line are recalculated:

- if the line comes from a receipt, the **Receipt Amount** is calculated as the net cost of the original order line multiplied by the invoiced quantity, and the **Order Difference** is the invoiced amount minus the receipt amount;
- if the line is of type G/L Account on an account with **Purchase Diff. Account** enabled, the whole amount is considered a difference;
- with the **Sum (absolute)** calculation, the difference is always stored as a positive value.


When you release a purchase invoice not yet marked as **Checked**:

1. the difference status is cleared and, if the invoice was on hold with the configured code, the hold is removed;
2. the **Order Difference Amount** is compared with the tolerances (plus if positive, minus if negative; both as an amount and as a percentage of the invoice amount);
3. if a tolerance is exceeded, the invoice moves to **To Be Checked** status and you are asked "Invoice exceed order tolerance. Continue?". Answering No cancels the release; answering Yes continues and, if configured, puts the invoice on hold with the **Order Difference On Hold** code.

Invoices already marked as **Checked** are released without further checks.


In the **Purchase Invoices** and **Posted Purchase Invoices** lists, when the **Order Difference Status** field is **To Be Checked**, click the field's assist button: after confirmation the status becomes **Checked**. Unposted invoices must be released.

Alternatively, use the **Set as checked** option of the **Purchase Order Differences** report (see below).


From the **Purchase Invoices** list, choose the **Differences Worksheet** action to open the **Purchase Order Difference Worksheet** for the selected invoice. The worksheet shows the invoice lines coming from receipts (or return shipments) with a non-zero quantity.

| Field | Description |
|---|---|
| Type, No., Description | Invoice line data. |
| Item Reference No. | First bar code of the item. |
| Vendor Item No. | Vendor item number from the item card. |
| Quantity, Unit of Measure Code | Invoiced quantity. |
| Direct Unit Cost, Line Discount % | Line cost and discount. Additional discounts are also available, hidden by default, if enabled. |
| Amount | Net line amount. |
| Receipt Amount | Amount expected from the order. |
| Order Difference | Difference between invoiced and expected amount. |
| Unit Net Cost | Current unit net cost of the line (amount / quantity). |
| New Unit Net Cost | Corrected unit net cost. Editable. |
| Comment | Free text saved as a line comment. Editable. |
| Difference Amount | Total (at the bottom of the page) of the difference generated by the new costs entered. |


| Action | Description |
|---|---|
| Apply Changes | Applies the corrections to the invoice (see procedure). |
| Open document | Opens the source invoice (or credit memo). |
| Open shipment/receipt | Opens the posted receipt or posted return shipment of the line. |
| Open order | Opens the purchase order or return order the line comes from. |


1. Open the worksheet with the **Differences Worksheet** action.
2. For the lines to correct, enter the **New Unit Net Cost** and, if useful, a **Comment**. The **Difference Amount** updates with each change.
3. Choose **Apply Changes** and confirm.

As a result:

- for each line whose new cost differs from the current one, the line discount is cleared and the **Direct Unit Cost** is set to the new net cost;
- the comments entered are added as invoice line comments;
- for each VAT product posting group, a G/L Account line on the **Order Difference Account** is added to the invoice, with quantity 1 and cost equal to the calculated difference, so that the invoice total stays the same;
- the worksheet closes.

The **Order Difference Account** must be filled in on the **Purchases & Payables Setup**.


Run the report with the **Order Differences** action from the **Purchase Invoices** and **Posted Purchase Invoices** lists, for the selected invoices. For each invoice it shows the header (vendor, document date, vendor invoice no., order difference status) and the lines with quantity, invoice amount, order amount and difference.

On the request page, **Options** tab, the **Set as checked** option sets all printed invoices to **Checked** status, after confirmation.

# Demand Replenishment

**Demand Replenishment** proposes the quantities to order from vendors based on the actual demand for items, that is, what was sold (or transferred) in recent weeks at each location. For each purchases source the program creates a batch with one line per item and location, calculates the quantity needed to cover a number of days, subtracts what is already in stock or on its way and proposes the quantity to order. After review, **Process Orders** creates the purchase orders (and transfer orders, if needed).

The module includes:

- replenishment parameters in **Purchases & Payables Setup**, locations, items and purchases sources;
- a periodic calculation (job queue) that summarizes sales and purchases into two item budgets;
- the **Demand Replenishment** page, with batches, calculation, review and order creation;
- the **Demand Replenishment Detail**, **Demand Replenishment Statistics** and **Missing Item Worksheet** pages.



| Field | Description |
|---|---|
| **Replenishment Calc. Weeks** | Weights of the weeks used to calculate average demand, comma-separated. The first value is the most recent week. Example: `3,2,1` uses the last 3 complete weeks, weight 3 for the most recent, 2 for the previous and 1 for the oldest. Blank = last week only. |
| **Repl. Week of Month Multiplier** | Up to four percentages, comma-separated, one per week of the month (days 1-7, 8-15, 16-22, 23-31). The percentage of the week containing the work date increases (or decreases, if negative) the proposed quantities. Example: `10,0,0,-5` adds 10% in the first week and removes 5% in the last. |
| **Coverage Days Rounding** | **Week**: coverage days are rounded up to whole weeks (e.g. 10 → 14); **Day**: rounded to whole days. |
| **Replenishment Purch. Budget** | Item budget (purchase) where purchases are summarized by vendor. Used to identify critical items. |
| **Replenishment Purch. Period** | How far back to consider purchases (date formula, e.g. `-3M`). |
| **Replenishment Sales Budget** | Item budget (sales) where sales are summarized weekly by item and location. It is the basis of the demand calculation. |
| **Replenishment Sales Period** | How far back to recalculate on each sales budget update (date formula, e.g. `-4W`). |
| **Replenishment Sales From Date** | Starting date the first time the sales budget is built; the program never goes before this date. |
| **Replenishment Critical Threshold %** | If the percentage of quantity received versus quantity requested from the main vendor is below this threshold, the item is marked **Critical**. 0 = no item marked. |
| **Replenishment Missing Threshold %** | If missing quantities (requested by customers but not delivered) exceed this percentage of the sold quantity, the item's demand is considered **unreliable** (see below). 0 = check disabled. |
| **Repl. Last Supplies Period** | If set, items whose last supplies date is before this period are not proposed. |
| **Replenishment Transfer Order Type** | Order type assigned to transfer orders created by replenishment. |


| Field | Description |
|---|---|
| **Replenishment Order** | Order in which locations appear in the batch lines. |
| **Additional Coverage Days** | Days added to the calculated coverage for this location. |
| **Repl. Base Sales** | Sales (shipments and invoices) of this location are part of demand, and the location gets replenishment lines. |
| **Repl. Base Transfers** | Outbound transfers from this location to other locations count as demand, and the location gets replenishment lines. |
| **Repl. Base Purchases** | Purchases of this location are included in the purchase budget (critical items calculation). |


| Field | Description |
|---|---|
| **Purchases Source** | Purchases source used to replenish the item: only items linked to the source are included in its batch. |
| **Order Multiple** | If set, the proposed quantity is rounded up to a multiple of this value. |
| **Purchase Orders Blocked** | The item appears in the batch with the note "Blocked", but its quantity is not added to the group line. |
| **Seasonality** | Season start dates in `DDMM` format, comma-separated (e.g. `0104,0110` = April 1 and October 1). See "Seasonality" in the calculation. |

Blocked items, or items whose sales ending date has passed, are not proposed.


These fields exist both on the purchases source and on its location lines: the line value, if set, overrides the source value.

| Field | Description |
|---|---|
| **Reorder Cycle** | How often orders are placed with this source (date formula, e.g. `1W`, `2W`). Used by the **Next Order** option. |
| **Last Order Date** | Updated automatically when orders are created or the batch is skipped. |
| **Coverage Days** | Number of sales days the order must cover. |
| **Reorder on Monday** … **Reorder on Sunday** | Weekdays on which orders are placed with this source. |
| **Minimum Order Amount** / **Minimum Order Quantity** | Order minimums checked when processing orders. |
| **Item Multiply** | Default multiple for items without their own order multiple. |
| **Receiving Location Code** | If different from the line's location, goods are purchased for the receiving location and then transferred to the destination location. |
| **Lines Grouping** | For each item creates a group line with the total, followed by one line per location. |

If the purchases source is set to all locations, replenishment considers every location with **Repl. Base Sales** or **Repl. Base Transfers**, even without a specific line.


If item ranking is in use, each ranking code can have a **Replenishment Demand Multiplier** (multiplies the demand of items in that ranking, e.g. `1.2` = +20%) and an **Item Multiply** (used when the item has no multiple of its own).


The demand calculation reads the item budgets, which must be updated periodically (usually nightly) with a job queue entry for demand replenishment, with parameter string:

- `CalculateSalesBudget` – updates the sales budget;
- `CalculatePurchaseBudget` – updates the purchase budget and recalculates critical items;
- `CalculateBudget` – both.

**Sales budget.** For each week the program sums, by item, customer and location, shipped and invoiced quantities (and outbound transfers from locations with **Repl. Base Transfers**). For each entry it records the quantity sold, the requested quantity (if the customer asked for more) and the difference as **Missing Quantity**. The data is then grouped by item, location and week (date = last day of the week), with the number of customers. Each update recalculates only the weeks from the **Replenishment Sales Period** onwards.

**Purchase budget and critical items.** The program summarizes the purchases of the period by vendor, flagging the item's main vendor. If, for the main vendor, the received quantity is below the **Critical Threshold %** of the requested quantity, the item becomes **Critical**. Example: threshold 80%, 100 units requested, 70 received → 70% < 80% → critical item. Critical items are shown at the top of the batch.


Search for **Demand Replenishment**. The current batch is shown on opening; **Change Batch** opens the **Demand Replenishment Batches** list.


| Field | Description |
|---|---|
| **Name** / **Description** | Batch identifier; for batches created by the calculation, the description is the purchases source name. |
| **Purchases Source No.**, **Vendor No.**, **Repository No.**, **Purchaser Code** | Purchases source, vendor, repository and purchaser of the batch. |
| **Last Order Date** | Last order date of the source at calculation time. |
| **System Created** | The batch was created by the replenishment calculation. |
| **Created Date/Time** | Time of the last calculation. |
| **Price List Base** | Price list base of the batch. |



1. On the **Demand Replenishment** page choose **Calculate Replenishment**.
2. On the request page, filter purchases source lines (e.g. by source, vendor, location; the purchaser filter defaults to the user's purchaser) and, if needed, items.
3. Fill in the options:

| Option | Description |
|---|---|
| **Next Order** | Calculates only the purchases sources that are due now (see below). |
| **Coverage** | **Default**: coverage days of the source/line; **Force days**: uses the given **Coverage Days**; **Add days**: adds the given **Coverage Days** to the source's; **Until date**: covers up to **Coverage Date** (days = coverage date − work date + 1). |
| **Coverage Date** / **Coverage Days** | Values used by the coverage options. |
| **Group Lines** | Blank = follows the source's **Lines Grouping**; **Group** / **Do not Group** force it. |
| **Include Items without Demand** | Also keeps items with no demand and no inventory at any location (normally removed). |

4. Confirm. The program creates (or reuses) one batch per purchases source and purchaser and calculates it.

**Next Order.** A source is excluded if: it has no reorder cycle; it was already ordered this week; its expected date (last order date + reorder cycle) falls in a future week; or the expected date falls in this week but today is not one of its reorder days. Example: cycle `2W`, last order Monday 3rd, reorder on Monday → expected date Monday 17th; in the week of the 17th the source is calculated only on Monday.


For each item of the purchases source, one line is created for each location with **Repl. Base Sales** or **Repl. Base Transfers** (plus the group line, if requested). Lines are sorted with critical items first, then by ranking and description. For each line:

**1. Coverage days.** Starting from the source's days (or the chosen option), the location's **Additional Coverage Days** are added and the result is rounded according to **Coverage Days Rounding**.

**2. Weekly demand (Demand Quantity).** The weighted average of sales over the last complete weeks in the sales budget (the current week is not used), with the weights from **Replenishment Calc. Weeks**. The weighted average of missing quantities is calculated the same way. **No. of Customers** refers to the last week.

> Example: weights `3,2,1`; sales: last week 30, previous 20, the one before 10.
> Demand = (30×3 + 20×2 + 10×1) / (3+2+1) = 140 / 6 ≈ 23.3 units per week.

**3. Seasonality.** If the item has a **Seasonality** date and the coverage period (work date + coverage days) reaches the next season date, demand is calculated on the same weeks of the previous year, at the end of the coverage period, instead of on the latest weeks.

> Example: seasonality `0104`, work date March 20, coverage 21 days → coverage reaches April 10, past April 1: demand is based on sales in the weeks before April 10 of last year.

**4. Unreliable demand.** If **Replenishment Missing Threshold %** is set and missing quantities exceed that percentage of demand (or there are only missing quantities and no sales), demand is considered **unreliable**: an item that is often missing sells little because it is unavailable, not because it is not needed. In this case demand is recalculated as the weekly average of sales over the last year.
If demand is reliable, missing quantities are added to demand (you also order what customers would have bought).

> Example: threshold 30%, demand 20, missing 4 → 20% ≤ 30%: demand = 24.
> With missing 10 → 50% > 30%: unreliable demand, last year's average is used.

Items that allow reservation are excluded from this step: their demand comes from sales reservations (see **Get Sales Reservations**).

**5. Needed quantity.** Demand Quantity / 7 × coverage days, rounded up.

> Example: demand 24 per week, coverage 14 days → 24 / 7 × 14 = 48.

**6. Current situation per location.** The program reads: **Qty. on Inventory**, **Qty. on Purchase Order** (to receive), **Qty. on Transfer Order (inbound)** (including goods in transit), **Qty. on Transfer Order (outbound)**, **Qty. on Sales Order** (to ship) and, if available, **Qty. on Store Reservation** and **Qty. on Quality Check**.

**7. Substitute items.** If an item has a mandatory substitute, its demand, missing quantities, needs and sales orders are moved to the substitute at the same location (flagged as **Substitute**), and the replaced item's line is not proposed.

**8. Quantity to order.**

- Requirement = needed quantity + qty. on sales order + qty. on outbound transfer (+ store reservations).
- Subtract qty. on purchase order, qty. on inbound transfer and inventory (if positive); goods in quality check are added back because they are not yet available.
- If the result is positive, it is multiplied by the **Demand Multiplier** (week of month × ranking) and rounded up; then rounded to the order multiple (item, ranking or purchases source), unless it has already been rounded to a purchase unit of measure through the UoM rounding threshold.
- If the result is negative, the quantity is 0 and the excess is shown in **Overstock**.

> Full example: needed quantity 48, sales orders 5, outbound transfers 0 → requirement 53.
> Inventory 12, on purchase order 10, inbound transfers 0 → 53 − 22 = 31.
> Multiplier 1.1 (first week of month +10%) → 34.1 → 35.
> Order multiple 6 → proposed **Quantity** 36.
>
> If inventory were 70: 53 − 80 = −27 → Quantity 0, **Overstock** 27.

**9. Cleanup.** Unless **Include Items without Demand** was selected, items with no requirement and no inventory at any location are removed from the batch. Lines with a requirement are flagged as **Confirmed**.

**10. Group lines.** With grouping on, the group line shows the sum of the location lines (lines of items with blocked purchase orders do not add their quantity). The description of the location lines becomes the location name.

**Receiving location.** If a different receiving location code is set for a location, the line shows it in **Transfer-from Code**: the quantity is ordered for the receiving location and then transferred.



| Field | Description |
|---|---|
| **Item No.**, **Description** | Item (editable only on manually entered lines). |
| **Confirmed** | The line has a requirement; also set automatically when the quantity is changed. |
| **Vendor Item No.**, **Payment Terms Code** | Vendor data. |
| **Note** | Automatic notes (e.g. "Blocked"). |
| **Location Code**, **Transfer-from Code** | Destination location and location to transfer from, if any. |
| **Quantity** | Quantity proposed by the calculation, editable. |
| **Quantity to Handle** | Quantity actually ordered by **Process Orders**. |
| **Quantity for Free** | Additional free quantity: added to the order line and turned into a discount. |
| **Needed Quantity**, **Demand Quantity** | Calculated requirement for the coverage and weekly demand. |
| **Qty. on Inventory**, **Available Inventory** | Inventory, and inventory not committed to sales orders, outbound transfers, store reservations and quality check. |
| **Qty. on Purchase Order**, **Qty. on Transfer Order (inbound)**, **Qty. on Transfer Order (outbound)**, **Qty. on Sales Order**, **Qty. on Store Reservation**, **Qty. on Quality Check** | Location situation (with drill-down to documents). |
| **Overstock** | Quantity in excess of the requirement. |
| **Public Price**, **Direct Unit Cost**, **Line Discount %**, discounts and charges, **Amount**, **Unit Cost (net)**, **% var. Unit Cost** | Line pricing; the variation compares the net cost with the item cost. |


**Item Replenishment Factbox** (vendor, costs, public price, ranking, critical, bill of material, interchangeables, substitute, next seasonality date, coverage days, no. of customers, demand multiplier), purchase prices, units of measure, **Item Weekly Sales Factbox**, **Item Rolling Sales Factbox**, **Item Monthly Sales Factbox** and availability. The weekly and monthly sales FactBoxes are also available on the item list.


| Action | Description |
|---|---|
| **Change Batch** | Selects another batch. |
| **Skip Batch** | After confirmation, deletes the system-created batch without ordering and updates the last order date of the source and its locations; moves to the next batch. |
| **Calculate Replenishment** | Calculates the batches (see above). |
| **Recalculate Replenishment** | Recalculates the current batch keeping the items already there (including those added manually). Options: **Coverage** (Until date / Force days), **Coverage Date**, **Coverage Days**, **Group Lines** (recreates the location lines, which can be filtered), **Only New Lines** (recalculates only manually entered lines). |
| **Get Sales Reservations** / **Get Store Reservations** | Add to the batch the quantities reserved by sales orders or store reservations. |
| **Process Orders** | Creates the orders (see below). |
| **Prices and Quantities** › **Blank Quantities** / **Fill Quantities to Handle** / **Blank Quantities to Handle** | Blanks quantities, copies quantity into quantity to handle, or blanks it, on the filtered lines. |
| **Prices and Quantities** › **Apply Price List** / **Blank Discounts** | Reapplies prices and discounts (default, public price or public price without VAT) or blanks discounts. |
| **Change Purchases Source** | Assigns another purchases source (and its vendor) to the batch and all lines. |
| **Change Payment Terms** | Sets payment terms on all lines. |
| **Comments** | Batch comments, copied to the created orders. |
| **Statistics** (F7) | Totals by location: quantities, amounts, order minimums. |
| **Details** | Opens **Demand Replenishment Detail**: all lines of the same item, with **Previous** / **Next** to move between items. |
| **Item Card**, **Item Units of Measure**, **Item Entries (purchase)** | Navigation to item data. |


1. Enter **Quantity to Handle** (e.g. with **Fill Quantities to Handle**) and, if needed, **Quantity for Free**.
2. Choose **Process Orders**. Options: **Document Exchange** (sends orders via the source's exchange profile) and **Update Price List** (adds missing items to the purchases source's active price list).
3. Checks: there must be at least one quantity to handle; lines must have a direct unit cost and a vendor. If **Minimum Order Quantity** or **Minimum Order Amount** is not reached for a location, the program asks whether to **Continue** or **Skip** that location.

The program then:

- creates a purchase order for each combination of location, vendor and payment terms, with the batch's purchaser, source and repository;
- for lines with **Transfer-from Code**, orders the quantity for the receiving location and creates transfer orders to the destination locations, linked to the purchase order;
- turns free quantity into a discount. Example: 10 units to handle + 2 free → order line of 12 units with an additional 16.667% discount (2/12);
- releases the orders and, if requested, sends them;
- updates the last order date of the source and its locations;
- reduces batch lines by the ordered quantity and deletes those fully ordered. If nothing is left to order, the system-created batch is deleted and the next one is shown.


The **Missing Item Worksheet** page lists items requested by customers but not delivered, based on the sales budget. Filters: **From Date**, **To Date**, **Location Code**, **Purchase Source**, **Vendor No.**, **Exclude Critical**. For each item it shows purchases source, unavailability reason code, whether it is critical, **Requested Quantity** and **Missing Quantity**, with links to purchase lines, purchase entries, bin content and item summary.


- **Units of Measure** – **Additional Replenishment Unit**: marks the units of measure to show as an additional quantity in the replenishment statistics.
- **Purchase order lines** – **Item Unit Cost** and **% var. Unit Cost**: compare the line cost with the item cost.

# Amounts in Requisition Line

The module adds to requisition worksheet lines (Requisition Line) the line amount, the unit cost net of discount and the item's VAT product posting group. Values are calculated automatically and shown on the **Demand Replenishment** and **Demand Replenishment Detail** pages.


- Open the **Demand Replenishment** page: the new fields are shown on the lines.
- Open the **Demand Replenishment Detail** of a line to see the VAT product posting group.


| Field | Description |
|---|---|
| Amount | Line amount: quantity × direct unit cost, net of the line discount %, rounded. Not editable. |
| Unit Cost (net) | Direct unit cost net of the line discount %. Not editable. |
| VAT Product Posting Group | VAT product posting group of the line's item. Not editable. |


- **Amount** and **Unit Cost (net)** are recalculated when the quantity, direct unit cost or line discount % change, and when the system determines the line's direct cost (for example from the vendor price list).
- The **VAT Product Posting Group** is copied from the item card when the item is entered or changed on the line.

# Copy comments before posting

In standard Business Central, comments on a purchase order (or purchase return order) are copied straight to the posted invoice (or credit memo) at posting time.

With this feature, order line comments are instead copied **before posting**, into the purchase invoice created with the **Get Receipt Lines** function. This lets you review and edit the comments on the invoice before posting it, and the invoice content is what is carried over to the posted document.


1. Open the **Purchases & Payables Setup** page.
2. In the section about copying comments, turn on the **Copy Comments Before Posting** field.
3. Make sure the standard **Copy Comments Order to Invoice** field is also turned on.

| Field | Description |
|---|---|
| Copy Comments Before Posting | When on, order line comments are copied to the invoice when receipt lines are retrieved, and are no longer copied directly from the order (or return order) to the posted invoice (or credit memo). |


1. Create a purchase invoice for the vendor.
2. Use the **Get Receipt Lines** action and select the receipt lines you need.
3. For each inserted line, the comments of the matching purchase order line are copied to the invoice line.
4. Review and, if needed, edit the comments on the invoice.
5. Post the invoice: the posted document contains the comments found on the invoice.


- When the field is on, posting a purchase order or return order does not copy the order comments to the posted invoice or credit memo.
- Line comments are copied to the invoice only if **Copy Comments Order to Invoice** is also turned on.

# Retain original order date

In standard Business Central, when you change the **Planned Receipt Date** on the lines of a purchase document (for example a **Purchase Order**), the system automatically recalculates the line's **Order Date** backwards, taking lead time and calendars into account.

With this feature active, the **Order Date** of the purchase line is no longer recalculated: it keeps its original value even when the planned receipt date changes.


- **Purchase Order** page, **Lines** section, and purchase document lines in general.


| Field | Description |
|---|---|
| Planned Receipt Date | Can be changed freely; the change no longer affects the order date. |
| Order Date | Keeps its original value and is not updated automatically when the planned receipt date changes. |


1. Open a purchase order and go to a line.
2. Change the **Planned Receipt Date** (directly or by changing other dates that recalculate it).
3. The line's **Order Date** stays unchanged. If needed, you can still change it manually.

The feature requires no setup: it is always active.

# Quality

# Common Quality functions

The module provides the common foundation for quality management features:

- the **Quality Setup** page, which holds the settings for quality features;
- **Quality Entries**, the history of recorded quality operations;
- the **Report Selection - Quality** page, to choose the print reports for quality documents;
- the **Quality Check** flag on bin types, to identify bins where goods are waiting for inspection;
- the **Qty. on Quality Check** quantity in Demand Replenishment.


Search for **Quality Setup**. The page contains general quality settings and number series; specific fields are added by the enabled quality features (for example non-conformance management). The setup is created automatically the first time the page is opened.


Search for **Quality Entries**. The page is read-only and shows the entries created by quality operations.

| Field | Description |
|---|---|
| Entry No. | Sequential entry number. |
| Entry Type | Operation type: Non-conformance, Reclassification, Adjustment or Document. |
| Non-conformance Code | Code of the detected non-conformance. |
| Document Type / Document No. | Document with which the operation was posted. |
| Posting Date | Posting date of the operation. |
| Note | Note on the entry. |
| Partner Type / Partner No. | Customer, vendor or location involved. |
| Type / No. | G/L account or item concerned. |
| Quantity (base) | Quantity in the base unit of measure. |
| Unit Amount (LCY) / Line Amount (LCY) | Amounts in local currency. |
| Location Code | Location concerned. |
| Reference No. | Reference document (for example the posted receipt the check originates from). |
| Source No. | Source document (for example the purchase order). |
| Quality Document No. | Quality document that generated the entry. |
| Initial Entry | Marks the entry that opens the quality case, as opposed to later handling entries. |

The **Find entries...** action opens Business Central's Find entries feature for the document of the selected entry.


Search for **Report Selection - Quality**. In the **Usage** field choose the quality document type (for example Non-conformance) and set the reports to use in the lines, with sequence, layout and use for email body or attachment, as in Business Central's standard report selection pages.


On the standard **Bin Types** page the **Quality Check** field is available. Enable it on bin types meant for goods waiting for inspection: quantities in bins of that type are considered "on quality check".


In **Demand Replenishment** (and its detail) the **Qty. on Quality Check** column is available, hidden by default (you can show it by personalizing the page).

Automatic behavior during calculation:

- the quantity in bins with **Quality Check** is calculated for each line;
- this quantity is subtracted from **Available Inventory**, since goods under inspection are not yet usable;
- the quantity under inspection is still counted as incoming supply in the requirement calculation, so items already in the warehouse but awaiting inspection are not reordered.


When registering put-aways, if received goods (from a purchase receipt, transfer receipt or sales return) are placed in a bin flagged for non-conformances, the system automatically creates or updates the non-conformance document for that receipt, adds a line for the item and records the initial quality entry.

# Non-conformance

This feature lets you record and manage **non-conformances** found on items or G/L accounts, related to a customer, a vendor or a location. Each non-conformance is a document with a header and lines; non-conforming quantities can be handled with a return to the vendor, an inventory adjustment or a reclassification between bins. Every operation is tracked in the **Quality Entries**.

Non-conformances can be created manually or automatically during put-away, when received goods are placed in a bin marked as non-conforming.



Open the **Quality Setup** page (search for it with "Tell me what you want to do").

| Field | Description |
|---|---|
| Non-conformance Nos. | Number series used to number non-conformance documents. Required to create new documents without a manual number. |
| Non-conformance On Hold | Code entered in the **On Hold** field of the purchase invoice when receipt lines linked to a non-conformance are retrieved (only if the invoice is not already on hold). |
| Copy Notes on Document Comments | If enabled, the notes of the non-conformance lines linked to the receipt lines are copied as comments to the purchase invoice when receipt lines are retrieved. |


On the **Non-conformance Codes** page you define the codes (with a description) that classify the type of non-conformance (for example "Damaged", "Wrong item", etc.).

| Field | Description |
|---|---|
| Code | Non-conformance code. |
| Description | Description of the code. |


The standard **Bins** page has a new **Non-conformance** field. Mark the bins intended for non-conforming goods: when a put-away places goods in one of these bins, a non-conformance is created automatically (see "Automatic behavior").


- **Non-conformances**: list of all non-conformance documents (search for it with "Tell me what you want to do"). From here you open a document or create a new one.
- **Non-conformance Lines**: list of all lines with an outstanding quantity, useful to see at a glance what still has to be handled. The **Open Document** action opens the document of the selected line.


The list shows number, partner type, partner number and name, posting date, reference document name and number, external document no., total **Quantity (base)** and **Amount (LCY)**, **Status** and note.

Available actions:

- **Find entries...**: opens Find Entries for the reference document (for example the receipt the non-conformance comes from).
- **Quality entries**: shows the non-conformance quality entries of the document.



| Field | Description |
|---|---|
| No. | Document number, assigned from the number series. |
| Partner Type | Customer, Vendor or Location. Changing it clears partner number and name. |
| Partner No. | Customer, vendor or location involved. Editable only if a partner type is set. |
| Partner Name | Filled in automatically from the selected partner. |
| Posting Date | Date used by the handling operations (return, adjustment, reclassification). Defaults to the work date. |
| Document Date | Document date. Defaults to the work date. |
| External Document No. | External reference (for example the vendor's shipment number). |
| Location Code | Location of the non-conformance; used in the vendor return. |
| Non-conformance Code | Classification of the non-conformance. |
| Reference Name / Reference No. | Document the non-conformance originates from (for example the purchase receipt). Not editable. |
| Whse. Activity Type / Whse. Activity No. | Warehouse activity (put-away) that generated the non-conformance. Not editable. |
| Document Barcode | Barcode of the source document, if available. Not editable. |
| Status | Blank, **To Handle**, **Partially Handled** or **Completely Handled**; updated automatically based on handled quantities. |
| Note | Free text note. |
| Purchase Return Orders | Shows whether open purchase return orders linked to the non-conformance exist. |


| Field | Description |
|---|---|
| Type | G/L Account or Item. |
| No. | Account or item. For items, description and base unit of measure are suggested. |
| Description | Line description. |
| Note | Note on the line. |
| Quantity | Non-conforming quantity. Cannot be lower than the quantity already handled. |
| Quantity to Handle | Quantity to process with the next handling action; cannot exceed the outstanding quantity. |
| Quantity Handled | Quantity already handled. Clicking the value opens the handling quality entries of the line. |
| Unit of Measure Code | Unit of measure of the quantity. |
| Location Code / Bin Code | Where the non-conforming goods are. Changing the location clears the bin. |
| New Bin Code | Destination bin for the reclassification. |
| Unit Amount (LCY) / Line Amount (LCY) | Value of the non-conformance; the line amount is unit amount times quantity. |

Lines that have already been handled can no longer be changed in their main data (type, number, quantity, unit of measure, location, bin).


Before any handling, fill in **Quantity to Handle** on the relevant lines. If no line has a quantity to handle, the message "Nothing to handle" is shown.


Available only if the partner type is **Vendor**.

1. Open the document and enter the quantity to handle on the lines.
2. Choose **Prepare Return** or **Handle with Return** and confirm the question.
3. A **purchase return order** is created for the vendor, with the location and posting date of the non-conformance and one line for each line with a quantity to handle (same item/account, unit of measure, location, bin, quantity and unit cost, no discount).
   - with **Prepare Return** the order is only created and its number is shown;
   - with **Handle with Return** the return shipment is also posted immediately.

If an open return order already exists for a line, the operation is stopped and the existing document is indicated. When the return shipment is posted (immediately or later, from the return order), the shipped quantity is recorded as handled on the non-conformance line, a quality entry is written and the document status is updated.


For Item lines, posts an inventory **negative adjustment** (or positive if the quantity to handle is negative), using the posting date and number of the non-conformance, on the line's location and bin. Quality entries are written and handled quantity and status are updated.


For Item lines, registers a **warehouse movement** from the line's bin to the **New Bin Code**, for example to bring the goods back to their usual bin after inspection. Location, bin and new bin are required. Quality entries are written and handled quantity and status are updated.


- **Non-conformance** (report): prints the document.
- **Find entries...**: opens Find Entries for the reference document.
- **Quality entries**: shows all quality entries of the document.


- **Creation from put-away**: when, in a put-away coming from a warehouse receipt, goods are placed in a bin marked as **Non-conformance**, the system creates (or extends, if one already exists for the same reference document and location) a non-conformance document:
  - for purchase receipts the partner is the vendor and the unit amount is the direct unit cost net of line discount;
  - for transfer receipts the partner is the transfer-from location;
  - for customer returns the partner is the customer and the unit amount is the unit price net of line discount;
  - otherwise the unit amount is the item's unit cost.

  The line takes item, unit of measure, quantity, location, bin and note from the put-away line; the item's default bin is suggested as new bin. The initial quality entry is also written.
- **Purchase invoices**: when receipt lines linked to a non-conformance are retrieved into an invoice, the invoice can be put on hold and the line notes copied to the comments, according to the **Quality Setup**.
- **Status**: updated automatically at each handling.
- **Deletion**: deleting a document also deletes its lines; documents created automatically by the system cannot be deleted.
- **Qty. on Non Conformance**: the item's warehouse FactBox shows the quantity still outstanding on non-conformances.

# Sales

# Standard Sales Code for all customers

In Business Central, standard sales codes (recurring sales lines) are normally assigned to a single customer. This feature lets you make a standard sales code available to **all customers**, without assigning it to each one.


Open the **Standard Customer Sales Codes** page, for example from the customer card through the **Recurring Sales Lines** action.


| Action | Description |
|---|---|
| Enable for All Customers | Turns the selected standard sales code, assigned to the current customer, into a code valid for all customers. |


1. Open the **Standard Customer Sales Codes** page of a customer.
2. Select the line of the desired standard sales code.
3. Choose the **Enable for All Customers** action.
4. Confirm the question **Enable ... for all customers?**.

The code is removed from the specific customer and saved without a customer, so it becomes available to all customers. The action has no effect on lines that are already valid for all customers.


- When you retrieve standard sales codes from a sales document (for example with the **Get Recurring Sales Lines** action), the proposed list shows both the codes assigned to the document's customer (Sell-to Customer No.) and the codes valid for all customers.
- When you apply a code valid for all customers, the lines are inserted into the document as if the code were assigned to the document's customer.

# Automatic lines (source)

This feature is the common foundation for lines that the system adds automatically to sales documents (for example free-of-charge lines or charge lines generated by other features). Each automatically created line stores its **source**, that is, the reason it was generated and, when applicable, the line it comes from.

This lets the system recognize automatic lines, update or delete them together with the originating line, and avoid creating them twice.


Source information is recorded on the lines of:

- sales documents (quotes, orders, invoices, credit memos, return orders);
- posted sales shipments and posted return receipts;
- posted sales invoices and posted sales credit memos;
- finance charge memos and issued finance charge memos.

When a document is posted, the source of the automatic lines is carried over to the lines of the posted document.


| Field | Description |
|---|---|
| System-Created Source | Code identifying the feature that automatically created the line. Blank for lines entered manually. |
| System-Created From Line No. | Number of the line (or entry) from which the automatic line was generated. |

These fields are managed by the system and should not be filled in manually.


- When a sales line is deleted, the automatic lines generated from that line are deleted as well.
- Features that create automatic lines use the source to find, update or remove lines already created, avoiding duplicates.

# Store Documents

This feature manages documents coming from points of sale (stores): counter sales, adjustments, purchases, transfers, physical inventories and reservations. Documents are received from external POS systems, collected in the **Store Documents** page and posted in Business Central. Each store's daily sales are summarized in a **Store Closing**, where computed values are compared with declared ones (payments, VAT, deposits, expenses) before closing invoices or shipments are created.



The **Store Setup** page holds the general parameters.

| Field | Description |
|---|---|
| Sales / Purchase / Inventory / Transfer Document Nos. | Number series of store documents by type. |
| Closing Nos. | Number series of store closings. |
| Contact Nos. | Number series of store contacts. |
| Reservation Document Nos. | Number series of reservation documents. |
| Total Discount Posting Group | Posting group used for document total discounts. |
| VAT Adjustment Posting Group | Posting group used for VAT adjustment lines in closings. |
| Payment Adj. Account No. (credit) / (debit) | Accounts for payment adjustments. |
| Payment Account No. | Account for prepayments. |
| Prep. VAT Prod. Posting Group | VAT group for prepayments. |
| Income / Credit / Deposit Account No. | Accounts suggested for income, credits and deposits in closings. |
| Default Payment Method Code | Suggested payment method. |
| Direct Store Transfers | Handles transfers between stores directly. |
| Closing Tolerance Amount | Maximum allowed difference between declared and computed sales. |
| Payment Tolerance Amount | Maximum allowed difference between payments and sales. |
| Transfer / Sales Order Type, Create Extra Transfer Orders | Order types used for store replenishment. |
| Store Cluster Nos. / Item Cluster Nos. | Cluster number series. |
| Health Amount Account No., Health Product Posting Group, Health Difference Account No. | Accounts and groups for the health service share (pharmacies). |


The **Store Categories** page defines the behavior of groups of stores.

| Field | Description |
|---|---|
| Code / Description | Category identifier. |
| Create Closing | Sales of the category's stores are collected in closings. |
| Closing Document | Document created by the closing: Invoice or Shipment. |
| Prevent Posting | Prevents document posting. |
| Ignore Discount (total) | Total discounts are ignored. |
| Device Closing Mandatory | Device data (fiscal box, manual report) is required. |
| Invoicing Rule | Invoicing rule applied. |
| Order Type / Push Order Type | Order type (Transfer or Sale) for replenishment. |

The **Payments** and **No. Series** actions open the payment setup and the **Store Number Series Setup**.


**Store** list and **Store Card**.

| Field | Description |
|---|---|
| No. / Name | Store identifier. |
| Category | Store category. |
| Customer No. | Customer billed by closing invoices (required to create closings). |
| Address, Post Code, City, County, Country/Region | Contact data. |
| Discontinued | Store no longer active. |
| Health Tracking Code, Type | Pharmaceutical data (**Pharmaceutical** group). |
| VAT Shareout | The store applies VAT shareout. |

Actions: **Locations**, **Payments**, **No. Series**, **Dimensions**.

On the **Location Card**, the **Store** group contains the **Store No.** field linking the location to the store.


Defines, per store or per category and per VAT business posting group, the **Invoice Nos.**, **Closing Invoice Nos.**, **Credit Memo Nos.**, **Closing Shipment Nos.** series and the **Use Posting No.** field (none, External Document No., External Posting No.), which states whether the number coming from the POS is used. It can also be opened from the **VAT Business Posting Groups** page (**Store No. Series** action).

On the **Payment Methods** page, the **Setup** action opens the store posting setup of the method.


The **Store Documents** page lists all received documents (read-only).

| Field | Description |
|---|---|
| Document Type | Sales, Adjustment, Purchase, Transfer, Physical Inventory, Reservation. |
| No. | Document number. |
| Partner Type / Partner No. / Name | Customer, vendor or location counterpart. |
| Document Date / Posting Date / Time | Document dates. |
| External Document No. / ID | POS references. |
| Store, Location, Store Category | Originating point of sale. |
| Store Contact | Associated contact (end customer). |
| Do not Invoice / Do not Post | Exclusions from invoicing or posting. |
| Posting Type | Shipment, Receipt, Invoice, Credit Memo. |
| Posting No. / Posted | Created document and status. |
| Closing No. | Closing the document is assigned to. |
| Amount | Document total. |

The **Store Document** card also shows the **Lines** (Item, Prepayment, Discount, Item (adjustment), Discount (total), G/L Account, Comment; with quantity, price incl. VAT, VAT, amount, health amounts) and the **Payments** (Payment, Credit, Credit (closing), Rounding). For Payment lines, method and amount can be edited.

The **Store Document Lines** page lists all lines; the **Open Document** action opens the document.


| Action | Effect |
|---|---|
| Create Closing | Assigns the sales document to the open closing of the same store, date and category, creating it if needed. Applies only to categories with **Create Closing** and documents not marked **Do not Invoice**. |
| Create Closing Batch | Runs closing creation on several documents. |
| Post / Post Batch | Posts the document (or selected documents), creating the expected Business Central document: shipment, receipt, invoice, credit memo, transfer, adjustment or inventory. |
| Prepare | Creates the Business Central document without posting it, for review. |
| Allow New Posting | Allows the document to be posted again. |
| Mark as do not post | Sets **Do not Post** on the selected documents. |
| Delete Batch | Deletes the selected documents. |
| Find entries... | Shows related entries. |
| Document Exchange | Handles electronic document exchange. |

Adjustments and physical inventories can only be posted directly. When posting an inventory, incoming transfers not yet received are checked: in that case you can close forcibly.


**Store Closings** and **Store Closing** pages.

| Field | Description |
|---|---|
| No. | Closing number. |
| Posting Date | Closing day. |
| Store No. / Name / Category / Customer | Store and billed customer. |
| Calculated / Valid | Whether the closing has been calculated and validated. |
| Posting No. / Posted | Created document. |
| Amount | Total sales. |


| Field | Description |
|---|---|
| Type | Sales, Invoices, Payments, Sales per VAT Posting Group, Credits, Income, Payments (adjustment), Expense, Deposit. |
| No. | Payment method, VAT group or other code depending on type. |
| Description | Line description. |
| Computed Value | Value computed from store documents. |
| Declared Value | Value declared by the store. |
| Bal. Account Type / Bal. Account No. | Balancing account (G/L, bank, customer, vendor) for income, expenses, deposits and adjustments. |
| Notes | Free notes. |
| Discount Value | Assigned discount. |


1. Create closings from documents (**Create Closing**).
2. In the **Store Closing**, choose **Calculate**: lines are filled with values computed from the assigned documents.
3. Enter or correct **Declared Values** and add any income, expenses and deposits with their balancing account.
4. Choose **Validate**. Checks: lines exist; difference between declared and computed sales within **Closing Tolerance Amount** (with confirmation); payments balanced with sales within **Payment Tolerance Amount**; sales balanced with sales per VAT group; no unassigned documents for the store and date; correct signs (deposits and expenses negative, income positive) and balancing accounts filled in.
5. Choose **Post** (or **Post Batch** from the list) to create the closing invoice or shipment, or **Prepare** to create the document without posting.

Other actions: **Documents** (store documents of the closing), **Devices** (fiscal box or manual report data: amounts, VAT and payments per device), **Find entries...**, **Document Exchange**.


- Sales documents and posted headers (invoices, credit memos, shipments, return receipts, transfers) carry the originating store and closing; the **Posted Sales Invoices** list shows the **Store No.** field.
- Numbers of created documents follow the **Store Number Series Setup** and, when configured, reuse the number coming from the POS.
- Health service amounts automatically create expected refund and difference lines in closings.

# Multiple price group and discount per customer

In standard Business Central a customer can have only one customer price group and one customer discount group. This feature lets you assign **multiple price groups and multiple discount groups** to each customer, each with its own validity period. When sales prices and discounts are calculated, all valid groups are considered together with the customer's standard ones.


1. Open the **Customer Card**.
2. In the pricing section, right after the **Customer Disc. Group** field, the **Price Group Lines** field shows how many lines are assigned to the customer.
3. Click the number (drill-down) to open the **Customer Price Group Lines** page.


| Field | Description |
|---|---|
| **Line Type** | **Price** to assign a customer price group, **Discount** to assign a customer discount group. |
| **Group Code** | The customer price group or customer discount group, depending on the line type. |
| **Starting Date** | Date from which the line is valid. |
| **Ending Date** | Date until which the line is valid. If blank, the line has no expiry. It cannot be earlier than the starting date. |
| **Enabled** | Only enabled lines are considered when calculating prices and discounts. |


1. From the **Customer Card**, open **Price Group Lines**.
2. Add a new line and choose the **Line Type** and **Group Code**.
3. Optionally enter the **Starting Date** and **Ending Date**.
4. Turn on **Enabled**.
5. Repeat for each price or discount group to assign.


- **Sales documents:** when line prices and discounts are calculated, all enabled groups of the sell-to customer that are valid on the document's **Order Date** are added.
- **Viewing prices from the customer:** when you view prices and discounts starting from the customer, enabled groups valid on the work date are included.
- **Sales Order:** on the **Sales Order** page, after the **Customer Posting Group** field, the document's **Customer Price Group** field is shown.

# Item Public Price

The module adds a **Public Price** to items (the recommended retail price, VAT included). The value can automatically update the item's unit price, can be used as a base in price lists, and is shown on many sales, purchase and warehouse pages.


**Sales & Receivables Setup** page, **Prices** section:

| Field | Description |
|---|---|
| Unit Price from Public | Determines whether the **Unit Price** is updated automatically when an item's public price changes. Values: *blank* (no update), *Public Price* (copies the value as is), *Public Price (no VAT)* (copies the value with VAT removed). |


When the public price without VAT is used, the VAT rate is determined by combining:
- the item's **VAT Bus. Posting Gr. (Price)** or, if blank, the one in Sales & Receivables Setup;
- the item's **VAT Prod. Posting Group**.

If the rate cannot be determined, the public price is used without removing VAT.


On the **Item Card** and the **Item List**, the **Public Price** field is located right after **Unit Price**.

| Field | Description |
|---|---|
| Public Price | The item's retail selling price, VAT included. |


- **Unit price update:** when a public price greater than zero is entered, the item's Unit Price is updated according to the *Unit Price from Public* setting.
- **Price lists:** the **Price List Base** fields (price list lines, replenishment batches) and **Price List Display** fields (sales and purchase setup) offer the values *Public Price* and *Public Price (no VAT)*, which use the item's public price (with or without VAT) as the base price on which discounts are applied.
- **Purchase Return Request:** the report proposes the item's public price as the direct unit cost of the lines.


The item's public price is shown (read-only) on:

- **Purchase Order**, **Purchase Invoice** and **Purchase Return Order** lines (hidden column by default, add it via *Personalize* or *Choose Columns*);
- the purchase line details FactBox;
- **Call Center Sales Order Lines**;
- **Item Summary** and **Item Search**;
- **Demand Replenishment**, in the lines and in the item FactBox;
- **Demand Replenishment Statistics**, where the *Public Price* column shows the total value (quantity to handle × public price);
- **Warehouse Receipt Statistics**, with the **Public Price Amount** field (quantity to receive × public price).


1. Open the **Demand Replenishment** page and filter the lines you want.
2. Choose the **Apply Price List** action.
3. Select one of the options:
   - **Default**: recalculates the direct cost from the standard purchase price list;
   - **Public Price**: sets the public price as the direct unit cost and calculates the **Line Discount %** needed to obtain the vendor's list cost;
   - **Public Price (no VAT)**: as above, but starting from the public price without VAT.
4. The filtered lines are updated.

# Item Typical Cost

This feature adds the **Typical Cost** field to the item: a reference cost value the user can enter freely, separate from the standard Business Central unit cost. The typical cost can be viewed in the item summary and used as a calculation base in price lists.


- **Item Card**: the **Typical Cost** field is located right after the **Unit Cost** field.
- **Item Summary**: the value is shown read-only (when it is zero the field appears blank).


| Field | Description |
|---|---|
| Typical Cost | Reference cost of the item, entered manually by the user. |


1. Open the **Item Card** of the desired item.
2. Locate the **Typical Cost** field, next to **Unit Cost**.
3. Enter the reference cost value.


The **Price List Base** field offers the **Typical Cost** option. When selected, the price is calculated starting from the item's typical cost, to which any markups or discounts defined in the price list are then applied.

# Apply credit memo to invoice

The **Apply Credit Memo to Invoice** function automatically applies open customer credit memos to open invoices of the same customer, closing the entries in a single batch run instead of applying them manually from the customer ledger entries.


Search for **Apply Credit Memo to Invoice** using the Business Central search (Alt+Q). It is a batch job: it does not produce a printout.


| Field | Description |
|---|---|
| Posting Date (filter) | Required. Limits the credit memos to process by posting date. |
| Credit Memo No. Series | Optional. Processes only credit memos with this number series (or series filter). |
| Invoice No. Series | Optional. Considers only invoices with this number series (or series filter). |

Option values are remembered for the next run.


1. Open **Apply Credit Memo to Invoice**.
2. Set the **Posting Date** filter for the credit memos.
3. If needed, enter **Credit Memo No. Series** and **Invoice No. Series**.
4. Select **OK**. During processing, the customer, credit memo and invoice being applied are shown.
5. At the end, a message shows the number of credit memos applied.


For each open credit memo in the selected period, the job looks for an invoice of the same customer that:

- is open and not on hold (**On Hold** field empty);
- has the **same posting date** as the credit memo;
- has a remaining amount equal to or greater than the credit memo's;
- belongs to the specified invoice number series, if any.

An invoice with the same **due date** as the credit memo is preferred; if none is suitable, invoices with a different due date are also considered. Among valid invoices, the one with the highest remaining amount is chosen.

The credit memo is applied for its full remaining amount: the credit memo is closed and the invoice remains open for any difference. Credit memos for which no suitable invoice is found are skipped and remain open.

If the posting date filter is not set, the job stops with the message "Date filter must have a value".

# User creation information in document

The module automatically records on sales documents (quotes, orders, invoices, credit memos, return orders and blanket orders) which user created the document and when. The information is stored in the sales document header, so you can always trace who created a document and the date/time of creation.


The new fields are located in the sales document header (Business Central **Sales Header** table).

| Field | Description |
|---|---|
| Created by User ID | ID of the user who created the sales document. |
| Creation Date/Time | Date and time when the sales document was created. |


The fields cannot be edited by the user. To view them:

1. Open the sales document or the list of sales documents (for example **Sales Orders**).
2. Use **Personalize** to add the **Created by User ID** and **Creation Date/Time** fields to the page, or view them through **Page Inspection** or the list filters.

Pages provided by other modules (for example the Call Center lists) may already show these fields.


- When a new sales document is created, the system automatically fills in **Created by User ID** with the current user and **Creation Date/Time** with the current date and time.
- The values are set only at creation and do not change when the document is later modified.

# Call center

The module gives call center operators a simplified interface for quickly entering sales orders received by phone. The orders created are standard Business Central sales orders and are also visible in the standard pages.


Search for the **Call Center Sales Orders** page using Tell Me (Alt+Q).


When opened, the list shows only orders whose **Order Date** is today, from newest to oldest. The filter can be removed or changed.

| Field | Description |
|---|---|
| No. | Order number. |
| Sell-to Customer No. | Customer of the order. |
| Sell-to Customer Name | Customer name. |
| External Document No. | External reference of the order. |
| Order Date | Order date. |
| Location Code | Warehouse the goods are shipped from. |
| Created by User ID | User who created the order. |
| Amount | Total order amount, excluding VAT. |
| Status | Order status (Open, Released, ...). |


| Action | Description |
|---|---|
| New Order (Ctrl+F2) | Creates a new sales order and opens it in the **Call Center Sales Order** page. |

Double-clicking an order in the list opens its **Call Center Sales Order** page.



| Field | Description |
|---|---|
| No. | Order number (read-only). |
| Sell-to Customer No. | Customer of the order; only non-blocked customers can be selected. |
| Sell-to Customer Name | Customer name (read-only). |
| Sell-to Phone No. | Customer phone number (read-only). |
| Order Date | Order date (read-only). |
| Ship-to Code | Alternative ship-to address of the customer. |
| Location Code | Warehouse the goods are shipped from. |
| Status | Order status. |

If other modules are active, additional fields may appear (for example shipping line, order type or notes).


Lines are always item lines and are designed for quick entry: the cursor moves directly from **Quantity** to the next line.

| Field | Description |
|---|---|
| Quantity | Ordered quantity. It is the first field of the line. |
| No. | Ordered item. The lookup opens the item search page, filtered by the order's customer and location. |
| Description | Item description. |
| Unit of Measure Code | Unit of measure (read-only). |
| Net Unit Price | Unit price net of the line discount (read-only). |
| Amount | Line amount (read-only). |
| Line Discount % | Discount applied to the line (read-only). |
| Location Code | Warehouse of the line. |
| Bin Code | Item bin (read-only). |

If other modules are active, additional fields may appear (for example requested quantity, public price, quantity to be reserved) together with the **Suspend Picking Limit** action, which lets you ignore the picking limit configured for the customer on the line being entered.


| Action | Description |
|---|---|
| Release and Close | Releases the order (if not already released) and closes the page. |
| Release (Ctrl+F9) | Releases the order. |
| Reopen | Sets the order back to Open status. |
| Delete (Ctrl+Backspace) | Deletes the order after confirmation. |
| Customer | Opens the customer card. |
| Statistics (F7) | Opens the sales order statistics. |

Depending on the active modules, FactBoxes may show prices, warehouse stock and availability of the item selected in the lines.


1. Open **Call Center Sales Orders** and choose **New Order** (Ctrl+F2).
2. In the **Sell-to Customer No.** field, enter the customer.
3. If needed, change **Ship-to Code** and **Location Code**.
4. In the lines, type the **Quantity** and confirm: if no item has been entered yet, the item search opens automatically; select the item.
5. Repeat for each requested item.
6. Choose **Release and Close** to release the order and return to the list.


- New lines are automatically set as item lines.
- Entering a quantity on a line without an item opens the item search; after selection, the quantity is applied to the line.
- Changing the quantity on a line with an item updates the line quantity accordingly.

# Item search

The module provides a quick item search page that looks up items by several criteria at once (number, description, search description, vendor item no., item references), showing for each result a choice number and the availability. It is designed for fast keyboard use, for example while entering sales orders, and it also extends item number entry in the **Demand Replenishment** page so that barcodes can be used.


- Search for the **Item Search** page using Tell Me (Alt+Q).
- From the call center order lines, when an item is to be searched, the page opens automatically with the text already entered, the customer and the location of the order. The selected item is then entered in the order line.


At the top there is the **Search** field, which receives the cursor automatically when the page opens. Below, the list of found items (read-only).

| Field | Description |
|---|---|
| Search | Text to search for. Press Enter to run the search. |
| Choice | Progressive number of the result, to select it quickly. |
| No. | Item number. |
| Description | Item description. |
| Description 2 | Additional description (hidden by default, can be shown by personalizing the page). |
| Public Price | Item public price (shown when the public price feature is active). |
| Availability | Available quantity of the item at the order location (shown when the availability feature is active). |

Depending on the active features, the page can also show fact boxes with item prices, warehouse information, availability and image.


| Action | Description |
|---|---|
| Select Item (F2) | Selects the current item and closes the page. |
| Same Substance | Replaces the results with all items having the same active substance as the current item (pharmaceutical features only). |
| Pharmaceutical DB search | Opens the pharmaceutical database search with the entered text (pharmaceutical features only). |
| DB Detail | Opens the pharmaceutical database details of the current item (pharmaceutical features only). |


1. Type in **Search** an item number, part of the description, a vendor item no. or a reference (e.g. a barcode) and press Enter.
2. The list shows the matching items, sorted from the most available to the least available, each with a **Choice** number.
3. To select a result, type its **Choice** number (1 to 3 digits) in **Search** and press Enter: the cursor moves to that line.
4. Press **F2** (**Select Item**) or confirm with OK to use the item.


- The search looks at: item number, description and search description (each word typed must appear in order, words can be separated by other text), vendor item no., item references and, where available, the AIC code.
- Blocked items are excluded; each item appears only once and at most about 100 results are shown.
- After each search the text in **Search** is selected, so a new search can be typed right away.
- In the **Demand Replenishment** page, when an item number is entered in **Item No.** and no item with that number exists, the system looks for a barcode item reference (and, where available, an AIC code) and uses the corresponding item.

# Quantity for free

This feature lets you specify, on an item line of a sales document, part of the sold quantity to be given away for free. The system automatically creates, right below the item line, an offsetting **Charge (Item)** line that cancels the value of the free quantity, keeping the item and its free goods linked.


Open the **Sales & Receivables Setup** page. On the **General** FastTab the following field is available:

| Field | Description |
|---|---|
| Default For Free Code | Item charge proposed automatically on sales lines when a free quantity is entered and no for free code is specified yet. |

The for free code is a standard Business Central **item charge**: its posting groups (product and VAT), if filled in, are used for the offsetting line; otherwise they are taken from the item line.


The fields are available on the lines of **Sales Orders**, **Sales Invoices**, **Sales Credit Memos** and **Sales Return Orders**, and are also carried over to the lines of posted shipments, invoices, credit memos and return receipts.

| Field | Description |
|---|---|
| Quantity for Free | Part of the line quantity given away for free. It cannot exceed the line **Quantity**. |
| For Free Code | Item charge used to create the free goods offsetting line. Proposed from the setup if empty. |


1. Enter a line of type **Item** with a quantity and unit price.
2. Fill in the **Quantity for Free** field.
3. Check or enter the **For Free Code** (required when a free quantity is present).
4. The system adds an item charge line below the item line with:
   - a description made of the item description followed, in brackets, by the for free code description;
   - a quantity equal to the free quantity;
   - a unit price equal to the item price with a negative sign and the same line discount;
   - the same unit of measure and location as the item line;
   - the item charge assignment already linked to the originating item line.


- The free line is recreated whenever the item line's type, item number, quantity for free, for free code, unit price or line discount changes.
- If the quantity for free is cleared, or the item line is deleted, the linked free line is deleted.
- The free line is not created if the line is not an item, if the unit price is zero or if the quantity for free is zero.
- The line **Quantity** cannot be reduced below the quantity for free.
- When shipping the order (directly or through a warehouse shipment) the quantity to ship of the free line is aligned with that of the item line, without exceeding the free line's outstanding quantity. With warehouse shipments, if less than planned is shipped, the free line is reduced accordingly.
- The **Product Canvass** includes a **For Free Code** field: if filled in, the item lines created by the canvass in the sales document are treated as entirely free (quantity for free equal to the quantity) and receive their offsetting lines.

# Ship-to address mandatory

This feature lets you specify, per customer, that sales documents must always have a ship-to address. When the option is enabled, a sales document for that customer cannot be released unless a ship-to code has been specified.


Open the **Customer Card** and go to the **Shipping** FastTab.


| Field | Description |
|---|---|
| Ship-to Address Mandatory | When enabled, the customer's sales documents can be released only if the **Ship-to Code** field is filled in. |


1. Open the **Customer Card** of the customer.
2. On the **Shipping** FastTab, enable **Ship-to Address Mandatory**.
3. On sales documents (quotes, orders, invoices, etc.) for that customer, select a ship-to address before releasing the document.


- When a sales document is released, the system checks the customer in **Sell-to Customer No.**: if the option is enabled for that customer and the ship-to code is empty, the release is blocked with an error message.
- The check also applies when the document is released automatically, for example during posting.

# Enhanced Combined Shipments and Invoice Rule

The module introduces **Invoicing Rules**: rules that define how shipments and return receipts are grouped and turned into invoices and credit memos. The rule is proposed automatically on sales orders and lines, follows the documents up to the posted shipment, and is applied by the combined invoicing functions.

The standard Business Central functions **Combine Shipments** and **Combine Return Receipts** are automatically replaced by the enhanced versions:

- **Enhanced Combine Shipments** (instead of Combine Shipments);
- **Enhanced Combine Return Receipts** (instead of Combine Return Receipts).


Search for **Invoicing Rules** using the search function (magnifying glass). The list shows the rules (Code, Description); use **New** or open an existing rule to access the card.

| Field | Description |
|---|---|
| Code | Rule identifier. |
| Description | Rule description. |
| Copy Comment Lines | Copies the comment lines of the shipment (or return receipt) to the invoice, keeping their position relative to the invoiced lines. |
| Calculate Invoice Discount | Recalculates the invoice discount at the end of invoicing. |
| Add Shipment Totals | After the lines of each shipment, adds a "Total shipment amount" text line with currency and shipment amount. |
| Add External Document References | Before the lines of each shipment, adds a "Your reference … of …" line with the external document no. and the order document date. |
| Sort Lines | When set to **Description**, the lines of each shipment are copied to the invoice in description order instead of the original order. |
| Prices Including VAT | Whether the generated invoices/credit memos have prices including VAT. Documents with different settings are never combined. |
| Break per Location Code | Creates separate invoices for each location code of the shipped lines; the location is set on the invoice. |
| Break per Sell-To | Creates separate invoices for each sell-to customer (keeping the bill-to customer of the shipment). Without this option the invoice is issued to the bill-to customer. |
| Prevent Zero Prices | Prevents posting the invoice (or credit memo) if it contains lines with a quantity but a zero unit price. |

Depending on other active modules, the following may also be available: **Calculate Customer Charges**, **Add Standard Texts**, **Apply Stamp**, **Break per Store No.**, **Add Store Name**, **DPC Invoicing**, **Fattura Document Type** and **Generate Split Lines**. These options are also run when the rule is applied to the invoice (see below).


| Page | Field | Effect |
|---|---|---|
| Sales & Receivables Setup | Default Invoicing Rule | Rule proposed on every new sales document. |
| Customer Card (Invoicing FastTab) | Invoicing Rule | Rule proposed when the customer is entered on a sales document; takes precedence over the default. |
| Order Type card | Invoicing Rule | Rule proposed on documents with that order type. |
| Store Categories | Invoicing Rule | Rule applied to invoices generated for the stores of the category. |
| Item Sales Setup | Invoicing Rule | Rule assigned to individual sales lines of the item (or item discount group) matching the setup. |
| Price List Lines | Invoicing Rule | Rule associated with the price line (column visible when prices are visible). |


The **Invoicing Rule** field is available on:

- **Sales Order** and **Sales Return Order**, on the Invoice Details FastTab;
- sales order and return order lines (hidden column, can be shown via Personalize);
- **Sales Invoice** and **Sales Credit Memo** (Credit Memo Details FastTab);
- the **Posted Sales Shipment - Update** page (Update Document), where it can be corrected after posting.

New lines inherit the rule from the header. When the rule is changed on the header, all lines without a rule or with the previous rule are updated; lines with a different specific rule are left unchanged. An order can therefore contain lines with different rules, which are invoiced on separate documents.


1. Search for **Combine Shipments** (**Enhanced Combine Shipments** opens automatically).
2. Set the shipment filters: **Posting Date**, **Bill-to Customer No.**, **Order Type**.
3. In the **Options** section enter:
   - **Posting Date**: used as posting, document, order and shipment date of the created invoices (mandatory);
   - **Invoicing Rule**: optional filter to invoice only lines with specific rules.
4. Choose **OK**. At the end, a message shows how many invoices were created or updated.

How it works:

- only shipped and not yet invoiced lines are considered;
- lines are grouped into invoices by bill-to customer, salesperson, line invoicing rule, company bank account, prices including VAT setting and, when active, payment terms; the breaks defined by the rule (location, sell-to, store) are added;
- if **Combine Shipments** is not enabled on the order, a dedicated invoice is created for that order, with the order number as external document no.;
- if an open invoice previously generated with the same characteristics already exists, lines are added to it instead of creating a new one; generated invoices are marked as **Combined Shipment**;
- a blank separator line is inserted after the lines of each shipment;
- line prices are taken from the shipment and are not recalculated;
- at the end, the invoicing rule is applied to each invoice (invoice discount and additional options).


1. Search for **Combine Return Receipts** (**Enhanced Combine Return Receipts** opens automatically).
2. Set the filters (Posting Date, Bill-to Customer No., Order Type) and, under **Options**, the **Posting Date** and the optional **Invoicing Rule** filter (and, when available, **Add Standard Texts**).
3. Choose **OK**: a message shows how many credit memos were created or updated.

Grouping follows the same rules as combined invoicing (customer, salesperson, rule, bank account, prices including VAT, non-combinable return order), with the rule's **Copy Comment Lines** and **Sort Lines** options.


- **Apply Invoicing Rule** (Sales Invoice, Actions menu): reapplies the rule to the invoice, recalculating the invoice discount and additional options; previously added items (charges, stamp, standard texts) are removed first and then recreated.
- **Finalize Credit Memos** (Sales Credit Memos list): on the selected credit memos, after confirming the options, repeats the final operations (for example standard texts).


- The rule is also applied to invoices created directly from a single shipment.
- When lines are copied from a shipment to a return order, they take the rule of the return order header.
- With **Prevent Zero Prices**, posting is blocked with the message "<type> <no.> <description> has no price".

# Specific price

The module adds a new sales price calculation method, **Specific Price**, which gives priority to the prices defined most specifically for the customer over more generic ones.

With the standard Business Central method (**Lowest Price**) the system picks the best price among all valid price lists (customer, customer price group, all customers). With **Specific Price**, more generic price lists are considered only when no more specific prices exist.


1. Open the **Sales & Receivables Setup** page (or the **Customer** card, **Price Calculation Method** field).
2. In the **Price Calculation Method** field select **Specific Price**.

The method is available and enabled for sales prices with the standard Business Central price calculation implementation.


When the method is **Specific Price**, for each sales line the system evaluates the applicable price list lines according to this hierarchy:

| Level | Price list source | When it is used |
|---|---|---|
| 1 | **Customer** | If valid prices exist for the customer, only these are used. |
| 2 | **Customer Price Group** | Used only if no valid customer-specific prices exist. |
| 3 | **All Customers** | Used only if no valid prices exist for the customer or its price group. |

Among the lines of the selected level (for example several lines for the same customer with different minimum quantities or dates), the standard Business Central logic is then applied to find the best amount.


- All customers price list: 8.00
- Customer price group price list: 10.00
- Customer price list: 12.00

With **Lowest Price** the system would propose 8.00; with **Specific Price** it proposes 12.00, because a customer-dedicated price exists.


- The rule applies only to sales prices; purchases and other calculations are not affected.
- The hierarchy applies separately to prices and discounts when the amount is calculated.

# Do not delete invoiced orders

In standard Business Central, when a **Sales Order** or **Sales Return Order** is fully shipped (or received) and invoiced, the document is deleted automatically at the end of posting.

With this feature, sales orders and sales return orders are **no longer deleted** after full posting: they remain available in their lists even when all lines have been shipped/received and invoiced.


1. Open a **Sales Order** (or a **Sales Return Order**).
2. Post the document with **Post**, choosing **Ship and Invoice** (or **Receive and Invoice** for returns), even across several postings.
3. When the posting that completes invoicing finishes, the order is still present in the **Sales Orders** (or **Sales Return Orders**) list.


- The behavior applies only to **sales orders** and **sales return orders**; other sales documents (invoices, credit memos) follow the standard behavior.
- Posted documents (shipments, invoices, return receipts, credit memos) are created as usual.
- Fully invoiced orders can be reviewed later or deleted manually when no longer needed.

# Cumulative shipments

In standard Business Central, when you post a **Warehouse Shipment** that contains lines from several orders (sales orders or transfer orders), a separate posted shipment document is created for each order.

With the **Cumulative Shipment** feature, all lines of the warehouse shipment are combined into **a single posted document**: one **Posted Sales Shipment** for sales orders, or one **Posted Transfer Shipment** for transfer orders. Goods delivered together are therefore accompanied by a single delivery document with a single number.


Open the **Warehouse Shipment** page (from the **Warehouse Shipments** list). The new field is available on the **General** FastTab.

| Field | Description |
|---|---|
| **Cumulative Shipment** | When enabled, posting the warehouse shipment creates a single posted shipment document for all lines, even if they come from different orders. |


1. Create the **Warehouse Shipment** and get lines from several orders (for example with **Get Source Documents**).
2. On the **General** FastTab, enable **Cumulative Shipment**.
3. Perform the pick, if required.
4. Post the shipment with **Post Shipment**.
5. Business Central creates a single posted shipment containing the lines of all orders, numbered in sequence.


If packing list management is also active, the **Functions** menu of the **Warehouse Shipment** contains the **Packing List** action, which opens the packing lists linked to the shipment. The action can be used only for shipments with **Cumulative Shipment** enabled.

You cannot disable **Cumulative Shipment** if packing lists already exist for the warehouse shipment: the message "Packing list exists" is shown.


- The first posted order creates the posted shipment; lines of the following orders are added to the same document, after the existing lines.
- The posted shipment number is also stored on the sales orders posted together, so that the subsequent invoice refers to the same shipment document.
- Item ledger entries refer to the cumulative document and its line.
- Standard texts set up for the customer are automatically added to the cumulative sales shipment.
- The same principle applies to transfer order shipments and receipts: if the posted document already exists, new lines are added to it.
- While a cumulative shipment is in progress, the warehouse shipment cannot be deleted and the related registered picks cannot be reversed.
- Cumulative shipment information is also carried over to the **Posted Whse. Shipment**.

# Picking limit

This feature automatically limits item quantities on sales orders and transfer orders. A dedicated setup lets you define, by customer/location and item:

- **unsellable** items (the line quantity is set to zero);
- **sellable** items (an exception that overrides unsellability);
- a **picking limit**, i.e. a maximum quantity per order, day or week;
- a **reserve** quantity, i.e. stock that must not be used for other customers or locations.

Limits apply only to orders whose **Order Type** has **Apply Picking Limit** enabled.



On the **Order Type** card, enable **Apply Picking Limit** for the order types on which limits must be checked.


Search for the **Picking Limit Groups** page to create groups of partners or items sharing the same rules.

| Field | Description |
|---|---|
| Type | **Partner** (for customers and locations) or **Item**. |
| Code | Group code. |
| Description | Group description. |

The **Setup** action opens **Picking Limit Setup** filtered on the rules of the selected group.

Groups are assigned with the **Picking Limit Group** field, available:

- on the **Customer Card**, **Shipping** FastTab (Partner groups);
- on the **Location Card**, **General** FastTab (Partner groups);
- on the **Item Card**, **Inventory** FastTab (Item groups).


Search for the **Picking Limit Setup** page to define the rules.

| Field | Description |
|---|---|
| Type | **Unsellable**, **Picking Limit**, **Sellable** or **Reserve**. |
| Partner Type | **Customer**, **Limit Group** (Partner picking limit group), **All Customers**, **Partner Group** or **Location** (for transfers, the destination location). |
| Partner No. | Code of the customer, group, partner group or location, depending on the partner type. |
| Item Type | **Item**, **Item Limit Group** (Item picking limit group) or **Product Type**. |
| Item No. | Code of the item, group or product type, depending on the item type. |
| Limit Quantity (base) | Maximum quantity (for Picking Limit) or quantity to reserve (for Reserve), in the base unit of measure. Can only be entered for these two types. |
| Limit Period | **Order**, **Day**, **Week** or **Always**. For the Reserve type it is always **Always**. Changing the type resets the period and clears the limit quantity. |
| Priority | When several rules of the same type apply, the one with the lowest priority is used. |


When availability is checked for an item line of a sales order (excluding drop shipments and special orders) or a transfer order, the system looks for rules valid for the item (by item number, picking limit group and product type) and for the customer or destination location:

1. **Unsellable / Sellable:** if an Unsellable rule exists and no Sellable rule does, the line quantity is set to zero.
2. **Picking Limit:** the quantity already on other lines for the same item and customer (or location) in the given period (same order, same date or same week) is added to the line; if the total exceeds the limit quantity, the line quantity is reduced. The line fields **Picking Limit** (the line is subject to a limit) and **Limited Quantity** (quantity removed from the line) are filled in. These fields are also carried over to shipment lines, posted invoice lines and transfer shipment lines.
3. **Reserve:** a reserve rule applies to partners **other than** the one specified: the reserved quantity is subtracted from availability and, if it is not enough, the line quantity is reduced.


On the Call Center sales order lines, the **Suspend Picking Limit** action is available: the next line entered is not checked against the picking limit (unsellability checks still apply).

# Sales Ending Date

This module lets you specify, for each item, the date after which the item can no longer be sold. Sales orders with a shipment date later than this date are blocked or zeroed, and the item is excluded from replenishment proposals.


Open the **Item Card** and go to the **Prices & Sales** FastTab.


| Field | Description |
|---|---|
| Sales Ending Date | Last date on which the item can be shipped on a sales order. If blank, the item can be sold with no date limit. |


1. Open the **Item Card** of the item.
2. In the **Prices & Sales** FastTab, fill in **Sales Ending Date**.
3. To remove the limit, clear the field.


- **Sales orders:** when the item is entered on a sales order line whose **Shipment Date** is later than the sales ending date, the message "Item ... sellable until ..." is shown and the line is not accepted. The check applies only to orders, not to other sales documents.
- **With availability management active:** instead of blocking, the order line quantity is set to zero; if unavailability reasons are in use, the default reason for unsellable items is assigned to the line.
- **Substitute items:** during the automatic search for a substitute, items whose sales ending date is earlier than the line's shipment date are skipped.
- **Demand replenishment:** items whose sales ending date has already passed (compared to the work date) are not considered.

# Sales Multiply

This feature lets you define a sales multiple for each item. When you enter a quantity on a sales order line, the system automatically rounds it up to the nearest multiple.


Open the **Item Card** and fill in the new field on the **Prices & Sales** FastTab.

| Field | Description |
|---|---|
| Sales Multiple | Quantity in multiples of which the item must be sold (e.g. 6 for six-packs). A value of 0 disables rounding. Decimal, non-negative values are allowed. |


1. Open the **Item Card** of the item.
2. On the **Prices & Sales** FastTab, set the **Sales Multiple** field.
3. Create a **Sales Order** and add a line of type **Item** with the configured item.
4. Enter the **Quantity**: if it is not a multiple of the configured value, it is automatically raised to the next multiple.


- Rounding applies only to **Item** lines on **sales orders**, and only for quantities greater than zero.
- The quantity is always rounded up. Example: with a sales multiple of 6, a quantity of 8 becomes 12; a quantity of 12 stays unchanged.
- Quotes, invoices, credit memos and other sales documents are not affected.

# Hide shipment date warning to workdate

In standard Business Central, when the **Shipment Date** on a sales document line (orders, invoices, quotes, etc.) is earlier than the work date, the system displays a warning message.

With this module enabled, the warning is no longer shown: you can enter or change sales lines with a shipment date earlier than the work date without interruptions.


- The check of the **Shipment Date** against the work date is skipped on all sales lines.
- No message is displayed when entering items, changing quantities or dates.
- No setup is required: the behavior is active automatically.

# Payment Terms per Lines

This feature lets you specify a different payment terms code on each line of sales documents. Line payment terms are suggested automatically (from the document header, the item sales setup or price lists) and are carried over to the lines of shipments, invoices, return receipts and credit memos. When combining shipments or return receipts, lines with different payment terms are invoiced in separate documents.


| Page | Field | Description |
|---|---|---|
| Sales Order (lines subpage) | Payment Terms Code | Payment terms of the individual line. The field is hidden by default: add it via **Personalize** or **Show columns**. |
| Price List Lines | Payment Terms Code | Payment terms applied to the sales line when this price is used. Visibility and editability follow the same rules as the price fields. |
| Price List Line Review | Payment Terms Code | As above; hidden by default. |
| Item Sales Setup | Payment Terms Code | Payment terms suggested on sales lines for the specified item (or item discount group) and customer (all customers, customer discount group or single customer). |

The field is also available on the lines of posted sales shipments, posted sales invoices, posted return receipts and posted sales credit memos.


- **New line:** the line gets the payment terms of the document header.
- **Item sales setup:** when an item is entered, if a valid line exists on the **Item Sales Setup** page (for item/item discount group, customer and period) with **Payment Terms Code** filled in, that code replaces the line value.
- **Price lists:** if the price applied to the line comes from a price list line with a **Payment Terms Code**, the sales line gets that code.
- **Change on the header:** when you change the **Payment Terms Code** on the header, all lines that had the previous header payment terms are updated with the new code; lines with a different code are left unchanged.
- **Combine shipments:** shipments are grouped into separate invoices by line payment terms; each invoice created gets on its header the payment terms of the lines it contains. If a line has no payment terms, those of the shipment header are used.
- **Combine return receipts:** same behavior for credit memos created from return receipts.


1. Open the **Item Sales Setup** page (search with *Tell me*).
2. Create a line specifying the customer type and code, the item type and code and, optionally, the validity period.
3. Fill in **Payment Terms Code**.
4. In new sales documents, when the item is entered, the line will get these payment terms.

# Item Sales Setup

The **Item Sales Setup** page lets you define sales settings for specific combinations of customer and item. When you enter an item on a sales document line, the system looks for the valid settings and applies them automatically to the line, for example payment terms, invoicing rule or warehouse shipment group.

Settings can apply to:

- a single customer, a customer discount group, or all customers;
- a single item or an item discount group.


- Search for **Item Sales Setup** using Tell Me.
- From the **Customer Card**, **Customer** menu:
  - **Item Sales Setup (customer)**: shows the settings for the current customer;
  - **Item Sales Setup (discount group)**: shows the settings for the customer's customer discount group.
- From the **Item Card**:
  - **Item Sales Setup (item)**: shows the settings for the current item;
  - **Item Sales Setup (discount group)**: shows the settings for the item's item discount group.

When the page is opened from a customer or item card, new lines are prefilled with the matching type and number.


| Field | Description |
|---|---|
| Customer Type | Who the setting applies to: **Customer**, **Customer Disc. Group** or **All Customers**. |
| Customer No. | The customer or customer discount group, depending on the customer type. Blank when the type is **All Customers**. |
| Item Type | What the setting applies to: **Item** or **Item Disc. Group**. |
| Item No. | The item or item discount group, depending on the item type. |
| Starting Date | Date from which the setting is valid, compared with the document date. |
| Ending Date | Date until which the setting is valid. If blank, the setting does not expire. |
| Location Code Filter | Optional. Limits the setting to lines whose location code matches the filter (e.g. `BLUE|RED`). If blank, it applies to all locations. |
| Payment Terms Code | Payment terms to assign to the sales line (available when line-level payment terms are enabled). |
| Invoicing Rule | Invoicing rule to assign to the sales line (available when invoicing rules are enabled). |
| Warehouse Shipment Group | Warehouse shipment group to assign to the sales line (available when shipment groups are enabled). |


1. Open **Item Sales Setup** (from search or from a customer/item card).
2. Add a new line and choose the **Customer Type** and, if needed, the **Customer No.**.
3. Choose the **Item Type** and **Item No.**.
4. Set the validity period with **Starting Date** and **Ending Date**.
5. If needed, limit the setting to some locations with **Location Code Filter**.
6. Fill in the values to propose on sales lines (payment terms, invoicing rule, warehouse shipment group).


- When an item is entered on a sales document line, the system looks for settings valid on the document date, for the item or its item discount group, and for the line's location.
- Settings are applied in this order: first those for **All Customers**, then those for the customer's **Customer Disc. Group**, finally those for the individual **Customer** (sell-to customer). A more specific setting therefore overrides a more general one.
- Only filled-in values are copied to the line: a blank field in the setting does not clear the value already on the line.
- Settings are applied again when the line prices are recalculated.

# Customer Charges

This feature lets you define additional charges (for example collection, shipping or handling fees) that are applied automatically to sales invoices. Charges can apply to a single customer, a customer discount group or all customers, have a validity period, and be calculated as a fixed amount, as a percentage of the invoice amount, or based on the number of invoiced shipments.

The calculation adds G/L account lines to the invoice with the charge description, quantity and price.


- **Customer Charges**: search for the page with Business Central's search to view and manage all charges.
- **Customer Card**, **Customer** menu:
  - **Charges (customer)**: opens the charges defined specifically for the customer; new charges entered here are already set to the customer.
  - **Charges (discount group)**: opens the charges defined for the customer's customer discount group.
- **Sales Invoice**: **Calculate Customer Charges** action, next to the invoice discount calculation.
- **Invoicing Rule**: **Calculate Customer Charges** field for automatic calculation.


| Field | Description |
|---|---|
| Customer Type | Who the charge applies to: **Customer**, **Customer Disc. Group** or **All Customers**. |
| Customer No. | The customer or customer discount group the charge applies to (blank for All Customers). |
| Starting Date | Date from which the charge is valid. Compared with the invoice document date. |
| Ending Date | Date until which the charge is valid. If blank, the charge does not expire. |
| Description | Description shown on the invoice line. If blank, it is suggested from the charge's product posting group. |
| Application Type | How often the charge is applied (see below). |
| Charge Base | Calculation method: blank (fixed amount), **Amount** or **Shipment Nos.** (see below). |
| Charge % | Percentage applied to the invoice amount. Alternative to Charge Amount. |
| Charge Amount | Fixed charge amount. Alternative to Charge %. |
| Charge Prod. Posting Group | General product posting group used for the line; it determines the sales account from the general posting setup. When selected, it suggests the description and VAT group if not already filled in. |
| Charge VAT Posting Group | VAT product posting group of the charge line. |
| Threshold Amount | With base **Amount**: minimum invoice amount below which the charge is not applied. With base **Shipment Nos.**: invoiced amount that "covers" one shipment (see below). |
| Base Filter | Lets you calculate the amount on part of the lines only, for example by **Product Type**. |
| Base Filter No. | The filter value (for example the product type). |

You cannot enter both **Charge %** and **Charge Amount**.


| Value | Behavior |
|---|---|
| (blank) | The charge is applied to every invoice. Charges with the same description and posting groups are combined into a single line, adding up their amounts. |
| One Shot | The charge is applied only once to the customer: if it is already on another invoice (open or posted) of the customer, it is not repeated. |
| One for Date | The charge is applied once per posting date: if it is already on another invoice of the customer with the same posting date, it is not repeated. |
| One for Due | The charge is applied once per due date: if it is already on another invoice of the customer with the same due date, it is not repeated. |


| Value | Calculation |
|---|---|
| (blank) | The **Charge Amount** is charged with quantity 1. |
| Amount | The amount of the invoice lines is calculated (optionally limited by the **Base Filter**). If it is below the **Threshold Amount** the charge is not applied; otherwise the fixed amount or the **Charge %** of the amount is charged. |
| Shipment Nos. | The quantity is the number of distinct invoiced deliveries (same date, warehouse and delivery line), minus those "covered" by sales: each multiple of the **Threshold Amount** of shipped amount cancels one shipment. The unit price is the **Charge Amount**. Requires a Threshold Amount greater than zero. |



1. Open the **Customer Card** and choose **Customer** > **Charges (customer)**.
2. Add a new line: customer type and customer number are already filled in.
3. Enter the **Starting Date** and, if needed, the **Ending Date**.
4. Choose the **Charge Prod. Posting Group** (description and VAT group are suggested) and change the **Description** if needed.
5. Set **Application Type**, **Charge Base** and the amount or percentage, with an optional **Threshold Amount** and **Base Filter**.


1. Open the **Sales Invoice**.
2. Choose the **Calculate Customer Charges** action and confirm.
3. Previously calculated charge lines are deleted and recalculated, and added at the end of the invoice.


- The calculation applies to invoices only and requires the bill-to customer. It considers charges valid at the document date for all customers, for the bill-to customer and for its customer discount group.
- Charges with zero amount or quantity do not create lines.
- Each charge must have both posting groups, and a sales account must exist in the general posting setup for the invoice's general business posting group; otherwise the calculation stops with an error.
- If **Calculate Customer Charges** is enabled on the invoice's **Invoicing Rule**, charges are calculated automatically when the rule is applied to the invoice.

# Financial charge on payment

This feature automatically adds to sales invoices a charge line for the interest related to the payment deferral granted to the customer. The amount is an estimate based on the finance charge terms assigned to the customer and on the average due days of the document's payment terms.

The line is created together with the other customer charges, when charges are calculated on the invoice.



On the **Finance Charge Terms Card** the following must be filled in:

| Field | Description |
|---|---|
| Interest Rate | Interest percentage applied. |
| Interest Period (Days) | Number of days the interest rate refers to. |
| Grace Period / Average Grace Days | Grace days subtracted from the deferral days before interest is calculated. |
| Line Description | Text used as description of the charge line on the invoice. |
| Gen. Prod. Posting Group | Product posting group used for the charge line (mandatory). |
| VAT Prod. Posting Group | VAT product posting group used for the charge line (mandatory). |


On the **Customer Card**, right after the **Payment Terms Code** field, a new field is available:

| Field | Description |
|---|---|
| Payment Fin. Charge Code | Finance charge terms used to calculate the payment interest charge. If blank, no interest is charged to the customer. |

The setting of the document's bill-to customer is used.


On the **Payment Terms** page a new field is available:

| Field | Description |
|---|---|
| Prevent Payment Fin. Charge | When enabled, no interest charge is calculated on documents with this payment term (for example for advance or immediate payments). |

The **Average Due Date Days** field of the payment term defines the deferral days the calculation is based on.


1. Open a **Sales Invoice**.
2. Run the **Calculate Customer Charges** action and confirm.
3. Existing charge lines are removed and recalculated; if applicable, the payment interest charge line is added among them.

The calculation also runs automatically when invoices are created, if the invoicing rule requires customer charges to be calculated.


The charge is calculated only if:

- the document has a payment terms code without **Prevent Payment Fin. Charge** enabled;
- the bill-to customer has a **Payment Fin. Charge Code**;
- the finance charge terms have an interest rate and interest period greater than zero;
- the deferral days exceed the grace days.

The amount is:

(Invoice total including VAT × Interest Rate / 100) / Interest Period (Days) × (Average Due Date Days − Average Grace Days)

The total includes all invoice lines except other customer charges. In the Italian localization, if fixed due dates are defined for the customer, the payment days of the first fixed date are added to the average due date days.

If the resulting amount is greater than zero, a line is added with quantity 1, the description set in the finance charge terms and the configured posting groups.

# Payment method in credit memos

In standard Business Central, when you create a **sales credit memo** or a **sales return order**, the **Payment Method Code** field is not filled in from the customer card. With this module, the customer's payment method is automatically suggested on these documents too, just as it is on invoices and orders.


- **Sales Credit Memos**
- **Sales Return Orders**


When the bill-to customer is entered (or changed) on the document (**Bill-to Customer No.**, also filled in automatically when you choose the customer in **Sell-to Customer No.**), the document's **Payment Method Code** field is set to the **Payment Method Code** of the bill-to customer's card.

The suggested value can still be changed manually on the document.


1. Open **Sales Credit Memos** (or **Sales Return Orders**) and create a new document.
2. Select the customer.
3. On the **Invoice Details** FastTab, check that **Payment Method Code** shows the customer's payment method; change it if needed.

# Better item blocking

This feature changes when Business Central checks item blocking on sales document lines (quotes, orders, invoices, credit memos, etc.).

In the standard behavior, a blocked item (the **Blocked** or **Sales Blocked** field on the item card) cannot even be entered in the **No.** field of the sales line. With this feature:

- the item can be entered on the line even if it is blocked;
- the block is checked when a non-zero **Quantity** is specified.

This makes it possible, for example, to keep descriptive or zero-quantity lines for blocked items on documents while still preventing them from being sold.



When an item is selected in the **No.** field of a sales line of type **Item**:

| Check | Description |
|---|---|
| Gen. Prod. Posting Group | The item must have a general product posting group, otherwise an error is shown. |
| Inventory Posting Group | For items of type **Inventory**, the inventory posting group must be filled in; its value is copied to the line's posting group. |
| Blocked / Sales Blocked | Not checked at this stage: the item is accepted even if blocked. |


When a non-zero **Quantity** is set on a line of type **Item**, the system checks that on the item card:

| Field | Description |
|---|---|
| Blocked | Must be turned off. |
| Sales Blocked | Must be turned off. |

If either field is turned on, an error is shown and the quantity is not accepted.


1. Open a sales order.
2. On a new line of type **Item**, select in the **No.** field an item with **Sales Blocked** turned on: the line is created without errors.
3. Enter a **Quantity**, for example 5: the system reports that the item is blocked for sales.
4. If the quantity is left at zero, the line can remain on the document.

# Enhanced Credit Limit

This feature extends the standard Business Central credit limit check. In addition to the **Credit Limit (LCY)** field on the customer card, you can define one or more additional limits per customer:

- **fixed-period** limits, valid between a starting and an ending date/time;
- **recurring** limits, on a daily, weekly or monthly basis.

When a sales order is released, the system checks that the customer exceeds neither the standard credit limit nor the additional limits; otherwise the release is blocked with an error message.


1. Open the **Customer Card**.
2. From the **Customer** menu choose the **Credit Limit** action.

The **Credit Limit** page opens with the limits defined for the selected customer. From the same page, the **Credit Limit Entries** action shows the entries used to calculate the usage.


| Field | Description |
|---|---|
| Line Type | Limit type: blank (fixed period), **Daily**, **Weekly** or **Monthly**. Choosing a recurring type clears the starting and ending dates. |
| Starting Date Time | Start of the validity period. Can be filled only when **Line Type** is blank; cannot be later than the ending date/time. |
| Ending Date Time | End of the validity period. Can be filled only when **Line Type** is blank; cannot be earlier than the starting date/time. |
| Amount (LCY) | Maximum allowed amount, in local currency. Lines with a zero amount are ignored. |
| Note | Free note. |
| User ID | User who created the line (filled automatically, not editable). |


Read-only page listing the amounts shipped to the customer.

| Field | Description |
|---|---|
| Customer No. | Customer the entry refers to. |
| Document Type | Source document type (sales shipment). |
| Document No. | Sales shipment number. |
| Posting Date | Posting date of the shipment. |
| Amount (LCY) | Shipment amount including VAT, in local currency. |


1. From the **Customer Card** open **Credit Limit**.
2. Insert a new line.
3. For a fixed-period limit leave **Line Type** blank and fill in **Starting Date Time** and **Ending Date Time**; for a recurring limit choose **Daily**, **Weekly** or **Monthly**.
4. Enter the **Amount (LCY)** and, optionally, a **Note**.



- When a sales shipment is posted, a credit limit entry is created (or updated) with the shipment amount including VAT.
- If a shipment line is undone, the entry is recalculated.
- If the posted shipment is deleted, its entries are deleted as well.


When a sales order is released:

1. The standard credit limit of the bill-to customer is checked: if **Credit Limit (LCY)** is greater than zero and the customer's exposure (balance, shipped not invoiced and outstanding orders) exceeds it, the message *Credit limit exceeded by …* is shown.
2. Then the additional limits of the sell-to customer are checked. The usage is the sum of the outstanding amount of the customer's open sales orders and the credit limit entries of the period:
   - for fixed-period limits, the lines valid at the current date/time are considered, together with the entries between the starting and ending dates; if exceeded, *Credit limit from … to … exceeded by …* is shown;
   - only if no valid fixed-period limit exists, the recurring limits are considered: entries of the current day (Daily), current week (Weekly) or current month (Monthly); if exceeded, *Credit limit … exceeded by …* is shown.

The check applies only to sales orders. The automatic release performed during batch processing of shipping lines does not apply the limit check.

# Item summary and statistics

The module provides a quick, complete view of an item: sales and purchase data, sales prices by quantity, warehouse stock and direct access to document lines and entries. It adds:

- the **Item Summary** page, to look up a single item;
- the **Item Inventory Summary** page, to see stock and orders for several items at once;
- the **Item Prices Factbox** and **Item Warehouse Factbox** FactBoxes, also available on other pages.



- Search for **Item Summary** with Business Central's search;
- from the **Item Card** or **Item List**, action **Item Summary** (the current item is loaded automatically);
- from the **Purchase Order** lines, action **Summary**;
- from the missing items worksheet and the purchase orders worksheet by purchases source, action **Item Summary**.

The page title shows the description of the selected item.


| Field | Description |
|---|---|
| Customer No. | Customer used to calculate prices and discounts. If blank, the default customer template is used. |
| Item No. | Item to look up. You can also enter an item reference (for example a barcode or vendor item code): it is converted to the matching item number. |
| Location Code | Location used for warehouse data. On opening, the user's default warehouse employee location is proposed. |


| Field | Description |
|---|---|
| Description / Description 2 | Item descriptions. |
| AIC Code | Drug AIC code (if used). |
| Public Price | Item public price (if used). |
| Product Type | Item product type (if used). |
| Item Disc. Group | Item discount group. |
| VAT Prod. Posting Group | Item VAT posting group. |
| Picking Limit Group | Item picking limit group. |


| Field | Description |
|---|---|
| Unit Cost | Item unit cost. |
| Typical Cost | Item typical cost (if used). |
| Last Direct Cost | Last purchase cost. |
| Purchases Source No. / Purchases Source Name | Item purchases source (if used). |
| Vendor No. / Vendor Name | Item's usual vendor. |
| Critical | Whether the item is critical. |

All fields in the Sales and Purchases sections are read-only.


- **Item Invoicing Factbox**: standard item invoicing data.
- **Item Prices Factbox**: sales prices for the given customer (see below).
- **Item Warehouse Factbox**: warehouse data for the given location (see below).
- Depending on active modules: drug image, item availability, weekly and monthly sales.


| Group | Action | Effect |
|---|---|---|
| Prices | Sales Prices | Opens the item's sales price list lines. |
| Prices | Purchase Prices | Opens the item's purchase price list lines. |
| Orders | Sales Lines | Item sales lines with outstanding quantity. |
| Orders | Purchase Lines | Item purchase lines with outstanding quantity. |
| Orders | Transfer Lines | Outstanding item transfer lines. |
| Entries | Ledger Entries | Item ledger entries. |
| Entries | Sales Shipment Lines | Item shipment lines from the work date onward, filtered by customer and location if specified. |
| Entries | Purchase Receipt Lines | Item purchase receipt lines. |
| Warehouse | Bin Content | Item bin contents, filtered by the given location. |
| Pharmaceutical | Pharmaceutical DB | Pharmaceutical database details (if used). |


1. Open **Item Summary**.
2. To see prices for a specific customer, fill in **Customer No.**.
3. Enter or scan the item in **Item No.**.
4. Change the **Location Code** if needed.
5. Review the data and FactBoxes; use the actions to drill down.


A page listing several items with inventory, pickable quantity and purchase orders. Open it by searching for **Item Inventory Summary**.


| Field | Description |
|---|---|
| Item No. | Shows a single item. |
| Vendor No. | Shows items with this vendor. |
| Purchases Source No. | Shows items with this purchases source. |
| Location Code | Limits data to the given location. |

Item No., Vendor No. and Purchases Source No. are mutually exclusive: filling one clears the other two. The list refreshes whenever a filter changes.


| Field | Description |
|---|---|
| No. | Item number. |
| AIC Code | AIC code (if used). |
| Description | Item description. |
| Vendor Name | Usual vendor name. |
| Inventory | Quantity on hand. |
| Pickable Quantity | Quantity available for picking. |
| Qty. on Purchases | Quantity on open purchase orders. Click it to open the order lines. |
| Last Order Date | Date of the most recent purchase order. |
| Unit Cost | Unit cost. |
| Last Direct Cost | Last purchase cost. |


- **Item Card**: opens the selected item's card.
- **Item Ledger Entries**: opens the item's entries.
- **Purchase Order Lines**: the item's open purchase order lines.
- **Pharmaceutical DB**: pharmaceutical details (if used).


Shows up to six sales prices for the item for the customer (or the default customer template if no customer is given), at the work date. Each line shows the minimum quantity and unit of measure, with any discount percentage (for example "10 PCS discount 5%"), and the corresponding price. Only quantity breaks that improve on the price of lower quantities are listed.

The FactBox is available on **Item Summary**, the item search and the call center sales order.


| Field | Description |
|---|---|
| AIC Code | AIC code (if used). |
| Vendor Name | Item's usual vendor. |
| Unavailability Reason | Item unavailability reason (if used). |
| Qty. on Sales Order | Quantity on sales orders. |
| Qty. on Purch. Order | Quantity on purchase orders. |
| Qty. on Put Away | Quantity on put-away (if used). |
| Qty. on Non Conformance | Non-conforming quantity (if used). |

Below the fields, a table lists the location's pick and put-away bins with the quantity in each.

The FactBox is available on **Item Summary**, the item search, the call center sales order, the **Sales Return Order** and the **Purchase Return Order** (for the selected line).

# Default customer template

This feature lets you specify which customer template is used as the default reference when the system needs to calculate sales prices and conditions without a specific customer.


1. Search for **Customer Templates** and open the template you want (**Customer Template Card** page).
2. In the **General** section you will find the new **Default** field.


| Field | Description |
|-------|-------------|
| **Default** | When enabled, the customer template is used as the reference template when no customer is specified. |


1. Open the card of the customer template you want to use as reference.
2. Enable the **Default** field.
3. Close the page.

Enable the field on one template only: if several templates are marked, the system uses the first one it finds.


- **Item Summary**: when the page opens, the system prepares a simulated sales quote based on the default customer template, used to calculate prices and conditions when no customer is selected.
- **Item Prices Factbox**: when no customer is specified, the item's sales prices are calculated using the default customer template.

To use these pages, at least one customer template must have the **Default** field enabled.

# Shipping Invoice

This feature lets you issue a **shipping invoice**: when you post the shipment of a sales order marked as a shipping invoice, the system automatically creates and posts the invoice for that shipment. The invoice gets the same number as the shipment, so the document travelling with the goods is also the tax document.



The number assigned to the shipment (and therefore to the invoice) comes from a dedicated number series, which can be set in two places:

| Page | Field | Description |
|---|---|---|
| Location Card | Shipping Invoice Nos. | Number series used for shipping invoices shipped from the location. Takes precedence over the general setting. |
| Sales & Receivables Setup (Number Series section) | Shipping Invoice Nos. | General number series, used when the location does not specify one. |


The **Order Type** card has a **Shipping Invoice** field. When enabled, sales orders assigned that order type are automatically marked as shipping invoices.


The **Report Selection - Sales** page includes the **Shipping Invoice** usage, where you specify the report used to print posted shipping invoices.


On the **Sales Order** page, **Invoice Details** tab:

| Field | Description |
|---|---|
| Shipping Invoice | Specifies that the shipping invoice must be issued automatically when the order is shipped. It can be set manually or come from the order type. |


1. Set up the **Shipping Invoice Nos.** number series on the location card and/or in Sales & Receivables Setup.
2. Open the sales order and enable **Shipping Invoice** (or assign an order type that enables it).
3. Post the shipment:
   - directly from the order with **Post** > **Ship**, or
   - through the warehouse shipment.
4. The system posts the shipment and then immediately creates and posts the related invoice.


- **Shipment number:** when the shipment is posted, if the order is a shipping invoice, the shipment number is taken from the location's series or, if none, from the Sales & Receivables Setup series.
- **Invoice creation:** a sales invoice is created with the shipment data and the shipped lines (with the shipped quantities), linked to the shipment; the invoice is posted with the same number as the shipment.
- **Warehouse shipments:** a warehouse shipment is treated as a shipping invoice only if all its lines come from sales orders marked as shipping invoices. If it contains lines from other documents, or from orders not marked, the invoice is not created automatically.
- **Printing:** when you print a posted invoice that is a shipping invoice, the report set for the **Shipping Invoice** usage in Report Selection - Sales is used instead of the standard invoice report.
- The **Shipping Invoice** flag is also carried over to the posted shipment, the posted invoice and the posted warehouse shipment.

# Total Discount

This feature lets you apply a percentage discount calculated on the total of a sales invoice. The discount is not spread across the individual lines: the system automatically adds a G/L account line with a negative amount equal to the specified percentage.


Open the **Sales & Receivables Setup** page and, on the **General** FastTab, fill in:

| Field | Description |
|---|---|
| Total Discount Posting Group | General product posting group used for the discount line. The line's sales account is taken from the **General Posting Setup** for the combination of the customer's general business posting group and this group. |

On the selected general product posting group you can enter a **Line Description**: it becomes the description of the discount line. The text can contain `%1`, which is replaced with the discount percentage (for example "Total discount %1%").


On the **Sales Invoice** page, **Invoice Details** FastTab, the following field is available:

| Field | Description |
|---|---|
| Total Discount % | Discount percentage to apply to the document's total amount. |

The field is also stored on posted sales shipments and posted sales invoices.


1. Set the **Total Discount Posting Group** in Sales & Receivables Setup and make sure the General Posting Setup has a **Sales Account**.
2. Create the sales invoice and enter the lines.
3. Enter the **Total Discount %** on the Invoice Details FastTab.
4. Recalculate the invoice discount (for example by opening the statistics or by releasing/posting the document): the discount line is added at the end of the document.


- Every time the invoice discount is recalculated, the existing total discount line is deleted and recreated with the updated amount.
- The discount amount is the specified percentage applied to the amount (excluding VAT) of the other document lines, rounded.
- The line is created with quantity 1 and a negative unit price equal to the discount amount, on the sales account from the General Posting Setup.
- If the percentage is cleared, the discount line is removed at the next recalculation.
- If the posting group in Sales & Receivables Setup or the sales account in General Posting Setup is missing, the system shows an error.

# Price Lines from Sell-To

By default, Business Central calculates prices and discounts on sales documents based on the **Bill-to** customer. This feature lets you take prices, discounts and price conditions from the **Sell-to** customer instead. It is useful when several customers (stores, branches) are invoiced to a single bill-to customer but have their own price lists and discounts.


Open the **Sales & Receivables Setup** page and set the new field on the **Prices** FastTab.

| Field | Description |
|---|---|
| **Prices Source** | Specifies which customer prices and discounts are taken from. **Bill-to**: standard behavior. **Sell-to**: prices and discounts are those of the sell-to customer. |


1. Open **Sales & Receivables Setup**.
2. On the **Prices** FastTab, set **Prices Source** to **Sell-to**.
3. Create a sales document (quote, order, invoice...) for a customer that has a different bill-to customer.
4. The document lines will show the prices and discounts defined for the sell-to customer.


When **Prices Source** is set to **Sell-to**:

- When the bill-to customer is set on the sales document, the following header fields are still copied from the sell-to customer card:
  - **Customer Price Group**
  - **Prices Including VAT**
  - **Price Calculation Method**
  - **Allow Line Disc.**
  - **Invoice Disc. Code**
  - **Customer Disc. Group**
- When line prices and discounts are looked up, customer-specific price lists and conditions are searched for the sell-to customer instead of the bill-to customer.

With **Bill-to**, standard Business Central behavior applies.

# Enhanced Sales Return

The module streamlines sales return order handling:

- a new function lets you search the customer's sales shipments that still have quantity to return, filtering by item and entering the quantity and return reason directly;
- return reasons can be reserved for sales and linked to **rules** that automatically calculate the return price (percentage of the original amount, grace period, specific customer);
- for each return reason you can define an **alternative location** where goods are received;
- each location can have a **default return reason**.



The **Return Reasons** page has a new column:

| Field | Description |
|---|---|
| Area Usage | Area where the reason is used: blank, *Sales* or *Purchases*. On sales return order lines only reasons with usage *Sales* can be selected. |

From the same page, in the **Process** group, these actions are available:

- **Return Reason per Location**: opens the alternative locations for the selected reason;
- **Return Reason Rules**: opens the price calculation rules for the selected reason.


| Field | Description |
|---|---|
| Location Code | Location of the return order. |
| New Location Code | Location where goods are actually received when this reason is used. |


| Field | Description |
|---|---|
| Priority | Order in which rules are evaluated: the first valid rule applies. |
| Partner Type | Blank (all) or *Customer* (*Vendor* rules relate to purchases). |
| Partner No. | If filled in, the rule applies only to that customer (bill-to customer). |
| Grace Period Formula | Period within which the return must occur, starting from the original shipment date (e.g. `30D`). If the return document date is beyond it, the rule is skipped. Blank = no limit. |
| Amount % | Percentage of the reference price credited to the customer (0–100). |
| Price List Base | When available and filled in, the reference price is taken from the specified price list instead of the original sales amount. |


On the **Location Card**, General FastTab:

| Field | Description |
|---|---|
| Default Return Reason Code | Return reason automatically proposed for lines coming from shipments of this location. |



The **Sales Return Order** page has the **Get Sales Shipment to Reverse** action (shortcut **F4**), next to **Get Posted Doc. Lines to Reverse**.

1. Fill in the return order header (customer and location).
2. Choose **Get Sales Shipment to Reverse**: the list of the customer's shipment lines opens, most recent first, showing only lines with quantity not yet returned.
3. In the top section, optionally fill in:
   - **Item No.**: filters lines by item (an item reference or barcode can also be entered);
   - **Quantity to Return**: total quantity to return;
   - **Return Reason Code**: reason applied to all lines (if blank, the default reason of the shipment location is proposed).
4. Select one or more lines and confirm with **OK**.

Each line shows Document No., Posting Date, No., Description, Location Code, Unit of Measure Code, Quantity, **Shipped Qty. Not Returned**, Unit Price and Line Discount %. The FactBoxes show item invoicing and warehouse information.

On confirmation:

- the selected lines are copied to the return order, linked to the original shipment;
- if a **Quantity to Return** is entered, it is distributed across the lines until used up; if the selected lines are not enough, the other lines of the filtered list are used too, most recent first;
- the return reason is applied to each line (with the price and location rules described below);
- the return quantity to receive is set equal to the line quantity.


| Field | Description |
|---|---|
| Return Reason Code | Replaces the standard field: only reasons with usage *Sales* are offered. |
| Original Return Unit Amt. | Net unit amount of the original sale, stored when the line is copied from a posted document. Not editable. Also carried to posted credit memos. |


When the return reason is set or changed on a line:

1. the line location is reset to the header location (mandatory) and the default bin is proposed;
2. if the line is applied to an original sales entry and a **New Location Code** exists for the reason and the return location, the line is moved to that location;
3. the reason's **rules** are evaluated by priority; the first valid one (matching customer and return within the grace period) sets the unit price to *Amount %* of the reference price;
4. if no rule applies, the unit price equals the **Original Return Unit Amt.**;
5. in all cases the line discount is reset to zero.

In addition:

- when copying lines into a return order, if the line has no reason and the source location has a default return reason, it is set automatically;
- the warning message about unit price changes on sales lines is no longer shown.

# Allow document release without quantities

In standard Business Central a sales order can be released only if it contains at least one line with a quantity. With this feature a **sales order** can be released even when none of its lines has a non-zero quantity (for example an order with only comment lines or lines with zero quantity).


There are no new fields or pages: the feature acts on the standard **Release** action of the **Sales Order** page (and of the **Sales Orders** list).


1. Open the sales order.
2. Enter the lines you need, even without quantities.
3. Choose the **Release** action.
4. The order **Status** becomes **Released**.


- If the order has no line with a non-zero quantity, the status is simply set to **Released**, skipping the usual release checks and operations (for example line validations or creation of warehouse requests).
- If the order has at least one line with a quantity, release works in the standard way.
- The feature applies only to sales orders; other sales document types (quotes, invoices, credit memos, etc.) follow the standard behavior.
- Sales orders received automatically through the iPharma integration are always released at the end of the import, even if they contain no item lines with a quantity.

# Store Clustering

This feature lets you group stores into **store clusters** and items into **item clusters**, and combine them into a **store ideal mix**: the list of items (or item groups) that the stores of a cluster should carry, with safety stock and ideal quantity.


On the **Store Setup** page, fill in the number series:

| Field | Description |
|---|---|
| Store Cluster Nos. | Number series used to automatically number new store clusters. |
| Item Cluster Nos. | Number series used to automatically number new item clusters. |

If the number is left blank when creating a record, it is taken from the series (which must then be set). A manually entered number is accepted only if the series allows it.


Search for **Store Clusters**. From the list, open the **Store Cluster** card.

| Field | Description |
|---|---|
| No. | Cluster code. |
| Name | Cluster name. |
| Obsolete | Indicates the cluster is no longer in use. |

The lines list the stores belonging to the cluster:

| Field | Description |
|---|---|
| Store No. | Store included in the cluster. The description is filled in with the store name. |
| Description | Line description. |
| Disabled | Temporarily excludes the store from the cluster. |
| Starting Date / Ending Date | Validity period of the line. |

Deleting a cluster also deletes its lines.


Search for **Item Clusters**. From the list, open the **Item Cluster** card, which has the same header fields as the store cluster (No., Name, Obsolete).

Lines can be of two kinds:
- **group lines**: no item, with **Group Depth** greater than zero; shown in bold, they represent a group of items as a whole;
- **item lines**: with an item and zero depth.

| Field | Description |
|---|---|
| Group Code | Group the line belongs to. |
| Item No. | Item. When entered, description and base unit of measure are suggested and the variant code is cleared. |
| Variant Code | Item variant (editable only when an item is specified). |
| Unit of Measure Code | Item unit of measure. |
| Description | Line description. |
| Group Depth | Group level; editable only on lines without an item. |
| Disabled | Excludes the line. |
| Starting Date / Ending Date | Validity period of the line. |

The same item cannot appear in two different groups of the same cluster: an error is shown in that case.


Search for **Store Ideal Mix**. Each mix combines a store cluster with an item cluster; from the list, open the **Store Ideal Mix Card**.

| Field | Description |
|---|---|
| Store Cluster No. | Store cluster (required). |
| Item Cluster No. | Item cluster (required). |
| Description | Suggested automatically by joining the names of the store cluster and the item cluster. |
| Starting Date / Ending Date | Validity period. |
| Disabled | Deactivates the mix. |

Lines cannot be inserted or deleted manually: they are generated with the **Recalculate** action. Only the following can be changed:

| Field | Description |
|---|---|
| Safety Stock | Minimum quantity to keep in the store. |
| Ideal Quantity | Optimal quantity to have in the assortment. |
| Disabled | Excludes the line. |
| Starting Date / Ending Date | Validity period of the line. |

The other fields (Line Type, No., Variant Code, Unit of Measure Code, Description) come from the item cluster.


1. Open the store ideal mix card.
2. Choose the **Recalculate** action and confirm the *Recalculate lines?* question.

The recalculation:
- considers the item cluster lines that are not disabled and whose ending date is blank or not earlier than the work date;
- creates a **Group** line for each group with depth greater than zero (once per group, excluding that group's items) and an **Item** line for the other items;
- keeps existing lines that still match the item cluster (with their safety stock and ideal quantity values), deletes those no longer present, and appends the new ones at the end.

Deleting an ideal mix also deletes its lines.

# Blocked on Orders

The module adds a new **Order** value to the **Blocked** field of the customer card. With this value the customer can no longer be used on sales orders, while remaining available for other operations (quotes, invoices, journal postings, etc.).


1. Open the **Customers** page and select the desired **Customer Card**.
2. On the **General** FastTab, set the **Blocked** field to **Order**.


| Field | Description |
|---|---|
| **Blocked** | In addition to the standard values (blank, Ship, Invoice, All), the **Order** value is available, which blocks the customer on sales orders only. |


- When a customer has **Blocked** = **Order**, the system prevents using it on sales orders (for example when creating a new order or filling in an order for that customer) and displays an error message related to the **Blocked** field.
- The block does not apply to shipping existing orders: existing orders can be shipped as usual.
- The block does not affect other sales documents or journal postings.

# Create or append Quote to Order

When converting a sales quote to an order, this feature lets you choose whether to create a new order (standard Business Central behavior) or append the quote lines to an existing sales order of the same customer.


From the **Sales Quote** card (or the **Sales Quotes** list) use the standard **Make Order** action.


The field is added to the standard sales header table (Sales Header) and is managed automatically.

| Field | Description |
|---|---|
| **Append to No.** | Number of the existing sales order to which the quote lines are appended. It is filled in automatically during conversion; if empty, a new order is created. |


1. Open the sales quote to convert.
2. Choose the **Make Order** action.
3. Instead of the usual confirmation, a menu with two options is shown:
   - **Create new order**: the quote is converted into a new sales order, as in standard.
   - **Enqueue to existing order**: the **Sales Orders** list opens, filtered on the orders of the quote's customer (**Sell-to Customer No.** field) and sorted from the most recent. Select the desired order and confirm with **OK**.
4. The quote lines are added at the end of the selected order.

If you close the menu or the order list without selecting anything, the conversion is canceled.


- To append to an existing order, the quote must have the customer (**Sell-to Customer No.**) filled in.
- When appending, no new order header is created: the quote lines are inserted into the selected order after the existing lines.
- At the end, the quote is handled as in the standard conversion.

# Trade

# Commissions

The module manages sales commissions: you define **commission contracts** for salespeople or customers, calculate the commissions earned on posted sales invoices and credit memos, and finally settle them through the **Commission Journal**, optionally generating a sales document (invoice or credit memo) for the recipient automatically.

The typical flow is:

1. setup (Commission Setup, Commission Groups, Commission Posting Groups);
2. assigning commission groups to customers, items, G/L accounts, item charges, etc.;
3. creating and activating commission contracts;
4. calculating commissions per period;
5. settling and posting.



Search for **Commission Setup**.

| Field | Description |
|---|---|
| Contract Nos. | Number series used to number new commission contracts. |


Search for **Commission Groups**. Groups let you bundle customers, vendors, products or salespeople so commission terms can be defined once for the whole group.

| Field | Description |
|---|---|
| Type | Customer, Vendor, Product or Salesperson/Purchaser. |
| Code | Group code. |
| Description | Group description. |


Search for **Commission Posting Groups**. They define how commissions are settled.

| Field | Description |
|---|---|
| Code / Description | Group identifier. |
| Group Item Entries | Groups entries by item. |
| Settlement Document | Document to generate at settlement: blank (no document, commissions are just closed), Order, Invoice, Return Order, Credit Memo. Automatic generation currently applies to Invoice and Credit Memo with a Customer recipient. |
| Gen. Product Posting Group | Used to determine the sales account of the generated document line. |
| VAT Product Posting Group | VAT group applied to the generated document line. |
| Payment Terms Code | Payment terms of the generated document. |
| Payment Method Code | Payment method of the generated document. |
| Settlement including VAT | If enabled, the generated document has prices including VAT. |
| Operation Type | Operation type (sales number series) of the generated document. |


The **Commission Group** field is available on:

| Page | Location | Group type |
|---|---|---|
| Customer Card | Invoicing FastTab | Customer |
| Item Card | Posting Details section | Product |
| G/L Account Card | | Product |
| Item Charges | List | Product |
| Gen. Product Posting Groups | List | Product |
| Salesperson/Purchaser Card | Invoicing FastTab | Salesperson/Purchaser |
| Sales order, invoice and credit memo lines | Lines | Product |

The **Salesperson/Purchaser Card** also has a **Vendor No.** field to link the salesperson to the corresponding vendor.

On the **Order Type** card, the **Customer Commission Group** field sets a specific customer commission group for documents with that order type.


- When the customer is set on a sales document, the document takes the customer's **Commission Group**; if the order type has a **Customer Commission Group**, that one takes precedence.
- On sales lines the **Commission Group** is proposed from the item, item charge or G/L account; for G/L accounts without a group, and when the general product posting group is changed, the group of the general product posting group is used.
- When the invoice or credit memo generated by the settlement is posted, the related commissions are automatically closed (applied).
- If the document or a line generated by the settlement is deleted, the link to the commissions is removed and they become available for a new settlement.


Search for **Commission Contracts**. From the list, open the **Commission Contract** card.


| Field | Description |
|---|---|
| No. | Contract number, assigned from the series in the setup. |
| Recipient Type | Who earns the commission: Salesperson/Purchaser, Customer or Vendor. |
| Recipient No. | Recipient code. |
| Recipient Name | Recipient name, filled in automatically. |
| Description | Contract description, also used as the line description of the settlement document. |
| Document Date | Contract date. |
| Starting Date / Ending Date | Contract validity period. |
| Period Formula | Length of each calculation period (e.g. `1M`). If blank, calculation runs on a single period up to the ending date, which is then mandatory. |
| Apply-to Documents | All, Invoices or Credit Memos. |
| Apply-to Documents Type | Sales or Purchase (calculation is currently available for sales). |
| Contract Scope | **Specific**: only the recipient's documents are considered (for a salesperson, documents with that salesperson code; for a customer, documents billed to that customer). **Global**: all documents are considered. |
| Status | Draft, Active, Closed. Only active contracts are calculated. |
| Last Calculation Date | Date up to which commissions have been calculated; the next calculation starts from the following day. |


| Field | Description |
|---|---|
| Posting Group | Commission posting group used for settlement. |
| Accrual Type | How the commission accrues at settlement: **Invoice** (full commission), **Payment %** (proportionally to the amount collected on the source document), **Full Payment** (only when the source document is fully paid). |
| Withholding Tax Code | Withholding tax code linked to the contract. |


Lines define the calculation terms.

| Field | Description |
|---|---|
| Line No. | Line identifier. |
| Line Type | **Begin**, **Calculation**, **Bracket**, **Bonus**: defines the (indented) structure of the terms. Changing the line type clears the other fields. |
| Partner Type / Partner No. | Which customers the line applies to: Customer, Vendor, Customer Group (customer commission group), Vendor Group, General Set. A blank number means all. |
| Product Type / Product No. | Which products it applies to: Item, G/L Account, Product Group (product commission group), General Set. |
| Description | Line description. |
| Commission Type | **Amount %** (percentage of the line amount), **Amount per Quantity** (value per unit), **Fixed Amount**, **Amount per Shipment**. |
| Commission Value | Percentage or amount, depending on the commission type. |
| Starting Date / Ending Date | Line validity, compared with the document date. |
| Minimum Threshold | Minimum sales amount below which no commission is earned. |
| Threshold Type | **Per Partner**: the threshold is checked on each customer's total sales. |
| Delivery Routing | Filter on lines with delivery routing (Yes / No / any). |
| Warehouse Code | Warehouse filter. |
| Promotional Entry | Filter on promotional lines (Yes / No / any). |


| Action | Description |
|---|---|
| Calculate | Runs the commission calculation for the contract. |
| Posted Commissions | Shows the commissions calculated for the contract. |
| Contract Summary | Prints the contract summary with the commissions of the period (options: Starting Date, Ending Date, Amounts per Month). |
| Contracts List | (List only) Prints the list of contracts with the commissions of the given period. |


1. From **Commission Contracts** or the contract card, choose **Calculate**.
2. Enter **Starting Date** and **Ending Date** in the request page and confirm.

The calculation:

- processes only contracts with status **Active** and with starting date and recipient filled in;
- starts from the day after the **Last Calculation Date** (or the contract starting date) and does not go beyond the contract ending date;
- splits the range into periods according to the **Period Formula**;
- reads the posted sales invoices and credit memos of the period, excluding documents already processed for the same contract;
- applies the contract lines based on partner, product, dates and thresholds;
- updates the contract's **Last Calculation Date**.

If the contract has no period formula and the calculation ends before the contract ending date, commissions are marked as **Expected**; they are recalculated at the next calculation.


**Posted Commissions** page (from the contract or by searching for it).

| Field | Description |
|---|---|
| Entry No. | Sequential number. |
| Contract No. | Source contract. |
| Recipient Type / No. / Name | Commission beneficiary. |
| Document No. / Posting Date | Source sales document. |
| Partner Type / No. / Name | Customer of the document. |
| Line Amount | Sales amount. |
| Commission Amount / Commission Amount (LCY) | Calculated commission. |
| Remaining Comm. Amount / (LCY) | Amount still to be settled. |
| Open | Whether the commission is still to be settled. |
| Expected | Provisional commission (see above). |

Actions: **Commission Lines** (detail per document line: item, quantity, amount, commission type and value, warehouse, shipping date, bonus line), **Find entries...**, **Contract**, **Delete** (deletes the selected commissions after confirmation).


Search for **Commission Journal**.


1. Choose the **Batch Name**.
2. Choose **Calculate Settlement** and fill in the options:
   - **Batch Name**: batch to fill (existing lines are deleted after confirmation);
   - **Document No.** and **Posting Date**;
   - **Amount Limit**: if specified, proposed amounts are reduced, starting from the most recent, so as not to exceed the limit.
   You can filter the posted commissions to settle (e.g. by contract or recipient). Commissions already included in a settlement document not yet posted are skipped.
3. Review the lines; the proposed **Amount** depends on the contract's **Accrual Type** and on the amount paid on the source document. The amount can be changed but cannot exceed the remaining amount.
4. Optionally print the statement with **Commission Settlement**.
5. Choose **Post** and confirm.


| Field | Description |
|---|---|
| Line Type | **Initial Entry** (manual entry of a commission) or **Application** (settlement of an existing commission). |
| Apply to Commission No. | Posted commission to settle; fills in the line data automatically. An error is raised if the commission is already in a document not yet posted. |
| Document No. / Posting Date | Posting references. |
| Recipient Type / No. | Beneficiary. |
| Partner Type / No. | Related customer. |
| Description | Line description. |
| Contract No. / Contract Line No. | Related contract. |
| Amount | Amount to settle. |
| Commission Posting Group | Commission posting group. |
| Source Document No. / Date / Amount, Source Document Paid Amount | Data of the source sales document and its collection. |


- Lines with zero amount are ignored.
- **Initial Entry** lines create new posted commissions.
- **Application** lines with a posting group without a settlement document close the commissions directly.
- If the posting group specifies **Invoice** or **Credit Memo** (Customer recipient), a sales document is created per contract and posting group, with one line on the sales account (or credit memo account) of the general posting setup for the total amount, a text line "Period from … to …" and the posting group code. The commissions are closed when that document is posted.
- At the end, the number of posted lines and created documents is shown.

# Enhanced Price List

The module extends the standard Business Central price lists (sales and purchase) with a dedicated calculation engine, **Enhanced Price Calculation**, and new ways of defining prices:

- prices and discounts per **item price group**, in addition to single items;
- **item price tags** to distinguish price list lines of the same item;
- prices calculated from a **price list base** (item unit price, unit cost, last direct cost, etc.) with an optional **markup %** or discount;
- **priority prices**, which prevail over the others;
- **finance charges** calculated from the document's payment terms;
- marking prices as **promotional**, also usable in commissions;
- rounding and display mode of the price on document lines.


In the standard **Price Calculation Setup** page, setups with the **Enhanced Price Calculation** implementation are available for sales and purchases, with two methods:

| Method | Behavior |
|---|---|
| Lowest Price | Evaluates all applicable price list lines (with their discounts) and picks the one giving the lowest net price. |
| Specific Price | Picks the most specific price list line (see "Specificity order") and calculates the net price on it. |

Set the desired implementation as default in **Price Calculation Setup** (or in the details per group) to use it on documents.



In **Sales & Receivables Setup** (for sales) and **Purchases & Payables Setup** (for purchases), **Prices** section:

| Field | Description |
|---|---|
| Price Calculation Rounding (LCY) | Rounding precision applied to prices calculated in local currency. If empty, no additional rounding is applied. |
| Price List Display | Determines how the price is shown on the document line. Empty: list price with separate discounts. **Net Price**: the net price is shown directly on the line, without discounts. **Public Price** / **Public Price (no VAT)**: the item's public price is used as reference price and the difference from the net price is expressed as line discount % (available when public price management is active). |


Search for **Item Price Group**. Lets you create item groups (Code, Description) to which prices and discounts can be assigned with a single price list line.


Search for **Item Price Tag**. Lets you define tags (Code, Description) so that the same item or group can have separate price list lines per tag.


On the **Item Card** (before the Item Disc. Group field) and on the **Item Template** card (Prices & Sales section):

| Field | Description |
|---|---|
| Item Price Group | Price group the item belongs to. Price list lines defined for the group also apply to the item. |
| Item Price Tag | Item tag. The calculation only considers price list lines without a tag or with the same tag as the item. |

When an item is created from a template, both fields are copied from the template.


On sales and purchase price list lines, **Item Price Group** is also available as **Product Type**. The following fields are also available:

| Field | Description |
|---|---|
| Item Price Tag | The line only applies to items with the same tag. If empty it applies to all. Identical lines with different tags are not considered duplicates. |
| Promotional Entry | Marks the price as promotional. The information is carried to sales document lines and can be used in commission contracts. |
| Markup % | Markup percentage applied to the price list base. Only for price lines; cannot be combined with a line discount %. |
| Price List Base | Starting value of the price: empty (price entered on the line), **Unit Price**, **Unit Cost**, **Last Direct Cost**, **Item Unit Price** and, if the related modules are active, **Public Price**, **Public Price (no VAT)**, **Typical Cost**. Only for price lines. |
| Finance Charge Term | Finance charge term used to calculate the finance charge based on the document's payment terms (sales only). Only for price lines. |
| Apply Fin. Charge on Price | If enabled, the calculated finance charge is added to the price. |
| Priority Price | If enabled, the line prevails over non-priority lines with an equal or higher minimum quantity. Only for price lines. |
| EDI Code | Reference code for EDI exchanges. |

The **Sales Price Lists** list also shows the price list's **Source Type** and **Source No.**

Line discount % and markup % are mutually exclusive: if one is filled in, the other must be zero.


For each applicable price list line the price is calculated as follows:

1. start from the **price list base** (or the price entered on the line if the base is empty);
2. apply the **markup %**;
3. apply the line's **line discount %**;
4. if the line allows discounts, apply the best discount found among the applicable discount lines;
5. for sales, if a finance charge term is set and the document has payment terms, calculate the finance charge and, if requested, add it to the price;
6. apply the display mode and rounding defined in setup.

For sales, if the item has a unit price on its card, it is always considered as an alternative price with the lowest priority.


With the **Specific Price** method the chosen line is the most specific one, considering first the product (item, then item price group or item discount group, then other types) and then the source, in this order: campaign, purchases source, customer/vendor, job/contact, customer discount group or customer price group, all customers/vendors.


When viewing the price list lines of an item (**Price List Line Review** page), lines of its item price group are also shown, together with the **Net Unit Price** column, showing the net price calculated for each line. The additional columns (price list base, markup, tag, promotional, finance charges, priority price, EDI code) can be added through personalization.



When the price is calculated, the following are carried to the sales line in addition to price and discounts:

| Field | Description |
|---|---|
| Price Source Code | Price list the price comes from. |
| Discount Source Code | Price list the applied discount comes from. |
| Promotional Entry | Whether the applied price is promotional. |
| Finance Charge Term | Finance charge term used in the calculation. |
| Apply Fin. Charge on Price | Whether the finance charge was included in the price. |
| Finance Charge Amount | Calculated finance charge amount. |

The same information is kept on posted shipments, invoices, credit memos and return receipts.


On the **Order Type** card the **Only Item within Price List** field is available: if enabled, on sales documents with that order type you cannot enter a quantity for an item whose price does not come from a price list; an error is shown.


On the **Return Reason Rules** page the **Price List Base** field is available: if set, on return lines to which the rule applies the price is calculated from the chosen base, applying the rule's percentage (**Amount %**) and clearing the discount.


On the **Demand Replenishment Batches** page the **Price List Base** field is available and is proposed on the batch lines. If no base is set on the batch, it is taken from the price list line used in the calculation. When cost or discount is changed on the line, the direct cost is realigned to the price list base and the difference is expressed as a discount.


On commission contract lines the **Promotional Entry** field (empty, Yes, No) is available, to apply the condition only to promotional sales, only to non-promotional sales, or to both.

# Multiple discounts

This feature lets you manage up to four cascading discounts (**Discount 1 %** … **Discount 4 %**) and a percentage surcharge (**Charge 1 %**) on price lists, sales lines, purchase lines and requisition worksheet lines. The standard **Line Discount %** field is calculated automatically by combining the individual discounts.

The surcharge can be applied in two ways:
- **without a Charge 1 No.**: the percentage increases the net price of the line (reducing the overall line discount);
- **with a Charge 1 No.**: the percentage is posted as an additional cost through an item charge, generated automatically on the purchase order.


Discounts are applied in cascade, each on the result of the previous one:

net = price × (1 − discount 1) × (1 − discount 2) × (1 − discount 3) × (1 − discount 4) [× (1 + charge 1)]

The surcharge is included only on purchase lines and only when **Charge 1 No.** is blank.

Example: discounts 10% + 5% → Line Discount % = 14.5%.

If you type a value directly in **Line Discount %** that differs from the calculated one, the value is moved to **Discount 1 %** (on purchase lines **Charge 1 %** and **Charge 1 No.** are also cleared).



In the line defaults section:

| Field | Description |
|---|---|
| Charge 1 % | Default surcharge for new lines. When changed, the system asks *Update lines?* and, if confirmed, applies it to all lines of the price list. |
| Charge 1 No. | Default item charge for new lines. When changed, the system asks *Update lines?* and, if confirmed, applies it to all lines of the price list. |

Header values are copied to new lines of type discount or price and discount.


| Field | Description |
|---|---|
| Discount 1 % … Discount 4 % | Cascading discounts. Available on lines that handle discounts; any change recalculates **Line Discount %**. |
| Charge 1 % | Percentage surcharge. |
| Charge 1 No. | (Purchases only) Item charge used to post the surcharge as an additional cost. |
| Allow Discount 1 … Allow Discount 4 | Flags, available on price lines, that allow the corresponding discount to be applied to the line price. |

The discount fields are also available, hidden by default, on the price list line review page.


When the price or discount is retrieved from a price list on a purchase line or requisition worksheet line, the four discounts are copied from the price list line.

On purchase order, invoice and return order lines, on the Purchase Lines page, on the demand replenishment worksheet and on the purchase order differences page, the fields **Discount 1 %** … **Discount 4 %**, **Charge 1 %** and (where applicable) **Charge 1 No.** are available as hidden columns: you can show them by personalizing the page. The Purchase Lines page also offers **Line Discount %** and **Net Unit Cost** (direct unit cost net of the line discount).

Discount and charge values are carried over to posted receipt lines and posted invoice lines.


If a **Charge 1 No.** is specified on the item lines of a purchase order:

1. When the order is released, the system creates, for each charge, a line of type *Charge (Item)* with quantity 1 and a cost equal to the sum of the surcharges calculated on the outstanding quantity of the related lines; the amount is already assigned proportionally to the source item lines.
2. When the receipt is posted, the charge lines are recalculated on the quantity to receive, so the additional cost follows the receipt; after posting they are recreated for the remaining quantity.
3. Automatically created charge lines that have not yet been received are deleted and recreated at each recalculation.

**Charge 1 No.** can only be specified on item lines and cannot be changed after goods have been received.

# Unavailability reason codes

This feature lets you classify why an item is not fulfilled (or only partially fulfilled) on a sales line. You define a list of **unavailability reason codes**, which can be assigned to items, are automatically copied to sales lines, and are shown in summary and replenishment pages.


- Search for **Unavailability Reason Code** (Tell me) to maintain the list of codes.
- Default settings are on the **Inventory Setup** page.
- An item-specific reason is on the **Item Card**, **Inventory** section.


| Field | Description |
|---|---|
| Code | Identifier of the reason. |
| Description | Description of the reason, shown in the FactBoxes. |
| Line Description | Descriptive text to use on document lines. |
| EDI Code | Corresponding code to use in electronic document exchange (EDI). |


On the **Inventory Setup** page, **General** FastTab:

| Field | Description |
|---|---|
| Default Unavailability Code | Reason used when an item is not available in sufficient quantity and the item has no specific reason, or when the quantity is reduced by a picking limit. |
| Default Unsellable Code | Reason used when the item cannot be sold to the customer (for example, unsellable item, past the sales ending date, or no mandatory substitute available). |


On the **Item Card**, **Inventory** section:

| Field | Description |
|---|---|
| Unavailability Reason Code | Item-specific unavailability reason (for example discontinued, incoming, etc.). It takes precedence over the default reason in the setup. |
| Last Supplies Date | Date from which the item is being phased out. It is considered in the replenishment calculation. |


On the **Purchases & Payables Setup** page:

| Field | Description |
|---|---|
| Repl. Last Supplies Period | Date formula that limits replenishment: only items with no last supplies date, or with a last supplies date later than the work date plus this period, are considered. |


Sales lines have the **Unavailability Reason Code** field, which is also carried to posted shipment, invoice, credit memo and return receipt lines.


On sales orders and invoices, for item lines:

- **Item not available**: if the order type allows only available quantities and availability is insufficient, the line gets the item's reason or, if none, the **Default Unavailability Code**.
- **Item not sellable**: if the item cannot be sold to the customer, if the shipment date is after the item's sales ending date, or if a mandatory substitution cannot be applied, the quantity is set to zero and the **Default Unsellable Code** is assigned.
- **Picking limit**: if the quantity is reduced by a picking limit, the **Default Unavailability Code** is assigned.
- When availability is recalculated, the reason is first cleared and then set again if needed.
- If you change the item on the line, the reason is cleared.


- **Purchase line FactBox** and **Item Replenishment FactBox**: show the description of the item's reason.
- **Item warehouse FactBox**: shows the description of the item's reason as **Unavailability Reason**.
- **Missing Item Worksheet**: shows, for each line, the unavailability reason recorded on the sales lines.

# Do not recalculate unit price/cost for shipment/receipt

When data such as quantity, date or vendor changes on a purchase line, Business Central normally recalculates the **Direct Unit Cost** based on the configured purchase prices. This feature lets you skip that recalculation and keep the cost already on the line, for example when the line comes from a posted receipt (invoice created with **Get Receipt Lines**) or from a return shipment.


Open the **Purchases & Payables Setup** page and, on the **General** FastTab, set the **Do not Recalculate Prices** field.


| Field | Description |
|---|---|
| **Do not Recalculate Prices** | Defines when the direct unit cost of purchase lines must not be recalculated. Values: *(blank)*, **With Receipts**, **Always**. |


| Value | Behavior |
|---|---|
| *(blank)* | Standard behavior: the direct unit cost is recalculated as usual. |
| **With Receipts** | The cost is not recalculated on lines linked to a posted receipt or a posted return shipment (for example invoice or credit memo lines retrieved from posted documents). |
| **Always** | The cost is never recalculated on lines that already have a direct unit cost greater than zero. If the cost is zero, it is calculated as usual. |


1. Open **Purchases & Payables Setup**.
2. On the **General** FastTab, select the desired value in the **Do not Recalculate Prices** field.
3. From then on, the direct unit cost on purchase documents is kept according to the selected rule.


- With **With Receipts**, a purchase invoice created from receipt lines keeps the receipt cost even if you change line data that would normally trigger a new price calculation.
- With **Always**, a cost entered manually or already on the line is not overwritten by the configured purchase prices.

# Payment balance per customer/vendor or category

This feature lets you define, for each customer, vendor, store or store category, which balancing account to use for a given payment method. Receipts and payments are then posted automatically to the correct account (G/L account or bank account), without having to specify it every time.


- Search for the **Payment Setup** page using Business Central search.
- From the **Payment Methods** page, **Setup** action: opens the setup filtered on the selected payment method (when store management is active).
- From the store and store category pages (store card, store list, store categories), via the dedicated action.


| Field | Description |
|---|---|
| Type | Who the setting applies to: Customer, Vendor, Store or Store Category (the last two only when store management is active). |
| No. | Code of the customer, vendor, store or store category, depending on the selected type. Mandatory. |
| Payment Method Code | Payment method the setting applies to. |
| Bal. Account Type | Type of balancing account: G/L account or bank account. Changing it clears the balancing account number. |
| Bal. Account No. | G/L account or bank account used as balancing account. |
| Company Bank Account | Company bank account to associate with the entry (if available). |
| DocFinance Reason Code | Reason code passed to the DocFinance integration (if available). |


1. Open **Payment Setup**.
2. Create a new line and choose **Type** and **No.** (for example a customer).
3. Enter the **Payment Method Code**.
4. Choose **Bal. Account Type** and **Bal. Account No.**.
5. Fill in **Company Bank Account** and **DocFinance Reason Code**, if present.


- **Sales invoices:** when posting a sales document with a payment method, if a setting exists for the bill-to customer and that payment method with a balancing account filled in, the document's balancing account is set from the setup. The payment is therefore posted to the specified account.
- **Stores:** for store payments, the balancing account is searched in this order: store setting for the payment method; store category setting for the payment method; store setting without payment method (valid for all methods). The Company Bank Account and DocFinance reason code are carried over together with the account.

# Do not ship/receive/invoice zero quantity

In standard Business Central, when a document (sales order, purchase order, return order, transfer order) is partially posted, the posted document also contains the lines that have zero quantity in that posting. The result is shipments, receipts and invoices cluttered with "empty" lines.

With this module, zero-quantity lines are **not copied** to posted documents: shipments, receipts, invoices and credit memos contain only the lines actually processed.


The feature is automatic and requires no setup. It applies during normal document posting (**Post**, **Ship**, **Receive**, **Invoice** actions).

| Posted document | Excluded lines |
|---|---|
| Sales shipment | Lines with **Qty. to Ship** equal to zero |
| Sales return receipt | Lines with **Return Qty. to Receive** equal to zero |
| Purchase receipt | Lines with **Qty. to Receive** equal to zero |
| Purchase return shipment | Lines with **Return Qty. to Ship** equal to zero |
| Purchase invoice | Lines with **Qty. to Invoice** equal to zero |
| Purchase credit memo | Lines with **Qty. to Invoice** equal to zero |
| Transfer shipment | Lines with zero shipped quantity |


- **Comment lines** (lines with no type) are always copied to posted documents, so descriptive notes remain visible.
- Excluded lines stay on the original document with their remaining quantities and can be posted later.
- If the requested quantity module is also active, lines with a requested quantity but no actual quantity are still copied to the sales shipment and purchase receipt, to keep track of what was requested.

# Allowed dates for sales & purchases

This module lets you restrict the period in which sales and purchase documents can be posted, independently of the allowed posting dates of the general ledger and of the user.

For example, you can close sales for an already consolidated month while keeping purchases open, or the other way round.


- For sales: **Sales & Receivables Setup** page, **General** FastTab.
- For purchases: **Purchases & Payables Setup** page, **General** FastTab.


The fields are at the top of the **General** FastTab on both setup pages.

| Field | Description |
|---|---|
| **Allow Posting From** | First posting date allowed for documents (sales or purchase, depending on the page). If blank, there is no lower limit. |
| **Allow Posting To** | Last posting date allowed for documents. If blank, there is no upper limit. |


1. Open **Sales & Receivables Setup** (or **Purchases & Payables Setup**).
2. On the **General** FastTab, fill in **Allow Posting From** and/or **Allow Posting To**.
3. From now on, documents whose posting date falls outside the range cannot be posted.


- When a sales document (order, invoice, credit memo, return…) is posted, its **Posting Date** is checked against the dates set in Sales & Receivables Setup; purchase documents are checked against Purchases & Payables Setup.
- If the date is outside the range, posting stops with the message **"Posting period not allowed"**.
- This check is in addition to the standard Business Central allowed posting date checks (General Ledger Setup and User Setup), which still apply.
- The check is skipped for documents posted without general ledger entries (for example orders with the **Order without G/L** option).

# Allow negative discount

On purchase document lines (orders, invoices, credit memos, quotes, etc.) Business Central recalculates the **Line Discount %** when you enter a **Line Discount Amount** directly. Normally, if the amount results in a percentage that is negative or greater than 100, an error is raised.

With this module the check is removed: you can enter a negative **Line Discount Amount** (which works as a price surcharge), and the **Line Discount %** is calculated accordingly, even as a negative value.


There are no new pages or fields: the behavior applies to the lines of all purchase documents.

| Field | Description |
|---|---|
| Line Discount Amount | Discount amount on the line. Can be negative to apply a surcharge. |
| Line Discount % | Calculated automatically as Line Discount Amount / (Quantity × Direct Unit Cost) × 100, rounded to 5 decimals. Can be negative. |


1. Open a purchase document and go to a line with **Quantity** and **Direct Unit Cost** filled in.
2. Enter the desired value in **Line Discount Amount**, including a negative one.
3. The **Line Discount %** is updated automatically with no error message.


- If the line value (Quantity × Direct Unit Cost) is zero, the **Line Discount %** is set to 0.

# Vendor Item No. in prices

The module shows the item's **Vendor Item No.** directly on price list lines, so you can immediately recognize the vendor's code without opening the item card.


The field is added at the end of the price list lines:

- price list lines (**Price List Lines** page), for example in sales price lists;
- purchase price list lines (**Purchase Price List Lines** page).


| Field | Description |
|---|---|
| Vendor Item No. | Shows the **Vendor Item No.** from the card of the item on the price list line. The field is read-only. |


- The value is read live from the item card: if you change the Vendor Item No. on the item, the price list lines show the new value right away.
- For lines that do not refer to an item, the field is blank.

# Extended texts for documents

This module automatically inserts standard texts (for example legal notes, payment terms, customer notices) into sales documents. Texts are selected based on document type, payment method, language, validity period and, when used, order type.


Texts are set up on the **Extended Text** page of a **Standard Text** (from **Standard Texts** > select the text > **Extended Texts**).


| Field | Description |
|---|---|
| Sales Shipment | If enabled, the text is also added to posted sales shipments (see "Automatic behavior"). |

The other standard fields on the FastTab (**Sales Quote**, **Sales Order**, **Sales Invoice**, **Sales Return Order**, **Sales Credit Memo**) determine which documents the text is inserted into.


| Field | Description |
|---|---|
| Order Type | If filled in, the text is inserted only into documents with this order type. Blank = all order types. Visible only when order types are in use. |
| Payment Method Code | If filled in, the text is inserted only into documents with this payment method. Blank = all methods. |
| Insert Automatically | Enables automatic insertion of the text into documents. Only texts with this option enabled are considered. |

The standard fields also apply:

- **Starting Date** / **Ending Date**: the text is used only if the document date falls within the period (blank ending date = no expiry).
- **Language Code** / **All Language Codes**: the text is used if its language matches the document language or if it applies to all languages.


The **Invoicing Rule** page includes the field:

| Field | Description |
|---|---|
| Add Standard Texts | If enabled, when the rule is applied to an invoice, the standard texts set up for automatic insertion are added. |



1. Open **Standard Texts** and create or select a text.
2. Open **Extended Texts** and create a new extended text.
3. Specify the language (or enable **All Language Codes**), and **Starting Date** and **Ending Date** if needed.
4. Enter the text lines.
5. On the **Sales** FastTab, enable the documents the text applies to (including **Sales Shipment** if needed).
6. On the **Documents** FastTab, enable **Insert Automatically** and optionally specify **Payment Method Code** and **Order Type**.


1. On the **Invoicing Rule** used by the invoice, enable **Add Standard Texts**.
2. From the sales invoice, run the **Apply Invoicing Rule** action: previously added standard texts are removed and the valid ones are inserted again at the end of the document.

Texts are also added to invoices created with **Enhanced Combine Shipments**, if the invoicing rule requires it.


In the **Enhanced Combine Return Receipts** report, **Options** tab, enable **Add Standard Texts**: the standard texts set up for credit memos are added to the credit memos created.


- Texts are inserted at the end of the document, preceded by a blank separator line.
- Automatically inserted texts are recognized by the system: when the invoicing rule is applied again, they are deleted and re-inserted, avoiding duplicates.
- For invoices, quotes, orders, return orders and credit memos the document date is used; for posted shipments the posting date is used.
- When a cumulative warehouse shipment to a customer is posted, texts with **Sales Shipment** and **Insert Automatically** enabled are added to the posted sales shipment.

# "Line description" in Posting Group

The module adds the **Line Description** field to the Business Central **Gen. Product Posting Groups** page. The text entered is used as the line description of the sales documents (invoices and credit memos) that the commission management creates automatically when commissions are charged to the customer.


1. Search for **Gen. Product Posting Groups**.
2. The new **Line Description** field is at the end of the list columns.


| Field | Description |
|---|---|
| Line Description | Text (up to 100 characters) used as the line description of the sales documents created when posting commissions charged to the customer, for commission groups that use this posting group. |


1. Open **Gen. Product Posting Groups**.
2. Find the posting group assigned to the commission group.
3. Fill in **Line Description** with the desired text (for example "Commission charge").


- When the commission journal creates the sales invoice or credit memo for the customer, the document line normally gets the commission contract description.
- If the commission group's general product posting group has a **Line Description**, that text is used instead.
- If the field is empty, the contract description is kept.

# Location code in Copy Document

When you copy a purchase document with the standard **Copy Document** function, you can specify a new location to assign to the target document. This way you don't need to change the location manually on the header and on every line after copying.


1. Open a purchase document (for example a purchase order, invoice or credit memo).
2. Choose the **Copy Document** action.
3. On the options page you will find the new **New Location Code** field, right after the vendor name.


| Field | Description |
|---|---|
| **New Location Code** | Location to assign to the purchase document created by the copy. You can choose a value from the list of locations. If you leave it blank, the copy keeps the locations of the source document. |


1. From the target purchase document, choose **Copy Document**.
2. Select the type and number of the document to copy and the other options as usual.
3. In the **New Location Code** field, select the location you want.
4. Choose **OK**.


- If a new location code is specified, it is set on the header of the target document.
- The same location code is also set on every copied line, replacing the one from the source document.
- Setting the location triggers the standard Business Central checks and updates related to a change of location.

# Unit of Measure Quantity Rounding

This feature automatically rounds the purchase quantities suggested in the requisition worksheet so that they match whole packages (alternative units of measure of the item, such as boxes or cartons).

Rounding occurs only when the remainder exceeding a whole package is above a percentage threshold. For example, with a 12-piece package and a 50% threshold, a quantity of 20 pieces (12 + 8, i.e. 8/12 = 67% of a package) is rounded up to 24, while a quantity of 15 pieces (12 + 3, i.e. 25%) stays at 12 for the package-rounded part.



On the **General** FastTab of the **Purchases & Payables Setup** page:

| Field | Description |
|---|---|
| UoM Rounding Threshold % | Percentage of a package above which the remaining quantity is rounded up to the next whole package. If blank, no rounding is applied. |
| Purchase Rounding | Default rounding mode for all items: blank (no rounding), **Optional** or **Always**. |


On the **Item Card**, next to the **Purch. Unit of Measure** field:

| Field | Description |
|---|---|
| Purchase Rounding | Item-specific rounding mode: blank, **Optional** or **Always**. If blank, the value from the purchases setup is used. |


On the **Item Units of Measure** page (opened from the item card):

| Field | Description |
|---|---|
| Purchase Rounding | Specifies that the unit of measure is used as a package when rounding purchase quantities. Only units with a quantity per unit of measure greater than 1 are considered. |


If item ranking is in use, the **Item Ranking** page provides the field:

| Field | Description |
|---|---|
| Purchase UoM Rounding Threshold % | Threshold specific to items with this ranking code. If filled in, it replaces the threshold from the purchases setup. |


| Value | Behavior |
|---|---|
| (blank) | No rounding. |
| Optional | In the worksheet, when you enter a quantity manually, the system asks for confirmation before rounding it. In the automatic replenishment calculation, the quantity is rounded only if the result is higher than the calculated quantity. |
| Always | The quantity is rounded without asking, both on manual entry and in the automatic calculation. |


1. The system considers the item's units of measure marked with **Purchase Rounding**, starting from the largest package.
2. For each package it takes the number of whole packages contained in the quantity.
3. If the remaining quantity exceeds the threshold percentage of the package, one more whole package is added.
4. Any remainder is processed with the next, smaller package.


- **Threshold on the worksheet line:** when you enter an item on a requisition worksheet line, the threshold is taken from the purchases setup or, if available, from the item's ranking. The threshold is also shown in the **Item Replenishment Factbox** of the worksheet (field **UoM Rounding Threshold %**).
- **Manual quantity entry:** when you change the **Quantity** field of an item line expressed in the base unit of measure, the system calculates the rounded quantity. With **Always** it applies it directly; with **Optional** it shows the message *"Round quantity to ...?"* and applies it only if you confirm.
- **Replenishment calculation:** during the automatic calculation of reorder quantities, the suggested quantity is rounded according to the configured mode. When rounding is applied, the item's order multiple is not applied on top of it.

# Import Price List from Excel

This feature lets you load the lines of a purchase price list from an Excel file, or download an empty Excel template to fill in. For price lists linked to a purchases source, an additional action aligns the vendor and purchases source of the items included in the price list.


Open a purchase price list (**Purchase Price List** page) and, in the **Process** menu, use the actions:

- **Import from Excel**
- **Align Purchases Source**


When you choose the action, you are asked to pick one of three options:

| Option | Description |
|---|---|
| Modify price list | Imports the Excel file, updating existing lines for items already in the price list and appending lines for new items. |
| Overwrite price list | Deletes all lines of the price list and recreates them from the Excel file. |
| Export template | Downloads an empty Excel file with the column headers to fill in. |

The import options are available only when the price list has the **Draft** status.


The file must be in `.xlsx` format and contain a sheet named **Price List** (the same name used in the exported template). The first row contains the headers and is skipped; each following row corresponds to one item.

| Column | Field | Description |
|---|---|---|
| 1 | Product No. | Code identifying the item: item number or one of its references (e.g. barcode or vendor item number). |
| 2 | Direct Unit Cost | Purchase cost. Used only when the **Price List Base** column is empty; in this case the line discount is reset to zero. |
| 3 | Discount 1 % | First discount. Used only when the **Price List Base** is N or L. |
| 4 | Discount 2 % | Second discount. Used only when the **Price List Base** is N or L. |
| 5 | Price List Base | What the price is based on: empty = direct cost; **N** = public price (no VAT); **L** = public price. In the template, the header cell carries a comment with this legend. |
| 6 | Starting Date | Date from which the price list line is valid. |

When the base is N or L, the line's direct unit cost is set to zero and the price is calculated from the item's public price by applying the specified discounts.


1. Open the purchase price list in **Draft** status.
2. Choose **Import from Excel** and select **Export template** to download the template, if needed.
3. Fill in the template with the items and their prices or discounts.
4. Choose **Import from Excel** again and select **Modify price list** or **Overwrite price list**.
5. Select the Excel file to upload.


- New lines inherit the price type and the source (e.g. vendor) from the price list header and are of type **Item**.
- With **Modify price list**, if the item is already in the price list, the existing line is updated instead of creating a new one.
- If the code in column 1 does not match any item, the row is skipped. At the end of the import, an activity log opens listing the items not found ("Item ... not found" message).


The action is enabled only when the price list's source type is a **Purchases Source**. The specified purchases source must have a vendor assigned.

After a confirmation prompt ("Align purchases source of price list items?"), for each item in the price list lines the following are set:

- the item's **Vendor No.**, equal to the vendor of the purchases source;
- the item's **purchases source**, equal to the one of the price list.

Items that are already aligned are not modified.

# Extended shipping agents

The module extends the Business Central shipping agents list with address details and VAT registration number, so that complete information about each carrier is available.


1. Search for the **Shipping Agents** page.
2. The new fields appear in the list right after the **Name** column.


| Field | Description |
|---|---|
| Address | Address of the shipping agent. |
| Post Code | Postal code. |
| City | City of the shipping agent. |
| County | County/province of the shipping agent. |
| Country/Region Code | Country or region, selected from the configured countries/regions. |
| VAT Registration No. | VAT registration number of the shipping agent. |


1. Open the **Shipping Agents** page.
2. Select the shipping agent line (or create a new one).
3. Fill in address, post code, city, county, country/region and VAT registration number.

# Prevent Discount on Price List of type Any

In Business Central price lists, each line has a **Defines** (amount type) value that can be **Price**, **Discount**, or **Price & Discount** (type "any"). By default, when the system looks for the best line discount, it also considers lines of type **Price & Discount**, which can therefore supply a discount independently of the price that was applied.

This feature changes that behavior: the discount on a **Price & Discount** line is applied only together with the price from the same line, and is no longer used as a "separate" discount.


There are no new fields or pages: the feature works automatically during price and discount calculation.


- **Line discount search:** when the system looks for the best line discount, it only considers price list lines whose amount type is **Discount**. **Price & Discount** lines no longer take part in the discount search.
- **Discount tied to the price:** when the price comes from a **Price & Discount** price list line, that same line's **Line Discount %** is carried along with the price, including when comparing lines to pick the best one.
- **Purchase lines:** if the direct cost is taken from a **Price & Discount** price list line, the purchase line's **Line Discount %** is set to that price list line's discount; the subsequent discount search does not overwrite it with the discount from another **Price & Discount** line.
- **Requisition worksheet lines:** same behavior as purchase lines.


A purchase price list contains:

| Line | Amount type | Direct Unit Cost | Line Discount % |
|------|-------------|------------------|-----------------|
| A | Price & Discount | 10.00 | 5 |
| B | Price & Discount | 12.00 | 20 |

If the best price is from line A, the purchase line gets a cost of 10.00 and a 5% discount. Without this feature, the system could combine line A's cost with line B's 20% discount.

# Prevent block errors with delayed invoicing

In Business Central, when an item (or one of its variants) is blocked, posting any entry that involves it stops with an error. This is a problem with delayed invoicing: the goods were already shipped or received before the block, but the invoice is posted later.

With this module, posting only the invoicing of quantities already shipped or received is no longer stopped if the item or variant has been blocked in the meantime.


The block check is skipped only for lines that do not move inventory quantities, that is, when posting only the invoicing of goods already shipped or received. For example:

- posting a **Sales Invoice** or **Purchase Invoice** created with **Get Shipment Lines** / **Get Receipt Lines**;
- posting a **Sales Order** or **Purchase Order** with the **Invoice** option, for quantities already shipped or received;
- posting credit memos linked to returns already received or shipped.


- If the line posts a quantity (shipment, receipt, inventory movement), the item and variant block is checked as usual and posting is prevented as normal.
- If the line posts value only (invoicing with no quantity), the item and variant block is ignored and the invoice is posted.
- No setup is required: the behavior is active automatically.

# Canvass management

A product canvass is a "buy X, get Y free" sales promotion: when a sales order contains given items (or items of a given item discount group) in the required minimum quantities, the system automatically adds bonus lines with the free items to the order.

Each canvass can be restricted to a customer, a customer price group, an order type, or apply to all customers, and it is valid within a date range.


On the **Sales & Receivables Setup** page, **Number Series** FastTab, fill in the **Product Canvass Nos.** field.

| Field | Description |
|---|---|
| Product Canvass Nos. | Number series used to automatically number new product canvasses. |


Search for **Product Canvass** with Tell Me. The canvass list opens; from here you can create a new canvass or open an existing card.



| Field | Description |
|---|---|
| No. | Canvass number, assigned from the number series in the setup (or entered manually if the series allows it). |
| Partner Type | Who the canvass is for: **Customer**, **Vendor**, **Customer Price Group**, **All Customers** and, where available, **Order Type**. Changing the type clears the recipient, name and description. |
| Recipient No. | Code of the customer, vendor, customer price group or order type the canvass applies to. Not needed with **All Customers**. |
| Partner Name | Recipient name, filled in automatically. |
| Description | Canvass description; defaults to the recipient name and can be changed. |
| Starting Date | First day the canvass is valid. |
| Ending Date | Last day the canvass is valid. If blank, the canvass does not expire. |
| For Free Code | (Where free-of-charge management is available) Free-of-charge code assigned to the bonus lines; in this case bonus lines are handled as free quantities instead of with a 100% discount. |
| Allow Multiple Application | If on, the canvass can be applied several times to the same order as long as the ordered quantities allow it (e.g. 1 free for every 10). If off, it is applied at most once. |
| Enabled | Only enabled canvasses are considered on orders. |


Lists the products the order must contain for the canvass to apply. All lines must be met.

| Field | Description |
|---|---|
| Product Type | **Item** or **Item Discount Group**. |
| No. | Item or item discount group code. |
| Description | Filled in from the item or group. |
| Quantity (base) | Minimum quantity, in the base unit of measure, that must be ordered. |


Lists the items added to the order when the conditions are met.

| Field | Description |
|---|---|
| Bonus Type | **Item**. |
| No. | Free item code. |
| Description | Filled in from the item; copied to the order line. |
| Quantity (base) | Free quantity added for each application of the canvass. |


1. Open **Product Canvass** and choose **New**.
2. Set **Partner Type** and, if required, **Recipient No.**.
3. Enter the **Starting Date** and, optionally, the **Ending Date**.
4. In the **Products** section, enter the items or item discount groups and the minimum quantities.
5. In the **Bonus** section, enter the free items and their quantities.
6. Turn on **Allow Multiple Application** if the bonus should repeat for multiples of the quantity.
7. Turn on **Enabled**.


1. Open the **Sales Order** (status **Open**).
2. From the **Functions** menu, choose **Apply Canvass** and confirm.

The canvass is also applied automatically when the order is released, if the order does not yet contain lines generated by a canvass.


- **Canvass selection:** enabled canvasses valid on the order's document date are considered, if they are for all customers, for the order's sell-to customer, its customer price group or the order type.
- **Condition check:** quantities (in base units) of the order's item lines with positive quantity are summed per item. Each condition is met if the quantity of the item, or of items in the given discount group, reaches the minimum; quantities used for one application are not reused for the next.
- **Bonus lines:** for each application, the free item lines are added at the end of the order (or their quantity is increased if already present). These lines get a 100% line discount or, if a **For Free Code** is set, are handled as free quantities.
- **Recalculation:** every new application first removes bonus lines previously generated by a canvass and recalculates them from scratch.
- The function is available only for sales orders with status **Open**.

# Enhanced Copy Document

This feature makes the standard Business Central **Copy Document** function more flexible on sales documents (quotes, orders, invoices, credit memos, etc.).

Normally, when copying lines from one sales document to another, Business Central checks that the **VAT Bus. Posting Group** of the source document matches that of the target document and, if they differ, prevents or limits the copying of lines.

With this module the check is disabled: lines can be copied between sales documents with different VAT business posting groups (for example from a domestic customer to a foreign customer).


1. Open the target sales document (for example a **Sales Order** or a **Sales Invoice**).
2. Choose the **Copy Document** action.
3. Select the source document type and number and set the desired options.
4. Confirm with **OK**.


- When copying sales lines, the match of the **VAT Bus. Posting Group** between source and target document is no longer checked.
- Lines are therefore copied even when the two documents belong to customers with different VAT settings; it is advisable to review the VAT settings of the copied lines before posting the document.

# Expected Item Charges

In standard Business Central, item charges (freight, duties, other costs) assigned to a purchase order line affect the item cost only when the charge is invoiced. With this feature, the cost of item charges already assigned to the order lines is taken into account **at receipt**, so that the inventory value immediately reflects the full expected cost.


1. On the **Purchase Order**, enter a line of type **Charge (Item)**.
2. From the line, use **Item Charge Assignment** to assign the charge to item lines **of the same order** (field **Qty. to Assign**).
3. Post the receipt of the order.


- **When the receipt is posted**: for each received item line, the share of item charges assigned to that line is added to the amount and unit cost of the item entry. It is calculated as charge unit cost × quantity to assign, distributed in proportion to the quantity received.
  - The calculation applies only if the order is in local currency (no **Currency Code**) and **Prices Including VAT** is not enabled.
  - Only charges assigned to lines of the same document are considered.
- **Revaluate Receipts**: when the **Revaluate Receipts** action is used on a purchase order line (lines subpage of the **Purchase Order**), the amount used to revalue the receipts also includes the item charges assigned to the line.

When invoiced, the charge follows the standard Business Central handling.

# Notes on Price List

This module lets you add a short note (up to 100 characters) to purchase price list lines, for example to record special conditions, references to vendor quotes, or internal reminders. The note is also shown in the purchase prices pane of the replenishment pages.


1. Open a **Purchase Price List** (search for *Purchase Price Lists*, or open it from the vendor card).
2. In the lines section (**Purchase Price List Lines** page) a new **Note** column is available after the existing columns.


| Field | Description |
|---|---|
| **Note** | Free text (up to 100 characters) attached to the price list line. |


1. Open the purchase price list.
2. Select the price line you want to annotate.
3. Fill in the **Note** field.


- On the **Demand Replenishment** and **Demand Replenishment Detail** pages, the **Purchase Price Factbox** lists the item's purchase prices (minimum quantity, unit cost, starting date and ending date). If a price line has a note, it is shown in italics right below that price line, so the information is at hand while planning purchases.

# Fast customer/vendor change in documents

This module speeds up changing the vendor on a purchase document that has already been filled in (for example a purchase order, invoice or return order). Normally, when you change the vendor, Business Central asks for confirmation and deletes and recreates all document lines. With this module, if the change has no impact on currency and posting setup, the lines are kept as they are and only the reference to the new vendor is updated.


There are no new fields or actions: the feature is triggered automatically when, in the header of a purchase document, you change the **Buy-from Vendor No.** or **Pay-to Vendor No.** field.


1. Open the purchase document (for example **Purchase Order**).
2. Change the vendor in the **Buy-from Vendor No.** or **Pay-to Vendor No.** field.
3. If the conditions below are met, the document lines stay unchanged (items, quantities, prices, discounts, etc.) and are simply linked to the new vendor.


The fast change applies only when all of these conditions are true:

- the new vendor has the same **Currency Code**, **Gen. Bus. Posting Group** and **VAT Bus. Posting Group** as before;
- no document line has already been received, invoiced or (for returns) shipped, even partially;
- the change is made by a user through the interface (not by automatic processes).

When the fast change applies:

- lines are neither deleted nor recreated;
- the header keeps the existing **Location Code** and **Purchaser Code**, instead of replacing them with the new vendor's values.

If any condition is not met, the standard Business Central behavior applies (lines are recreated).

# Shipping Agent Requests

This feature lets you record shipping requests to send to a shipping agent (for example to book a pickup), specifying agent and service, shipper, recipient, weight and number of parcels. Documents can be attached to each request. Once the request has been forwarded to the shipping agent, it becomes read-only.



On the **Inventory Setup** page, **Numbering** section, fill in the **Shipping Agent Request Nos.** field with the number series used to automatically number new requests. The field is required to create requests with automatic numbering.


On the **Shipping Agent Services** page (opened from the shipping agent card) a new field is available:

| Field | Description |
|---|---|
| EDI Code | Code identifying the service in electronic data interchange with the shipping agent. |


Search for **Shipping Agent Requests** using Tell Me (Alt+Q). From the list, open an existing request or create a new one, which opens in the **Shipping Agent Request** card.


The list is read-only and shows for each request: No., Shipping Agent Code, Shipping Agent Service, Posting Date, Warehouse Code (if available), Shipper Name, Shipper City, Recipient Name, Recipient Address, Recipient City, Total Weight, Parcel Nos., Status and Exchange Profile (if available). The **Attachments** FactBox shows the documents attached to the selected request.



| Field | Description |
|---|---|
| No. | Request number. Assigned automatically from the number series set in setup; can be entered manually only if the series allows it. |
| Shipping Agent Code | Shipping agent the request is addressed to. |
| Shipping Agent Service | Requested service, chosen among those of the selected shipping agent. |
| Posting Date | Date of the request. |
| Exchange Profile | Document exchange profile used to send the request to the shipping agent (available when the document exchange feature is active). |
| Warehouse Code | Warehouse the shipment leaves from (available when warehouse management is active). |
| Total Weight | Total weight of the shipment. |
| Parcel Nos. | Number of parcels shipped. |
| Master Tracking No. | Master tracking number assigned by the shipping agent. |
| Status | Request status: blank (in preparation) or **Requested** (forwarded to the shipping agent). Cannot be changed manually. |


| Field | Description |
|---|---|
| Shipper Name | Shipper company name. |
| Shipper Contact Name | Shipper contact person. |
| Shipper Address / Shipper Address 2 | Pickup address. |
| Shipper City | Shipper city. |
| Shipper County | Shipper county/province. |
| Shipper Post Code | Shipper post code. |
| Shipper Country Code | Shipper country/region. |
| Shipper Phone No. | Shipper phone number. |
| Shipper E-Mail | Shipper e-mail address. |
| Shipper Residential Address | Indicates that the shipper address is a private residence. |


| Field | Description |
|---|---|
| Recipient Name | Recipient company or person name. |
| Recipient Contact Name | Recipient contact person. |
| Recipient Address / Recipient Address 2 | Delivery address. |
| Recipient City | Recipient city. |
| County | Recipient county/province. |
| Recipient Post Code | Recipient post code. |
| Recipient Country Code | Recipient country/region. |
| Recipient Phone No. | Recipient phone number. |
| Recipient E-Mail | Recipient e-mail address. |
| Recipient Residential Address | Indicates that the delivery address is a private residence. |


In the **Attachments** FactBox you can add and view documents related to the request (for example labels or waybills).


1. Open **Shipping Agent Requests** and choose **New**.
2. The number is assigned automatically.
3. Fill in shipping agent, service, date, total weight and number of parcels.
4. Fill in the shipper and recipient details.
5. If needed, attach documents in the **Attachments** FactBox.
6. If the document exchange feature is active, specify the **Exchange Profile** and use the **Document Exchange** action (available on both the card and the list, also on multiple selected requests) to process the sending.


- When the status is **Requested**, the request can no longer be modified, renamed or deleted, and the card fields become read-only.
- Deleting a request (with blank status) also deletes its attachments.

# Warehouse

# Negative bins

This feature lets you specify, bin by bin, whether the bin content is allowed to go below zero. By default Business Central prevents taking from a bin more than the quantity it holds; for enabled bins this check is skipped and the bin quantity can become negative.


1. Search for and open the **Bins** page (for example from the **Location** card, **Bins** action).
2. The list shows the new **Allow Negative Quantity** column.


| Field | Description |
|---|---|
| Allow Negative Quantity | When enabled, the bin can have negative content: postings that take more than is available are not blocked. |


1. Open the **Bins** page for the required location.
2. Find the bin line.
3. Turn on the **Allow Negative Quantity** field.


- When you post a take from an enabled bin where the item is not present, the system automatically creates the bin content for the item (with variant and unit of measure) and the quantity becomes negative, instead of raising an error.
- When the content of an enabled bin reaches zero or goes negative, the posting is not blocked by the standard bin content checks.
- If the feature that automatically creates bins when posting physical inventory is also active, bins created that way have **Allow Negative Quantity** already turned on.

# Get purchase/transfer/sales lines in whse request / whse shipment

This feature lets you specify the sender of a warehouse receipt and the receiver of a warehouse shipment, and pick individual source document lines (purchase orders, transfer orders, sales orders) instead of whole documents. It also shows the destination name on pick and put-away activities.


The **Warehouse Receipt** page (and the **Warehouse Receipts** list) has new fields:

| Field | Description |
|---|---|
| Sender Type | Who the goods come from: Vendor, Customer or Location. It cannot be changed when the receipt already has lines. Changing it clears the sender number and name. |
| Sender No. | Code of the sending vendor, customer or location. |
| Sender Name | Name of the sender. |


1. Open the warehouse receipt, fill in **Location Code** and **Sender Type** (Vendor or Location) and optionally **Sender No.**.
2. Choose the **Get Source Lines** action (F8).
3. A list of available lines is shown:
   - **Vendor**: item lines of purchase orders for the receipt location, with outstanding quantity, having a warehouse request and not already on another receipt; filtered by vendor if specified.
   - **Location**: posted transfer shipment lines to the receipt location with quantity still in transit; filtered by the origin location if specified.
4. Select the lines and confirm: they are added to the receipt.


When the sender type is Vendor or Location, the standard **Get Source Documents** action opens a dedicated page:

- **Warehouse Get Purchase Orders** (Vendor sender): select purchase orders and all their eligible item lines are added.
- **Warehouse Get Transfer Shipments** (Location sender): select posted transfer shipments (No., Transfer Order No., External Document No., Posting Date, from/to locations and names) and the lines still in transit are added.

With a Customer sender, the proposed warehouse requests are filtered by the specified customer.


The **Warehouse Shipment** page (and the **Warehouse Shipments** list) has new fields:

| Field | Description |
|---|---|
| Receiver Type | Who the goods are going to: Vendor, Customer or Location. Changing it clears the number and name. |
| Receiver No. | Code of the receiving vendor, customer or location. |
| Receiver Name | Name of the receiver, filled in automatically when the number is selected. |


1. Fill in **Location Code** and **Receiver Type** (Customer or Location) and optionally **Receiver No.**.
2. Choose the **Get Source Lines** action.
3. A list of available lines is shown:
   - **Customer**: item lines of sales orders for the location with outstanding quantity; filtered by customer if specified.
   - **Location**: transfer order lines shipping from the location with outstanding quantity; filtered by destination location if specified.
4. Select the lines and confirm: they are added to the shipment.


| Page | Field | Description |
|---|---|---|
| Purchase Lines | Warehouse Receipt No. | Warehouse receipt containing the purchase order line. |
| Warehouse Pick / Warehouse Put-away | Destination Type, Destination No., Destination Name | Show in the header who the activity is for (read-only). |
| Warehouse Picks / Warehouse Put-aways | Destination Name | Destination name in the list. |


- When a warehouse receipt is created with **Get Source Documents**, sender type and number are filled in automatically from the source document.
- Sender and receiver type, number and name are kept on posted receipts and shipments.

# Enhanced whse receipt and shipment

The module extends Business Central warehouse receipts and, in part, warehouse shipments with:

- document date and mandatory checks at posting;
- qty. to receive proposed as empty or as the outstanding quantity, depending on setup;
- simplified over-receipt handling based on the original quantity;
- automatic closing of outstanding quantities on purchase orders;
- a **Post and New** action to work in sequence on the same sender;
- a **Warehouse Receipt Statistics** page.


In **Warehouse Setup**, General FastTab:

| Field | Description |
|---|---|
| Default Qty. to Ship/Receive | **Outstanding**: receipt lines propose the outstanding quantity as qty. to receive (standard behavior). **Empty**: qty. to receive is proposed as zero and must be entered by the user. |

The **Purchases Source** card and its lines (per location) include the **Close Outstanding Quantity** field (blank, Selected, All): it is the value proposed on warehouse receipts created from orders with that purchases source. The value on the line for the order's location takes precedence over the header value.



| Field | Description |
|---|---|
| Document Date | Date of the vendor's document (e.g. delivery note). Required for posting; on posting it is copied as document date to the purchase order. |
| Shipment Status | Shipment status of the goods (blank or Shipped). Read-only. |
| Close Outstanding Quantity | What to do with unreceived purchase order quantities after posting: blank = nothing; **Selected** = closes the order lines included in the receipt; **All** = closes all outstanding lines of the orders involved. Editable only when the sender is a vendor. |

**Vendor Shipment No.** also becomes mandatory for posting.

The **Warehouse Receipts** list also shows Vendor Shipment No., Document Date and Shipment Status.


| Field | Description |
|---|---|
| Original Quantity | Line quantity when the receipt was created (or at the last manual quantity change). Not editable. |

The standard **Over-Receipt Quantity** field is hidden: it is calculated automatically. If **Qty. to Receive** exceeds the original quantity still to receive, the difference becomes an over-receipt (with the default over-receipt code) and the line quantity is increased; if it is reduced, the line returns to the original quantity. On posting, the purchase order quantity is increased by the over-receipt quantity. Over-receipt fields are hidden on purchase order lines.


| Action | Description |
|---|---|
| Post and New (F10) | Posts the receipt, closes it and immediately opens a new receipt with the same location, sender and posting date. The put-away generated by the new receipt is appended to the previous receipt's put-away. |
| Statistics (F7) | Opens the **Warehouse Receipt Statistics** page. |


Read-only page showing No., Sender Type, Sender No., Sender Name, Posting Date, Document Date, Vendor Shipment No. and totals calculated on lines with a qty. to receive:

| Field | Description |
|---|---|
| Total Items | Number of distinct items. |
| Total Quantities | Sum of quantities to receive (base unit of measure). |
| Purchase Amount | Purchase value of the goods to receive. |
| Purchase Amount (incl. VAT) | Same value including VAT. |
| Public Price Amount | Value of the goods to receive at public price. |


- When a new receipt is created without a location, the user's default warehouse employee location is proposed.
- After posting, the receipt is always deleted completely, even if unreceived quantities remain.
- When undoing a purchase receipt line, if related warehouse activity lines (e.g. put-aways) exist that have not been handled yet, you are asked whether to delete them.
- When posting a sales warehouse shipment, the sales order's location (and any warehouse and shipping/delivery line data) are aligned with those of the shipped line.

# Enhanced put aways and pick

The module extends Business Central put-aways and picks through **warehouse activity templates**. A template defines, for a location and an activity type (put-away or pick), which bins to search, how lines are grouped and where goods are placed (transit bins).

Main features:

- automatic put-away creation from warehouse receipts based on the items' fixed bins;
- pick creation from warehouse shipments with bin search, grouping by activity group and automatic assignment of place bins;
- management of transit bins for put-aways and picks;
- **Verify Put-away** page to confirm, by scanning the item, the quantities actually put away;
- closing put-away lines as **not found** or **defective**;
- new information fields on bins, bin contents, documents and activity lines.



On the **Warehouse Setup** page:

| Field | Description |
|---|---|
| Default Item Cubage | Cubage used for an item when width, length and height are not set on its unit of measure. Used to calculate the volume of pick lines. |
| Activity Template Nos. | Number series for warehouse activity templates (Numbering FastTab). |
| Place Bin Nos. | Number series used to generate place bin codes for picks in **Per Zone** or **Per Bin** mode (Numbering FastTab). |


On the **Location Card**:

| Field | Description |
|---|---|
| Automatic Put-away and Pick | The location uses put-aways and picks driven by activity templates (after **Directed Put-away and Pick**). |
| Put-away Defective Bin | Bin where quantities closed as defective are moved. |
| Put-away Not Found Bin | Bin used for quantities closed as not found. |
| Verify Bin Code (Verify group) | Verification bin of the location. |


On the **Bin Types** page:

| Field | Description |
|---|---|
| Transit Pick | The type identifies transit bins used by picks. |
| Transit Put Away | The type identifies transit bins used by put-aways. |


New fields on the **Bins** page:

| Field | Description |
|---|---|
| Put-away Ranking | Priority of the bin when choosing it for put-away. |
| Bin Order Code | Code used to sort the picking route; if blank, the bin code is used. |
| Content Max. Qty. | Maximum quantity proposed for the bin contents. |
| Content Default | Default value of the Default field for the bin contents. |
| Content Fixed | Default value of the Fixed field for the bin contents. |
| Single Item | The bin can hold only one item. |

The **Bin Contents** page shows **Put-away Ranking**, **Bin Order Code** and **Maximum Picking Quantity**. When opened, it is filtered on the default location of the warehouse employee linked to the user.


The **Whse. Activity Template Groups** page (searchable with "Tell me") holds the groups, with **Code** and **Description**, used to classify templates. A group can also be linked to an order type in the **Whse. Activity Template Group** field.


From the **Warehouse Activity Templates** page you open the **Warehouse Activity Template** card.

General FastTab:

| Field | Description |
|---|---|
| No. | Template code. |
| Activity Type | Put-away or Pick. |
| Location Code | Location the template applies to. |
| Description | Template description. |
| Template Group | Warehouse activity template group. |
| Activity Nos. | Number series of pick documents created with the template. |
| Default Transit Bin Type | Transit bin type; it must be marked as **Transit Pick** or **Transit Put Away** according to the activity type. Mandatory. |
| Unknown Item Bin Code | Bin proposed in put-aways for items without a suitable fixed bin. |
| Prevent Unknown Put-Away | Prevents confirming, in **Verify Put-away**, lines still assigned to the unknown item bin. |
| Max. Volume Automatic Bin | Maximum volume per container in automatic place bins: once exceeded, the following lines go to a new container. |
| Default | The template is automatically proposed on warehouse receipts of the location. |
| System Generated | Indicates a template created by the system. |
| Create Movement Activity | When the put-away is registered, creates (or updates) a movement from the transit bins to the final bins. |
| Automatic Bins | With **Exclude**, automatic bins are excluded from the search when non-automatic bins exist. |
| Report ID / Printer Name | Report and printer for the picking label. |

**Lines** FastTab: each line defines a group of bins where goods are searched.

| Field | Description |
|---|---|
| Bin Code Filter | Filter on the bin codes covered by the line. |
| Bin Count | Number of bins matching the filter. |
| Zone | Zone assigned to the lines; if blank, the bin's zone is used. |
| Activity Group | Lines with the same activity group end up in the same pick document. |
| Place Bin Code | Proposed place bin. |
| Place Bin Mode | How the place bin is assigned: blank (manual), **Per Zone**, **Per Bin**, **Automatic**. |
| Place Bin Type | Bin type assigned to the created place bins. |
| Ignore Bin Availability | Uses the bin without checking its availability. |
| Automatic Profile Code / Automatic Zone ID / Automatic Bin Fill % | Parameters for automatic bins; the fill percentage reduces the usable container volume. |



1. On the **Warehouse Receipt**, fill in **Activity Template** (the location's **Default** template is proposed when the location is set or source documents are retrieved).
2. Post the receipt. For each line the system searches the item's fixed bin contents within the template lines, ordered by **Put-away Ranking**, respecting the bin content maximum quantity.
3. Any remaining quantity is assigned to the last bin found or, if none is suitable, to the template's **Unknown Item Bin Code**.
4. The put-away carries the template, external document no. (vendor shipment no.), posting date and document date of the receipt. If the receipt specifies a put-away to append to, lines are added to that document.


- The **Warehouse Put-aways** list shows **Template No.**, **Posting Date**, **Document Date**, **No. of Lines (place)** and **No. of Lines (outstanding)**.
- The **Warehouse Put-away** card shows **Template No.**, **External Document No.**, **Posting Date** and **Document Date**, plus the **Delete** action to delete the put-away.
- Lines show **Original Quantity** and **Note** (editable on Place lines). **Note** is also shown on registered put-aways.
- **Autofill Qty. to Handle** and **Delete Qty. to Handle** act only on the selected lines.
- **Lines to Handle** toggles a filter on lines not yet closed.


From the put-away lines, **Close** group:

- **Close as Not Found**: closes the difference between original and handled quantity by moving it to the location's **Put-away Not Found Bin**. If more goods were put away than expected, the excess is taken back from the not found bin.
- **Close as Defective**: closes the outstanding quantity by moving it to the **Put-away Defective Bin**.

Both ask for confirmation, apply only to Place lines and require the **Note** field to be filled in. When all lines are closed, the put-away is deleted.


The **Verify Put-away** page (searchable with "Tell me") lets you confirm put-aways with a scanner.

1. Enter the **Put-away No.**
2. Scan the item in **Item No.** (item references are accepted too): the item's lines are shown with bin, zone, quantity, handled and outstanding quantity. Lines assigned to the unknown item bin are highlighted.
3. Enter **Quantity to Handle** and, in manual mode, the **Transit Bin Code** (the last transit used by the user for the same zone is proposed).
4. Run **Verify** (F9): the put-away is registered for the entered quantities. Handling more than expected increases the line quantity; negative values allow corrections down to the original quantity.

Other actions: **History** (F7) shows the put-away registrations, **Block Transit** / **Unblock Transit**, **Suggest New Bin** (for items in the unknown bin, when available), **Delete Put-away**, **Put-away** (opens the warehouse put-away lines) and **Put-away Transits**. The FactBoxes show quantity, outstanding and handled quantity of the line.


The **Put-away Transits** page lists non-empty bins of a **Transit Put Away** type with their **Quantity (base)**. Actions:

- **Handle**: registers the movements from the selected bins to the final bins;
- **Block Transit** / **Unblock Transit**;
- **Bin Content**.



1. On the **Warehouse Shipment**, fill in **Activity Template**.
2. Run **Create Pick**: the **Whse. Activity Create** request page opens, where zones can be filtered.
3. The system groups the quantities to pick by item, searches the bins defined by the template lines by bin ranking (spreading among bins with equal ranking) and creates one pick document per **Activity Group**, with lines sorted by **Bin Order Code**.
4. Place bins are assigned according to the **Place Bin Mode**: a new bin per zone, one per pick bin, or automatic containers based on volume. At the end, the number of created activities is shown.


On the **Warehouse Pick** lines:

- **Bin Code** is not editable;
- **Canceled Quantity** shows the canceled quantity; drill down to open the canceled registered lines;
- **Assign place bin** asks for a bin code for a Place line without bin and, if it does not exist, creates it with the template's transit type;
- **Picking Label** prints the label for the selected lines (report also configurable in **Report Selection - Warehouse**);
- **Lines to Handle** filters lines with outstanding quantity;
- **Autofill Qty. to Handle** / **Delete Qty. to Handle** act on the selected lines.

The **Warehouse Activity Lines** page shows only Place lines, with **Bin Description**, and the **Lines to Handle** action (F8). Registered activity lines show only Take lines.

The **Put Away**, **Pick** and **Canceled Picks** reports are available.


- **Item List**: hidden column **Pickable Quantity**.
- **Purchase Lines**: **Last Put-away Date** of the line.

# Automatic WMS

The module prepares Business Central for integration with an automatic warehouse (automatic WMS). It lets you specify which bins belong to the automatic warehouse, with which communication profile and identifier, and carries this information onto warehouse activities (picks, put-aways, movements) so it can be sent to the automated system.



The **Bins** page has the following new fields:

| Field | Description |
|---|---|
| Automatic Profile Code | Communication profile of the automatic warehouse the bin belongs to. If blank, the bin is not automatic. |
| Automatic Bin ID | Identifier of the bin in the automatic warehouse system. |

When you change the **Automatic Profile Code** of a bin, the new value is automatically copied to all the bin contents of that bin.


The **Bin Contents** page shows the **Automatic Profile Code** field (read-only), inherited from the bin when the content is created or when the bin's profile changes.


On the Item Card, **Warehouse** FastTab:

| Field | Description |
|---|---|
| Automatic Eject Speed | Eject speed to use for the item in the automatic warehouse. |
| Not for Automatic | Indicates that the item must not be handled in the automatic warehouse. |


On the Location Card, **General** FastTab, the **Automatic ID** field is the identifier of the location in the automatic warehouse system, used as destination when shipping goods to that location (transfers).


| Field | FastTab | Description |
|---|---|---|
| Automatic ID | General | Identifier of the customer in the automatic warehouse system, used as shipment destination. |
| Verify Automatic Bin | Shipping | Indicates that the automatic bin must be checked for shipments to this customer. |


The lines of the **Warehouse Activity Templates** include:

| Field | Description |
|---|---|
| Place Bin Mode | In addition to the existing values, the **Automatic** value is available, meaning that goods are placed in the automatic warehouse. |
| Automatic Profile Code | Automatic warehouse profile to use. |
| Automatic Zone ID | Zone of the automatic warehouse. |
| Automatic Bin Fill % | Fill percentage of the automatic bins. |


The **Shipping Lines** page shows the **Verify Automatic Bin** field, indicating whether the automatic bin must be checked for the line.


- When warehouse activities are created through templates, each line receives the **Automatic Bin Profile Code** and **Automatic Bin ID** of the bin involved.
- The activity header receives the **Automatic Final Profile Code** (from the template) and the **Automatic Destination ID**: by default this is the destination number, but if the receiver is a customer or a location with an **Automatic ID**, that value is used instead.
- Activity lines also carry the **Automatic Sheet**, **Automatic Zone Profile Code** and **Automatic Zone ID**; this information remains available on registered activities. Related lines are handled together for the same automatic sheet.

# Item Bin Package

This feature lets you define, for each bin content (combination of location, bin, item, variant and unit of measure), one or more **packages**: larger units of measure in which the item is stored in that bin (for example boxes or cartons).

Packages are used when picks are created with the enhanced warehouse activities: the system picks whole packages first, starting from the largest ones.


1. Open the **Bin Contents** page.
2. Select the line you want.
3. Choose the **Bin Packages** action.

The package list opens, already filtered on the selected bin content.

The **Bin Contents** page also shows the **Contains Packages** field, which indicates whether packages have been defined for the line.


| Field | Description |
|---|---|
| Package Unit of Measure Code | Item unit of measure that represents the package. It must differ from the bin content's unit of measure and must have a quantity per unit of measure. |
| Qty. per Package | Quantity (in base unit of measure) contained in one package. Filled in automatically from the quantity per unit of measure of the selected unit; not editable. |
| Minimum packages | Number of whole packages currently in the bin, calculated by dividing the bin quantity by the quantity per package and rounding down. |

Location Code, Bin Code, Item No., Variant Code, Unit of Measure Code and Bin Type Code are also available as hidden columns; they are filled in automatically from the bin content the page was opened from.


1. On the **Bin Contents** page, select the line and choose **Bin Packages**.
2. Add a new line and enter the **Package Unit of Measure Code**.
3. Check the proposed **Qty. per Package** and the **Minimum packages** available.

You can define several packages, with different units of measure, for the same bin content.


- **Pick creation:** when picks are generated with the enhanced warehouse activities, the system first considers bins with packages, from the package with the largest quantity to the smallest. From each bin it picks only whole multiples of the package (without exceeding the requested or available quantity), and the pick line is proposed in the package unit of measure. Any remaining quantity is then picked using the usual rules.
- **Change of quantity per unit of measure:** if you change the quantity per unit of measure of a unit used as a package, **Qty. per Package** is updated on all related packages.
- **Deleting an item unit of measure:** a unit of measure used in a package (as bin content unit or as package unit) cannot be deleted; the message "Cannot delete, exists bin packages" is shown.
- **Change of bin type:** if you change the type of a bin, the packages defined on that bin are updated.
- **Deleting bin content:** when a bin content is deleted (manually or automatically because it was emptied by warehouse postings), its packages are deleted too.

# Append registered warehouse

This feature collects warehouse operations registered in several steps into a single document. When a warehouse activity (for example a put-away or a pick) is partially registered several times, the registered lines are appended to the same registered document instead of creating a new document each time.

In addition, on the **Warehouse Receipt** you can specify an existing put-away to which the lines created by posting the receipt are appended.


- **Warehouse Receipt**: **General** FastTab, **Append to Put-Away No.** field.
- Warehouse **put-aways** and **picks**: the feature works automatically when registering.



| Field | Description |
|---|---|
| Append to Put-Away No. | Number of an existing put-away, for the same location as the receipt, to which the put-away lines created when posting the receipt are added. If blank, the put-away already linked to the receipt is used, or a new one is created. The value is carried over to the posted receipt. |



1. Open the **Warehouse Receipt**.
2. In the **Append to Put-Away No.** field, open the lookup: the put-aways for the receipt's location are listed, most recent first.
3. Select the required put-away.
4. Post the receipt: the lines to put away are added to the selected put-away.


When you use the action that posts the receipt and immediately opens a new one, the new receipt takes over location, sender and posting date, and its **Append to Put-Away No.** field is already filled with the put-away generated by the receipt just posted. This way, several consecutive receipts flow into the same put-away.


- **Registering number assigned immediately**: when a warehouse put-away or pick is created and a registering number series is set, the **Registering No.** is assigned right away, so the number of the registered document is known in advance.
- **Partial registrations in the same document**: if a warehouse activity is registered at different times, the first registration creates the registered document; subsequent registrations append the new lines to the end of the same registered document instead of creating new ones.
- **Link to source lines**: each registered line keeps a reference to the warehouse activity line it comes from.
- Inventory movements are excluded from this behavior.

# Shipping Lines

Shipping lines represent the scheduled departures of goods from a warehouse (for example a carrier or vehicle leaving at a fixed time). Each line has a departure time, a cutoff time and a calendar; a schedule defines which destinations (customers, locations, groups) are served and on which days.

The system uses this information to:

- automatically suggest the fastest available shipping line on orders;
- optionally route the shipment through another warehouse (routes);
- group lines to ship by line and destination, create picks and print shipping documents and the manifest;
- monitor the work status of each line in real time.



Search for **Shipping Lines**. Each line is identified by warehouse and code.

| Field | Description |
|---|---|
| Warehouse Code | Warehouse the line departs from. |
| Code | Line code. |
| Description | Line description. |
| Note | Free notes. |
| Status | Open or Closed. No picks are created for a closed line. |
| Shipping Agent Code | Shipping agent operating the line. |
| Base Calendar Code | Working-day calendar of the line; non-working days are skipped. |
| Departure Time | Departure time of the line. |
| Cutoff Time | Time after which an order can no longer leave with that day's line. If the cutoff time is later than the departure time, the cutoff refers to the next day's departure. |
| Sorting Time | Time used to sort lines on the status page. |
| Exit Gates | Warehouse exit gates used by the line. |
| Route Link Code | Links the line to a line of another warehouse for routing with transfer. |
| Salesperson Code | Salesperson associated with the line, also used for commissions. |
| Prevent Picking Block | If enabled, picks of the line are not blocked. |
| Print Documents Automatically | Prints shipping documents automatically. |
| Print Documents Automatically (DPC) | Same as above, for DPC orders. |
| Use Manifest | Shipments of the line are collected in a manifest. |
| Manifest Copies | Number of manifest copies to print. |
| Verify Automatic Bin | Enables the automatic bin check. |

The page provides the **Schedule** and **Simulator** actions.


The schedule defines which destinations each line serves and on which days. Open it from the **Schedule** action of a line or group, or from the **Shipping Line Schedule** action on the **Customer Card** and **Location Card** (already filtered on the customer or location).

| Field | Description |
|---|---|
| Warehouse Code / Shipping Line Code | Scheduled line. |
| Line Description | Line description. |
| Destination Type | Customer, Location, Group or Warehouse. |
| Destination No. | Customer, location, line group or warehouse served. |
| Destination Address Code | Customer ship-to address (optional). |
| Destination Name | Filled in automatically. |
| Order Type | Restricts the schedule to an order type. |
| Route Direct Shipping | The entry is used for routes with direct shipping from the target warehouse. |
| Route Link Code | Link used for routing. |
| Exit Gates | Specific exit gates. |
| After Holiday | The line also departs on the first working day after a holiday. |
| Monday … Sunday | Days on which the line serves the destination. |
| Starting Date / Ending Date | Validity period. |


In **Shipping Line Groups** you define groups of destinations (code and description). Use **Members** to specify the customers (optionally with ship-to address) or locations belonging to the group, and **Schedule** to plan lines for the whole group at once.


Routes allow goods to leave from a warehouse other than the order's warehouse.

**Shipping Route Groups**: groups of type Customer or Item. Assign them in the **Customer Route Group** field on the **Customer Card** (Shipping FastTab) and **Item Route Group** on the **Item Card** (Inventory FastTab).

**Shipping Line Routes**:

| Field | Description |
|---|---|
| Warehouse-from Code | Original warehouse. |
| Warehouse-to Code | Warehouse to route to. |
| Rule | Route All, Route Unavailables (only if the item is not available) or Do not Route. |
| Direct Shipping | Goods leave directly from the target warehouse (not allowed with Do not Route). |
| Destination Type / Destination No. / Destination Address Code / Destination Name | Customer, Customer Group, All Customers or Shipping Line Group the rule applies to. |
| Priority | Evaluation order of the rules. |
| Type / No. | Item, Item Group or All Items. |


- **Customer Card**, Shipping FastTab: **Customer Route Group**, **Allow Routing** (Never, Automatic, Manual), **Prevent Combine Pick**, **Print Shipping Documents**.
- **Order Type**: **Use Shipping Lines** (enables lines for orders of that type), **Allow Routing**, **Shipping Line Code** (default line), **Prevent Combine Pick**.
- **Detailed Printer Selections**: **Warehouse Code** and **Shipping Line Code**, to send prints to a specific printer per line.


The **Shipping Line Code** field is available on:

- **Sales Order** (header, after Location Code, and lines);
- **Transfer Order** (Shipment FastTab);
- **Warehouse Shipment** (after Location Code); from here the **Print Document** action prints the shipping documents.

Lines and posted shipments also store **Delivery Warehouse Code** and **Delivery Line Code**, i.e. the warehouse and line the goods actually leave from when routed.


Search for **Shipping Line Simulator** (or use the **Simulator** action). It lets you check which line would be assigned to an order.

1. In **Order Information** enter **Destination Type**, **Customer No.** or **Location Code**, **Item No.**, **Order Type** and **Order Date/Time**.
2. Choose **Simulate**.
3. The system shows the **Base Line** (warehouse, line, description, date/time) and the **Assigned Line**: pick warehouse and line, ship warehouse and line, with their dates/times, plus the **Routing**, **Direct Shipping** and **Delayed** indicators.
4. The **Warehouses** section shows item availability in each warehouse.



Search for **Shipping Line Status**. For each line it shows status, exit gates, sorting time and the counters: **Destination Nos.**, **Row Nos.**, **Waiting Destination/Row Nos.**, **Working Destination/Row Nos.**, **Picked Destination Nos.** and **Ready for Departure Destination Nos.**. The **Warehouse Zone - Detail** pane shows the breakdown by zone.

Actions:

| Action | Effect |
|---|---|
| Open | Opens the selected lines and starts pick creation for their destinations. |
| Close | Closes the selected lines. |
| Close All | Closes all open lines of the warehouse. |
| Create Picks | Creates picks for the selected lines. |
| Destinations | Opens the line's uncompleted destinations. |
| Picks | Opens the line's picks. |
| Shipments in Progress | Opens the line's warehouse shipments. |
| Print Documents | Prints shipping documents. |
| Print Manifest | Prints the line's manifest. |
| Unblock | Unblocks blocked picks. |
| Force Documents | Forces creation of shipping documents for all destinations with lines in shipment. |

All actions ask for confirmation.


Each destination groups the shipping requests of a line for the same customer/address. The page shows warehouse, line, destination, **Warehouse Shipment Group**, **Rows**, **Rows in Shipment**, **Rows in Pick**, **Amount**, **Completely Picked**, **Shipped**, **Manifest Printed** and **Batch Activity**. Blocked destinations are highlighted. The **Shipping Line Factbox** pane shows the shipment lines.

Actions: **Create Picks**, **Unblock**, **Reset Batch Status**, **Print Documents**, **Force Documents**, **Change Line** (moves the selected destinations to another line; you are asked whether to include already picked ones), **Recalculate Line** (recalculates the best line). Navigation: **Requests**, **Picks**, **Shipment**.


Lists the source documents (sales orders, transfers) waiting on a line, with location, destination, order type, DPC order, amount, rows, creation date/time and activity template. The **Open Document** action opens the source document.


- When an order is entered or changed, if its order type uses shipping lines, the line with the earliest departure date/time is suggested, considering schedule, weekdays, cutoff, calendar (including any delays) and routes.
- On release, lines are collected into requests and destinations per line; picks are created only for open lines.
- When the shipment is posted, documents can be printed automatically and added to the manifest.
- **Customer charges**: the **Shipment Nos.** charge base is available, counting distinct deliveries (date, delivery warehouse and line) beyond the amount threshold.
- **Commissions**: the **Amount per Shipment** type is available; contract lines can filter on **Delivery Routing** and **Warehouse Code**, and posted commission lines show **Shipping Date**, delivery warehouse and line. The salesperson on the line is taken into account.
- In demand replenishment, if delivery is routed to another warehouse, the default location of the delivery warehouse is used.

# Warehouses List

This module introduces the **Warehouses** master data: an organizational level above the standard Business Central locations. Each warehouse has an address, a default location and a base calendar; each location can be linked to a warehouse.

The warehouse code is then carried automatically onto sales, purchase and transfer documents and onto warehouse documents (receipts, shipments, activities), including posted documents.


Search for **Warehouses** ("Tell me what you want to do"). The list page is read-only: to create or edit a warehouse, open the **Warehouse** card with **New** or by selecting a line.


| Field | Description |
|---|---|
| Code | Unique warehouse code (mandatory). |
| Name / Name 2 | Warehouse description. |
| Address / Address 2 | Warehouse address. |
| Post Code, City, County | Location details. |
| Country/Region Code | Warehouse country. |
| Default Location Code | Main location associated with the warehouse. |
| Base Calendar Code | Working-day calendar of the warehouse. |

The **Warehouses** list shows Code, Name, Address, City and Default Location Code; Post Code, County and Country/Region Code can be added by personalizing the page.


On the standard **Location Card** page, in the **General** tab, the **Warehouse Code** field lets you specify which warehouse the location belongs to.


1. Open **Warehouses** and choose **New**.
2. Enter code, name and address.
3. Specify the default location and, if needed, the base calendar.
4. Open the relevant **Location Cards** and fill in **Warehouse Code**.


- The **Warehouse Code** field is available on headers and lines of sales, purchase and transfer documents, on the related posted documents (shipments, invoices, credit memos, receipts, returns) and on warehouse documents (receipts, shipments, warehouse activities and registered activities).
- When you set the location on a warehouse shipment or receipt, on a warehouse activity, or the transfer-from location of a transfer, the warehouse code is filled in automatically with the one linked to the location.
- When warehouse shipment or receipt lines are created from sales, purchase or transfer orders, the warehouse code is copied from the source document line.
- The warehouse code is also carried onto warehouse activities generated from source documents.
- The **Warehouse Code** field is also available on shipping agent requests.

# Reverse Activity Lines

This feature lets you reverse (cancel) quantities already handled in warehouse activities, especially picks, without manual adjustments. You can:

- enter negative quantities in the **Qty. to Handle** field of pick and put-away lines to reverse quantities already handled;
- cancel a single line of an open or registered pick;
- cancel all handled quantities of a pick;
- filter a warehouse shipment to show only lines still to be picked.

Cancelled quantities are moved back to the original bins and the related warehouse shipments are updated automatically.


| Page | Where | Element |
|---|---|---|
| Warehouse Pick (card) | Lines | **Qty. to Handle** field, **Cancel Pick Line** action |
| Warehouse Pick (card) | Actions | **Cancel Pick** |
| Warehouse Put-away (card) | Lines | **Qty. to Handle** field |
| Registered Pick (card) | Lines | **Cancel Pick Line** action |
| Warehouse Shipment (card) | Lines | **Lines to Handle** action |



| Field | Description |
|---|---|
| Qty. to Handle | Replaces the standard field and also accepts negative values. A positive value cannot exceed the outstanding quantity; a negative value (reversal) cannot exceed, in absolute value, the quantity already handled. Otherwise the message "Cannot handle more than N units" is shown. |


| Field | Description |
|---|---|
| Correction | Indicates that the line has been reversed, or that it is the reversal line created automatically (with opposite-sign quantity). A line with this flag cannot be cancelled again. |



1. Open the warehouse pick.
2. In the lines, select the line (Take or Place) with a handled quantity.
3. Choose **Cancel Pick Line** and confirm the message "Cancel … item … qty. …?".
4. The system clears the other quantities to handle on the pick, sets the negative handled quantity as quantity to handle on the line and on its matching Take/Place line, and registers the reversal: the goods go back to the original bin.


1. Open the warehouse pick.
2. Choose **Cancel Pick** and confirm.
3. All lines with a handled quantity are reversed as described above.


1. Open the registered pick.
2. Select the line to cancel, choose **Cancel Pick Line** and confirm.
3. The system registers a warehouse movement that moves the goods from the destination bin back to the original bin, flags the line and its matching line as **Correction** and adds the related reversal lines with negative quantity.
4. The linked warehouse shipment line is updated: the picked quantity is reduced, the quantity to ship is cleared and the status of the line and shipment is recalculated (partially picked or blank).

A registered pick can be cancelled only if:

- the pick is linked to a warehouse shipment and the shipment line has not been shipped yet (not even partially);
- the original pick is no longer open;
- the line has not already been corrected.


In the warehouse shipment lines, the **Lines to Handle** action shows only lines that are not completely picked; choosing it again removes the filter.


- When you delete warehouse shipment lines that have registered picks, the system does not ask for confirmation and automatically reverses the linked registered picks (not yet corrected), moving the goods back to the original bins.
- After a put-away reversal, if the posted receipt line no longer has any quantity put away, its status is cleared.

# Allow transfer posting without warehouse

In standard Business Central, when a location requires warehouse handling (for example shipments, receipts, picks or put-aways), you cannot post the shipment or receipt of a transfer order, or certain purchase lines, directly from the document: the system requires warehouse documents.

This feature removes that restriction, allowing you to post directly from the source document even on locations set up for warehouse handling.


| Document | Behavior |
|---|---|
| Transfer order – shipment | The shipment can be posted directly from the transfer order, without a warehouse shipment or pick. |
| Transfer order – receipt | The receipt can be posted directly from the transfer order, without a warehouse receipt or put-away. |
| Purchase lines | The check that prevents entering or changing purchase lines on locations requiring warehouse handling is skipped. |
| Purchase order | Lines are not blocked by existing related warehouse activities (picks/put-aways). |


1. Open the **Transfer Order** (or the **Purchase Order**).
2. Fill in the lines as usual, even if the location requires shipment, receipt, pick or put-away.
3. Use the **Post** action directly from the document: posting runs without requiring warehouse documents.


- The standard error or warning messages that force the use of warehouse documents are no longer shown in the cases above.
- You can still use warehouse documents if you prefer.

# Get Bin Contents for document lines

This feature automatically creates the lines of a **Purchase Return Order** from the contents of warehouse bins. For each item with a positive quantity in the selected bins, a document line is created with the available quantity and the source location and bin.

It is useful, for example, to return to the vendor all goods stored in a bin dedicated to returns or rejects.


1. Open the **Purchase Return Order** page.
2. In the functions menu, choose the **Get Bin Contents** action.



| Field | Description |
|---|---|
| Location Code | Location of the bins to consider. |
| Bin Code | Bin(s) to take the contents from. |
| Bin Type Code | Bin type to consider. |


| Field | Description |
|---|---|
| No. | Item(s) to include. |
| Vendor No. | Limits items to those with the specified vendor on the item card. |


| Field | Description |
|---|---|
| Clear Lines | If enabled, deletes all existing lines of the document before creating the new ones. Otherwise, new lines are appended after the existing ones. |
| No Prices | If enabled, Direct Unit Cost and Line Discount % are set to zero on the created lines. |

The selected options are saved and proposed again the next time.


1. Open the purchase return order and fill in the header (vendor, etc.).
2. Choose **Get Bin Contents**.
3. Set the filters on location, bin and items.
4. Set the **Clear Lines** and **No Prices** options as needed.
5. Choose **OK**: the lines are created in the document.


- Only bin contents with a quantity greater than zero are considered.
- Each created line is of type **Item**, with location code and bin code taken from the bin content and quantity equal to the quantity in the bin (in the base unit of measure).
- The return quantity to ship is set to the full line quantity.
- If simplified item tracking is active, lots/serial numbers still open in inventory for the item and location are automatically assigned to the lines; with the **Clear Lines** option, the document's existing tracking lines are deleted as well.

# Assert today posting

This feature prevents posting warehouse receipts and warehouse shipments with a posting date other than today's date.


Open the **Warehouse Setup** page, **General** FastTab.

| Field | Description |
|---|---|
| Only Today Posting | When enabled, warehouse receipts and warehouse shipments can be posted only if the document's **Posting Date** is today's date. |


With the option enabled, when you post a **Warehouse Receipt** or a **Warehouse Shipment**, the system checks the header's **Posting Date**: if it differs from today's date, posting is stopped with an error message. To continue, set the posting date to today and post again.

# Amount threshold in picking

This feature blocks the automatic creation of picks for shipping line destinations whose total amount is below a minimum threshold, defined per warehouse shipment group. Blocked destinations wait until the amount reaches the threshold or until they are manually unblocked.



The **Warehouse Shipment Groups** page includes the following fields:

| Field | Description |
|---|---|
| Pick Threshold Amount | Minimum amount a destination must reach for its pick to be created. If the amount is lower, the pick stays blocked. Leave blank to apply no threshold. |
| Prevent Picking Block | If enabled, destinations created for this group are never blocked by the threshold (the value is copied to the destination). |


On the **Customer Card**, **Shipping** FastTab, the following field is available:

| Field | Description |
|---|---|
| Pick Threshold Amount | Indicates that the customer is subject to a picking threshold. Customers with a value greater than zero are excluded from bulk unblocking with the **All (except threshold customers)** option. |


The **Shipping Lines** page shows the **Prevent Picking Block** field, indicating whether threshold blocking is disabled for the line.


For each shipping line destination that has not been shipped and has no warehouse shipment:

- if **Prevent Picking Block** is enabled, the pick is never blocked;
- otherwise, if the destination has a **Warehouse Shipment Group** and its amount is lower than the group's **Pick Threshold Amount**, the destination is considered blocked and no pick is created. On the **Shipping Line Destinations** page, blocked destinations are highlighted.



1. Open **Shipping Line Destinations** and select one or more destinations.
2. Choose the **Unblock** action.
3. Confirm the prompt (**Unblock picking?**, or the number of picks to unblock when several are selected).

**Prevent Picking Block** is enabled on the selected destinations, so their pick can be created.


1. Open **Shipping Line Status** and select one or more lines.
2. Choose the **Unblock** action: the **Picking Unblock (Requests)** report opens, already filtered on the warehouse and the selected lines.
3. Refine the filters if needed (warehouse, shipping line, destination type and number, warehouse shipment group).
4. On the **Options** tab, in the **Selection** field, choose:
   - blank: unblocks all filtered destinations;
   - **All (except threshold customers)**: unblocks all destinations except customers with a **Pick Threshold Amount** greater than zero.
5. Choose **OK**.

For each unblocked destination, **Prevent Picking Block** is enabled and, if the shipping line is open, pick creation is queued.

# Shipment Groups

Shipment groups classify sales order lines according to how they must be handled in the warehouse. Lines with different groups are kept separate when shipments and picks are prepared, and each group can have its own rules (for example, preventing picks from being combined).


Search for **Warehouse Shipment Groups** and create the groups you need.

| Field | Description |
|---|---|
| Code | Group identifier. |
| Name | Group description. |
| Print Shipping Doc. Mandatory | Specifies that printing the shipping document is mandatory for shipments of this group. |
| Prevent Combine Pick | If enabled, shipment requests of the group are not combined with others in the same pick. |
| Prevent Picking Block | If enabled, shipping line destinations of the group are not blocked for picking. |
| Pick Threshold Amount | Threshold amount used when handling picks for the group. |


| Location | Field | Description |
|---|---|---|
| Warehouse Setup (General FastTab) | Default Shipment Group | Group assigned by default to new sales orders. |
| Order Type card | Warehouse Shipment Group | Group used for orders of that type; overrides the default. |
| Item Sales Setup | Warehouse Shipment Group | Group assigned to the item's sales lines; overrides the header group. |
| Sales Order (Shipping and Billing FastTab) | Warehouse Shipment Group | Order group, editable. |
| Sales order lines (also in Call Center) | Warehouse Shipment Group | Group of the single line (column hidden by default, can be shown via Personalize). |
| Shipping Line Destinations / Shipping Line Requests | Warehouse Shipment Group | Shows the group of each request and destination. |
| Warehouse Shipment and posted shipments | Shipment Group | Group of the generated shipment. |


- When a sales order is created, the **Default Shipment Group** from Warehouse Setup is proposed; if the **Order Type** has a group, that one replaces it.
- New lines inherit the group from the order header; if a group is specified in Item Sales Setup, that one is used.
- When shipment requests are generated, lines are also grouped by shipment group: lines with different groups produce separate requests and destinations.
- If the group has **Prevent Combine Pick**, the request is flagged so it is not combined with other picks.
- If the group has **Prevent Picking Block**, the setting is copied to the shipping line destination.
- The warehouse shipment created carries the destination's shipment group, which is kept on the posted shipment.
- When the module is installed, outstanding sales order lines without a group are updated with the order type's group or, if none, the default one.

# Move lines between activities

This feature lets you reorganize the lines of a **Warehouse Put-away** by moving them to another existing put-away or extracting them into a new put-away. It is useful to split work among several operators or to group lines in a single document.


1. Open **Warehouse Put-aways** and then a put-away card.
2. In the lines section, select one or more lines.
3. From the line actions, choose:
   - **Move Lines**, or
   - **Extract Lines**.


| Action | Description |
|---|---|
| **Move Lines** | Moves the selected lines to another existing put-away for the same location. |
| **Extract Lines** | Creates a new put-away and moves the selected lines into it. |



1. Select the lines to move.
2. Choose **Move Lines**.
3. The **Warehouse Put-aways** list opens, limited to put-aways for the same location (excluding the current one).
4. Select the target put-away and confirm with **OK**.

The lines are removed from the source put-away and added at the end of the target one. If you cancel the selection, nothing is moved.


1. Select the lines to extract.
2. Choose **Extract Lines**.
3. Answer **Yes** to the question *"Extract selected lines in a new Put-away?"*.

A new put-away is created, with the same header data as the source one and a new number, and the selected lines are moved into it.


- Lines are always moved in pairs: selecting a **Take** line also moves the matching **Place** line (and vice versa), even if it was not selected. This keeps each movement complete in the target document.
- In the target document, lines are appended after existing ones, keeping the Take/Place order.
- The actions are available only for put-aways; for other activity types an error is shown.

# New Bin Content Suggestion

This feature suggests, for an item, a free bin to store it in, one for each zone of the location. After confirmation, it automatically creates the (fixed) bin content for the item in the chosen bin.

The suggestion is based on the item's **warehouse class**, which must be set on the item card.


- From the **Bin Content** page, action **Suggest Bin**.
- From the **Verify Put-away** page, action **Suggest New Bin**, for put-away lines directed to the bin for unknown items (**Unknown Item Bin Code**).


| Field | Description |
|---|---|
| Location Code (header) | Location in which bins are searched. When opened from **Verify Put-away** it cannot be changed. |
| Location Code | Location of the suggested bin. |
| Code | Suggested bin. Not shown when the zone is full. |
| Zone Code | Zone of the bin. |
| Description | Bin description, or "Zone full" when no bins are available in the zone. |
| Warehouse Class Code | Warehouse class of the bin. |

Action **Suggest Other**: recalculates the suggestion, picking other bins.


For each zone of the location, a bin is picked at random among those:

- with no warehouse class or with the same warehouse class as the item;
- not flagged as **Single Item**, or flagged as **Single Item** but without any bin content yet (see the bin's **Bin Content Exists** field).

If a zone with a warehouse class has no available bins, a line with description **Zone full** is shown; it cannot be confirmed.


1. Open the **Bin Content** page filtered on the item.
2. Choose the **Suggest Bin** action.
3. Optionally change the location or use **Suggest Other** to get other suggestions.
4. Select the line of the desired bin and confirm with **OK**.
5. A bin content for the item is created, flagged as **Fixed**.


1. On the **Verify Put-away** page, select a line with the bin for unknown items.
2. Choose the **Suggest New Bin** action.
3. Select the suggested bin and confirm with **OK**.


- On confirmation, a fixed bin content is created for the item in the chosen bin.
- From **Verify Put-away**, all open put-away lines for the same item and variant, in the same location and directed to the bin for unknown items, are moved to the new bin, updating the zone as well.
- If the item has no warehouse class, an error is shown.

# Enhanced over receipt

The module extends the standard Business Central **Over-Receipt Codes** with the **Maximum Tolerance** option. A code with this option enabled allows receiving any quantity in excess of the ordered quantity on a purchase line, without the tolerance percentage limit.


Search for **Over-Receipt Codes** using the search function (magnifying glass icon).


| Field | Description |
|---|---|
| **Maximum Tolerance** | When enabled, the code applies no limit to the over-received quantity. |
| **Over-Receipt Tolerance %** | Maximum percentage of quantity that can be over-received. It cannot be edited when **Maximum Tolerance** is enabled; a zero value is shown blank. |


1. Open **Over-Receipt Codes**.
2. Create or select a code and enable **Maximum Tolerance**.
3. Assign the code to the purchase order line (**Over-Receipt Code** field) and post the receipt with the desired quantity, even above the ordered quantity.


- When **Maximum Tolerance** is enabled, **Over-Receipt Tolerance %** is automatically reset to zero.
- During receipt, lines with a maximum-tolerance code do not raise the error for exceeding the allowed over-receipt quantity.

# Free Warehouse Movement

This feature lets you create and fill in **Warehouse Movement** documents manually, without generating them from the movement worksheet or other automatic processes. You can create new headers, insert lines and edit their main data directly on the page.


1. Search for **Warehouse Movements** and open the list.
2. Create a new movement with **New**, or open an existing one.


| Field | Description |
|-------|-------------|
| Location Code | Location of the movement. It replaces the page's standard location field and can be set directly on the document. |


On the movement lines, the following fields, normally read-only, become editable:

| Field | Description |
|-------|-------------|
| Action Type | Whether the line is a **Take** or a **Place** line. |
| Item No. | Item to move. |
| Quantity | Quantity to move. |


1. Create a new **Warehouse Movement**.
2. Enter the **Location Code** on the header.
3. On the lines, add a line with **Action Type** = Take, specifying item, quantity and source bin.
4. Add a line with **Action Type** = Place, specifying item, quantity and destination bin.
5. Register the movement as usual.


- Each new line automatically inherits the location entered on the header.
- Lines can also be inserted between existing lines: the system assigns an intermediate position, keeping the displayed order.

# iPharma

# iPharma solution

This module is the foundation of the iPharma solution for pharmacies and pharmaceutical distribution. It enables:

- handling of the National Health Service (NHS) share in counter sales (Store);
- the **AIC Code** as an item identifier in the iWMS warehouse;
- the **iPharma API** interface for exchanging data with external systems.

The other iPharma modules (tracking, AIC handling on items, warehouse integrations) build on this foundation.


Open the **Store Setup** page, **General** tab. The following fields are available:

| Field | Description |
|---|---|
| Health Product Posting Group | General product posting group used for lines with a health amount. If filled in, item lines with a health amount are invoiced with this group, separately from other lines. |
| Health Amount Account No. | G/L account where the refund expected from the health service is posted. |
| Health Difference Account No. | G/L account where the difference (patient co-payment) for lines with a health amount is posted. |

Store document lines have a **Health Amount** field, showing the part of the price covered by the health service.


When Store documents are turned into invoices:

- **Expected health refund:** if a **Health Amount Account No.** is set, the health amount of item lines is removed from the item line and moved to a line for that G/L account, described as "Expected health refund". Lines are grouped by VAT group.
- **Health difference amount:** if a **Health Difference Account No.** is set, for lines with a health amount the line amount is reversed from the sales account (taken from the general posting setup) and posted to the difference account, described as "Health difference amount".
- **VAT Shareout:** if the store uses **VAT Shareout**, lines on the **Health Amount Account No.** are also included in the shareout.


Among the item identifiers available in iWMS there is the **AIC Code** value, which identifies medicines by their marketing authorization code. The system also converts the AIC code between the 9-digit numeric format and the compact 6-character (base 32) format used in medicine barcodes.


Among the generic APIs, **iPharma API** is available: the interface used by external systems of the iPharma solution (for example warehouses and logistics services) to exchange orders, shipments, returns, inventory and availability. The functions available depend on the iPharma modules that are enabled.

# Inventory mandatory government information

The module adds to Business Central the information required by pharmaceutical regulations for inventory management and drug traceability:

- the **AIC Code** on items, carried automatically onto sales, purchase, transfer and warehouse documents;
- **health tracking** data (type and code) on customers, vendors, addresses, warehouses and stores;
- pharmaceutical settings on order types;
- item recognition by AIC Code in incoming electronic documents.

On the affected cards the new fields are grouped in a FastTab called **Pharmaceutical**.


On the **Item Card** page, the **AIC Code** field is right after **No.**; the **Pharmaceutical** FastTab holds the other data.

| Field | Description |
|---|---|
| AIC Code | Marketing authorization code (AIC) of the drug. It is also shown in item drop-down lists. |
| Substance | Active substance of the drug (read-only). |
| Minimum Reference Unit | Quantity of the product's minimum reference unit (e.g. tablets per pack). |
| Health Tracking Type | Type of health tracking applied to the item. |
| Unsealable Lots | Shows whether there are lots of the drug that cannot be sold (read-only). Clicking the value opens the list of lots for the item's AIC Code. |

The **Health Tracking Type** field is also on the **Item Template Card**: when an item is created from a template, the value is copied to the new item.


On the **Customer Card** and **Vendor Card** pages, **Pharmaceutical** FastTab:

| Field | Description |
|---|---|
| Health Tracking Type | Type of party for drug traceability purposes. |
| Health Tracking Code | Identification code of the party in the government traceability database. |
| Local Health Agency Code | Code of the local health agency (ASL). |

**Health Tracking Type** and **Health Tracking Code** are also available on customer **Ship-to Addresses** and vendor **Order Addresses**, to handle destinations with their own tracking codes.


On the **Warehouse** card, **Pharmaceutical** FastTab:

| Field | Description |
|---|---|
| Health Tracking Type | Type of site for drug traceability purposes. |
| Health Tracking Code | Identification code of the warehouse in the government database. |
| Health Manager | Name of the warehouse's health manager. |
| Health Manager Role | Role of the health manager. |


On the **Store** card, **Pharmaceutical** FastTab, the store's **Health Tracking Type** and **Health Tracking Code** are available. Store document lines also show the **AIC Code** and the amounts covered by the National Health Service (**Health Amount** and **Health Discount Amount**).


On the **Order Type** card, **Pharmaceutical** FastTab:

| Field | Description |
|---|---|
| Health Tracking Entry Type | Type of entry to report to drug traceability for documents of this order type. |
| Health Tracking | Whether documents of this type are always (**Always**) or never (**Never**) included in traceability; blank for standard behavior. |


The **AIC Code** is copied automatically from the item when it is entered on:

- sales and purchase lines (orders, returns, etc.);
- transfer lines;
- requisition worksheet lines;
- price list lines.

The code then flows to subsequent documents: warehouse receipts and shipments, picks and put-aways (including registered ones), purchase receipts and sales shipments, posted invoices and credit memos, transfer shipments and receipts. It is shown as a column in the related subpages and item journals, as well as in several item summaries and searches, so the drug can be identified at every step.


When importing electronic documents (e.g. purchase invoices), if a line carries an item identifier that matches the **AIC Code** of a non-blocked item, the item is recognized automatically with its base unit of measure.

In the document exchange unit of measure rules, the **Use Minimum Reference Unit** option is available to convert quantities based on the item's minimum reference unit.

# Client receiving data from store

This module lets Business Central automatically receive from iPharma stores their sales, purchase, transfer, adjustment and physical inventory documents, as well as daily register closings. Data arrives through a document exchange profile with the **iPharma Client** format and is stored as **Store Documents** and **Store Closings**.

While receiving, the system recognizes or automatically creates the required master data (customers, vendors, locations, salespeople, payment methods) and, if configured, posts some document types immediately.


1. Open the **Document Exchange Profiles** and create (or select) a profile with **Exchange Format** = **iPharma Client**.
2. From the profile, open the setup: the **iPharma Client Setup** page linked to the profile is shown (it is created automatically if missing).



| Field | Description |
|---|---|
| Default Store Category | Store category proposed for stores handled by the profile. |
| Exchange Reference | Reference table used to convert iPharma codes (payment methods, internal vendor locations, vendors not to be invoiced). Required for purchase documents. |
| Automatic Purch. Rcpt. Posting | If enabled, purchase receipt documents are posted right after being received. |
| Automatic Purch. Shpt. Posting | If enabled, purchase shipment documents (returns to vendor) are posted immediately. |
| Automatic Transfer Posting | If enabled, transfers (shipment or receipt) are posted immediately. |
| Automatic Adjustment Posting | If enabled, inventory adjustments are posted immediately. |


| Field | Description |
|---|---|
| Store No. Prefix | Prefix for store numbers. |
| Salesperson No. Prefix | Prefix added to the code of automatically created salespeople/operators. |
| Location Code Prefix | Prefix added to the code of automatically created locations. |
| Payment Method Code Prefix | Prefix added to the code of automatically created payment methods. |


| Page | Field | Description |
|---|---|---|
| Store Card | iPharma ID | Store code in iPharma. |
| Location Card | iPharma ID | Code of the iPharma site linked to the location. |
| Salesperson/Purchaser Card | iPharma | Indicates the salesperson comes from iPharma. |
| Payment Methods | iPharma | Indicates the payment method comes from iPharma. |


- **Company check:** the VAT registration no. of the sending site must match the one in **Company Information**.
- **Locations:** the iPharma site is looked up via the **iPharma ID** field; if missing, a location (with optional prefix) linked to the store is created.
- **Customers and vendors:** looked up by VAT registration no. (and fiscal code for customers); if not found they are created applying the country's template, if any. Blocked customers or vendors raise an error.
- **Transfers:** a purchase whose vendor has the company's own VAT registration no. is handled as a transfer from the location defined in the exchange reference. Vendors not to be invoiced can also be defined in the exchange reference.
- **Salespeople:** recognized by fiscal code among iPharma salespeople, otherwise created with a code made of prefix, location and iPharma code.
- **Payment methods:** automatically created (with prefix) if missing and flagged as iPharma.
- **Items:** recognized by AIC code; service lines can be mapped to G/L accounts.
- **Automatic posting:** after reception, documents are posted according to the setup options, unless the store category has **Prevent Posting** enabled.

# EDI DAFNE®

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

- **CONDAFNE**: purchase document exchange with vendors. Purchase orders are transmitted to DAFNE, and response documents (order confirmations and delivery notes) are received and processed automatically, up to the creation of the warehouse receipt.
- **DAFNEFMD**: connection to the medicine verification service (Falsified Medicines Directive), with verify, dispense, undo dispense and destroy operations on packs.


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 (<profile>)**.

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 (<profile>)**.

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.


- **Files already received**: if a file with the same name already exists in the archive, it is skipped with a warning.
- **Order confirmation**: the order status becomes **Confirmed** and the line quantities are adjusted to what the vendor confirmed.
- **Delivery note**: a warehouse receipt is created for the order location (which must require receipt), with the vendor as sender, the delivery note date and number, the receipt bin if applicable, the quantities to receive and the tracking data (lots/expiration dates) from the note. The order status becomes **Shipped**.
- **Closing outstanding quantities**: depending on the **Close Outstanding Quantity** setting of the purchases source (or its location line), the remaining quantities of the shipped lines, or of all order lines, are closed. Without this setting, lines are adjusted only when the shipped quantity exceeds the outstanding quantity.
- All operations and any errors (order, vendor, location or item not found) are recorded in the document exchange log.

# iPharma DB

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

- search products in the database and view their details, image and lot information;
- import a product as a new item, automatically choosing the item template based on configurable rules;
- automatically keep description, public price and other data of existing items up to date;
- view database data directly from item cards and lists, item search, summaries and demand replenishment.

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):

- if the item does not exist, it is created from the template selected by the rules, with its AIC Code;
- **Description** and **Public Price** are updated (respecting the item price group options); the price used is the one valid at today's date;
- **Minimum Reference Unit**, **Unsealable Lots** (enabled if the database reports lot information) and **Manufacturer Code** are updated (the manufacturer is created if missing);
- the product barcodes are added as barcode item references, if not already present.


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**.

# Purchase Note "Buono di Acquisto"

This feature manages the **purchase note** ("Buono di Acquisto"), the document required to move items subject to a register (for example controlled substances). It lets you:

- define, for each item ledger register, whether a purchase note is mandatory;
- assign a purchase note number from a number series defined per location;
- record purchase note number and date on purchase orders, sales orders and transfer orders;
- print the purchase note from purchase orders and transfer orders;
- carry the purchase note number and date to posted documents and to item ledger book entries.



On the **Item Ledger Registers** page the following field is available:

| Field | Description |
|---|---|
| Purchase Note Mandatory | When enabled, documents moving items linked to this register require a purchase note number. It can be changed only while the register has no entries. |


On the **Location Card**, **Number Series** group:

| Field | Description |
|---|---|
| Purchase Note Nos. | Number series used to assign purchase note numbers for the location. |


On the **Warehouse** card, the following data printed on the note is available:

| Field | Description |
|---|---|
| Controlled Substance Authorization | Number of the authorization to handle controlled substances. |
| Controlled Substance Auth. Date | Date of the authorization. |


The purchase and inventory report selection pages include the usages **Purchase Note** and **Purchase Note (transfer)**, used to choose the report to print.


The **General** FastTab of the **Purchase Order**, **Sales Order** and **Transfer Order** contains:

| Field | Description |
|---|---|
| Purchase Note No. | Purchase note number. On purchase and transfer orders the assist button (…) assigns a new number. Clearing the field also clears the date. |
| Purchase Note Date | Purchase note date. It can be entered only when the number is filled in. |

Number and date are carried to posted purchase receipts, invoices and credit memos, return shipments, sales shipments, return receipts, posted transfer shipments and receipts, and to **Item Ledger Book Entries**.



1. Open the **Purchase Order** (or **Transfer Order**).
2. Make sure the location (for transfers, the transfer-to location) is filled in and has a **Purchase Note Nos.** series.
3. In the **Purchase Note No.** field, choose the assist button (…) and confirm *Assign new purchase note number?*.
4. The next number in the series is assigned and **Purchase Note Date** is set to the work date.

On the **Sales Order** number and date are entered manually (for example those of the note received from the customer).


1. From the **Purchase Order** or **Transfer Order**, in the report actions, choose **Purchase Note**.
2. On the request page enter the **No. copies** (default 4) and print.

For purchase orders, printing requires the order to be released and the repository, note number and date to be filled in; the note shows company data, location address, warehouse data (including controlled substance authorization and health manager), vendor repository, items and quantities.


- **Line check:** when a quantity is entered on an item line of a purchase, sales or transfer order (or the note number on the header is changed):
  - if the item belongs to a register with mandatory purchase note, the note number must be filled in;
  - if the document has a note number, all items must belong to a register with mandatory purchase note.
- **Document release:** if the note number is filled in, the date must be filled in too.
- **Sales orders:** on release, the system checks that the same note number, for the same customer and in the same year, is not already used by another sales order or by a shipment for another order.
- **Demand replenishment:** suggestion lines for items with mandatory purchase note are flagged and grouped separately; before creating orders a confirmation is requested (*A new purchase note will be issued. Continue?*) and a new note number is automatically assigned to the generated purchase orders.

# DPC

The module manages **DPC (Distribution on behalf of the health service)** of medicines: sales, purchase and return orders related to DPC, with order number and prescription number on lines, per-location setup and summary invoicing of DPC shipments.


The **DPC Setup** page is opened from the setup of the iPharma DPC document exchange profile. One setup is defined per location.


| Field | Description |
|---|---|
| Location Code | Warehouse handling DPC. When selected, the description is filled in with the location name. |
| Description | Description of the setup. |
| Local Health Agency Code | Code of the reference local health agency. |
| Enabled | Whether the setup is active. Kept in sync automatically when the linked document exchange profile is enabled or disabled. |


| Field | Description |
|---|---|
| FTP Server | FTP server address used to exchange DPC data. |
| FTP Username | FTP login user. |
| FTP Password | FTP login password. |


| Field | Description |
|---|---|
| Sales Order Type | Order type used for DPC sales orders. |
| Sales Order Type (procured) | Order type used for DPC sales orders of procured goods. |
| Stock Order Type | Order type used for DPC stock orders. |
| Default Sales Price (LCY) | Sales price proposed for DPC lines. |
| Default Payment Terms Code | Proposed payment terms. |
| Gen. Prod. Posting Group | General product posting group to use. |
| VAT Prod. Posting Group | VAT product posting group to use. |
| Summary Description | Description of the summary lines on the invoice. |
| Summary Account No. | G/L account used for summary lines on DPC invoices (required for invoicing). |
| Shipment Note | Note printed on DPC shipments. |


| Field | Description |
|---|---|
| Adj. Template Name | Item journal template used for adjustments. |
| Adj. Batch Name | Item journal batch used for adjustments. |
| Adj. Bin Code | Location bin used for adjustments. |
| Unsell. Bin Code | Bin where unsellable goods are moved. |
| Automatic Adj. Posting | If enabled, adjustments are posted automatically. |


On the **Order Type** card, **Pharmaceutical** group:

| Field | Description |
|---|---|
| DPC Order | The order type is dedicated to DPC. Only these order types can be selected in DPC Setup. |
| DPC Prescription No. | DPC prescription number linked to the order type. |


On the **Customer Card**:

| Field | Description |
|---|---|
| DPC Enabled | The customer (pharmacy) takes part in DPC. |
| DPC Bill-to No. | Customer to invoice for DPC supplies. |
| DPC Location Code | Reference DPC location for the customer. |
| Prevent Combine Pick (DPC) | Prevents DPC picks from being combined with other orders. |
| Print Shipping Doc. (DPC) | Prints the shipping document for DPC deliveries. |

The **Ship-to Address** page has a **DPC Enabled** field to enable DPC on a single address.


Lines of **sales orders**, **sales return orders**, **purchase orders** and **posted sales shipments** show:

| Field | Description |
|---|---|
| DPC Order No. | DPC order the line refers to. |
| DPC Prescription No. | DPC prescription number. |

These values are carried over to posted documents (shipments, receipts, invoices, credit memos, returns).


The **DPC Invoicing** batch job (available through search) creates sales invoices for DPC shipments not yet invoiced.

1. Open **DPC Invoicing**.
2. Set filters on the shipments' **Posting Date** and **Invoicing Rule**.
3. On the **Options** tab enter the invoices' **Posting Date** (required).
4. Confirm.

One invoice is created for each bill-to customer and invoicing rule, with the given posting date. For each shipment the invoice contains a reference to the shipment followed by lines on the summary account of the location's DPC Setup, grouped by unit price with the total shipped quantity. When the invoice is posted, the shipments are flagged as **DPC Invoiced** and cannot be invoiced again.


- Customer blocking checks are skipped for DPC orders, when entering the customer, when posting and when registering picks.
- DPC orders and shipments are excluded from customer credit limit checks and entries.
- DPC lines are excluded from price recalculation during warehouse shipment.
- The **Enabled** status of DPC Setup follows that of the linked document exchange profile.

# 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.

# Phone System Integration

The module connects Business Central to the phone system (PBX) through an external API service. It lets you:

- create a sales order for the customer currently calling your extension, recognized by phone number;
- view the list of missed calls and call the number back with one click;
- create a sales order directly from a customer's missed call.



1. Open the **Document Exchange Profiles** page.
2. Create a new profile, select the **iPharma Phone** format and enable it.
3. Open the profile setup: the **iPharma Phone Setup** page opens.


**General**

| Field | Description |
|---|---|
| API Endpoint | Address of the API service that communicates with the PBX. |
| Authentication Token | Token used to authenticate with the API service. The value is masked. |

**PBX**

| Field | Description |
|---|---|
| PBX Protocol | Communication protocol with the PBX (AMI). |
| PBX Host | PBX address. |
| PBX Port | PBX connection port. |
| PBX User | User for PBX access. |
| PBX Password | Password for PBX access. The value is masked. |
| Base Number | Base number of the PBX. |
| Strip Prefix | Prefix placed before the dialed number when making an outgoing call (for example the outside line prefix). |


On the Business Central **User Setup** page, fill in for each user who uses the phone:

| Field | Description |
|---|---|
| Phone Profile | Document exchange profile with the iPharma Phone format to use for the user. |
| Phone Extension | PBX extension assigned to the user. |

Both fields are required to use the **New Phone Order** and **Recall** functions; the profile must be enabled.


The **Call Center Sales Orders** page provides the actions:

- **New Phone Order** (shortcut Ctrl+S);
- **Missed Calls**.



1. Answer the call on your extension.
2. In **Call Center Sales Orders** choose **New Phone Order**.
3. The system reads the number of the caller currently connected to the user's extension and looks up the matching customer.
4. If the customer is found, a new sales order is created for the customer and opened on the call center order page.

Possible messages:

- *No incoming call for extension ...*: there is no active call on the extension.
- *No matching customer for ...*: the caller's number does not match any customer.


Choose **Missed Calls**: the page collects missed calls from all enabled iPharma Phone profiles, sorted from the most recent.

| Field | Description |
|---|---|
| Phone No. | Number that called. |
| Customer No. | Customer recognized from the number, if found. |
| Customer Name | Name of the recognized customer. |
| Date/Time | Date and time of the missed call. |
| Missed Calls | Number of missed calls from that customer or number. |

Calls from the same customer (or, if the customer is not recognized, from the same number) are grouped in a single line.

Available actions:

- **Recall**: starts a call from your extension to the number on the line. The PBX first rings the user's extension and then dials the number.
- **New Phone Order** (Ctrl+S): if the line has a recognized customer, creates a new sales order for that customer and opens it on the call center order page.



The customer is searched, considering only non-blocked customers, in this order:

1. customer **Phone No.**;
2. customer **Mobile Phone No.**;
3. contact **Phone No.**, tracing back to the customer linked to the contact's company;
4. contact **Mobile Phone No.**, with the same criterion.

The number must exactly match the one recorded.

# Health Tracking

This feature generates drug health tracking entries from posted inventory movements (sales shipments, sales returns, transfer shipments and receipts) and exports them as XML files through Document Exchange, for transmission to the health tracking system.

Only items that have a health tracking type and an **AIC Code** are considered.


- **Health Tracking Setup**: general setup page.
- **Health Tracking Entries**: search for the page with Business Central search (History category).


For each document type you set the default entry type and whether the document must be tracked.

| Field | Description |
|---|---|
| Default Sales Entry Type | Entry type used for sales shipments when the order type does not specify one. |
| Track Sales | Always, Never or Optional (see below). |
| Default Sales Return Entry Type | Entry type used for sales returns. |
| Track Sales Return | Always, Never or Optional. |
| Default Purchase Return Entry Type | Entry type for purchase returns. |
| Track Purchase Return | Always, Never or Optional. |
| Default Transfer Shipment Entry Type | Entry type used for transfer shipments when the order type does not specify one. |
| Track Transfer Shipments | Always, Never or Optional. |
| Default Transfer Receipt Entry Type | Entry type used for transfer receipts. |
| Track Transfer Receipts | Always, Never or Optional. |

Option meaning:

- **Always**: documents of that type are always tracked.
- **Never**: documents of that type are never tracked.
- **Optional**: the document is tracked unless its order type is set not to be tracked.


- **Warehouse**: must have **Health Tracking Code** and **Health Tracking Type** (sender code and type). Only locations linked to the warehouse are processed.
- **Item**: must have a health tracking type and an **AIC Code**.
- **Customer** or **ship-to address**: for sales, they must have the recipient's tracking code and type; if the shipment uses a ship-to address, its data is used, otherwise the customer's.
- **Store**: for transfers, the destination location (or origin location, for receipts) must be linked to a store with a tracking code and type.
- **Order type**: can specify whether documents are tracked (**Health Tracking**) and a specific **Health Tracking Entry Type**, which takes priority over the setup default.


Read-only page listing the generated entries.

| Field | Description |
|---|---|
| Entry No. | Sequential entry number. |
| Warehouse Code | Source warehouse. |
| Source Tracking Code / Source Tracking Type | Tracking code and type of the sending warehouse. |
| Entry Type | Health tracking entry type. |
| Item Ledger Entry No. | Originating item ledger entry. |
| AIC Code | Item AIC code. |
| Description | Item description. |
| Product Type | Item health tracking type. |
| Quantity | Quantity moved (always positive). |
| Destination Tracking Code / Destination Tracking Type | Recipient tracking code and type. |
| Destination No. / Destination Name | Destination customer or location. |
| Customer Type, Customer Code, Billing Type, Billing Code | Additional customer and billing data (hidden by default). |
| Document No. | Originating posted document. |
| Posting Date / Posting Time | Posting date and time. |
| Transmission No. / Transmission Date | Number and date of the transmission in which the entry was generated. |


- **Process Entries**: opens the **Process Health Tracking** report.
- **Document Exchange**: on the selected entries, lets you choose **Export Health Tracking**, which sends the XML file of the transmission of the first selected entry.


1. From **Health Tracking Entries** choose **Process Entries**.
2. Enter **Warehouse Code**, **Starting Date** and **Ending Date**.
3. Confirm. Item ledger entries (excluding corrections) of the warehouse locations in the period are read and tracking entries are created with a new transmission number.


1. Select an entry of the transmission to send.
2. Choose **Document Exchange** and then **Export Health Tracking**.
3. An XML file is sent, named with the warehouse code and the transmission number (6 digits).


- An item ledger entry that has already been tracked is not processed again.
- Sales shipments with inbound quantity are treated as returns and use the sales return entry type.
- Through Document Exchange, automatic processing can be scheduled: for each warehouse with a tracking code, entries are generated day by day, from the day after the last entry up to yesterday, and every non-empty transmission is exported.
- If required data is missing (tracking codes, AIC Code, default entry types) processing stops with an error.

# IQVIA® Export

This feature exports sales data of the selected locations to IQVIA® as fixed-length text files. For each location up to three files can be generated:

- **Customers**: domestic customers that received posted sales shipments from the location during the period;
- **Items**: non-blocked items sold from the location during the period, with AIC code, description, public price and bar code;
- **Sales**: quantities sold per item and customer (daily for the weekly export, period totals for the monthly export).

The files are sent through document exchange, using the transport configured in the profile.



On the **Location Card**, **General** FastTab, a new field is available:

| Field | Description |
|---|---|
| IQVIA Code | Code identifying the location at IQVIA. It is required for locations included in the export and is used in the file names and headers. |


1. Open **Document Exchange Profiles** and create a profile with the **IQVIA Export** format, specifying the transport used to send the files.
2. From the profile, open the format setup: the **IQVIA Setup** page linked to the profile opens.


| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup belongs to (not editable). |
| Location Filter | Locations to export (a filter can be entered). |
| Export Customers | If enabled, the customers file is generated. |
| Export Items | If enabled, the items file is generated. |
| Export Sales | If enabled, the sales file is generated. |
| Export Type | **Weekly** or **Monthly**: determines the exported period. |
| Last Export Date | End date of the last exported period. It is updated automatically; it can be changed to repeat an export. |


The export can run automatically through document exchange or manually:

1. Open the **IQVIA Setup** page.
2. Choose the **Manual Export** action and confirm the **Start manual export?** question.

A progress window is shown during processing.


- **Exported period**: with **Weekly**, the week before the current one is exported; with **Monthly**, the month before the current one.
- If the period has already been exported (end date not later than the **Last Export Date**), nothing is exported.
- Every location in the filter must have an **IQVIA Code**, otherwise the export stops with an error.
- Posted item sales entries of the location in the period are considered; returns are reported with the opposite sign of sales.
- The customers file includes only customers whose VAT registration number starts with the company's country/region code (set in **Company Information**, required).
- At the end, the files are sent with the profile's transport and the **Last Export Date** is updated with the end of the exported period.

# Promofarma® Export

This feature automatically sends posted sales shipments to the Promofarma (Federfarma) e-DDT portal as electronic delivery notes. Only shipments for customers (pharmacies) enabled for the service, both in Business Central and on the Promofarma portal, are sent.

The integration is based on **Document Exchange Profiles**: you create a profile with the **Promofarma** format and configure its setup.


1. Open **Document Exchange Profiles** and create a profile with the **Promofarma** format.
2. From the profile, open **Setup**: the **Promofarma Setup** page opens.
3. Fill in the fields described below.


| Field | Description |
|---|---|
| Profile Code | Document exchange profile the setup refers to (read-only). |
| Username | User name for the Promofarma e-DDT portal. |
| Password | Password for the portal (stored securely and shown masked). |
| Last Customer Check | Date of the last download of enabled pharmacies from the portal. Must be filled in: the next check starts from this date and automatically updates it to today. |
| Send Shipment From Date | Starting posting date of the shipments to send. Mandatory. |
| Shipment Date Delay | Date formula applied to today to determine the latest posting date of shipments to send (e.g. `-1D` to skip today's shipments). |
| Web Service Delay (sec.) | Pause, in seconds, between one upload and the next, to avoid overloading the portal. |


| Field | Description |
|---|---|
| Document No. | Number of a posted sales shipment to use with the **Download e-DDT - Test** action. |


| Action | Description |
|---|---|
| Reset Sales Shipment Status | Opens a filter on posted sales shipments; for the filtered shipments with **Sent to Promofarma** = *Error*, the status is cleared so they are sent again at the next run. |
| Clear Enabled Customers | After confirmation, clears the list of enabled pharmacies stored in Business Central. |
| Download Enabled Customers | Downloads the updated list of enabled pharmacies from the portal and saves it to a `customers.json` file. |
| Download e-DDT - Test | Generates the electronic delivery note (XML) for the shipment entered in **Document No.** and downloads it as `shipment.xml`, without sending it. |


The **Customer Card** includes these fields:

| Field | Description |
|---|---|
| Promofarma e-DDT Enabled | Indicates that the customer's shipments must be sent to Promofarma. |
| Promofarma e-DDT Since | Service activation date for the customer. Shipments from years before this date's year are not sent. |

The customer must also have the **Health Tracking Code** filled in, which is used to match the customer in the portal's list of enabled pharmacies.


Posted sales shipments have the **Sent to Promofarma** field, with these values:

| Value | Meaning |
|---|---|
| (blank) | Shipment not yet processed. |
| Yes | Shipment sent successfully. |
| No | Shipment processed but not sent because the customer was not enabled or there were no lines to send. |
| Error | Upload failed; the error details are recorded in the document exchange profile log. |


Shipments are sent when the document exchange profile is processed (manually or through the job queue). During processing:

1. The list of enabled pharmacies is updated from the portal, starting from **Last Customer Check**.
2. Shipments with blank **Sent to Promofarma** and a posting date between **Send Shipment From Date** and the date calculated with **Shipment Date Delay** are examined.
3. A shipment is sent only if the bill-to customer:
   - has **Promofarma e-DDT Enabled** turned on and **Promofarma e-DDT Since** filled in, with a year not later than the shipment's year;
   - is enabled on the Promofarma portal for the shipment's year (via the **Health Tracking Code**);
   - and the shipment contains lines with a quantity.
4. When a customer is enabled, all of their shipments of the same year not yet sent (status blank or *No*) within the configured date range are sent.
5. Each shipment is marked *Yes* if sent, *Error* if the upload fails (with a log entry), or *No* if it must not be sent.

The electronic delivery note includes sender, recipient, item lines and, where available, lot numbers and expiration dates.

# Assinde

The module supports returns of pharmaceutical products through the Assinde service:

- on items it shows the Assinde information received from the pharmaceutical database;
- on purchase returns it lets you enter the Assinde parcel number;
- on posted return shipments it lets you export a CSV file with the return contents, sent to Assinde through document exchange.


On the **Item Card**, **Pharmaceutical** FastTab, the following read-only fields are available:

| Field | Description |
|---|---|
| Assinde | Assinde indication for the item, received from the pharmaceutical database. |
| Assinde Starting Date | Date from which the Assinde indication applies. |

The same fields are also shown in the **Purchase Return Factbox**, for the item on the selected return line.


When items are updated from the pharmaceutical database, the **Assinde** and **Assinde Starting Date** fields are updated automatically with the received values. The date is updated only when the database provides one.


On the **Purchase Return Order** page, **Shipping and Payment** FastTab:

| Field | Description |
|---|---|
| Assinde Parcel No. | Parcel number assigned by Assinde to the return. It is carried over to the posted return shipment. |


On the **Posted Return Shipment** page, **Shipping** FastTab, the **Assinde Parcel No.** field is shown. If it was not entered before posting, it can be entered or corrected with the **Update Document** action, which opens a window where the field can be edited.


The **Assinde** document exchange format generates the return file to send to Assinde.


1. Set up a document exchange profile with the **Assinde** format and the desired transport.
2. Open the **Posted Return Shipment** to send and make sure **Assinde Parcel No.** is filled in (it is mandatory).
3. Start document exchange from the shipment and choose **Export CSV for Assinde**.
4. The file is generated and sent through the profile's transport; the file name is the return shipment number (letters and digits only) with the `.CSV` extension.


The semicolon-separated CSV file contains a header row and one row per returned lot, with these columns:

| Column | Content |
|---|---|
| NumeroCollo | Assinde parcel number of the return shipment. |
| AIC | AIC code of the item. |
| Nome | Description of the return line. |
| Lotto | Lot number. |
| Scadenza | Lot expiration date, in MM/YYYY format. |
| Quantita | Returned quantity (in base unit of measure). |

Notes:

- only item lines with a positive quantity are included, excluding correction lines, and only items that have an AIC code;
- if an item has no registered lots, a single row is exported with empty lot and expiration and with the item's total returned quantity.

# NMVS

The module adds the data required to verify medicine packs through the National Medicines Verification System (NMVS), as required by the EU Falsified Medicines Directive. For each tracked pack you can record the product code and see the status returned by NMVS (active, supplied, destroyed or in error).

Communication with NMVS goes through the Dafne service (DAFNEFMD protocol).


The **Warehouse Card** contains the field:

| Field | Description |
|---|---|
| **NMVS ID** | Identifier of the warehouse in NMVS. It is sent with every verification request for locations linked to the warehouse and is required to communicate with the service. |


Item tracking lines (and the related registered lines) contain the following fields:

| Field | Description |
|---|---|
| **Product Code Scheme** | Product code scheme of the pack (for example GTIN). |
| **Product Code** | Product code of the pack, read from the unique identifier. |
| **NMVS Status** | Pack status returned by NMVS. |
| **NMVS Message** | Message returned by NMVS in case of error. |


| Value | Meaning |
|---|---|
| *(blank)* | The pack has not been sent to NMVS yet. |
| **Pending** | The request has been sent and the result is awaited. |
| **Active** | The pack is active in NMVS. |
| **Supplied** | The pack has been supplied (dispensed). |
| **Destroyed** | The pack has been destroyed. |
| **Error** | NMVS reported an error; details are shown in **NMVS Message**. |


- **Sending packs:** only lines with a blank **NMVS Status** and with **Product Code Scheme**, **Product Code**, serial number, lot number, expiration date and location filled in can be sent; all lines sent together must belong to the same location. After sending, the status becomes **Pending**.
- **Retrieving results:** once NMVS has processed the request, each pack is matched by product code, lot, serial number and expiration date and its **NMVS Status** is updated. On error the status becomes **Error** and **NMVS Message** is filled in.
- The warehouse linked to the lines' location must have the **NMVS ID** field filled in.

# iWMS

# iWMS solution

The module connects Business Central to iWMS, the external system that runs warehouse operations (operator terminals and automatic storages). Warehouse activities (picks and put-aways) are released to iWMS, which executes them and returns to Business Central the handled quantities, actual bins, lots and the operator who performed each line. iWMS can also read inventory and item data, post reclassifications and physical inventory counts, and request replenishments.


The connection is configured from the **Document Exchange Profiles** page, by creating a profile with one of these values in the **Exchange Format** field:

- **iWMS Manager**: the iWMS manager that coordinates the warehouse (terminals, operators);
- **iWMS Automatic**: an automatic storage connected through iWMS.

Opening the profile setup opens the **iWMS Manager Setup** or **iWMS Automatic Setup** page, depending on the format.


| Field | Description |
|---|---|
| Location Code Filter | Locations managed by the iWMS manager (several locations can be entered as a filter). |


| Field | Description |
|---|---|
| Location Code | Location where the automatic storage is. |
| Host Address | Network address of the automatic storage. |
| Protocol | Communication protocol of the automatic storage. The assist button (…) suggests the protocol parameters. |
| Item Identifier | Code used to identify the item towards the automatic storage (for example the item no.). |
| Maximum Picking Quantity | Maximum quantity that can be picked from the automatic storage. |
| Picks per Minute | Number of picks per minute the automatic storage can perform. |
| Adj. Template Name | Item reclassification journal template used to align inventory. |
| Adj. Batch Name | Batch of the template above. |
| Adj. Bin Code | Buffer bin used as balancing bin when aligning inventory. |

The **Parameters** section lists the technical protocol parameters:

| Field | Description |
|---|---|
| Parameter Type | Parameter group. |
| Parameter Code | Parameter code. |
| Parameter Value | Assigned value. |


1. Choose the **Protocol**.
2. Press the field's assist button (…) and confirm *Suggest protocol parameters?*.
3. Parameters without a value are deleted and the ones required by the selected protocol are added (existing parameters with a value are kept).


The **Warehouse Pick** and **Warehouse Put-away** pages (General FastTab) show the **iWMS Status** field; the **Warehouse Put-aways** list shows it as a column.

| Status | Meaning |
|---|---|
| (blank) | The activity has not been sent to iWMS yet. |
| Ready | The activity is released to iWMS and available for execution. |
| Delete requested | Deletion of the activity has been requested to iWMS. |

The field cannot be edited directly: it is changed with the assist button (…).


1. Open the pick or put-away.
2. In the **iWMS Status** field press the assist button (…).
3. Confirm *Release … to iWMS?*: the status becomes **Ready**.


1. On an activity with status **Ready**, press the assist button (…) of the **iWMS Status** field.
2. Confirm the deletion request (with the warning to check the activities of automatic storages): the status becomes **Delete requested**.
3. iWMS deletes the activity or, if it cannot, sets it back to **Ready**.

The put-away verification page also offers the **Change iWMS Status** action, with the same behavior.


- **Automatic release**: picks and put-aways created through the enhanced warehouse activity functions are released to iWMS automatically (status **Ready**).
- **Deletion protection**: a warehouse activity (or one of its lines) can be deleted only when **iWMS Status** is blank.
- **Execution from iWMS**: when iWMS reports the executed lines, Business Central updates quantity to handle, place bin, lot and expiration date and registers the activity. Pick lines canceled in iWMS are closed towards the location's shipment bin. If iWMS measures the item dimensions, they are updated on the base unit of measure.
- **Operator**: each line stores the **iWMS User ID** of the operator who handled it; the field is also shown on registered pick lines.
- **Warehouse movements**: iWMS can post reclassifications between bins or locations (creating the destination bin if needed and moving the fixed/default bin settings), add count lines to physical inventory recordings, delete empty bin contents and read or update item dimensions and minimum/maximum quantities.
- **Inventory alignment**: for an automatic storage, iWMS can send the actual stock of a bin; Business Central prepares, in the adjustment batch, reclassification lines that move the differences from/to the **Adj. Bin Code**. The lines must then be reviewed and posted by the user.
- **Replenishment and inventory**: iWMS can request the item stock per bin and replenishment proposals for pick bins.

# Automatic warehouse KNAPP®

The module enables integration with KNAPP® automatic warehouses. In the automatic warehouse setup, the KNAPP communication protocols become available, together with an automatic suggestion of the parameters they need.


Open the **iWMS Automatic Setup** page and select the profile of the automatic warehouse to configure.


The **Protocol** field offers the following values:

| Protocol | Description |
|---|---|
| Knapp KS2 | Communication with KNAPP automatic warehouses using the KS2 protocol. |
| Knapp X05 | Communication with KNAPP automatic warehouses using the X05 protocol. |


1. On the **iWMS Automatic Setup** page, set the **Protocol** field to **Knapp KS2** or **Knapp X05**.
2. Choose the assist button (**…**) next to the **Protocol** field.
3. Answer **Yes** to the question *Suggest protocol parameters?*.
4. The **Parameters** section is filled with the typical parameters of the protocol; complete any missing values.

Parameters of the profile that have no value are deleted before the suggestion; existing parameters with a value are kept.


| Parameter Type | Parameter Code | Suggested Parameter Value |
|---|---|---|
| STATION | START | (to be filled in) |
| STATION | CONTROL | (to be filled in) |
| STATION | END | (to be filled in) |
| IDENTIFIER | Item identifier codes (see below) | 9801 |
| IDENTIFIER | Lot/package identifier code (43P for KS2, 43V for X05) | 9802 |

IDENTIFIER codes suggested with value 9801:

- **Knapp KS2:** 12P, 140, 141, 14V, 14B, 149, 150, 151, 15V, 15B, 159.
- **Knapp X05:** 12V, 12U, 140, 141, 14R, 14X, 14V, 14B, 149, 150, 151, 15R, 157, 159, 160, 161, 16R, 167, 169.


| Field | Description |
|---|---|
| Parameter Type | Group the parameter belongs to (for example STATION or IDENTIFIER). |
| Parameter Code | Code of the parameter within the group. |
| Parameter Value | Value used when communicating with the automatic warehouse. |

# Automatic warehouse Rowa®

The module enables communication with Rowa® automatic warehouses using the **WWKS2** protocol. It adds the protocol to the list of available protocols in the iWMS setup and lets you automatically generate the standard communication parameters.


Open the **iWMS Automatic Setup** page of the document exchange profile used for the automatic warehouse.


| Field | Description |
|---|---|
| Protocol | Select **WWKS2** to communicate with a Rowa® automatic warehouse. |
| Host Address | Network address of the automatic warehouse. |


With the WWKS2 protocol, the parameter suggestion creates the following lines in the **Parameters** section:

| Parameter Type | Parameter Code | Parameter Value |
|---|---|---|
| HOST | PORT | 6050 |
| OUTPUT | SOURCE | 234 |
| OUTPUT | DESTINATION | 201 |
| OUTPUT | OUTPUTDESTINATION | 2 |

The values can then be changed to match the system configuration.


1. Open **iWMS Automatic Setup**.
2. In the **Protocol** field, select **WWKS2**.
3. Fill in **Host Address**.
4. Click the assist button (**...**) of the **Protocol** field and confirm the question **Suggest protocol parameters?**.
5. Check and, if needed, change the values in the **Parameters** section.


- Before generating the suggestions, the profile parameters without a value are deleted.
- Existing parameters are not overwritten: only missing ones are added.