idg Function [AX 2012]

Updated: November 24, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Calculates the sale price based on the purchase price and the contribution ratio.


real idg(real purchase, real contribution_ratio)

Parameter

Description

purchase

The purchase price.

contribution_ratio

The contribution ratio.

The sale price.

If the contribution ratio is equal to 1.0, the calculation cannot be made.

The idg function is the inverse of the dg function.

  • idg(300,0.7); //Returns the value 1000.

  • idg(11000,0.45); //Returns the value 20000.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: