Hi,
I have been looking around a lot and there is no way to get the remaining budget as it was answered in other posts. I found that with the BudgetOrderService I can get all the budgets for every clientCustomerId I have using a for loop. In the same loop I also generate a BudgetPerformanceReport where I can see the cost of my budgets. I wanted to compare the budgets from the BudgetOrderService (spendingLimit) with the cost of the BudgetPerformanceReport to find out if the budget is almost totally spent before it is ended. However, there are no correlation when I look at the BudgetId from the BudgetOrder and the BudgetId from the report, so it seems like I'm doing something wrong. Are the BudgetId fields different in the report and in the BudgetOrder?
Let me know if it isn't clear, my question is how to link the results of BudgetOrder and BudgetPerformanceReport? The BudgetId fields are all different.
Thanks,
Mathieu