When you buy the stationery you debit stationery expense and credit cash.
However in the Statement of profit or loss we only want to show the cost of the stationery actually used. So if there is inventory at the end, then credit stationery expense (which reduces this years expense) and debit inventory (so we have the asset for the Statement of financial position).