Hi,
I'm using B2B etensions and I need to add custom attributes to company entity, editable and searchable on backend.
I found that we don't have a mechanism like Magento has for adding attributes to customer CustomerSetupFactory, neither using EAV approach:
If I try
$this->eavSetup->addAttribute('company', 'attribute_code', [
// Attribute parameters
]);
I get the error 'Wrong entity ID'.
So I would like to know what would be the best and easiest way to add a custom attribute to company entity, having it editable and searchable on company view/edit page (backend).
Thanks.
Best
Carlos