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

Support expense classes from LocalData fields

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 2.1.1, 2.2.0
    • None

    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='LocalData5']/Value",
                  "default" : "unspecified",
                  "translation": "lookupExpenseClassId",
                  "translateDefault": true
                }
              }
      

      Note : "LocalData5" 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:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases