SalesLine.calcLineAmountInteraction Method [AX 2012]

Calculates the line amount from a user interaction when the associated link to an agreement order.

line is invalid.

public AmountCur calcLineAmountInteraction(FieldId _fieldId, [Qty _qty])

Run On

Called

Parameters

_fieldId
Type: FieldId Extended Data Type
The field ID of the changed field that requires a recalculation of the line amount.
_qty
Type: Qty Extended Data Type
The sales quantity for which to calculate the line amount.

Return Value

Type: AmountCur Extended Data Type
The calculated line amount.

This method is used when you need the option to dissociate an agreement order line from a prompt.

This behavior may occur if a change will make the existing association with an agreement order line invalid.

Show: