Show / Hide Table of Contents

Class NSQuoteVersion

Information about a version of the.

Syntax

Constructors

NSQuoteVersion()

Initializes a new instance of the NSQuoteVersion class.

Declaration
NSQuoteVersion

Methods

GetApprovedBy()

Introduced or updated in version: 7.5

Declaration
Integer GetApprovedBy()
Returns
Type Description
Integer

ID of associate who approved (or rejected approval) for this version.

Examples
NSQuoteVersion thing;
Integer approvedBy = thing.GetApprovedBy();

GetApprovedRegisteredBy()

Introduced or updated in version: 7.5

Declaration
Integer GetApprovedRegisteredBy()
Returns
Type Description
Integer

ID of associate who actually entered the approval; might be different from ApprovedBy (f.x. due to telephone consultation/approval).

Examples
NSQuoteVersion thing;
Integer approvedRegisteredBy = thing.GetApprovedRegisteredBy();

GetApprovedRegisteredDate()

Introduced or updated in version: 7.5

Declaration
DateTime GetApprovedRegisteredDate()
Returns
Type Description
DateTime

When was approval granted or rejected.

Examples
NSQuoteVersion thing;
DateTime approvedRegisteredDate = thing.GetApprovedRegisteredDate();

GetApprovedText()

Introduced or updated in version: 7.5

Declaration
String GetApprovedText()
Returns
Type Description
String

Text with comments on why approval was granted (or rejected)

Examples
NSQuoteVersion thing;
String approvedText = thing.GetApprovedText();

GetArchivedState()

Introduced or updated in version: 7.5

Declaration
Integer GetArchivedState()
Returns
Type Description
Integer

State that this quote version had, right before it was changed to Archived. See QuoteVersionState.

Remarks

In this way we can show what happened before the archiving.

Examples
NSQuoteVersion thing;
Integer archivedState = thing.GetArchivedState();

GetDeliveryCountryId()

Introduced or updated in version: 7.5

Declaration
Integer GetDeliveryCountryId()
Returns
Type Description
Integer

Country of delivery address, typically copied from the contact record.

Examples
NSQuoteVersion thing;
Integer deliveryCountryId = thing.GetDeliveryCountryId();

GetDescription()

Introduced or updated in version: 7.5

Declaration
String GetDescription()
Returns
Type Description
String

Description of Version. Potentially longer text description, typically used in a tooltip. Max 2K.

Examples
NSQuoteVersion thing;
String description = thing.GetDescription();

GetERPDeliveryTermsKey()

Introduced or updated in version: 7.5

Declaration
String GetERPDeliveryTermsKey()
Returns
Type Description
String

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'FOB' ('Free on board').

Examples
NSQuoteVersion thing;
String eRPDeliveryTermsKey = thing.GetERPDeliveryTermsKey();

GetERPDeliveryTypeKey()

Introduced or updated in version: 7.5

Declaration
String GetERPDeliveryTypeKey()
Returns
Type Description
String

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'Air'.

Examples
NSQuoteVersion thing;
String eRPDeliveryTypeKey = thing.GetERPDeliveryTypeKey();

GetERPPaymentTermsKey()

Introduced or updated in version: 7.5

Declaration
String GetERPPaymentTermsKey()
Returns
Type Description
String

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'Standard 30 days'.

Examples
NSQuoteVersion thing;
String eRPPaymentTermsKey = thing.GetERPPaymentTermsKey();

GetERPPaymentTypeKey()

Introduced or updated in version: 7.5

Declaration
String GetERPPaymentTypeKey()
Returns
Type Description
String

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'Invoice'.

Examples
NSQuoteVersion thing;
String eRPPaymentTypeKey = thing.GetERPPaymentTypeKey();

GetERPQuoteVersionKey()

Introduced or updated in version: 7.5

Declaration
String GetERPQuoteVersionKey()
Returns
Type Description
String

