Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
-
13
-
Concorde
Description
Use the composition of criteria with location: m book + s 22e7f9bc-a964-11e9-a2a3-2a2ae2dbcce4. The location is temproary UUID that should exist in your system.
You can use the following as an example policy rules.
priority: m, s, c, b, a, t, g fallback-policy: l example-loan-policy r allow-all n send-no-notices m book + s 22e7f9bc-a964-11e9-a2a3-2a2ae2dbcce4: l two-hour r allow-all n send-no-notices m book: l one-hour r allow-all n send-no-notices
Verify that loans, requests, and notices get a correct loan policy assigned in various scenarios:
If you use the above loan rules, the method of verifictaion is:
Check out a BOOK in a particular location UUID and expected to see "two hour" loan policty applied to a loan.
Same for requests and notices.
See the documentation: https://github.com/folio-org/mod-circulation/blob/master/doc/circulationrules.md
And the unit tests for the s shelving location: https://github.com/folio-org/mod-circulation/blob/master/src/test/java/org/folio/circulation/rules/Text2DroolsTest.java
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2070 Use shelving location in circulation rules
-
- Closed
-
- is defined by
-
CIRC-318 SPIKE - Familiarization with Circulation Module for Rules Editor BE work
-
- Closed
-