Business & farm

Thanks! Out of curiosity at what point do I cease to have basis in the investment other than just completely selling it off? When the loss reported on the K-1 has exceeded the initial basis?