Class NSQuoteAlternativeRecalculated
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Syntax
Constructors
NSQuoteAlternativeRecalculated()
Initializes a new instance of the NSQuoteAlternative class.
Declaration
NSQuoteAlternativeRecalculated
Methods
GetChangedQuoteAlternative()
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Declaration
NSQuoteAlternative GetChangedQuoteAlternative()
Returns
Type | Description |
---|---|
NSQuoteAlternative | The recalculated NSQuoteAlternative. |
Examples
NSQuoteAlternativeRecalculated thing;
NSQuoteAlternative changedQuoteAlternative = thing.GetChangedQuoteAlternative();
GetChanges()
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Declaration
NSChangedData GetChanges()
Returns
Type | Description |
---|---|
NSChangedData | Table name or record ID of data changed by this method. |
Examples
NSQuoteAlternativeRecalculated thing;
NSChangedData changes = thing.GetChanges();
GetQuoteLinesHasChanged()
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Declaration
Bool GetQuoteLinesHasChanged()
Returns
Type | Description |
---|---|
Bool | If true any of the quote lines for the alternative has been changed. |
Examples
NSQuoteAlternativeRecalculated thing;
Bool quoteLinesHasChanged = thing.GetQuoteLinesHasChanged();
SetChangedQuoteAlternative(NSQuoteAlternative)
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Declaration
Void SetChangedQuoteAlternative(NSQuoteAlternative changedQuoteAlternative)
Parameters
Type | Name | Description |
---|---|---|
NSQuoteAlternative | changedQuoteAlternative | The recalculated NSQuoteAlternative. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteAlternativeRecalculated thing;
NSQuoteAlternative changedQuoteAlternative;
thing.SetChangedQuoteAlternative(changedQuoteAlternative);
SetChanges(NSChangedData)
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Declaration
Void SetChanges(NSChangedData changes)
Parameters
Type | Name | Description |
---|---|---|
NSChangedData | changes | Table name or record ID of data changed by this method. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteAlternativeRecalculated thing;
NSChangedData changes;
thing.SetChanges(changes);
SetQuoteLinesHasChanged(Bool)
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines.
Declaration
Void SetQuoteLinesHasChanged(Bool quoteLinesHasChanged)
Parameters
Type | Name | Description |
---|---|---|
Bool | quoteLinesHasChanged | If true any of the quote lines for the alternative has been changed. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteAlternativeRecalculated thing;
Bool quoteLinesHasChanged;
thing.SetQuoteLinesHasChanged(quoteLinesHasChanged);