[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rocks::dec_edi

Title:DEC/EDI
Notice:DEC/EDI V2.1 - see note 2002
Moderator:METSYS::BABER
Created:Wed Jun 06 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3150
Total number of notes:13466

3095.0. "pb filebridge and clipboard" by NETRIX::"[email protected]" (Simon Gramain) Thu Apr 10 1997 14:59

			Hi

Here is a filebridge problem with cut and paste with clipboard:

Copying a map part of level 2 to clipboard and then paste it to
another map part level 2 removes information of map part level 1.
         
Component     : FILEBRIDGE
Component Vers: V2.1 D

Op System     : VMS 6.2



Complete Problem Description:
=============================


Symptoms

Copy and paste map part level 2 removes all mapping assignments
of the parent map part level 1.

Step to reproduce

a) create a mapping set like the following :
              Index of Mapping Sets
------DEC/EDI Document Definition---------
FB DOCTYPE      PARTNER GENERIC STD     VERSION  INTERNAL-DOCTYPE
SEND_DESADV_GU          [X]     EDIFACT D93A     EDIFACT-DESADV

b) create the following maps :
                  Index of Maps
Level   FB Segment                       Map ID
01      heading                          heading
02      BGM                              MAP_BGM_DESADV
02      DTM                              MAP_DTM_DESADV

c) At the Index of Maps screen, select the map heading and create 
a mapping assignment (total=0 in the example below) :

                      Map
MAP ID: heading
FB Segment:01 heading                       MIN:            MAX:
Navigation:                    Error on:         [X]MAX_EXCEEDED
  Set Context:                                            >
  Repeat Pattern:                                         >
  Condition:                                              >
Mapping Assignments:
total=0;

d) At the Index of Maps screen, select the map MAP_BGM_DESADV and
then copy it to clipboard (DO + Copy Map Part to Clipboard).

e) Return to the Index of Maps screen, and select the map 
MAP_DTM_DESADV and then paste the item copied in the clipboard
(map MAP_BGM_DESADV).
At this time, we have a FIRST PROBLEM because there are now 3 
Part map created.
The 1 of 3 part map is the initial part of map MAP_DTM_DESADV.
The 2 of 3 part map is the copied map part MAP_BGM_DESADV 
(see below).
The 3 of 3 part map is empty.

                     Map   MULTIPLE PART MAP

MAP ID: MAP_DTM_DESADV     [PREV PART] [NEXT PART]  Part:02 OF 03
FB Segment:02 DTM          MIN: 0          MAX: 0000000010
Navigation:
  Set Default:    FBGM                                    >

  Condition:                                              >
Mapping Assignments:
BGM_C002_1001 = W1001;
BGM_C002_1131 =  ;
BGM_C002_3055 =  ;
BGM_C002_1000 =  ;
BGM_1004 = W1004;
BGM_1225 = W1225 ;
BGM_4343 =  ;

f) So, delete part map 1 of 3 and 3 of 3, to have just one
part map corresponding to the copied item (MAP_BGM_DESADV).
You will get the following screen :                     

                     Map

MAP ID: MAP_DTM_DESADV
FB Segment:02 DTM          MIN: 0          MAX: 0000000010
Navigation:
  Set Default:    FBGM                                    >

  Condition:                                              >
Mapping Assignments:
BGM_C002_1001 = W1001;
BGM_C002_1131 =  ;
BGM_C002_3055 =  ;
BGM_C002_1000 =  ;
BGM_1004 = W1004;
BGM_1225 = W1225 ;
BGM_4343 =  ;

g) Return to the Index of Maps screen, and select the map heading
(level 1) and you will have the SECOND and the most important 
PROBLEM. That is, all mapping assignments of this map have been
removed (see below).
                      Map
MAP ID: heading
FB Segment:01 heading                       MIN:            MAX:
Navigation:                    Error on:         [X]MAX_EXCEEDED
  Set Context:                                            >
  Repeat Pattern:                                         >
  Condition:                                              >
Mapping Assignments: 1
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines