on 11-28-2011 4:01 PM
Hi All,
When creating a shopping cart, I am trying to stop the processing of the Save or Order logic from happening by raising error messages in the BBP_DOC_CHECK_BADI~BBP_DOC_CHECK method.
I am able to successfully raise the error message, however the shopping cart is then saved or submitted. How do we properly stop the save or submit if there is an error message? I assumed this would happen automatically.
Hello,
You can save a shopping cart even if it has an error message.
This cannot be avoided, only if you hide the "save" button.
Regarding the order, it shouldn't be allowed even with custom messages. This should be investigated.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ricardo,
Actually that's correct, I can not "order" when there is an error raised. However, when I press order and my custom error message is displayed, I try to go back by pressing "privious" and the buttons don't do anything. All buttons seem to not do anything after I raise an error. I have to click the X on the window and reopen the shopping cart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.