Plan an order around the Chinese New Year shutdown
plan_around_chinese_new_yearWork backwards from the date stock is needed to the date a China order must be placed, against the real Chinese New Year factory shutdown rather than the statutory holiday. Says whether the plan collides with the closure, and gives the latest order date that avoids it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Shipping mode; sets the default transit time. Defaults to sea-fcl. | |
| arrival_date | Yes | The date the stock has to be in the warehouse, as YYYY-MM-DD. | |
| transit_days | No | Door-to-door transit days, if the user has a real figure from a forwarder. | |
| production_days | No | Production lead time in days, if the factory has quoted one. Defaults to 30. |