First, I'm a complete novice at this so be kind. I was able to get a similar version of this very simple script to work for another client (with a slightly different calculation), but for some reason it's not working at another client's site. Everything is set up the same (I think). It's a line item calculation based off the quantity shipped and a UDF that pulls a value from CI_Item, then just some maths. What am I missing? All I get is zeros. I tried changing the calculation to just one of the variables (no calc) just to see if it would populate. Still zeros, so I'm thinking it's not the script but the screen recognizing it exists. Yes, I attached the script to the screen as seen below. This is Sage 100 2018 Advanced. Not sure what else I should check, so any guidance would be appreciated.
#scripting
------------------------------
Bill Pfahnl
Nims & Associates
------------------------------