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

Support expense classes from LocalData fields

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 2.0.1
    • None
    • 3
    • Thunderjet
    • 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

                dennisbridges Dennis Bridges
                Andrei_Makaranka Andrei Makaranka
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases