Configuration & Administration
- Permission sets
- DEXPRO Core
- SQUEEZE Setup
- Document Classes Setup
- Vendor Related Setup
- Account Assignment Setup
- Field Mapping
- Custom Field Mapping
- User specific setup
- Squeeze Master Data Tables
- SQUEEZE
- Role Center Activities
Permission sets
In order to use the modules, the appropriate authorization set must be assigned to the respective users.
The following are supplied with:
-
DXP Core Admin - DEXPRO Core Administrator
-
DXP Core User - DEXPRO Core User
- DEXPRO SQUEEZE Admin - DEXPRO SQUEEZE Administrator
- DEXPRO SQUEEZE User - DEXPRO SQUEEZE User
- DEXPRO SQUEEZE Objects - Exec - a building block permission set that grants blanket execute (X) permission on all SQUEEZE objects. This set is Internal and not assignable; it is not meant to be assigned to users directly but is included by the other SQUEEZE permission sets.
DEXPRO Core
The DEXPRO Core manages the individual DEXPRO apps and their documents per client.
All documents that have been entered and processed via the various DEXPRO modules in Microsoft Dynamics 365 Business Central are displayed. A global number series, which is used across all DEXPRO apps, is used to track individual documents. This offers the advantage that users only have to work with one number series per document.
Further information can be found here.
SQUEEZE Setup
In the SQUEEZE setup, both the connection to the SQUEEZE system and the processing within the app are set up.
Menu
Home
Setup Wizard
This is used to start the setup wizard. This guides the user step by step through all menu items.
Get API key
This function is used to set the API key for the configured API name from the connected SQUEEZE system.
Create jobs
The automated retrieval and processing of documents from SQUEEZE requires the setup of background jobs. This can be done via this function, which creates the Document Download Job and the Cleanup Job.
Copy setup
This copies the setup to other clients.
Master data
Initially Upload master data
Via the function "Upload master data for the first time" all accounts payable and accounts payable bank accounts are transferred to SQUEEZE for the first time.
Navigation
SQUEEZE links
Using the SQUEEZE links menu item, you can see which vendor/vendor bank account has which ID on the squeeze page.
User specific setup
This menu item is used to access the user-specific setup. In this, different rules can be stored for each user.
Import queue entries
This menu displays a list of SQUEEZE vouchers that are ready to be imported into the SQUEEZE for BC app. By changing the system filter it is also possible to view already imported vouchers.
Vendor related setup
Document classes setup
Squeeze Master Data Tables
Opens up an overview over all squeeze master data tables which were synchonisized.
Fasttabs
General
In this Fasttab you can activate/deactivate the use of this app. Additionally you can see the version of the connected SQUEEZE system.
API
In this Fasttab the URL of the SQUEEZE system is specified. Furthermore, an API name is set and the corresponding API key is entered via the "Get API key" function.
- API Key Name: The name of the API key on the connected SQUEEZE system. The matching API key value is then retrieved for this name via the "Get API key" function.
When you change the URL, Business Central logs in to the SQUEEZE system at the new URL; the Login window opens for this. If the new URL belongs to another SQUEEZE tenant, Business Central then asks whether to delete the unprocessed import queue entries that were downloaded from the previous tenant: All unprocessed import queue entries downloaded from tenant … will be deleted. Press no to abort.
- Yes deletes these entries. The new SQUEEZE system does not know their documents; they would fail on every run and hold up other documents.
- No cancels the URL change with the message Process aborted. The setup stays with the previous SQUEEZE system.
If the new URL leads to the same SQUEEZE tenant, for example the same system under another address, the entries are kept and no question is asked.
No. Series
The number series for the SQUEEZE covers is indicated here.
Background jobs
The automated retrieval, processing and cleanup of documents from SQUEEZE is handled by two separate recurring job queue entries. Each is referenced by its own GUID in the SQUEEZE setup and points to a dedicated codeunit. Both job queue entries are created automatically when the setup wizard is completed (or via the "Create jobs" function).
- Document Download Job: Runs codeunit DXP SQUEEZE Download Tasks to retrieve and process documents from SQUEEZE. It is scheduled as a recurring job with a default frequency of every 2 minutes and is created with status On Hold so that you can review the setup before activating document processing. Set its status to Ready to start the automated download. The referencing GUID is stored in the Document Download field of the setup.
- Cleanup Job: Runs codeunit DXP SQUEEZE Cleanup Tasks to remove documents that have been marked for deletion. It is created with status Ready and honours the Cleanup Interval (Date Formula) configured in the Job Settings (see below), e.g.
-1M. The referencing GUID is stored in the Cleanup Job field of the setup. - Master Data Synchronisation: Runs codeunit DXP SQZ Synch. Master Data every 5 minutes to upload released and invoiced purchase orders to SQUEEZE (see Squeeze Master Data Tables). It is only created when orders are synchronized, appears as DEXPRO SQUEEZE - Master Data Synchronisation in the job queue entries and is not referenced in the setup.
Note: Earlier versions used a single codeunit 70954640 "DXP SQUEEZE Scheduled Tasks" for this purpose. That codeunit is now obsolete (ObsoleteState = Pending) and is no longer used. The current model uses the two separate job queue entries described above.
Job queue entries
Two entries are created in the job queue entries: one running codeunit "DXP SQUEEZE Download Tasks" (Document Download Job) and one running codeunit "DXP SQUEEZE Cleanup Tasks" (Cleanup Job). If orders are synchronized with SQUEEZE, a third entry runs codeunit "DXP SQZ Synch. Master Data" (Master Data Synchronisation).
Security
This FastTab contains security-related settings:
- Use Document Token: When enabled, a per-document access token is used instead of the API key in viewer URLs. The token is valid for 30 minutes and is automatically refreshed. This increases security because the API key is not transmitted in browser URLs.
Viewer
This FastTab contains settings for the SQUEEZE Viewer:
- Use new Viewer: When enabled, the new SQUEEZE Viewer is used to display the scanned documents.
- Viewer in Target Document: When enabled, the SQUEEZE Viewer is displayed as a FactBox in the resulting target documents, e.g. in Purchase Invoices and Purchase Orders. This allows users to view the originally scanned document at any time after validation without having to navigate back to the SQUEEZE document.
Job Settings
In addition to the background jobs themselves, the following value can be configured in the job settings:
- Cleanup Interval (Date Formula): Defines how old the documents marked for deletion must be before they are cleaned up. Example:
-1Mmeans documents must be at least one month old.
Document Classes Setup
In the SQUEEZE document class setup, the mapping between the respective document class and your export interface is done. Furthermore, the field mapping of each document class is downloaded here, creating a set of standard fields and their usage in Microsoft Dynamics 365 Business Central.
The document class setup is cross-app and is managed via the DEXPRO Core.
Home
Download field mapping
This downloads the field structure of the SQUEEZE document class. These are needed for the metadata mapping.
Navigation
Field Mapping
You can access the field mapping via this menu item. This defines which fields from the squeeze endpoint are transferred to the defined fields in Microsoft Dynamics 365 Business Central. The standard field mapping cannot be edited. Different mappings can be realized via the custom field mapping.
Vendor Related Setup
List
Document classes
This overview lists all the document classes that have been set up.
Card
Document class
Here, each document class is set up individually.
General
In this fastab the name of the document class, the next process step, as well as the automatic enrichment of the positions is set up.
Squeeze
Autocomplete:
The system can remember per vendor how you assigned the lines of a document (type, no., unit of measure, description and dimensions) and fill in the same lines on the next documents. There are three options that can be selected for this.
- Never: The feature is switched off. The "Autocomplete" action is hidden on the validation page and nothing is filled in on import.
- Manual: The lines are remembered on validation. They are only applied when you run the "Autocomplete" action on the validation page.
- Automatic: The lines are remembered on validation and applied automatically when a document without an order no. is imported. The "Autocomplete" action is available as well.
You can deviate for individual vendors in the Vendor Related Setup. Prerequisites, how it works and examples: see Autocomplete.
Automatic validation:
Enable this option to have Squeeze for BC automatically validate incoming receipts. Please note that this function works only in case of perfectly plausible data.
Deactivate validation dialog:
When a validation is completed, Squeeze for BC asks: Validation succeeded. Do you want to open the document now? Enable this switch if this question is not to be asked for documents of this document class. The setting is the default for all users. For a user with a User specific setup, its setting Deactivate Validation Dialog applies instead.
In a newly created user specific setup, Deactivate Validation Dialog is already enabled. Users with a user specific setup therefore only see the question if they disable the switch there.
Download attachments:
Enable this switch to automatically download SQUEEZE attachments when creating a new document.
Transfer attachments to target document:
Here you can set whether the SQUEEZE attachments are to be transferred to the target document.
Account assignment code:
Specifies the account assignment setup to be used when performing the account assignment in the validation process.
API Settings
At this point, the ID of the connected squeeze client corresponding to the document class is stored, as well as the ID of the pull export interface and the correct line table ID. The default values do not necessarily match the setup in the squeeze client and should be cross-checked.
Order Match
The purchase order reconciliation is used for the automated check of the read out positions with those of the still open purchase orders in Microsoft Dynamics 365 Business Central. In this Fasttab, the permissible amount & quantity tolerances for the matching are set up. Additionally, it can be defined whether the matching should take place on purchase orders or deliveries. If "Replace data" is active, the unit price and line amount of the order line replace those of the line (for a receipt also the unit price and product posting groups of the receipt line); otherwise the unit price is only taken over if it is 0. Invoices and credit memos always take over the description, quantity and line discount % of the order line.
With the Use Description 2 in Order Match switch, the automatic match also compares the recognized line description with the Description 2 of the order and receipt lines, and with their Description and Description 2 combined. The Description of the order or receipt line is still compared first; lines without a Description 2 are unaffected.
Plausibility Check
Here you can deactivate individual plausibility checks.
The four amount checks belong together: Disable Amounts Check turns all four off at once, and switching it off turns all four on again. Below it, each one can be switched on and off on its own:
- Disable Header Check – net amounts and tax amounts of the header against the total amount of the header.
- Disable Line Comparision – net amounts of the header against the sum of the line amounts.
- Disable Header Tax Check – tax amounts of the header against the tax rates of the header.
- Disable Gross Amount Check – sum of the Amount Including VAT of the lines against the total amount of the header.
The first two and the gross amount check measure against the payment tolerance of the General Ledger Setup (Payment Tolerance % and Max. Payment Tolerance Amount); the header tax check measures against Max. VAT Difference Allowed.
Differences
In the Differences section you set up that SQUEEZE settles a small difference between the net amounts of the header and the sum of the line amounts itself, instead of leaving the document behind over a few cents.
- Difference Account: the G/L account the difference is booked to. SQUEEZE adds an extra document line with this account and the difference. Leave the field empty to go on reporting every difference.
- Max. Difference Amount: how large the difference may be for it to be settled. It is an amount in the currency of the document, so 0.01 allows a difference of one cent. A larger difference is reported as before. At 0, nothing is settled.
The line is kept up to date on every plausibility check and removed again as soon as there is no difference left or it has grown beyond the maximum difference amount. What was settled – and what was not – is recorded in the Creation Log. For individual vendors you can deviate in the Vendor Related Setup.
Rules
Here, you can use the Rules Engine to set up rule-based configurations. For example, you can define rules for determining the next process step, which decide how a document is forwarded.
Show Order No. in Header
The Show Order No. In Header toggle controls whether the recognized order number is displayed as a field in the header area of the SQUEEZE document.
Disable Document Splitting
The Disable Document Splitting toggle disables the "Document Split" function for this document class. When enabled, document splitting is not available on the validation page.
Allow Order Allocation
The Allow Order Allocation toggle determines whether SQUEEZE line items can be manually allocated to purchase order lines.
Ignore Vendor Blocked (Payment)
The Ignore Vendor Blocked (Payment) toggle controls whether vendors with the blocked status "Payment" should not be flagged as an error during plausibility checks.
Rules
In this section, rule-based configurations can be made. The Rules Engine enables automated decisions based on conditions:
- Next Process Step: Defines the rule group that determines the next process step. For example, you can specify that documents from certain vendors or above a certain amount are routed to custom processing.
- Account Assignment Code: Defines the rule group that determines the account assignment code to be used.
- Line Account Assignment: Defines the rule group that assigns an account and dimensions to the individual document lines. See Selecting account assignments based on conditions.
- Plausibility Rule Group: Defines the rule group whose rules create plausibility check entries. Every active rule whose conditions are met adds an entry with an automatically generated message.
For more information on rule-based configuration, see the chapter "Extension Development" under "Rule-based next process step".
Vendor Related Setup
In this setup, vendor-specific settings are made per SQUEEZE document class. This is done for vendors that deviate from the set client standard.
In addition to the auto-completion of positions, deviating amount and quantity tolerances can also be set up here.
List
Card
Autocomplete:
The system can remember per vendor how you assigned the lines of a document (type, no., unit of measure, description and dimensions) and fill in the same lines on the next documents. There are three options that can be selected for this.
- Never: The feature is switched off for this vendor. The "Autocomplete" action is hidden on the validation page and nothing is filled in on import.
- Manual: The lines are remembered on validation. They are only applied when you run the "Autocomplete" action on the validation page.
- Automatic: The lines are remembered on validation and applied automatically when a document without an order no. is imported, even if the document class is set to "Manual".
If a vendor has a Vendor Related Setup, its option applies instead of the document class option – in both directions. A new Vendor Related Setup starts with the option of the document class. Prerequisites, how it works and examples: see Autocomplete.
To see the entries learned for a vendor, use the Autocomplete Entries action in the list.
Automatic validation:
Enable this option to have Squeeze for BC automatically validate incoming receipts. Please note that this function works only in case of perfectly plausible data.
Account assignment code:
Specifies the account assignment setup to be used when performing the account assignment in the validation process.
Order Match
The order reconciliation is used for the automated check of the read out positions with those of the still open orders in Microsoft Dynamics 365 Business Central. In this FastTab, the permissible amount & quantity tolerances for the matching are set up. Additionally, it can be defined whether the matching should take place against purchase orders or deliveries. If "Replace data" is active, the unit price and line amount of the order line replace those of the line (for a receipt also the unit price and product posting groups of the receipt line); otherwise the unit price is only taken over if it is 0. Invoices and credit memos always take over the description, quantity and line discount % of the order line.
Differences
In the Differences section you decide, for this vendor, whether SQUEEZE settles a small difference between the net amounts of the header and the sum of the line amounts itself.
- Difference Account: the G/L account the difference is booked to for this vendor. SQUEEZE adds an extra document line with this account and the difference. Leave the field empty to go on reporting every difference for this vendor.
- Max. Difference Amount: how large the difference may be for it to be settled – an amount in the currency of the document. At 0, nothing is settled.
If a vendor has a Vendor Related Setup, both of its fields apply instead of those of the document class – even when they are empty or 0. A new Vendor Related Setup takes over the values of the document class when it is created. For more, see Document Classes Setup.
Account Assignment Setup
Here you will find the account assignment setup. If you have standard account assignments for certain VAT. You can store them here.
An account assignment setup defines how a document without an order reference is assigned to accounts: for each VAT rate in the document header that has a line in the account assignment setup, SQUEEZE inserts a document line with the stored account and the net amount of that VAT rate – or, through a standard purchase code, several lines across which the net amount is distributed. This pays off for invoices whose individual lines you do not need for posting, such as energy, cleaning, maintenance or office supplies.
Each account assignment setup has a code, the account assignment code. It is applied automatically when the document is imported, or by hand with the Apply Account Assignment Code action on the lines of the document.
Prerequisites
- Account assignment code with lines: the Squeeze Account Assignment Setups list contains a code with at least one account assignment setup line.
- Matching VAT rate: the VAT Rate of a setup line exactly matches one of the tax rates in the document header (Tax Rate, Tax Rate 2 or Tax Rate 3), and the related net amount (Net Amount, Net Amount 2 or Net Amount 3) is not 0.
- Postable accounts: a G/L account is a posting account that is not blocked and allows direct posting; an item is not blocked. A VAT posting setup exists for the VAT business posting group of the document and the VAT product posting group of the line.
- For the assignment on import: the document belongs to the Invoice / Credit Memo document class and has no order reference, the code is assigned in the Document Class Setup, in the Vendor Related Setup or by a rule, and Apply automatically is switched on for it. For the Apply Account Assignment Code action, selecting the code in the list is enough.
- Permissions: with the DEXPRO SQUEEZE User permission set, users can read account assignment setups and therefore apply them to documents. Creating and changing account assignment codes requires DEXPRO SQUEEZE Admin. See Permission sets.
Setup
- Search for the Squeeze Account Assignment Setups list and create a Code with a Description, for example OFFICE.
- Use the Account assignment setup lines action to open the lines of the code, and create one line for each VAT rate you want to assign. You enter the VAT Rate on the Squeeze Account Assignment Setup Line card; each code has exactly one line per VAT rate. The fields of the line are described below under "Account assignment setup".
- Assign the code: in the Account Assignment Code field on the Squeeze FastTab of the Document Class Setup, in the Account Assignment Code field of a vendor's Vendor Related Setup, or by a rule (see Selecting account assignments based on conditions).
- Decide whether the code is applied automatically on import (Apply automatically, Overwrite Squeeze Lines, see below).
The fields of the Squeeze Account Assignment Setups list:
- Code and Description — the account assignment code and what it is for.
- Vendor No. — optional. If it is filled in, the code appears in the selection list of the Apply Account Assignment Code action only on documents of this vendor. The field has no effect on codes assigned through the document class, the Vendor Related Setup or a rule.
- Apply automatically and Overwrite Squeeze Lines — control the assignment on import, see below.
Assignment and automatic application
As soon as an account assignment setup with setup lines has been created and stored in a document class or an vendor related setup, it will be used automatically.
When importing a document from Squeeze, the recognized VAT rates are checked against the setup lines of the stored account assignment setup. If matching entries are found, a check is made to determine whether lines with the stored account assignments may be created. In the standard case, this is only done if Squeeze does not supply any lines.
In addition, it is possible to set up whether an account assignment setup may be used automatically for validation.
This should not be set as default in the document class setup, as this would then apply to all vendors and documents. This option makes more sense for individual vendors (vendor related setup).
For automatically use, you can additionally activate that all squeeze lines of a document are overwritten with the configured account assignment setup lines. ("Overwrite squeeze lines" checkbox).
| Apply automatically | Overwrite Squeeze Lines | SQUEEZE supplies no lines | SQUEEZE supplies lines |
|---|---|---|---|
| off | – | no assignment | no assignment |
| on | off | lines from the account assignment setup are inserted | no assignment, the SQUEEZE lines stay |
| on | on | lines from the account assignment setup are inserted | all lines are deleted, then the lines from the account assignment setup are inserted |
Without Apply automatically the import inserts no lines – not even on documents for which SQUEEZE supplied no lines. The switch works regardless of whether Automatic validation is switched on in the Document Class Setup. Documents with an order reference are never assigned on import. Neither switch has any effect on the Apply Account Assignment Code action.
Account assignment setup
Setup lines are managed separately for each account assignment code.
This is where you create the individual VAT rates for which standard account assignments are to be set.
For each VAT rate you then set the account assignment type.
Account Assignment Type "One Account"
The selection of the account type corresponds to the BC standard:
The description can be customized as desired after selecting the number.
The Type can be G/L Account, Item, Fixed Asset or Charge (Item). When you select the No., the Description of the account is filled in; the Gen. Prod. Posting Group and VAT Prod. Posting Group are taken from the account as long as they are empty. You can change all three fields. If you later change only the no., posting groups that are already filled in stay – check them then. When the document line is inserted, the posting groups of the setup line take precedence over those of the account. You set the dimensions of the line in the Dimensions section or with the Dimensions action.
Business Central determines the VAT percentage of the inserted line from the VAT business posting group of the document and the VAT product posting group of the line – not from the VAT Rate field. That field is only used to find the matching tax rate in the document header. So for the 7% line, choose an account or a VAT product posting group with 7%.
Account Assignment Type "Standard Purchase Code"
Here you can choose the standard purchase code from the recurring purchase lines.
SQUEEZE creates one document line for each line of the standard purchase code, with that line's type, no., description, quantity, unit of measure and dimensions. The posting groups come from the account. The Distribution Type defines how the net amount of the VAT rate is spread across the lines:
| Distribution Type | Quantity of the line | Amount of the line |
|---|---|---|
| Equally | 1 | net amount divided by the number of lines |
| Proportionally by Quantity | quantity from the standard purchase code | the line's share of the total quantity times the net amount; the direct unit cost is that amount divided by the quantity |
| Use Fixed Amount | quantity from the standard purchase code | Amount Excl. VAT of the line in the standard purchase code – regardless of the net amount of the document |
A quantity of 0 in the standard purchase code counts as 1. Rounding differences with Equally and Proportionally by Quantity go to the last line. Text lines without a type are copied as well but get no amount. Business Central only allows an Amount Excl. VAT on G/L account and item charge lines of a standard purchase code; all other lines get an amount of 0 with Use Fixed Amount.
How it works
Which account assignment code applies?
Exactly one account assignment code applies to a document. SQUEEZE determines it in this order:
- Rule: if a rule group is set in the Account Assignment Code field in the Rules section of the Document Class Setup and one of its rules applies to the document, the account assignment code of that rule applies. A matching rule without an account assignment code is skipped.
- Vendor Related Setup: otherwise the Account Assignment Code from the vendor's Vendor Related Setup for this document class applies, if it is filled in.
- Document Class Setup: otherwise the Account Assignment Code on the Squeeze FastTab of the Document Class Setup applies.
On import
When SQUEEZE imports an invoice or credit memo, the account assignment code is only applied if all of these conditions are met:
- No order reference: SQUEEZE found no order number in the document – not in the header, not as an alternative for the order no. and not in any line. Otherwise Order number found is set in the document header and the document is not assigned. This also applies if the automatic order match is switched off or the order number does not exist in Business Central at all.
- An account assignment code applies (see above) and Apply automatically is switched on for it.
- No lines from SQUEEZE – or Overwrite Squeeze Lines is switched on for the code. In that case all lines of the document are deleted first – but only if the account assignment setup inserts a line for at least one tax rate of the document. If none matches, the lines read from the document stay unchanged.
Then, for each setup line whose VAT Rate matches a tax rate in the header, the related net amount is assigned. If that net amount is 0, no line is created for the VAT rate. The import asks no questions.
"Apply Account Assignment Code" action
On the SQUEEZE Document Validation page, choose Functions → Apply Account Assignment Code on the lines. The action works regardless of Apply automatically and Overwrite Squeeze Lines, and also on documents with an order reference. It uses the tax rates and net amounts currently in the document header – so correct them first.
- If a rule or the Vendor Related Setup supplies an account assignment code, the action uses it without asking. Otherwise the Squeeze Account Assignment Setups list opens, showing all codes without a Vendor No. and the codes for the document's vendor; the code from the Document Class Setup is preselected. If you close the list without selecting a code, the action stops with No Account Assignment Setup selected.
- If the code has no setup lines, the action stops with No Squeeze Account Assignment Setup found.
- If the document has an order reference, the system asks: We discovered at least one order number in your document - This feature will delete all existing positions and insert new positions based on tax rates and net amounts of the document header. Do you want to continue? Choosing No cancels the action without changing anything.
- If the document has lines, the system asks: This will delete all existing positions and insert new positions based on tax rates and net amounts of the document header. Do you want to continue? Choosing Yes deletes all lines – including lines allocated to an order or a receipt. Choosing No cancels the action without changing anything.
- The action then inserts the lines from the account assignment setup.
Line account assignment rules do not run by themselves after the action. If you have set some up, choose Functions → Apply Account Assignment Rules afterwards.
Which lines are created
- Account assignment type "One Account": one line with the Type, No. and Description of the setup line, Quantity 1 and the net amount of the VAT rate as Direct Unit Cost. The line gets exactly the dimensions of the setup line; default dimensions of the account are not added. If the setup line has no dimensions, the document line initially has none either.
- Account assignment type "Standard Purchase Code": one line per line of the standard purchase code, distributed according to the Distribution Type (see above).
The new lines are appended after any existing lines, in ascending order of the VAT rates.
If Autocomplete is set to Automatic and the document has no Order No., it runs right after the lines are inserted – on import as well as with the action. If autocomplete has learned a description or dimensions for the vendor and the account, they replace the values from the account assignment setup; an entry without a description or without dimensions leaves the values from the account assignment setup in place.
Order of steps on import
- Header and lines are created from SQUEEZE.
- Autocomplete (only with option Automatic and without an order no.)
- Order numbers are collected and Order number found is set if there are any; automatic order match, if set up
- Account assignment via the account assignment setup (only without an order reference), followed by autocomplete
- Line account assignment rules – a matching rule also overwrites the account of a line from the account assignment setup
- Automatic validation, if enabled
Examples
Example 1: Invoice with 19% and 7%
An office supplier (vendor 44000) delivers office supplies and specialist books. Its invoices have no order number, and you do not need the individual lines. The vendor's Vendor Related Setup holds the account assignment code OFFICE, for which Apply automatically is switched on. OFFICE has two setup lines:
| VAT Rate | Account Assignment Type | Type | No. | Description | VAT Prod. Posting Group |
|---|---|---|---|---|---|
| 7 | One Account | G/L Account | 6820 | Periodicals, books | group for 7% |
| 19 | One Account | G/L Account | 6815 | Office supplies | group for 19% |
From an invoice, SQUEEZE reads Tax Rate 19 with Net Amount 250.00 and Tax Rate 2 7 with Net Amount 2 80.00 in the header, but no lines. On import, two lines are created:
| Type | No. | Description | Quantity | Direct Unit Cost | VAT % |
|---|---|---|---|---|---|
| G/L Account | 6820 | Periodicals, books | 1 | 80.00 | 7 |
| G/L Account | 6815 | Office supplies | 1 | 250.00 | 19 |
Together they make up the 330.00 net of the document header. If the next invoice contains only office supplies at 19%, only the 6815 line is created. Had SQUEEZE supplied lines, the document would stay unchanged – unless Overwrite Squeeze Lines is also switched on for OFFICE.
Example 2: Distributing cleaning costs across three cost centres
A cleaning company invoices the cleaning of the whole building every month at 19% VAT. The costs are to be spread across three cost centres. For this, Business Central has the standard purchase code CLEANING with three lines, all on G/L account 6330 (Cleaning):
| Line | Cost centre | Quantity | Amount Excl. VAT |
|---|---|---|---|
| 1 | ADMIN | 2 | 250.00 |
| 2 | PRODUCTION | 5 | 450.00 |
| 3 | SALES | 3 | 300.00 |
The account assignment code CLEANING has one setup line with VAT Rate 19, Account Assignment Type Standard Purchase Code and Standard Purchase Code CLEANING. For an invoice of 1,000.00 net, these lines are created depending on the Distribution Type (quantity × direct unit cost = line amount):
| Cost centre | Equally | Proportionally by Quantity | Use Fixed Amount |
|---|---|---|---|
| ADMIN | 1 × 333.33 = 333.33 | 2 × 100.00 = 200.00 | 2 × 125.00 = 250.00 |
| PRODUCTION | 1 × 333.33 = 333.33 | 5 × 100.00 = 500.00 | 5 × 90.00 = 450.00 |
| SALES | 1 × 333.34 = 333.34 | 3 × 100.00 = 300.00 | 3 × 100.00 = 300.00 |
| Total | 1,000.00 | 1,000.00 | 1,000.00 |
If the invoice amount rises to 1,100.00, Equally (366.67 / 366.67 / 366.66) and Proportionally by Quantity (220.00 / 550.00 / 330.00) distribute the new amount. Use Fixed Amount still sets 250.00 / 450.00 / 300.00 – you balance the difference of 100.00 by hand.
All three lines have the same G/L account. Autocomplete recognises lines from the account assignment setup only by type and no. If it has learned an entry with dimensions for G/L account 6330 for this vendor and is set to Automatic, all three lines get the same dimensions. So set autocomplete to Manual or Never in this vendor's Vendor Related Setup, or delete the entry.
Example 3: A code for a single vendor, documents with an order number
The Document Class Setup holds the account assignment code GENERAL, without Apply automatically. For an energy supplier (vendor 70000) there is a Vendor Related Setup with the account assignment code ENERGY: Vendor No. 70000, Apply automatically on, one line for 19% with G/L account 6325 (Gas, electricity, water) and the cost centre ADMIN.
- Monthly invoice of the energy supplier without an order number: on import, one line on 6325 with the net amount and the cost centre ADMIN is created.
- Invoice of the energy supplier on which SQUEEZE found an order number: Order number found is set in the header, and nothing is assigned on import. If you choose Apply Account Assignment Code, the action uses ENERGY without a selection list – after the question about the order number.
- Invoice of another vendor without a Vendor Related Setup: GENERAL applies; because Apply automatically is off there, nothing is assigned on import. The action opens the selection list with GENERAL preselected. ENERGY does not appear in it, because vendor no. 70000 is entered on it.
Limitations
- Assignment only works on the three tax rates in the document header, and the VAT rate must match exactly. If the same tax rate appears twice in the header, only the first net amount is assigned.
- If there is no setup line for a tax rate of the document, its net amount is missing from the lines. Unless the line comparison is disabled, the plausibility check reports the difference between header and line amounts.
- Use Fixed Amount takes the amounts from the standard purchase code even if the invoice is for a different amount. The net amount of the VAT rate must still not be 0, otherwise no line is created.
- The dimensions of a line come only from the setup line or the line of the standard purchase code – and from autocomplete, if it applies. Default dimensions of the account are not added.
- Unlike autocomplete and line account assignment rules, the account assignment setup checks the account when inserting the line: a blocked G/L account, a G/L account without direct posting or a blocked item causes an error message – on import as well as with the action.
- On import, assignment only happens in the Invoice / Credit Memo document class and only without an order reference.
- Exactly one account assignment code applies to a document; several codes cannot be combined.
Troubleshooting
No lines are created on import
- Is Order number found set in the document header? Then nothing is assigned on import. Drilling down on the field shows which order numbers were found. Apply the code with the Apply Account Assignment Code action.
- Does the document belong to the Invoice / Credit Memo document class?
- Which account assignment code applies? Check rules, Vendor Related Setup and Document Class Setup in this order. Remember that a Vendor Related Setup took over the code of the document class when it was created.
- Is Apply automatically switched on for that code?
- Did SQUEEZE supply lines? Without Overwrite Squeeze Lines the document then stays unchanged – with it as well, if no tax rate of the document matches the account assignment setup.
- Does the VAT Rate of a setup line exactly match Tax Rate, Tax Rate 2 or Tax Rate 3, and is the related net amount not 0?
Message "No Squeeze Account Assignment Setup found."
The account assignment code has no setup lines. If the code comes from a rule or from the Vendor Related Setup, the action uses it without a selection list – create lines for this code or enter a different code there.
Message "No Account Assignment Setup selected."
You closed the selection list without choosing a code. Nothing was changed on the document.
Message "No DXP SQZ Document Lines found."
This message can appear with the account assignment type Standard Purchase Code and the distribution type Equally or Proportionally by Quantity if the standard purchase code contains no line with a type and no. Complete the standard purchase code.
The line has the wrong VAT percentage
The VAT percentage comes from the VAT product posting group of the line. Enter the matching VAT Prod. Posting Group on the setup line, or choose an account whose group matches the VAT rate.
Error message about the no. or the account
With the account assignment type One Account no No. is entered, or the account has been blocked in the meantime or does not allow direct posting. Correct the setup line.
The lines do not add up to the net amount of the document
A setup line is missing for one of the tax rates, the same tax rate appears twice in the header, or the distribution type is Use Fixed Amount.
Dimensions are missing or different
The line only gets the dimensions of the setup line – enter all the dimensions you need there. A learned autocomplete entry or a line account assignment rule can change them afterwards.
Related topics
- Document Classes Setup
- Vendor Related Setup
- Selecting account assignments based on conditions
- Autocomplete
- SQUEEZE Document Validation
- Order & Goods Receipt Reconciliation
- Plausibility Checks
Field Mapping
In Metadata Mapping, the field mapping of each document class is downloaded, creating a set of standard fields and their usage in Microsoft Dynamics 365 Business Central.
Metadata assignment
Additional SQUEEZE fields which deviate from the standard add.
After assignment:
Custom Field Mapping
You may always want to write certain information in certain fields in your process that deviates from the standard field assignment. In the following example, the service date recognized by Squeeze is always written in the “Booking date” field - in addition to the standard behaviour. The service date therefore remains filled.
Open the field assignment in the document class setup:
Then open the “User-defined field assignment”:
Then make the desired assignment:
User specific setup
In this setup, user-specific settings are configured. Users can customize the app to suit their workflow and peripheral devices.
The overview displays all users and their respective settings. When opened, it automatically shows the current user.
Viewer
- Use external viewer only: When enabled, the viewer is displayed exclusively in detached (external) mode. This is particularly recommended when working with two monitors. The detached viewer updates automatically when switching between documents.
- Viewer Resolution: Allows adjusting the viewer resolution. The options High and Low are available.
Validation
- Back to List After Validation: When enabled, the app automatically navigates back to the document overview after completing the validation. This speeds up processing when validating multiple documents sequentially.
- Deactivate Validation Dialog: When enabled, the confirmation dialog after completing the validation is suppressed. For the user, this setting applies instead of the setting of the same name in the Document Classes Setup. Users without a user specific setup get the setting of the document class. The switch is enabled in a newly created setup.
Squeeze Master Data Tables
Standard Tables
Unless deactivated, this master data is automatically synchronized with the Squeeze client. It is still necessary to upload the master data initially.
For vendors, vendor bank accounts and the company, the OnInsert, OnModify and OnDelete events are monitored in the background and changes are synchronized to Squeeze immediately. No separate job is needed for this.
Orders
Orders are transferred to Squeeze by a background job:
- Releasing a purchase order and posting an invoice directly from the order only add the change to a queue. The release or posting does not wait for Squeeze.
- The recurring job queue entry DEXPRO SQUEEZE - Master Data Synchronisation uploads the queue every 5 minutes: released orders with their lines that are not yet fully invoiced. After an invoice has been posted, the fully invoiced lines of an order that is still open are removed from Squeeze.
- Receipts posted without an invoice do not trigger a transfer – not even when a receipt is posted pallet by pallet in many separate postings.
- If an entry cannot be transferred, for example because Squeeze is not reachable, it is retried with the next run. The remaining entries are transferred regardless.
The job queue entry is created automatically as soon as orders are synchronized: by the initial master data upload, by the "Create Jobs" action in the SQUEEZE Setup and when "Do not Synchronize" is switched off again for the orders master data table. When the app is updated, it is created if orders are already being synchronized.
Earlier versions created a separate one-time job queue entry for every posting of an order. With postings in quick succession – for example a receipt per pallet – a posting could fail with a message that the job queue entry does not exist. Such one-time entries are removed when the recurring entry is created.
The “Uses external ID” field is supported from Squeeze version 2.13 and allows you to manage Squeeze master data from third-party software. In this case BC.
Generic Master Data Tables
To transfer additional master data to Squeeze, maintain it in the generic master data table setup.
Attachment of the table to be transferred
The table to be transferred is entered in the “BC table no.” field or selected via the drilldown. The name can then be adjusted in the “Squeeze table name” field. The “Synchronization activated” field is used to specify whether this table is currently to be synchronized or not.
Selection of the fields to be transferred
You can access the setup via the “Field Selection” menu item.
The fields to be synchronized are selected here.
Creation of the Squeeze master data table from BC
Once a BC table has been entered and its fields selected for synchronization, a new squeeze table can now be created from BC. The “Create squeeze table” button is available for this purpose.
After creation, the “Squeeze table ID” field is set in the overview.
The new table is now available on the squeeze page.
The selected fields have now been automatically created here as columns.
Synchronization of the data
After creating the squeeze table, the user is asked whether a synchronization task should be created.
If this is active, the master data is automatically transferred at the set frequency. Alternatively, the master data can also be transferred manually once using the “Synchronize now” button.
Deleting the master data table
When deleting a list entry, you are asked whether the Squeeze master data table should also be deleted.
If this is confirmed, the squeeze table created from BC will be irretrievably removed.
Filter Rules
Via the Manage Filter Rules menu item, you can define filters that determine which records from the BC table should be synchronized to SQUEEZE. For example, you can transfer only records of a specific type or with a specific status.
Refresh Columns
If the field selection of a generic master data table has changed, the Refresh Columns action can be used to update the columns in the SQUEEZE table without having to recreate the entire table.
Synchronization Status
For each generic master data table, the time of the last synchronization (Last Synced) and any error text (Last Sync Error) are displayed. This helps with troubleshooting synchronization issues.
Note on "Uses External Id"
The Uses External Id field is supported from SQUEEZE version 2.13 onwards. When enabled, master data in SQUEEZE is managed via an external ID (from Business Central). This enables bidirectional referencing and prevents duplicate creation of master data.
SQUEEZE
The SQUEEZE page must also be prepared for fetching documents from Microsoft Dynamics Business Central.
Each document class that is to be retrieved from Microsoft Dynamics Business Central requires its own export interface of the type "Pull". In addition, the document class ID, the export interface ID and the master data table ID must be stored in Microsoft Dynamics Business Central in the setup for the SQUEEZE document classes.
If the latest SQUEEZE for BC version is not used, the following batch class properties must be set in the SQUEEZE client:
Role Center Activities
SQUEEZE for BC extends the Purchasing Agent Role Center with several activity tiles that provide an overview of the current processing status of SQUEEZE documents.
SQUEEZE Activities
These tiles display the number of SQUEEZE documents that require processing (open documents, documents created today, etc.).
On Hold Documents
These tiles display the number of documents on hold, broken down by hold reason:
- Total On Hold Documents: The total number of all documents on hold.
- Vendor Not Found: Documents where the vendor was not found in the system.
- Service Clarification Needed: Documents where service or delivery details need to be clarified.
- Awaiting Goods Receipt: Documents waiting for goods to be received.
Each tile is linked via drilldown to the filtered Squeeze Document Overview.
Order Match Activities
These tiles display the number of documents with deviations from order matching:
- Total Differences Identified: The total number of all documents with identified deviations.
- Quantity Differences: Documents with quantity deviations.
- Price Differences: Documents with price deviations.
- Receipt Date Differences: Documents with receipt date deviations.
- Discount Differences: Documents with discount deviations.
Navigation
In the Role Center, two navigation items are available under the Squeeze group:
- Current Company: Opens the SQUEEZE Document Overview for the current company.
- Cross-Company: Opens the cross-company document overview.
The SQUEEZE Setup can be accessed directly from the Setup area of the Role Center.