-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add calculated fields to Loan #1193
Labels
1 - Bug
Incorrect behavior of the product
2 - Interactions
Issues that are related to interactions, including loans, exchanges, gifts, and more
SeparationFrom6
Projects
Milestone
Comments
See also #1009 |
@benanhalt Can you use the changes for the accession, preparation, and collectionobject calculations to solve this? |
To a certain degree. I still need to go into 6 and see what the actual calculations are and replicate them in 7. |
grantfitzsimmons
added
2 - Interactions
Issues that are related to interactions, including loans, exchanges, gifts, and more
and removed
Unsorted
labels
Jul 2, 2023
grantfitzsimmons
changed the title
Support Calculated fields in Gift, Accession, and Exchange Out
Add calculated fields to Loan
Apr 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1 - Bug
Incorrect behavior of the product
2 - Interactions
Issues that are related to interactions, including loans, exchanges, gifts, and more
SeparationFrom6
From @grantfitzsimmons:
Loan has a number of calculated fields:
totalPreps
- Count of all associated loan preparations recordstotalItems
- Count of all associated collection object preparations recordsunresolvedPreps
- Count of all loan preparation records that are not resolvedunresolvedItems
- Count of all collection object preparation records that are not resolvedresolvedPreps
- It is the result oftotalPreps
-unresolvedPreps
resolvedItems
- It is the result oftotalItems
-unresolvedItems
These need to be visible and functional when added to the form. These are in the default form definition for Loan.
Relevant Specify 6 code:
https://github.com/specify/specify6/blob/945d28f00288d2d64979848fb2fb63fda34bdd1b/src/edu/ku/brc/specify/datamodel/Loan.java#L807-L838
Original comment by @tlammer:
The text was updated successfully, but these errors were encountered: