Skip to content

Loan Prep / Loan Prep Returns not calculating/following business rules when uploaded via the WorkBench #4061

@grantfitzsimmons

Description

@grantfitzsimmons

We have the loan officer for the wildlife collection actively dealing with Specify and we’ve run into a few issues – we were hoping to use the Workbench to bulk add/resolve loan preps since we have a required field (disposition) that is very time consuming to add from the UI. However in our testing we’ve found some issues:

Creating loanpreparation objects via the workbench – the returned/resolved fields don’t get calculated unless you specifically map to them (which is dangerous to get users to populate calculated fields) – see below where B12340 was added via the workbench:

image

Creating loanpreparationreturn objects via the workbench – None of the calculated fields are updated. This includes the Quantity Returned, Quantity Resolved, and the IsResolved checkbox for each loan preparation, as well as the summary calculated fields for the loans. Below is a screenshot of the workbench upload:

image

And as you can see prep B12345 has the loanreturnpreparation object correctly created (LrP button shows 1 with the correct information in it) but the calculated values and “is Resolved” flags are not updated:

image

Reported By: Dan Baker at CSIRO (Asana)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - BugIncorrect behavior of the product2 - InteractionsIssues that are related to interactions, including loans, exchanges, gifts, and more2 - WorkBenchIssues that are related to the WorkBench

    Type

    No type

    Projects

    Status

    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions