The purpose of date-effectivity with addresses is that you may need to know address that was valid at a particular time, e.g. in time of posting. If we simply overwrote the address, we would lose information about the previous address.
Look at LogisticsPostalAddressBaseEntity once more; there indeed are ValidFrom and ValidTo fields.
Been reading the whitepaper and documentation, unfortunately I cannot understand what it means.
Can I ask for some guidance ? Looking back at the original thread, because I didn't create new entity from scratch but duplicate it, what actually I'm missing and where to check ? In relate to the documentation, I can't find any field with named ValidFrom and ValidTo as per given example.
the LogisticsPostalAddress table holds the current address as well as all historical records.
This means, every address change creates automatically a new line with the changed address and the ValidTo date is set /never/
For the old address line the ValidTo is set to datetime of the change.
So only one address at a time can be the valid one.
Hope this helps.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.