Key in the ERP system that uniquely identifies this Version within the ERP system (if available, the field may be empty).

Examples
NSQuoteVersion thing;
String eRPQuoteVersionKey = thing.GetERPQuoteVersionKey();

GetExpirationDate()

Introduced or updated in version: 7.5

Declaration
DateTime GetExpirationDate()
Returns
Type Description
DateTime

Last date the quote Version is valid, expiration is at midnight end of this day.

Examples
NSQuoteVersion thing;
DateTime expirationDate = thing.GetExpirationDate();

GetExtraField1()

Introduced or updated in version: 7.5

Declaration
String GetExtraField1()
Returns
Type Description
String

Optional information added by Quote Connector; usable in the quote document merge process.

Examples
NSQuoteVersion thing;
String extraField1 = thing.GetExtraField1();

GetExtraField2()

Introduced or updated in version: 7.5

Declaration
String GetExtraField2()
Returns
Type Description
String

Optional information added by Quote Connector; usable in the quote document merge process.

Examples
NSQuoteVersion thing;
String extraField2 = thing.GetExtraField2();

GetExtraField3()

Introduced or updated in version: 7.5

Declaration
String GetExtraField3()
Returns
Type Description
String

Optional information added by Quote Connector; usable in the quote document merge process.

Examples
NSQuoteVersion thing;
String extraField3 = thing.GetExtraField3();

GetExtraField4()

Introduced or updated in version: 7.5

Declaration
String GetExtraField4()
Returns
Type Description
String

Optional information added by Quote Connector; usable in the quote document merge process.

Examples
NSQuoteVersion thing;
String extraField4 = thing.GetExtraField4();

GetExtraField5()

Introduced or updated in version: 7.5

Declaration
String GetExtraField5()
Returns
Type Description
String

Optional information added by Quote Connector; usable in the quote document merge process.

Examples
NSQuoteVersion thing;
String extraField5 = thing.GetExtraField5();

GetFollowupId()

Introduced or updated in version: 7.5

Declaration
Integer GetFollowupId()
Returns
Type Description
Integer

Link to a follow-up activity, created when this quote version was sent to the customer.

Examples
NSQuoteVersion thing;
Integer followupId = thing.GetFollowupId();

GetHasOwnDeliveryAddress()

Introduced or updated in version: 7.5

Declaration
Bool GetHasOwnDeliveryAddress()
Returns
Type Description
Bool

The delivery address is not the same as the contact's Street address.

Examples
NSQuoteVersion thing;
Bool hasOwnDeliveryAddress = thing.GetHasOwnDeliveryAddress();

GetHasOwnInvoiceAddress()

Introduced or updated in version: 7.5

Declaration
Bool GetHasOwnInvoiceAddress()
Returns
Type Description
Bool

The quote has an address for Invoicing. This will typically be copied from the company's addresses.

Examples
NSQuoteVersion thing;
Bool hasOwnInvoiceAddress = thing.GetHasOwnInvoiceAddress();

GetInvoiceCountryId()

Introduced or updated in version: 7.5

Declaration
Integer GetInvoiceCountryId()
Returns
Type Description
Integer

Country of invoice address, typically copied from contact record.

Examples
NSQuoteVersion thing;
Integer invoiceCountryId = thing.GetInvoiceCountryId();

GetLastRecalculated()

Introduced or updated in version: 7.5

Declaration
DateTime GetLastRecalculated()
Returns
Type Description
DateTime

When this version was last subjected to a total recalculation.

Remarks

This field must be set by the connector, since the connector may choose to ignore a RecalculateVersion call based on policies and possibly the current value of this field. SuperOffice will set this field to 1.1.1760 whenever any change occurs to the quote, to indicate that a recalculation is needed.

Examples
NSQuoteVersion thing;
DateTime lastRecalculated = thing.GetLastRecalculated();

GetLikelyQuoteAlternativeId()

