Search code examples
exportsap-commerce-cloudimpex

How to export Customer with B2BUnit name and code in HMC Hybris?


I need to create a repeatable data extract from HMC that includes the following customer fields: -- Name -- Email Address -- Company Name (B2Bunit name) -- Company ID (B2Bunit)

Is that possible with HMC export? Thank you!


Solution

  • To export your data via HMC export tool or HAC export tool you can try this impex script :

     insert_update Customer;name;uid[unique=true,allownull=true];company(locName[lang=en]);company(uid);
    

    Company should be replaced by B2BUnit(Company) attribute name on your customer structure.