Saturday, September 3, 2011

Order & Login flow commands

This post was requested in the comments section last week and  I tried to cover if not all, most of the commands in these flows.

Order Flow:
.
Flow
Controller Commands
Task Commands
Add/Update Items to Cart
OrderItemAddCmdImpl
OrderItemUpdateCmdImpl

Display Cart:
OrderItemDisplayCmdImpl
CheckInventoryCmdImpl
OrderItemDeleteCmdImpl
DoInventoryActionCmdImpl
Checkout/
Review
OrderPrepareCmdImpl

Submit/Place Order
OrderProcessCmdImpl


Order Calculate Command: OrderCalculateCmdImpl, This command is very heavy and is used for calculations on promotions/taxes/shipping discounts. It could be called from Cart display page and Order checkout page, it depends on the requirements and also on cart merge during login. Make sure this command is called less frequently.

Login/Registration:


Flow
Controller Commands
Registration Add/Update
UserRegistrationAddCmdImpl/
UserRegistrationUpdateCmdImpl

Registration using Admin access
UserRegistrationAdminAddCmdImpl/
UserRegistrationUpdateCmdImpl
Login
LogonCmdImpl
Password Reset
ResetPasswordCmdImpl
Asynchronous event after Password Reset
SendPasswordNotificationCmdImpl
(This one’s a task command)
Log off
LogoffCmdImpl
The Asynchronous event after password reset, there is an event that triggers SendPasswordNotificationCmd.

18 comments:

  1. good article for beginners.

    ReplyDelete
  2. What is the command that is used to approve an order in B2B order flow?

    ReplyDelete
  3. Amazingly described...

    ReplyDelete
  4. Hi Raj, We have one issue at present in WCS Production support.
    Could you help us to resolve this issue. Do you have any idea why this is happening inconsistently and how to fix it ?
    Thanks in advance.
    ------------------------------
    Issue:
    User pressed the submit button order in the 'Order preview' screen
    The message "You do not have permission" is displayed.
    But Order placed to external system without problem and confirmed by JDE system.
    This issue is coming occasionally. User is not getting regularly this issue.

    Error log below for the same above issue:
    [12/11/12 ] CommerceSrvr E AccManager isAllowed CMN1501E: User does not have the authority to perform action "com.ibm.commerce.order.commands.OrderProcessCmd" on resource "com.ibm.commerce.order.objects._Order_Stub" for command "OrderProcess".

    [12/11/12] CommerceSrvr A com.commerce.order.commands.ExtOrderProcessCmdImpl checkResourcePermission The user does not have the authority to run this command "OrderProcess".
    ------------------------------------------

    ReplyDelete
  5. This is happening because the command is called from a different useractivity cookie, happens normally when doing tab browsing using same account.

    ReplyDelete
  6. Hi Naveen,
    Thanks for your reply. Can you be little more elaborative. I'm not getting what you mentioned about this "tab browsing using same account".

    Thanks in advance.

    Thanks,
    Venkata.

    ReplyDelete
  7. Appreciate it for this post, I am a big big fan of this internet site would like to continue updated. https://royalcbd.com/cbd-legal-status/

    ReplyDelete
  8. I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. https://sites.google.com/site/hotmailloginonline/

    ReplyDelete
  9. Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! www.hotmail.com

    ReplyDelete
  10. Or disaster will be imminent, we can make an alternative catch that the client can choose on the off chance that he needs to utilize the semi-login usefulness so the specialist organization is told about it. hotmail login

    ReplyDelete
  11. Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. 토토커뮤니티

    ReplyDelete
  12. At Inovi, we’re committed to achieving the highest success rates while providing personalized care to our patients. Our Houston location offers expert care and is home to our state-of-the-art embryology lab. check out the post right here

    ReplyDelete
  13. Merely a smiling visitant here to share the love (:, btw outstanding style. test bank nursing

    ReplyDelete
  14. This is actually the kind of information I have been trying to find. Thank you for writing this information. 먹튀검증

    ReplyDelete
  15. I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates. 온라인바둑이

    ReplyDelete
  16. Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. more info

    ReplyDelete