Two different Company creation having issue with sale invoices

I’m using the production server of VM…That, I have created two companies 1: SOMh 2: CNSS

In that 1.SOmh which I created invoice is able to submit and making payee.
2: Cnss company, After generating the invoice make the change to CNSS company the invoice copy doesn’t submit. its has the showing error like Sales invoices SINV-03855: Cost Center Main-S does not belong to the company CNSS. Please help this issue.

@Boosa_Shravan I am experiencing same, Did you got the solution?

Create different / separate cost center for each company.

@zerodiscount Cost centers are already different and have been set as default for respective companies. The problem is when someone changes company while make sales invoice the cost centers doesn’t update accordingly.