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

Script Logic Help

$
0
0

Hi All,

 

Need help with Script Logic ...We have a scenario where based on MATERIAL_TYPE  (which is a property of MATERIAL dimension) we want calculate the FEEDSTOCK_COST.

 

 

*XDIM_MEMBERSET CATEGORY = BM

*XDIM_MEMBERSET ACCOUNT_P = CONSUMPTION_VALUE
*XDIM_MEMBERSET ACCOUNT_P = FEEDSTOCK_COST
*XDIM_FILTER    MATERIAL = [MATERIAL].Properties(“MATERIAL_TYPE”) = ZROH

*WHEN MATERIAL
*IS %MATERIAL_SET%
*REC (ACCOUNT_P.FEEDSTOCK_COST = ACCOUNT_P.CONSUMPTION_VALUE)
*ENDWHEN
*COMMIT

 

 

While validating it throws an error of "Invalid format of *XDIM_FILTER "[MATERIAL].Properties(“MATERIAL_TYPE”) = ZROH"

 

Can anyone suggest where I am going wrong ...

 

Thanks ,

Ravi


Viewing all articles
Browse latest Browse all 9063

Trending Articles



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