how does the finance function relate to company spending