AnsweredAssumed Answered

How can I combine View Source?

Question asked by ycardenaspa on Jun 11, 2018

How can I combine View Source?

Hello everyone,
Could you help me,
I did an XML mapping to EDI and generated 18 "View Source", which include company data, customer data and the item to be sold, but are for example lines: line 10 (brand name (ABC), 10 pants, large size), unit price 2 $, amount 10, result = 20 $)
line 10 ((brand (ABC) 15 pants, medium size, unit price 1.5 $, quantity 20, result = $ 30)
line 20 (brand (DFG), 10 pants, large size, unit price 2 $, quantity 10, result = 20 $)
line 20 ((brand (DFG) 15 pants, medium size, unit price 1.5 $, quantity 20, result = $ 30)
line 30 (.......................................)
etcetera etcetera
EXAMPLE:

-------------------------------------------------- ---------------------------------- SEE 1 -------------- ----
THE COMPANY "FINE CLOTHING"
CLIENT "DON GATO"
LINE 10
BRAND = ABC
10 pants, big size, unit price 2 $, amount 10, result = 20 $
-------------------------------------------------- ---------------------- SEE 2 -------------------------
THE COMPANY "FINE CLOTHING"
CLIENT "DON GATO"
LINE 10
BRAND = ABC
15 pants, medium size, unit price 1.5 $, quantity 20, result = $ 30

-------------------------------------------------- -------------- SEE 3 ----------------------------------
THE COMPANY "FINE CLOTHING"
CLIENT "DON GATO"
LINE 20
MARK = DFG
10 pants, big size, unit price 2 $, amount 10, result = 20 $

------------------------------------------- VIEW 4 ----- -------------------------------------------------- -
THE COMPANY "FINE CLOTHING"
CLIENT "DON GATO"
LINE 20
MARK = DFG
15 pants, medium size, unit price 1.5 $, quantity 20, result = $ 30
----------------------------------- ETC ETC ETC ------------ ----------------------------------


in each "view source" each line appears but also in each generated view appears again the data of the company, client. What I would like to see is that it only appears in a single document, company and personal data + line 10 (a single view stops a single brand with the pants of each size)
another view (line 20 (brand) - pants, price and size).
That only appears once the company and customer data at the beginning and that respectively on each line (10,20, 30 (brand)) appear together in the sizes of the pants.

example

----------------------------------- VIEW 1 ------------- -----------------------------------------------
THE COMPANY "FINE CLOTHING"
CLIENT "DON GATO"

-------------------------------- VIEW 2 ---------------- -------------------------------------------
LINE 10
BRAND = ABC
10 pants, big size, unit price 2 $, amount 10, result = 20 $
15 pants, medium size, unit price 1.5 $, quantity 20, result = $ 30

--------------------------------- VIEW 3 --------------- ------------------------------------------------
LINE 20
BRAND = DFG
10 pants, big size, unit price 2 $, amount 10, result = 20 $
15 pants, medium size, unit price 1.5 $, quantity 20, result = $ 30

-
-
-
-
-

 

Can you let me understand?

Outcomes