Param Value: The number of days you want to add onto the Calculated Despatch date
Example Param: 1 or blank
Calculate the required despatch date and assigns that value to the RequiredDespatchDate on the order. Can be useful if you are creating batches based on RequiredDespatch date to check they are going out on time.
This function uses the GetDate function within the system to calculate the next available despatch date.
To do this it will look at the following settings
Customer Settings:
- DespatchCutOffTime
- ShipOnSaturday
- ShipOnSunday
Also Holidays it will check the holiday calendar to check if you have added any holidays when the warehouse isn't shipping.
Example Calculation:
Example 1:
Order available and in Stock @ Monday @ 3pm
Your Despatch Cut Off Time = 2pm
Required Despatch Date = Tuesday
Example 2:
Order Available and in Stock @ Sunday @ 1pm
ShipOnSunday = false
Required Despatch Date = Monday
Example Use Case:
Use Case 1:
Any express orders to get a required despatch date of the date received as long as they come in before the despatch cutoff.
Use Case 2:
Any standard orders will get a required despatch date of the following shipping day as 1-2 days is my standard despatch target
Comments
0 comments
Article is closed for comments.