Discount By Percentage Base (R-DISCPC.MAC)
![]()
The script file must be located in your CAPITAL program directory and must have the file name R-DISCPC.MAC
Entry Values
|
Variable |
Purpose |
|
I |
Internal price (unit sell price). |
|
LP |
List Price. |
|
Stock->X |
Stock Control fields. |
Return Values
The dollar amount to base the percentage discount on.
Comments
None.
Example
* Calculate on current unit price entered
* on transaction
Return I
____________________________
Related Topics:
![]() |