Introduced or updated in version: 7.5

Declaration
Integer GetLikelyQuoteAlternativeId()
Returns
Type Description
Integer

The alternative that is considered most likely to be accepted. Used to calculate probable income.

Examples
NSQuoteVersion thing;
Integer likelyQuoteAlternativeId = thing.GetLikelyQuoteAlternativeId();

GetNumber()

Introduced or updated in version: 7.5

Declaration
String GetNumber()
Returns
Type Description
String

A quote number that the user (or ERP connector) can fill out.

Examples
NSQuoteVersion thing;
String number = thing.GetNumber();

GetQuoteAlternatives()

Introduced or updated in version: 7.5

Declaration
NSQuoteAlternative[] GetQuoteAlternatives()
Returns
Type Description
NSQuoteAlternative[]

The QuoteAlternatives for the NSQuoteVersion.

Examples
NSQuoteVersion thing;
NSQuoteAlternative[] quoteAlternatives = thing.GetQuoteAlternatives();

GetQuoteId()

Introduced or updated in version: 7.5

Declaration
Integer GetQuoteId()
Returns
Type Description
Integer

Foreign key to CRM quote (the conceptual parent). Owning Quote of this Quote Version.

Examples
NSQuoteVersion thing;
Integer quoteId = thing.GetQuoteId();

GetQuoteVersionId()

Introduced or updated in version: 7.5

Declaration
Integer GetQuoteVersionId()
Returns
Type Description
Integer

Primary key.

Examples
NSQuoteVersion thing;
Integer quoteVersionId = thing.GetQuoteVersionId();

GetRank()

Introduced or updated in version: 7.5

Declaration
Integer GetRank()
Returns
Type Description
Integer

Rank/Version number, starts at 1

Examples
NSQuoteVersion thing;
Integer rank = thing.GetRank();

GetReason()

Introduced or updated in version: 7.5

Declaration
String GetReason()
Returns
Type Description
String

If there was a problem, this field contains a localized explanation of the problem and possible steps to fix it that the user can be shown.

Examples
NSQuoteVersion thing;
String reason = thing.GetReason();

GetRegistered()

Introduced or updated in version: 7.5

Declaration
DateTime GetRegistered()
Returns
Type Description
DateTime

Registered when.

Examples
NSQuoteVersion thing;
DateTime registered = thing.GetRegistered();

GetRegisteredAssociateId()

Introduced or updated in version: 7.5

Declaration
Integer GetRegisteredAssociateId()
Returns
Type Description
Integer

Registered by whom.

Examples
NSQuoteVersion thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();

GetSentDate()

Introduced or updated in version: 7.5

Declaration
DateTime GetSentDate()
Returns
Type Description
DateTime

The date the version was sent to the customer.

Examples
NSQuoteVersion thing;
DateTime sentDate = thing.GetSentDate();

GetState()

Introduced or updated in version: 7.5

Declaration
Integer GetState()
Returns
Type Description
Integer

Current state of this quote version. See QuoteVersionState.

Examples
NSQuoteVersion thing;
Integer state = thing.GetState();

GetStatus()

Introduced or updated in version: 7.5

Declaration
Integer GetStatus()
Returns
Type Description
Integer

If there was a problem with for instance calculation, this field is set to warning or error. See QuoteStatus.

Examples
NSQuoteVersion thing;
Integer status = thing.GetStatus();

GetUpdated()

Introduced or updated in version: 7.5

Declaration
DateTime GetUpdated()
Returns
Type Description
DateTime

Last updated when.

Examples
NSQuoteVersion thing;
DateTime updated = thing.GetUpdated();

GetUpdatedAssociateId()

Introduced or updated in version: 7.5

Declaration
Integer GetUpdatedAssociateId()
Returns
Type Description
Integer

Last updated by whom.

Examples
NSQuoteVersion thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();

