User has done a mistake by giving cost GL account as balance sheet account instead of P&L while postings to cost centre.
But B/S GL has not been created as cost element also. How the system has been accepted the postings to B/S GL with cost centre, eventhough that is not a cost element/B/S Account.