Import Csv by Template: Allow import from a detail tab into different parents

Description

xref> https://mattermost.idempiere.org/idempiere/pl/4nawcrkpr7bwzpxs811qf6tjzo

use case:

I create import template for CSV which allow import cities for a country splitted in many regions. Run it from process import csv. my import template

data example

issue

When I importing, instead Slovakia inserted into USA, according to chat with it is limited:

I'm not sure that you can import from a detail tab into different parents - what we usually do is to create a dedicated window for that purpose

Improvement:

implement the above use case, allow select other then tab level 0 - in this case allow select in country window cities, and map data properly. Security concern: suggest to check that the user has access to the parent (it must)

Note

This improvement would allow delegate import to customer in batch.

Environment

v12

Attachments

7

Activity

Heng Sin Low 
April 3, 2024 at 11:37 AM
(edited)

  1. hi , with some modification (https://github.com/idempiere/idempiere/pull/2289 ) and a different setup (see the attach screen shot and csv file above), I’m able to get your use case below to work.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 1, 2024 at 12:02 PM
Updated June 1, 2024 at 3:18 PM
Resolved April 4, 2024 at 3:43 PM