When ever we submit order, There are several action WC considers to complete the submission.
- Order Process command is triggered.
- If BusinessFlowEventListener component is enabled in ws-server-*.xml, unified business function will be called.
- Flow type is OrderProcess . ProcessOrderCmdImpl task command is called.
- Execute OrderProcessPreApprovalCmd, which invokes PreProcessOrderCmd
- Execute OrderProcessCheckApprovalCmd to check whether approval is required
- Execute OrderProcessPostApprovalCmd, which invokes ProcessOrderCmd
Note:
If your store does not require approval of the order, You do not require Business Flow. Set BusinessFlowEventListener to false in ws-server.xml. This will call processOrderCmd Directly.
"I love how well you explained this topic. Keep up the great work!"
ReplyDeletePG Diploma In Clinical Research
Best Clinical Research Courses
Online clinical research courses in pune
Pharmacovigilance Syllabus
"I really liked how you approached this subject. Keep posting such useful stuff!" Clinical Research Courses in Banglore
ReplyDeleteClinical Research Courses in Nagpur
Clinical Research Courses in Amravati