generate/cbs2.gif Discount By Percentage Base (R-DISCPC.MAC)

generate/en711.gif


 

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:

Scripting Hooks

Script Programming

Transaction Discount



Help Topic Map