PurchLine.calcLineAmountForcedInteraction Method
Calculates the line amount with user interaction if associated link to agreement line becomes invalid.
Syntax
public AmountCur calcLineAmountForcedInteraction(
FieldId _fieldId,
[Qty _qty,
boolean _recalcValidLink])
Run On
Called
Parameters
- _fieldId
Type: FieldId Extended Data Type
The field ID for the field which changes require recalculation of line amount.
- _qty
Type: Qty Extended Data Type
The purchase quantity used for calculating the line amount.
- _recalcValidLink
Type: boolean
A Boolean value that indicates whether to calculate line amount if the agreement link is valid; optional.
Return Value
Type: AmountCur Extended Data Type
The line amount.
Remarks
Used when there is a need for the option to dissociate agreement line via prompt if changes will make the existing association to a agreement line invalid.