From IRS Publication 526
If you contribute inventory (property you sell in the course of your business), the amount you can deduct is the smaller of its fair market value on the day you contributed it or its basis. The basis of contributed inventory is any cost incurred for the inventory in an earlier year that you would otherwise include in your opening inventory for the year of the contribution. You must remove the amount of your charitable contribution deduction from your opening inventory. It isn't part of the cost of goods sold.
If the cost of donated inventory isn't included in your opening inventory, the inventory's basis is zero and you can't claim a charitable contribution deduction. Treat the inventory's cost as you would ordinarily treat it under your method of accounting. For example, include the purchase price of inventory bought and donated in the same year in the cost of goods sold for that year.
Link to Pub 526
https://www.irs.gov/publications/p526
In answer to part of your question, yes, you fill in the amount of the beginning inventory value and the year end is zero. However, if you're going to take a charitable contribution for the items donated, you must remove that cost from the beginning inventory and/or reduce the COS for the basis of the items donated. Otherwise you'll have a double deduction...COS AND charitable contribution. Based on the numbers you supplied, the FMV of just under $32,000 would not be used. Note above that they state the SMALLER of FMV or basis of inventory to be used for the charitable contribution.
Since you talk about partners, I'm assuming the LLC is filing as a partnership. Based on that, if you make charitable contributions, that shows up on Sch K, and on the individual Sch K-1s of the partners.
**Disclaimer: Effort has been made to offer correct information; but due to the discussion forum limitations, the poster disclaims any legal responsibility for the accuracy of the poster's response**