# Set up an attribute-based pricing formula for a potency item

**Applies To:** Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Use this procedure to set up a batch attribute-based pricing formula for a potency item. You can create an identifier (ID) for advanced pricing with calculation equations that change the purchase price paid for the potency item.

Click

**Procurement and sourcing**>**Setup**>**Price/discount**>**Attribute-based pricing details**.Click

**New**to create a pricing formula line.In the

**Attribute-based pricing ID**field, enter an identification code for the attribute-based pricing formula.On the

**Equation**FastTab, in the**Equation**field, enter the equation for the advanced pricing formula. This equation calculates the purchase price of a potency item.Click

**Validate equation**to validate the equation.On the

**Elements**FastTab, click**Add variable**to add an equation variable.In the

**Equation element**field, enter the equation element that identifies a set of values that are used in the equation. Use only alphabetical characters for the equation element.In the

**Equation element type**field, select the type of equation element from the following options:**Purchase receipt quantity**─ The received quantity of the potency item.**Purchase price**─ The purchase price of the potency item.**Batch attribute – Actual**─ The actual percentage of potency for an inventory batch.**Constant**─ The standard percentage of potency for an inventory batch.**Select the element type**─ The default value for the type of equation element.**Batch attribute – Target**─ The target percentage of potency for an inventory batch.

In the

**Attribute**field, select the value of the batch attribute for the calculation.Note

This field is available only if you select

**Batch attribute – Actual**or**Batch attribute – Target**in the**Equation element type**field.In the

**Constant**field, enter the constant value or quantity value that is used for the calculation.

## See also

## Feedback

Loading feedback...