Testcase to check if the quantity report event has the right flatrate term
Go to Flatrate Data window and select BPartner G000X
Go to next subtab Flatrate Term and create a new one using gear: create new flatrate term
create the new flatrate term using product P0001 and in such way that it will end tomorrow
add some data entries and complete it
go to Procurements webui and login with G000X
select your product and add a quantity, select Send
wait until the date after tomorrow for the new flatrate to be created (your flatrate being extended)
open Procurements webui again and select your product, add a qty and send it