Question

Check Release For Customer Order

  • 29 December 2020
  • 2 replies
  • 249 views

Userlevel 5
Badge +14
  • Hero (Customer)
  • 275 replies

We are trying to create an Order Approval Route. We added a custom menu to copy the approval template to customer orders. The salesman is preparing the sale and sending for approval after that each department approving when the template is completed, the event is releasing the order. The problem is we want to check is there any error to release while creating the approval route like configuration or delivery date etc. Is there any opinion to something like check release or like in methods (p5 → DO, Check)?


This topic has been closed for comments

2 replies

Userlevel 7
Badge +24

Hi Hasan,

There are many errors you might get when the code is trying to release the order.  CTO incomplete would be a good example.

As someone writing an event, I would not volunteer to take on the responsibility to guarantee that no errors will occur.  I would push that back onto the business requirements -  in an ideal world the requirements should be clear and complete, so that all the errors that are likely to occur are known about; and either prevented from occurring (e.g. cannot attach the approval routing before the CTO is complete) or there is an established process for handling the errors

Userlevel 5
Badge +14

We are trying to minimize the errors. While the approval process, we are preventing any changes. When the approval route completed. Event releasing the order. If there is any error before releasing, something must change and the approval template starts from the beginning. So we don't want to start the template again and again. We know the salesman has to be careful but sometimes it can be.