on ‎2020 Oct 05 5:02 PM
Hello all,
I was using the method "receiptManager.updateReceipt (receipt, true)" to update the receipt on screen, but after updating to FP10 there is no such method, however there are these two:
"updateReceiptTypeCode" and "updateReceiptFromServer".
What would be the correct way to update the receipt?
Request clarification before answering.
Hi josehrmatos
I also saw that this is not there anymore. I just use CalculationPosService.recalculateReceipt(receipt). For FP09 this seemed to be not enough but in FP10 until now it worked fine.
Let me know if this also works for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi kfrick , Do you know how I can get the receipt object on screen in fp10?
before I was using this form, but now it gets null:
CDBSession cdbSession = CDBSessionFactory.instance.createSession();
ReceiptPosService receiptManager = ServiceFactory.INSTANCE.getOrCreateServiceInstance(ReceiptPosService.class, cdbSession);
ReceiptEntity receipt = receiptManager.findOrCreate(UserRegistry.INSTANCE.getCurrentUser(), null, true);
Hello josehrmatos
A bit late. I found time and tested this in FP10 PL00 and it worked fine - I get the current receipt.
Best Regards
Klaus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.