metafresh logo and link to homepage

IT gh#1211

#1211 Preparation Time: Change to first possible on same Day as Promised Date-Time

Testcase to check if the preparation time is set correctly

  1. Go to Tour window and create 2 new ones

  2. for both: create 1 version weekly, select each day and on version line set your bpartner G000X and buffer 4

  3. for the first one set 11:30 on each day

  4. for the first one set 18:30 on each day

  5. on tour tab, select gear - generate delivery days (do this for both)

  6. set date from and date to (i chose 26.04.2017 and 31.08.2017)
  7. go to sales order and create a new one (note that created date is 26.04.2017 15:51)
  8. change the hour so that it won’t make in time (4h buffer) (e.g. 26.04.2017 21:59)
  9. change date promised to 27.04.2017 00:00
  10. change date promised to 27.04.2017 00:00
  11. change date promised to 27.04.2017 15:30
  12. change date promised to 02.05.2017 23:59
  13. change date promised to 02.09.2017 23:59

Zur Quelldatei auf github.com