Board Thread:Editing Discussions/@comment-749631-20170220132759/@comment-3014077-20170220174406

Actually, Valgaaf, the events of Battle of Gods occur before​ the end of DBZ. Pan is a participant in the Martial Arts tournament that ends DBZ (anime, at least), but in BoG, Videl is only pregnant​ with Pan. Timeline is established by that.

As for RW, DBZ was written by Toriyama. BoG was written by Toriyama, but many years later, with DBS following a few years after that retconning both Resurection F and BoG,