Hello,
a question on coding. We deliver orders to stores and want to measure the delay between the order and the delivery. we have three timestamps: order, scan at warehouse and scan at store.
we need to know the delay between all steps.
All stores have one or more closingdays, the warehouse is closed on weekends, there are public holidays,...
so we need to calculate the 'permitted delay'. If order is placed on saturday we have a permitted delay of 2days, if the store that made the order is closed on monday one day should be added.
in case this monday is a public holiday the foreseen delay shouldn't be counted twice of course.
Any ideas on how I could get this in pl/sql procedure?
a question on coding. We deliver orders to stores and want to measure the delay between the order and the delivery. we have three timestamps: order, scan at warehouse and scan at store.
we need to know the delay between all steps.
All stores have one or more closingdays, the warehouse is closed on weekends, there are public holidays,...
so we need to calculate the 'permitted delay'. If order is placed on saturday we have a permitted delay of 2days, if the store that made the order is closed on monday one day should be added.
in case this monday is a public holiday the foreseen delay shouldn't be counted twice of course.
Any ideas on how I could get this in pl/sql procedure?