Calculating expected ship date for product procurement

In addition to the previously described date calculations, the Expected Ship Date (ESD) of the order when procuring product takes into consideration the procuring nodes shipping and receiving calendars as well as the nodes receipt processing time.

For example (as illustrated in the following figure), an item is being procured from the Nashua warehouse to the Boston warehouse with the criteria.

Figure 1. Expected ship date example
Expected_Ship_Date