Uploaded image for project: 'ui-orders'
  1. ui-orders
  2. UIOR-884

Re-export order via export

    XMLWordPrintable

Details

    Description

      Overview:

      Each organization record may include multiple Integration detail configurations. These are essentially different export configurations. Organizations can also include multiple account numbers. For each organization the library should be able to associated each account number with 1 integration configuration.

       

      We need to show Re-send button only of particular order line id alredy had some exports before

      Scenarios:

             

      1. Scenario
        • Given user opens order action menu
        • When options are displayed in menu
        • Then Re-export appears in the list
      2. Scenario
        • Given manualPO is true
        • When Re-export action is shown in menu
        • Then it is inactive and user can not click on it
      3.  Scenario
        • Given user is intercepted by "re-export" confirmation modal
        • When re-export message is displayed
        • Then (Vendor name from export) is replaced with the name and code of the organization the order was previously exported to
        • AND (Integration method) is replaced by the name of the integration configuration used for the last export of this order
        • AND (Vendor name from order) is replaced by the name and code of the organization that is currently referenced in this purchase order
      4. Scenario
        • Given user is intercepted by "re-send" confirmation modal
        • When user clicks Confirm
        • Then order IS exported again with the next scheduled export to which it is assign (eg. EDI 1)
      5. Scenario
        • Given user is intercepted by "re-send" confirmation modal
        • When user clicks Cancel
        • Then open order operation is not attempted

       

      Notes for developers:

      1. Re-send includes setting lastEdiExportDate to null and pick up all suitable orders during next scheduled export jobs.  

      2. Need to rename button 'Resend' to 'Reexport'.

       

      SN: Is this button should be run on order-line level?

      This Reexport setting should appear on both PO and PO Line level

      If user clicks on PO level - UI will fetach all associated PO Lines and update lastEdiExportDate to null

      If user clicks on PO Line level - UI will update particular PO Line with  lastEdiExportDate to null

      For now in popup we can omit Integration method,  Vendor from Order, Vendor from Export. These changes will be done in scope of story: https://issues.folio.org/browse/UIOR-882 

       

      We should show Reexport Button on Order level when

      • Order is opened
      • Order has exported lines
      • On Order level when Manual set to false

      We should show Reexport Button on Order Line  level when

      • Order is opened
      • Order has exported lines
      • Order line automatic export set to true

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases