How to manually adjust inventory in X3 v12

I need to adjust stock by writing off to samples GL. We would need to set up an adjustment reason and then transact, Not sure how to do either. Thank you!