Class NSQuoteAlternativeRecalculated

The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.

Constructors

NSQuoteAlternativeRecalculated()

Initializes a new instance of the NSQuoteAlternative class.

Declaration

NSQuoteAlternativeRecalculated

Methods

GetChangedQuoteAlternative()

Declaration

NSQuoteAlternative GetChangedQuoteAlternative()

Examples

NSQuoteAlternativeRecalculated thing;
NSQuoteAlternative changedQuoteAlternative = thing.GetChangedQuoteAlternative();

Returns

Type Description
NSQuoteAlternative The recalculated NSQuoteAlternative.

GetChanges()

Declaration

NSChangedData GetChanges()

Examples

NSQuoteAlternativeRecalculated thing;
NSChangedData changes = thing.GetChanges();

Returns

Type Description
NSChangedData Table name or record ID of data changed by this method.

GetQuoteLinesHasChanged()

Declaration

Bool GetQuoteLinesHasChanged()

Examples

NSQuoteAlternativeRecalculated thing;
Bool quoteLinesHasChanged = thing.GetQuoteLinesHasChanged();

Returns

Type Description
Bool If true any of the quote lines for the alternative has been changed.

SetChangedQuoteAlternative(NSQuoteAlternative)

Declaration

Void SetChangedQuoteAlternative(NSQuoteAlternative changedQuoteAlternative)

Examples

NSQuoteAlternativeRecalculated thing;
NSQuoteAlternative changedQuoteAlternative;
thing.SetChangedQuoteAlternative(changedQuoteAlternative);

Parameters

Type Name Description
NSQuoteAlternative changedQuoteAlternative The recalculated NSQuoteAlternative.

Returns

Type Description
Void

SetChanges(NSChangedData)

Declaration

Void SetChanges(NSChangedData changes)

Examples

NSQuoteAlternativeRecalculated thing;
NSChangedData changes;
thing.SetChanges(changes);

Parameters

Type Name Description
NSChangedData changes Table name or record ID of data changed by this method.

Returns

Type Description
Void

SetQuoteLinesHasChanged(Bool)

Declaration

Void SetQuoteLinesHasChanged(Bool quoteLinesHasChanged)

Examples

NSQuoteAlternativeRecalculated thing;
Bool quoteLinesHasChanged;
thing.SetQuoteLinesHasChanged(quoteLinesHasChanged);

Parameters

Type Name Description
Bool quoteLinesHasChanged If true any of the quote lines for the alternative has been changed.

Returns

Type Description
Void