Recalculate Quote Alternative
When the user changes one or more values in a quoteline or a quoteAlternative, the connector gets to change the QuoteLines and the alternative, for instance calculate VAT.
RecalculateQuoteAlternative shall be called when the user changes any of the following fields: Quantity, DiscountAmount, DiscountPercent, listprice (if allowed). RecalculateQuoteAlternative will calculate the TotalPrice and the VAT (if possible) for the lines and the alternative. NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
QuoteAlternative
RecalculateQuoteAlternative: When the user changes one or more values in a quoteline or a quoteAlternative, the connector gets to change the QuoteLines and the alternative, for instance calculate VAT. RecalculateQuoteAlternative shall be called when the user changes any of the following fields: Quantity, DiscountAmount, DiscountPercent, listprice (if allowed). RecalculateQuoteAlternative will calculate the TotalPrice and the VAT (if possible) for the lines and the alternative.
Response
OK
The QuoteAlternativeRecalculated is returned after a call to RecalculateQuoteAlternative. It contains flags indicating changes to quote alternative and quote lines. Carrier object for QuoteAlternativeRecalculated. Services for the QuoteAlternativeRecalculated Carrier is available from the Quote Agent.
If true any of the quotelines for the alternative has been changed.
Information about a connection to the ERP system. Carrier object for QuoteAlternative. Services for the QuoteAlternative Carrier is available from the Quote Agent.
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update Carrier object for ChangedData. Services for the ChangedData Carrier is available from the Quote Agent.
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
NSQuoteAlternativeRecalculatedNSQuoteAgentIQuoteConnectorPrice calculations and field changesValidate Quote VersionRecalculate Quote Line