[fix bug 879757] Core functionality for the swag/budget automation.