
One possible solution is to create a custom validation rule that checks the requested delivery date of the sales order against the lead time of the MTO item. If the requested delivery date is within the lead time period, an error message can be displayed to prevent the sales order from being created.