metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Import File Loader substitute in WebUI #879

Closed metas-mk closed 6 years ago

metas-mk commented 6 years ago

Is this a bug or feature request?

Feature Request

What is the current behavior?

Currently, it is not possible to import data via WebUI.

Which are the steps to reproduce?

Open, try and see.

What is the expected or desired behavior?

Intermediate solution: Create a new Window that takes the Import Format and allows to drag&drop the import file onto it. Then the user starts an action to import into the i_. After the import is done, the "attachment" is deleted. Needed for I_BPartner, I_Product, I_ProductPharma for now. Add Document Reference for the Imported data to the target table/ window so the user can directly jump there after import.

teosarca commented 6 years ago

note to IT:

image

image

metas-lc commented 6 years ago

IT note: tested before the window was added in menu

  1. open window Data Import (540419)
  2. create a new one, choose a format (e.g. standard product)
  3. drag and drop a csv file note: i had to add 2 files because the dropdown was not working with just 1 entry. Shall be solved by https://github.com/metasfresh/metasfresh-webui-frontend/issues/1622
  4. go to actions, select Import
  5. on dropdown select your file => you get a notification that 3 records were imported
  6. go to Product window => the products were imported OK (when is done, the attachments are removed) Regression: same steps on swing => products are imported OK