It those are the names of your fields, you don't need a custom script. You can use a Simplified Notation script and just enter this:
qty * UnitCost - disc
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com
qty * UnitCost - disc
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com