Order Return Credit Error

Created by Kevin Schmidt - HCPro, Modified on Thu, 9 Oct at 3:15 AM by Kevin Schmidt - HCPro

There are times where Finance is trying to process a return (cancel a quantity on an order line) and they receive an error message:


"Line xx is a cancellation line. Quantity must be less than 0"



This is due to the product having a Kit Assembly



In order to get around this you must flip it back to a Standard Product, process the cancellation, and then put it back to a Kit Product.

This must be done quickly and outside of peak sales hours. We run the risk of an order processing while it's not in the kit status. 


Here is the query:


--Validate that item is KitTypeID = 2

select ProductKitTypeID, *

from aptify.dbo.Product

where ID = 66638


-- Run update query to change from 2 to 1

update aptify.dbo.Product

set ProductKitTypeID = 1  --set = 1 (Standard), process the cancellation, then set back to 2 (Kit Product) - this must be done quickly to not affect incoming orders

where ID = 66638


Run your cancellation wizard in Aptify.

Ship the cancellation order.

Then run the above query again to set back to 2


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article