SetApprovedBy(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetApprovedBy(Integer approvedBy)
Parameters
Type Name Description
Integer approvedBy

ID of associate who approved (or rejected approval) for this version.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer approvedBy;
thing.SetApprovedBy(approvedBy);

SetApprovedRegisteredBy(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetApprovedRegisteredBy(Integer approvedRegisteredBy)
Parameters
Type Name Description
Integer approvedRegisteredBy

ID of associate who actually entered the approval; might be different from ApprovedBy (f.x. due to telephone consultation/approval).

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer approvedRegisteredBy;
thing.SetApprovedRegisteredBy(approvedRegisteredBy);

SetApprovedRegisteredDate(DateTime)

Introduced or updated in version: 7.5

Declaration
Void SetApprovedRegisteredDate(DateTime approvedRegisteredDate)
Parameters
Type Name Description
DateTime approvedRegisteredDate

When was approval granted or rejected.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
DateTime approvedRegisteredDate;
thing.SetApprovedRegisteredDate(approvedRegisteredDate);

SetApprovedText(String)

Introduced or updated in version: 7.5

Declaration
Void SetApprovedText(String approvedText)
Parameters
Type Name Description
String approvedText

Text with comments on why approval was granted (or rejected).

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String approvedText;
thing.SetApprovedText(approvedText);

SetArchivedState(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetArchivedState(Integer archivedState)
Parameters
Type Name Description
Integer archivedState

State that this quote version had, right before it was changed to Archived; in this way we can show what happened before the archiving. See QuoteVersionState.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer archivedState;
thing.SetArchivedState(archivedState);

SetDeliveryCountryId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetDeliveryCountryId(Integer deliveryCountryId)
Parameters
Type Name Description
Integer deliveryCountryId

Country of delivery address, typically copied from the contact record.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer deliveryCountryId;
thing.SetDeliveryCountryId(deliveryCountryId);

SetDescription(String)

Introduced or updated in version: 7.5

Declaration
Void SetDescription(String description)
Parameters
Type Name Description
String description

Description of Version. Potentially longer text description, typically used in a tooltip. Max 2K.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String description;
thing.SetDescription(description);

SetERPDeliveryTermsKey(String)

Introduced or updated in version: 7.5

Declaration
Void SetERPDeliveryTermsKey(String eRPDeliveryTermsKey)
Parameters
Type Name Description
String eRPDeliveryTermsKey

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'FOB' ('Free on board').

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String eRPDeliveryTermsKey;
thing.SetERPDeliveryTermsKey(eRPDeliveryTermsKey);

SetERPDeliveryTypeKey(String)

Introduced or updated in version: 7.5

Declaration
Void SetERPDeliveryTypeKey(String eRPDeliveryTypeKey)
Parameters
Type Name Description
String eRPDeliveryTypeKey

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'Air'.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String eRPDeliveryTypeKey;
thing.SetERPDeliveryTypeKey(eRPDeliveryTypeKey);

SetERPPaymentTermsKey(String)

Introduced or updated in version: 7.5

Declaration
Void SetERPPaymentTermsKey(String eRPPaymentTermsKey)
Parameters
Type Name Description
String eRPPaymentTermsKey

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'Standard 30 days'.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String eRPPaymentTermsKey;
thing.SetERPPaymentTermsKey(eRPPaymentTermsKey);

SetERPPaymentTypeKey(String)

Introduced or updated in version: 7.5

Declaration
Void SetERPPaymentTypeKey(String eRPPaymentTypeKey)
Parameters
Type Name Description
String eRPPaymentTypeKey

Either a ListId to an ID from a connector provided list, or, if the connection doesn't support lists, a text. For instance 'Invoice'.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String eRPPaymentTypeKey;
thing.SetERPPaymentTypeKey(eRPPaymentTypeKey);

SetERPQuoteVersionKey(String)

Introduced or updated in version: 7.5

Declaration
Void SetERPQuoteVersionKey(String eRPQuoteVersionKey)
Parameters
Type Name Description
String eRPQuoteVersionKey

Key in the ERP system that uniquely identifies this Version within the ERP system (if available, the field may be empty).

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String eRPQuoteVersionKey;
thing.SetERPQuoteVersionKey(eRPQuoteVersionKey);

SetExpirationDate(DateTime)

Introduced or updated in version: 7.5

Declaration
Void SetExpirationDate(DateTime expirationDate)
Parameters
Type Name Description
DateTime expirationDate

Last date the quote Version is valid, expiration is at midnight end of this day.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
DateTime expirationDate;
thing.SetExpirationDate(expirationDate);

SetExtraField1(String)

Introduced or updated in version: 7.5

Declaration
Void SetExtraField1(String extraField1)
Parameters
Type Name Description
String extraField1

Optional information added by Quote Connector; usable in the quote document merge process.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String extraField1;
thing.SetExtraField1(extraField1);

SetExtraField2(String)

Introduced or updated in version: 7.5

Declaration
Void SetExtraField2(String extraField2)
Parameters
Type Name Description
String extraField2

Optional information added by Quote Connector; usable in the quote document merge process.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String extraField2;
thing.SetExtraField2(extraField2);

SetExtraField3(String)

Introduced or updated in version: 7.5

Declaration
Void SetExtraField3(String extraField3)
Parameters
Type Name Description
String extraField3

Optional information added by Quote Connector; usable in the quote document merge process.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String extraField3;
thing.SetExtraField3(extraField3);

SetExtraField4(String)

Introduced or updated in version: 7.5

Declaration
Void SetExtraField4(String extraField4)
Parameters
Type Name Description
String extraField4

Optional information added by Quote Connector; usable in the quote document merge process.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String extraField4;
thing.SetExtraField4(extraField4);

SetExtraField5(String)

Introduced or updated in version: 7.5

Declaration
Void SetExtraField5(String extraField5)
Parameters
Type Name Description
String extraField5

Optional information added by Quote Connector; usable in the quote document merge process.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String extraField5;
thing.SetExtraField5(extraField5);

SetFollowupId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetFollowupId(Integer followupId)
Parameters
Type Name Description
Integer followupId

Link to a follow-up activity, created when this quote version was sent to the customer.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer followupId;
thing.SetFollowupId(followupId);

SetHasOwnDeliveryAddress(Bool)

Introduced or updated in version: 7.5

Declaration
Void SetHasOwnDeliveryAddress(Bool hasOwnDeliveryAddress)
Parameters
Type Name Description
Bool hasOwnDeliveryAddress

The delivery address is not the same as the contact's Street address.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Bool hasOwnDeliveryAddress;
thing.SetHasOwnDeliveryAddress(hasOwnDeliveryAddress);

SetHasOwnInvoiceAddress(Bool)

Introduced or updated in version: 7.5

Declaration
Void SetHasOwnInvoiceAddress(Bool hasOwnInvoiceAddress)
Parameters
Type Name Description
Bool hasOwnInvoiceAddress

The quote has an address for Invoicing. This will typically be copied from the company's addresses.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Bool hasOwnInvoiceAddress;
thing.SetHasOwnInvoiceAddress(hasOwnInvoiceAddress);

SetInvoiceCountryId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetInvoiceCountryId(Integer invoiceCountryId)
Parameters
Type Name Description
Integer invoiceCountryId

Country of invoice address, typically copied from contact record.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer invoiceCountryId;
thing.SetInvoiceCountryId(invoiceCountryId);

SetLastRecalculated(DateTime)

Introduced or updated in version: 7.5

Declaration
Void SetLastRecalculated(DateTime lastRecalculated)
Parameters
Type Name Description
DateTime lastRecalculated

When this version was last subjected to a total recalculation. This field must be set by the connector, since the connector may choose to ignore a RecalculateVersion call based on policies and possibly the current value of this field. SuperOffice will set this field to 1.1.1760 whenever any change occurs to the quote, to indicate that a recalculation is needed.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
DateTime lastRecalculated;
thing.SetLastRecalculated(lastRecalculated);

SetLikelyQuoteAlternativeId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetLikelyQuoteAlternativeId(Integer likelyQuoteAlternativeId)
Parameters
Type Name Description
Integer likelyQuoteAlternativeId

The alternative that is considered most likely to be accepted. Used to calculate probable income.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer likelyQuoteAlternativeId;
thing.SetLikelyQuoteAlternativeId(likelyQuoteAlternativeId);

SetNumber(String)

Introduced or updated in version: 7.5

Declaration
Void SetNumber(String number)
Parameters
Type Name Description
String number

A quote number that the user (or ERP connector) can fill out.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String number;
thing.SetNumber(number);

SetQuoteAlternatives(NSQuoteAlternative[])

Introduced or updated in version: 7.5

Declaration
Void SetQuoteAlternatives(NSQuoteAlternative[] quoteAlternatives)
Parameters
Type Name Description
NSQuoteAlternative[] quoteAlternatives

The QuoteAlternatives for the NSQuoteVersion.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
NSQuoteAlternative[] quoteAlternatives;
thing.SetQuoteAlternatives(quoteAlternatives);

SetQuoteId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetQuoteId(Integer quoteId)
Parameters
Type Name Description
Integer quoteId

Foreign key to CRM quote (the conceptual parent). Owning Quote of this Quote Version.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer quoteId;
thing.SetQuoteId(quoteId);

SetQuoteVersionId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetQuoteVersionId(Integer quoteVersionId)
Parameters
Type Name Description
Integer quoteVersionId

Primary key.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer quoteVersionId;
thing.SetQuoteVersionId(quoteVersionId);

SetRank(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetRank(Integer rank)
Parameters
Type Name Description
Integer rank

Rank/Version number, starts at 1

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer rank;
thing.SetRank(rank);

SetReason(String)

Introduced or updated in version: 7.5

Declaration
Void SetReason(String reason)
Parameters
Type Name Description
String reason

If there was a problem, this field contains a localized explanation of the problem and possible steps to fix it that the user can be shown.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
String reason;
thing.SetReason(reason);

SetRegistered(DateTime)

Introduced or updated in version: 7.5

Declaration
Void SetRegistered(DateTime registered)
Parameters
Type Name Description
DateTime registered

Registered when.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
DateTime registered;
thing.SetRegistered(registered);

SetRegisteredAssociateId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetRegisteredAssociateId(Integer registeredAssociateId)
Parameters
Type Name Description
Integer registeredAssociateId

Registered by whom.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);

SetSentDate(DateTime)

Introduced or updated in version: 7.5

Declaration
Void SetSentDate(DateTime sentDate)
Parameters
Type Name Description
DateTime sentDate

The date the version was sent to the customer.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
DateTime sentDate;
thing.SetSentDate(sentDate);

SetState(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetState(Integer state)
Parameters
Type Name Description
Integer state

Current state of this quote version. See QuoteVersionState.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer state;
thing.SetState(state);

SetStatus(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetStatus(Integer status)
Parameters
Type Name Description
Integer status

If there was a problem with for instance calculation, this field is set to warning or error. See QuoteStatus.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer status;
thing.SetStatus(status);

SetUpdated(DateTime)

Introduced or updated in version: 7.5

Declaration
Void SetUpdated(DateTime updated)
Parameters
Type Name Description
DateTime updated

Last updated when.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
DateTime updated;
thing.SetUpdated(updated);

SetUpdatedAssociateId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetUpdatedAssociateId(Integer updatedAssociateId)
Parameters
Type Name Description
Integer updatedAssociateId

Last updated by whom.

Returns
Type Description
Void
Examples
NSQuoteVersion thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top