Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
2
-
Folijet Support
-
R2 2021 Hot Fix #3
-
Yes
-
Hotfix approved on Slack release-bug-triage channel 27 Sept 2021
-
MI State University/Library of Michigan
-
Incomplete/missing requirements
Description
Overview: Acquisitions Unit is a value that can be assigned in the Invoice field mapping profile. A user who belongs to that Acquisitions Unit should be able to import an EDIFACT file and create an invoice, using the job profile that contains that field mapping profile. Instead, any time a value for field mapping profile is included, the import job completes with errors
Current workaround: Omit the acq unit from the field mapping profile, and manually add it once the imported invoice is available in the Invoices app
Steps to Reproduce:
- Log into FOLIO-snapshot-load as diku_admin
- Go to Settings/Acquisitions Units
- Click on the main Acq unit to view its details
- Click the Assigned users accordion
- Click Assign users
- When the user search opens, search for diku_admin
- Select that user and Save
- Confirm that diku_admin is an assigned user for the main acquisitions unit
- Go to Settings/Data Import/Field mapping profile
- Find the Default - GOBI monograph invoice profile and duplicate it
- Make the following changes on the duplicated profile:
- Name: GOBI invoice - Acq Units
- Remove the description
- Acquisitions units: select main from the dropdown list
- Batch group: Select FOLIO from the dropdown list
- Lock total amount: change the mapping to MOA+86[2]
- Vendor name: look up GOBI and assign it
- Payment method: Select a value from the dropdown list
- Save the profile
- Create a new Action profile:
- Name: GOBI invoice - Acq Units
- Action: Create
- FOLIO record type: Invoice
- Link the above field mapping profile to it
- Create a new Job profile
- Name: GOBI invoice - Acq Units
- Accepted data type: EDIFACT
- Click the plus sign and add the action profile you just created
- Go to Data Import
- Upload the attached EDIFACT file EDIFACT_Firm_Invoice.edi and assign the job profile you just created
- Once imported, check How the job completed in the log summary on the data import landing page
- Then go to the Invoices app, and search for invoice 19353
Expected Results:
1. The invoice import should complete without errors
2. Invoice 19353 should show in the Invoices app, and should have main assigned as the Acquisitions unit
Actual Results:
1. The job completes with errors, and all invoice lines are discarded. There's a separate issue with the Import JSON for Invoices (UIDATIMP-1010), but I've attached the error message from Juniper Bugfest
2. Since all invoice lines are discarded, the invoice is not created in the Invoices app
Additional Information: See attached video, screenshot, and sample EDIFACT file to import
TestRail: Results
Attachments
Issue Links
- blocks
-
MODDATAIMP-565 Release v2.1.4 (R2 Juniper Hot Fix #3)
-
- Closed
-
- defines
-
UXPROD-3041 NFR: Data Import (Batch Importer for Bib Acq) R3 2021 Kiwi Technical, NFR, & Misc bug work
-
- Closed
-
- is cloned by
-
MODINVOICE-306 Acq unit in invoice field mapping profile causes import to complete with errors
-
- Closed
-
- relates to
-
MODDICORE-190 Incorrect mapping of acquisition ids causes validation issues and Invoices creating failures - JUNIPER HF 3
-
- Closed
-
-
MODDICORE-192 Incorrect mapping of acquisition ids causes validation issues and Invoices creating failures - KIWI BF
-
- Closed
-