Offline Transaction - Option to Skip Old Records
Bug #797409 reported by
edoceo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
Main |
Fix Released
|
Wishlist
|
Mike Rylander |
Bug Description
When importing off-line transactions it may be desirable to skip checkin/checkout records that are older than the most recent information for the Asset in question. Would like the option, in off-line processing, to skip those transactions and/or add them to the exception queue for manual review.
My Envronment: Gentoo, PostgreSQL 9.0, OpenSRF 1.6.3, Evergreen 2.0.6 (& trunk)
Changed in evergreen: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
So far what I've done is to patch offline.pl script to check status_changed_time of the Asset (which I get via fetch_copy_ by_barcode) . I also added an option to offline-config.pl that enable/disable the "skip_late" option.
We're also, only checking the Asset status_ changed_ time, not the actual status. :Format: :ISO8601 and the OpenSRF: :Utils: :cleanse_ ISO8601 routine.
These checks only apply on the Check-In / Check-Out options.
Also, for time parsing we had to add dependency on DateTime: