Uploaded image for project: 'mod-gobi'
  1. mod-gobi
  2. MODGOBI-128

Support expense classes from LocalData fields

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.1
    • Labels:
      None
    • Template:
    • Story Points:
      3
    • Development Team:
      Thunderjet
    • Release:
      R1 2021 Hot Fix #3

      Description

      Purpose/Overview:

      External systems (eg GOBI) can apply fund and expense class when creating orders through the edge API
      Link : https://wiki.folio.org/display/DD/Apply+expense+classes+to+orders+and+invoices+through+API+integrations

      Requirements/Scope:

      Fields mapping between GOBI and FOLIO must be configurable when starting the module

      Approach:

      1. It is possible to load custom orders mapping in the mod-configuration :
      https://wiki.folio.org/display/DD/GOBI+-+Overriding+default+Mapping
      2. Mapping for expense classes

              {
                "field": "EXPENSE_CLASS",
                "dataSource": {
                  "from": "//LocalData[Description='LocalData4']/Value",
                  "translation": "lookupExpenseClassId"
                }
              }
      

      Note : "LocalData4" only as example

      Acceptance criteria:

      • Configuration file created
      • Unit tests updated
      • API tests created/update

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases