Hi,
Both the tables have Customer number for which Change document flag is active. I will suggest to run a back ground job and with the help of some logic related to Change document for the day get the details and work around your requirement.
Hope it helps.
Regards,
VS