I've tried searching for examples, but all of them produce problems for me. Here's the easiest one, which looks like it's supposed to work
$lang=en
$productCatalog=productCatalog
$catalogVersion=catalogversion(catalog(id[default=$productCatalog]),version[default='Staged'])[unique=true,default=$productCatalog:Staged]
INSERT_UPDATE Product;code[unique=true];catalogVersion ;M300047;$productCatalog:Staged
I'm new to Hybris, especially Hybris Impex and am kinda stuck at this point, so I'd appreciate your help for sure.