cancel
Showing results for 
Search instead for 
Did you mean: 

PluginAt in article deletion from receipt

ricardo_renteria2
Participant
0 Kudos

Hi all,

I need to know what is the "pluginAt" method I can use to intercept the deletion of an article in the receipt, I mean, when the user press de X button in the screen (Retail UI).

Can anyone help me? I appreciate your comments.

Accepted Solutions (0)

Answers (2)

Answers (2)

ricardo_renteria2
Participant
0 Kudos

Thanks rzieschang but neither that method or others I've tried have worked.

As a workaround, I sent via ajax the click event on that X and through pluginSevletGet I can intercept that action and does what I need. Maybe it´s not the best way but for now it fits we want.

R_Zieschang
Contributor
0 Kudos

Hi ricardo.renteria2,

try the following pluginAt annotation values.

@PluginAt(pluginClass=IReceiptManager.class, method="deleteSalesItem", where=POSITION.AFTER) 

(Or of course POSITION.BEFORE depending on what you want to achieve).

You will get the receipt and the salesItem in the object array.

hth

Robert