So you've created a link definition between the entities but in your flows did you actually create the link between each customer and its respective company?
Should look something like
`
const link = container.resolve(ContainerRegistrationKeys.LINK);
await link.create({
[YOUR_COMPANY_MODULE]: {
company_id: company_a_id
},
[Modules.CUSTOMER]: {
customer_id: your_customer_id
}
});
`
Note the order of the definitions in the create method should match the order your definition is supplied. It's worth noting the definitions can be created but links don't automatically get created. You'll either have to use a migration script, a script or implement the link creation process into your flows somehow.