cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Why when I use retail mode the pluginAt method does not execute and other functions ?

Former Member
0 Likes
442

When I use the retail mode it does not execute me when invoicing in the pluginAT of the method = "postReceipt" method and the ListenToExit send in the post additional values in the invoice. If anyone has any solution ?

Thank you.

PluginAt:

@PluginAt(pluginClass=ReceiptPosService.class, method="postReceipt", where=POSITION.BEFORE)
public void postReceiptBefore(Object proxy, Object[] args, StackTraceElement callStack) throws BreakExecutionException

Accepted Solutions (0)

Answers (1)

Answers (1)

Klaus_Frick
Active Participant

Hello isaacceo

For retail mode you have to use class IReceiptManager instead of ReceiptPosService. Your requested method does not exist there but you could try method finishReceipt. You are using FP09?

@PluginAt(pluginClass = IReceiptManager.class, method="finishReceipt", where=POSITION.BEFORE)
public void finishReceiptBefore(Object proxy, Object[] args, StackTraceElement callStack) throws BreakExecutionException
Former Member
0 Likes

yeah FP09 PL07