Magento 2: There are no source items with the in stock status

Job ID: 36054282

Budget: $10 – $30 USD

Bid only the completion price, work via Teamviewer only.

we have a issue when we try to add product in basket it gives this error : There are no source items with the in stock status.
but we can fix this by applying the fix here: https://magento.stackexchange.com/a/354632/13881
but after every import from stock in the channel for products, it removes quntity per source and saleable quanity goes blank.
we need an expert not a google solution finder.
Related categories: PHP JavaScript SQL MariaDB Magento 2