Im changing my refund flow and have setup an ask question so that when i add an order to the ticket and press my refund button it changes ticket type, state and order state to refund, this works great. i then have an ask question asking if the item should be returned to stock or not. I have two actions, one for yes and one for no, if i select NO to not return the item to stock my inventory level does not change as the action has decrease inventory set to false
However if i press YES to return item to stock i want the inventory level to increase so i have set increase inventory to true in my second update order action but this doesnt work it still decreases the inventory instead of increasing it
Why does my simple decrease inventory - False action as below work fine but the simple increase inventory - True does not? Surely setting increase as true should just increase the inventory?
Actions for decrease and increase
my pos flow is that orders are added to the ticket as if processing a sale but when the first order is added the refund button is pressed which converts the ticket to refund. Then order that is added after the first automatically becomes a refund item, so the ticket looks like a sale with a positive monetary value. this allows me to use fast cash refund buttons (as they dont work when the balance is minus) and i have accounting setup to show my refund amounts based on the refund type cash, card etc which all work fine
if the orders are to “throw away” the action is set to decrease inventory false and that works
if the orders are “back to stock” the action is set to increase inventory true and that doesnt work it still decreases
any ideas? and why does a simple false in decrease inventory work but a simple true for increase inventory doesnt?
Set both Increase Inventory and Decrease inventory parameters to appropriate values on both actions. Leaving blank just skipping it and you’re taking order to a state where both increase and decrease inventory values are true.
Well seems like it is not working. I don’t know how I’ve missed that.
I think that’s because I’ve implemented original refund tuts by negating order quantity to make ticket balance calculate properly. Setting increase inventory as true should reflect to inventory fine but as order’s price is still positive it won’t decrease ticket total. So instead of setting increase inventory we should negate quantity for refund implementation. In this case having increase inventory setting has no use. Maybe we should remove that feature.
When negating the quantity it also negates the price and negative balances don’t work with fast cash buttons unless there is a way round that?
I don’t use the settle screen and have everything on the main pos screen so in my refund setup although the ticket is a positive balance I use accounting to deduct from cash/card accounts and add to cash/card refund accounts to get my balances correct
If it can be made to work that increase level work that would be great, or if we can get fast cash buttons working around negative amounts???
I’ve coded support for negative amount tickets to refund items by negating quantity but paying a negative amount ticket is something specifically handled on settle screen. Your fast payment buttons will probably send positive amounts so it won’t work.
If you don’t want to use settle screen You can implement a specific ticket type for refunds, account transaction, refund payment types and payment account transaction types that works just the inverse of regular tickets. For example refund ticket type, refund cash payment type and refund cash account transaction. So it will work without negating ticket amounts and you can create specific fast payment buttons for refund ticket type. I’ll enable increase inventory setting for that case.
Thays exactly what ive done already (so i was on the right track) but couldnt get the increase inventory to work, thanks Emre ill look forward to the update, will it be in the next release?