Global::contributionRatio Method [AX 2012]

Calculates the contribution ratio, which is based on the sales price and the purchase price.

Syntax

client server public static real contributionRatio(real sale, real purchase)

Run On

Called

Parameters

  • sale
    Type: real
    The sale price. The sale price must be greater than 0.
  • purchase
    Type: real
    The purchase price.

Return Value

Type: real
The contribution ratio.

See Also

Reference

Global Class