Write, Bureaucrats, Administrators
4,332
edits
mNo edit summary |
mNo edit summary |
||
Line 51: | Line 51: | ||
:* '''Product margin''' — [[JavaScript field]] | :* '''Product margin''' — [[JavaScript field]] | ||
::* 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">field('Product std price') - field('Product cost')</source> | ||
field('Product std price') - field('Product cost') | |||
</source> | |||
:* '''Order margin''' — [[JavaScript field]] | :* '''Order margin''' — [[JavaScript field]] | ||
::* Enter this script: | ::* Enter this script: |