The solution to this problem is an environment diagram of several series. Here, one series of data is associated with sales orders, and another series of data is associated with purchase orders (for example, the green graph is similar to the data related to the purchase order, and the red diagram resembles the data related to sales orders). If they overlap, orders must be matched and executed.
source share