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.

22 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. Good website! I truly love how it is easy on my eyes it is. I am wondering how I might be notified whenever a new post has been made. I have subscribed to your RSS which may do the trick? Have a great day! https://officialbopkingdlow.com/voom-login/

    ReplyDelete
  12. What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge! here

    ReplyDelete
  13. 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
  14. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 먹튀검증

    ReplyDelete
  15. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 대전1인샵

    ReplyDelete
  16. 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
  17. With liposuction, the surgeon can remove stubborn fat deposits, improve your physical appearance by using contouring procedures to give you pleasing curves in all the right places. removing unwanted fat

    ReplyDelete
  18. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. https://westasianetwork.com/

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

    ReplyDelete
  20. Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. 먹튀검증

    ReplyDelete