Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Planning by amount and/or quantity.

$
0
0

Sorry, but what is the issue?

 

You can plan on SelPrice and Qty, then you will have script in default.lgf to calculate:

 

*WHEN ACCOUNT

*IS SelPrice

*REC(EXPRESSION=[ACCOUNT].[SelPrice]*[ACCOUNT].[Qty],ACCOUNT=SalesAmount)

*ENDWHEN

 

*WHEN ACCOUNT

*IS Qty

*REC(EXPRESSION=[ACCOUNT].[SelPrice]*[ACCOUNT].[Qty],ACCOUNT=SalesAmount)

*ENDWHEN

 

If you want to restrict this calculation to only some products with property CALCAMOUNT=Y

 

then add before WHEN:

 

*XDIM_FILTER Product = [Product].properties("CALCAMOUNT") = "Y"

 

Vadim


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>