Menu Edit> Preferences>Items & Inventory>Company tab check mark that inventory & purchase orders are active, when you create the first inventory item, QB will create the inventory asset and COGS accounts.
Resolution for 'COGS accounts issue: 'in new items there is no inventory what i do?' available: Yes.
The COGS accounts issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the COGS accounts issue yourself by looking for a resolution described in the article. If it is a complex COGS accounts issue or you are unable to solve the issue, you may contact us by clicking here or by using other COGS accounts support options.
For more information about resolving issues related to COGS accounts in Quickbooks/QBO or to get support for the issue 'in new items there is no inventory what i do?', click the link below: