Question

Base sale unit price must be greater than zero!

  • 6 March 2024
  • 0 replies
  • 19 views

Badge

When Creating an RMA we return an error message – Base sale unit price must be greater than zero!

We have identified the issue, and it applies to package parts. It appears the total discount on the package header is being applied to the individual component lines within the package part which is resulting in a negative discount amount.

When identifying the Package Part Structure for the order we can see the Price/Curr for each component has a positive value as seen below –

However, when adding each component line manually to the RMA we can see there are differences between the pricing which has resulted in some components having a negative price and others having a significantly reduced price. This could have resulted in customers being credited the wrong amount if it wasn’t for the error with negative pricing.

The workaround was to add the component lines manually, connect the lines to the order then adjust the price to reflect the component price on the package part structure.

Attached is the test script.

I am presuming this is a bug, but wondering if it has been patched in any of the recent updates.


0 replies

Be the first to reply!

Reply