This is an old revision of the document!


Invoice Package Rounding Difference

In case there was a package with a difference which could not be put on any line due to rounding logics, a warning occured that the package is not balanced. And system could not do anything with it.

The right way to avoid such situations is to put the difference to a new line with a product which has unchecked Package AutoPrice (Read More).

This product can be selected in Company Settings for such operations.

There used to be logics which allowed to have small (0.06) difference and such package was balanced. But currently it is disabled and all difference gets in a new line in case AddingProductWithDiffInPacakges is enabled. If it is disabled, then the functional is switched off and works as before.

HOW TO CONTROL

1. By a checkbox in Company Settings → Settings → Invoicing: AddingProductWithDiffInPackages.
Enabled: In case there is any difference in a package (even very small) it is put into a new invoice line.
Disabled: Adding new line with the difference is disabled and the application allows to have difference not more than 0.06.

2. By a combobox in Company Settings → Settings → Invoicing: ProductForPuttingDifferenceInPackages.
All products are returned in the combobox list.
The selected product is going to be added for putting difference in packages after a corresponding warning.

NOTE
It works only in case 'AddingProductWithDiffInPacakges' is enabled.

3. If AddingProductWithDiffInPacakges is enabled and there is selected product then:
In Invoice/Offer in recalculation process:
- if there is no difference - then package is balanced;
- in case there is any difference (even very small) - waring promts user about adding a new line with the product:
In the package … there is difference in Exp./Sell price= X.XX which can not be spread into package lines.
Would you like to add new line with the product … to the package and put the difference on it to make the package balanced?

YES/NO*
*
Exp./Sell price
Only 'Exp.' is returned in case we have difference in Exp.
If we have difference in Sell price - then it should show only 'Sell'.

YES: New line with the selected product for ProductForPuttingDifferenceInPackages is added at the end of the package. It has Sell/Exp price = difference that we have.
NO: Nothing happens. User makes corrections.