Write, Bureaucrats, Administrators
4,332
edits
mNo edit summary |
mNo edit summary |
||
Line 55: | Line 55: | ||
::* Either using the '''+Field''' button or by just typing, enter this script: | ::* Either using the '''+Field''' button or by just typing, enter this script: | ||
<source lang="JavaScript"> | <source lang="JavaScript"> | ||
#{product.std price} - #{product.cost} | #{product.std price} - #{product.cost} | ||
</source> | </source> | ||
:* '''Order margin''' — [[Calculation field]] | :* '''Order margin''' — [[Calculation field]] | ||
::* Enter this script: | ::* Enter this script: | ||
<source lang="JavaScript"> | <source lang="JavaScript"> | ||
#{price} - #{product.cost} | #{price} - #{product.cost} | ||
</source> | </source> | ||