Developer forum

Forum » Dynamicweb 10 » Handling discounts with negative quantity

Handling discounts with negative quantity

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
We have found out that due to some legislation changes, some ERP's (including NAV) no longer accept negative UnitPrices.
It could be just the way the ROmanian localization was implemented, but the bottom line is that we need to change how we handle discounts with live Integration.

Is there any way I can change the discount behavior to use negative quantity instead of negative unit price?

The alternative is to change the LiveIntegration behavior and change the data sent to NAV.

Thank you,

Adrian


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Can you link that legislation? Is it EU?

Some links to NAV documentation where this is described?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

You cannot change DW to use negative quantities.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,
I don't think it's the legislation. I believe it was a customization of the Romanian localization to handle the automatic sending of invoices to the official invoice registry.
It's something that was introduced a couple of years ago, and it may not necessarily be a legal request, but rather a developer's decision to implement it this way.
I wanted to check first if this is an option, but I honestly don't see the negative quantity approach as the correct one.
I guess we'll have to customize the live integration.

Thank you for the confirmation.

Adrian

 

You must be logged in to post in the forum