Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I sold this product
item:
Load * Inline [
item,
AZ002
BZcode
LZ253
];
This is the master:
Load * Inline [
item , family
AZ002 , AA
BZcode, AA
LZ253, BB
C130, CC
STG25, DD
PP140, EE
MG250, FF
TR560,FF
];
Now, I woyld to serach in master and to extract the item and the family linked . I qoluld to create a new list box buld JUST the code thath
exists and not all the master table.
I know I qould to create a ma:
mapping load of master
after?
Thanks
Best regrds
If you want to use mapping:
ItemFamilyMap:
mappind load distinct
item as A,
family as b
resident master;
...
join (item) load
item,
applymap('ItemFamilyMap', item) as family
resident item;
If you want to use mapping:
ItemFamilyMap:
mappind load distinct
item as A,
family as b
resident master;
...
join (item) load
item,
applymap('ItemFamilyMap', item) as family
resident item;
Thnks. Yes, it works.
Please if i I put in a Master table an other field called division?
Load * Inline [
item , family, Division
AZ002 , AA , line
BZcode, AA, , line
LZ253, BB, , line
C130, CC, outline
STG25, DD, outline
PP140, EE,outline
MG250, FF, line
TR560,FFoutline
];
I know the mapping load require max 2 field.....
thanks
Regards,
--
Slash
Correct, you cannot do it in one map, so it will be two:
ItemFamilyMap:
mappind load distinct
item as A,
family as b
resident master;
ItemDivisionMap:
mappind load distinct
item as A,
Division as b
resident master;
...
join (item) load
item,
applymap('ItemFamilyMap', item) as family,
applymap('ItemDivisionMap', item) as Division
resident item;
item:
Load * Inline [
item,
AZ002
BZcode
LZ253
];
LEFT JOIN (item) Load * Inline [
item , family, Division
AZ002 , AA , line
BZcode, AA, , line
LZ253, BB, , line
C130, CC, outline
STG25, DD, outline
PP140, EE,outline
MG250, FF, line
TR560,FFoutline
];