on 01-26-2017 1:32 PM
Hi,
is there a way to modify the header of an impex statement based on the values that are imported?
Example:
Given:
INSERT_UPDATE GenericVariantProduct; code[unique=true];variant
;1;size
;2;color
Expected:
INSERT_UPDATE SizeVariantProduct; code[unique=true];variant
;1;size
INSERT_UPDATE ColorVariantProduct; code[unique=true];variant
;2;color
So, the values coresponding to the variant header are parsed and following some custom logic the type where the values should be inserted gets modified (GenericVariantProduct -> SizeVariantProduct/ColorVariantProduct)
Thanks, Alex
Hi Alex, The following could work for you:
INSERT_UPDATE GenericVariantProduct; code[unique=true];variant
SizeVariantProduct;1;size
ColorVariantProduct;2;color
It's not really dynamic, but might work. In case you like to dynamically import and structure data you could have a look at BeanShell script, see https://help.hybris.com/6.3.0/hcd/8bee24e986691014b97bcd2c7e6ff732.html.
Cheers, Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.