The code linked in bug 1308239 is specifically meant for external integration. If the desired outcome is to allow completely human-driven ILL to use the same backend mechanisms, I suggest strongly that that should be an org unit setting that uses the workstation org unit for context.
For background, the design of pre-cats is that they "disappear" from the system after check in, from the point of view of circ staff, so that each time a staff member scans a particular barcode that has not passed through cataloging they are required to fill in the "dummy" fields. IMO, staff manually "faking" ILL doesn't change the reasoning behind the human-level behavior.
In fact, based on the description, I think the bug is actually that the user can close the dialog when the pre-cat already exists and have the originally entered information persist.
The code linked in bug 1308239 is specifically meant for external integration. If the desired outcome is to allow completely human-driven ILL to use the same backend mechanisms, I suggest strongly that that should be an org unit setting that uses the workstation org unit for context.
For background, the design of pre-cats is that they "disappear" from the system after check in, from the point of view of circ staff, so that each time a staff member scans a particular barcode that has not passed through cataloging they are required to fill in the "dummy" fields. IMO, staff manually "faking" ILL doesn't change the reasoning behind the human-level behavior.
In fact, based on the description, I think the bug is actually that the user can close the dialog when the pre-cat already exists and have the originally entered information persist.