|
发表于 2014-3-20 07:55:27
|
显示全部楼层
The problem I see here, other than it's bad practice to just blindly spread budgeted input amounts along actuals, is that what you are saying and what your examples show are two different things.
karan2345 wrote:The user enters a total amount at the above specified cells and this value is used across all the elements.
Code: ['Budgeted','Amount']=N:['No Cust Class','No Product Line','None Market','No Item Sales Group','Budgeted','Amount']; Where exactly is this value spread across all elements based on actual? All you are doing here is make every single Market Segment, Product Line, Market, and Item Sales Group equal to the amount entered in the
No Cust Class, No Product Line, None Market, No Item Sales Group elements. This is just making your total budget numbers invalid.
Assuming you wanted such a rule, it would look like this:
Code: ['Budgeted','Amount']=N:
DB('Sales Budgeting',!Sales Facility,!Year,!Months,'No Cust Class','No Product Line','None Market','No Item Sales Group',!'Budgeted','Amount')*
DB('Sales Budgeting',!Sales Facility,!Year,!Months,!Market Segment,!Product Line,!Market,!Item Sales Group,'Actual','Amount')
DB('Sales Budgeting',!Sales Facility,!Year,!Months,'Total Market Segment','Total Product Line','Total Market','Total Item Sales Group','Actual','Amount');
Other than just needlessly blowing out data for no good reason, you also have to realize that by doing this you can't budget in an account that doesn't have actuals because then the breakdown along actuals would not work. If that's OK then you can just use Actual to feed budget and forget about all our worries:
Code: FEEDERS;
['Actual']=>['Budget']; |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|