Automation of the supply department