Module: Ginesys POS > POS Bill > Return Against Bill (Return/Exchange)
Problem Statement: The user wants to allow customers to exchange items that they have purchased, but they do not want to allow customers to return items.
Observation:
Currently, the flow for exchange in a POS Bill is mapped via flow for “Returns against a bill”
Users with right to accept “Returns against a bill” gets rights to
Accept returns as well as
Provide exchange against a POS Bill
The two rights explained above are mutually inclusive and inseparable
As a result, if the intention is to grant a cashier the authority to handle exchanges exclusively, without the capability to process returns, this cannot be achieved under the existing system.
Proposed Solution:
In POS Bill, while Payment(F8) is pressed for MOP selection,
Sum up all the negative quantities of items in the POS Bill
Sum up all the positive quantities of items for which reference bill no. is not null
If the reference bill number is not empty, then the item is being exchanged against a previous bill.
Check if result for Step 1 and 2 is equal If Yes: Allow the transaction If No: Disallow and fire a message "Returns are restricted for items"[OK]
Incorporating the above validations, we can achieve the requirement. Also there won’t be any issues if new items are being sold to the consumer apart from exchanged items in the same POS Bill.
-Raj Choudhary