Brief description
Restrict fund use by location is a less-restrictive alternative to acquisition units that allows libraries to link certain funds with certain physical locations (e.g. a fund for rare books can only be used with orders having a permanent location of rare books storage.) This test is to ensure that the links between fund and location are usable and make sense, and to verify that the logic for handling multiple funds and multiple locations also makes sense.
Please note that there are ways to create intentional "breaks" between funds and locations; for this reason, final validation occurs when the order is opened. Also, existing open orders that become noncompliant will not become "unopened" (for instance, if a fund is changed from unrestricted to restricted.) Finally, this validation occurs only on the order side, there is no corresponding validation on the invoicing side. The idea is to help libraries prevent accidentally assigning the wrong fund to the wrong location.
Links
Test environment: https://folio-dev-thunderjet-2nd-diku.ci.folio.org/
...