# 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.