Brand and default supplier: item card → «Brand» and «Default supplier» (the second shows for users with the purchases right). The default supplier is used by the reorder suggestions instead of the last supplier bought from, when set. Both are columns in the Excel import and export (brand, and supplier by name).
Last cost: Accounting → Cost of sales method → pick «Last cost (last purchase price)» beside weighted average and FIFO. Then every purchase invoice sets the item cost to its latest purchase price as is, no averaging. It applies from the change; past sales stay as they were.
If you get stuck on any step, ask the smart assistant inside the program.