> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSQuoteVersion

> Information about a version of the.

Information about a version of the.

## Constructors

### NSQuoteVersion()

```crmscript theme={null}
NSQuoteVersion
```

Initializes a new instance of the NSQuoteVersion class.

## Methods

## GetApprovedBy()

```crmscript theme={null}
Integer GetApprovedBy()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - ID of associate who approved (or rejected approval) for this version.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer approvedBy = thing.GetApprovedBy();
```

## GetApprovedRegisteredBy()

```crmscript theme={null}
Integer GetApprovedRegisteredBy()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - ID of associate who actually entered the approval; might be different from ApprovedBy (f.x. due to telephone consultation/approval).

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer approvedRegisteredBy = thing.GetApprovedRegisteredBy();
```

## GetApprovedRegisteredDate()

```crmscript theme={null}
DateTime GetApprovedRegisteredDate()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - When was approval granted or rejected.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime approvedRegisteredDate = thing.GetApprovedRegisteredDate();
```

## GetApprovedText()

```crmscript theme={null}
String GetApprovedText()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Text with comments on why approval was granted (or rejected)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String approvedText = thing.GetApprovedText();
```

## GetArchivedState()

```crmscript theme={null}
Integer GetArchivedState()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - State that this quote version had, right before it was changed to Archived. See \<xref href="CRMScript.NetServer.QuoteVersionState" data-throw-if-not-resolved="false">\</xref>.

<Note>
  In this way we can show what happened before the archiving.
</Note>

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer archivedState = thing.GetArchivedState();
```

## GetDeliveryCountryId()

```crmscript theme={null}
Integer GetDeliveryCountryId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Country of delivery address, typically copied from the contact record.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer deliveryCountryId = thing.GetDeliveryCountryId();
```

## GetDescription()

```crmscript theme={null}
String GetDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Description of Version. Potentially longer text description, typically used in a tooltip. Max 2K.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String description = thing.GetDescription();
```

## GetERPDeliveryTermsKey()

```crmscript theme={null}
String GetERPDeliveryTermsKey()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.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').

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPDeliveryTermsKey = thing.GetERPDeliveryTermsKey();
```

## GetERPDeliveryTypeKey()

```crmscript theme={null}
String GetERPDeliveryTypeKey()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.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'.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPDeliveryTypeKey = thing.GetERPDeliveryTypeKey();
```

## GetERPPaymentTermsKey()

```crmscript theme={null}
String GetERPPaymentTermsKey()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.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'.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPPaymentTermsKey = thing.GetERPPaymentTermsKey();
```

## GetERPPaymentTypeKey()

```crmscript theme={null}
String GetERPPaymentTypeKey()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.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'.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPPaymentTypeKey = thing.GetERPPaymentTypeKey();
```

## GetERPQuoteVersionKey()

```crmscript theme={null}
String GetERPQuoteVersionKey()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Key in the ERP system that uniquely identifies this Version within the ERP system (if available, the field may be empty).

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPQuoteVersionKey = thing.GetERPQuoteVersionKey();
```

## GetExpirationDate()

```crmscript theme={null}
DateTime GetExpirationDate()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Last date the quote Version is valid, expiration is at midnight end of this day.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime expirationDate = thing.GetExpirationDate();
```

## GetExtraField1()

```crmscript theme={null}
String GetExtraField1()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Optional information added by Quote Connector; usable in the quote document merge process.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField1 = thing.GetExtraField1();
```

## GetExtraField2()

```crmscript theme={null}
String GetExtraField2()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Optional information added by Quote Connector; usable in the quote document merge process.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField2 = thing.GetExtraField2();
```

## GetExtraField3()

```crmscript theme={null}
String GetExtraField3()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Optional information added by Quote Connector; usable in the quote document merge process.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField3 = thing.GetExtraField3();
```

## GetExtraField4()

```crmscript theme={null}
String GetExtraField4()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Optional information added by Quote Connector; usable in the quote document merge process.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField4 = thing.GetExtraField4();
```

## GetExtraField5()

```crmscript theme={null}
String GetExtraField5()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Optional information added by Quote Connector; usable in the quote document merge process.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField5 = thing.GetExtraField5();
```

## GetFollowupId()

```crmscript theme={null}
Integer GetFollowupId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Link to a follow-up activity, created when this quote version was sent to the customer.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer followupId = thing.GetFollowupId();
```

## GetHasOwnDeliveryAddress()

```crmscript theme={null}
Bool GetHasOwnDeliveryAddress()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - The delivery address is not the same as the contact's Street address.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Bool hasOwnDeliveryAddress = thing.GetHasOwnDeliveryAddress();
```

## GetHasOwnInvoiceAddress()

```crmscript theme={null}
Bool GetHasOwnInvoiceAddress()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - The quote has an address for Invoicing. This will typically be copied from the company's addresses.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Bool hasOwnInvoiceAddress = thing.GetHasOwnInvoiceAddress();
```

## GetInvoiceCountryId()

```crmscript theme={null}
Integer GetInvoiceCountryId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Country of invoice address, typically copied from contact record.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer invoiceCountryId = thing.GetInvoiceCountryId();
```

## GetLastRecalculated()

```crmscript theme={null}
DateTime GetLastRecalculated()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - When this version was last subjected to a total recalculation.

<Note>
  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.
</Note>

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime lastRecalculated = thing.GetLastRecalculated();
```

## GetLikelyQuoteAlternativeId()

```crmscript theme={null}
Integer GetLikelyQuoteAlternativeId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The alternative that is considered most likely to be accepted. Used to calculate probable income.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer likelyQuoteAlternativeId = thing.GetLikelyQuoteAlternativeId();
```

## GetNumber()

```crmscript theme={null}
String GetNumber()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - A quote number that the user (or ERP connector) can fill out.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String number = thing.GetNumber();
```

## GetQuoteAlternatives()

```crmscript theme={null}
NSQuoteAlternative[] GetQuoteAlternatives()
```

**Returns:** [CRMScript.NetServer.NSQuoteAlternative](CRMScript.NetServer.NSQuoteAlternative)\[] - The QuoteAlternatives for the NSQuoteVersion.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
NSQuoteAlternative[] quoteAlternatives = thing.GetQuoteAlternatives();
```

## GetQuoteId()

```crmscript theme={null}
Integer GetQuoteId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Foreign key to CRM quote (the conceptual parent). Owning Quote of this Quote Version.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer quoteId = thing.GetQuoteId();
```

## GetQuoteVersionId()

```crmscript theme={null}
Integer GetQuoteVersionId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Primary key.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer quoteVersionId = thing.GetQuoteVersionId();
```

## GetRank()

```crmscript theme={null}
Integer GetRank()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Rank/Version number, starts at 1

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer rank = thing.GetRank();
```

## GetReason()

```crmscript theme={null}
String GetReason()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.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.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String reason = thing.GetReason();
```

## GetRegistered()

```crmscript theme={null}
DateTime GetRegistered()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Registered when.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime registered = thing.GetRegistered();
```

## GetRegisteredAssociateId()

```crmscript theme={null}
Integer GetRegisteredAssociateId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Registered by whom.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
```

## GetSentDate()

```crmscript theme={null}
DateTime GetSentDate()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - The date the version was sent to the customer.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime sentDate = thing.GetSentDate();
```

## GetState()

```crmscript theme={null}
Integer GetState()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Current state of this quote version. See \<xref href="CRMScript.NetServer.QuoteVersionState" data-throw-if-not-resolved="false">\</xref>.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer state = thing.GetState();
```

## GetStatus()

```crmscript theme={null}
Integer GetStatus()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - If there was a problem with for instance calculation, this field is set to warning or error. See \<xref href="CRMScript.NetServer.QuoteStatus" data-throw-if-not-resolved="false">\</xref>.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer status = thing.GetStatus();
```

## GetUpdated()

```crmscript theme={null}
DateTime GetUpdated()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Last updated when.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime updated = thing.GetUpdated();
```

## GetUpdatedAssociateId()

```crmscript theme={null}
Integer GetUpdatedAssociateId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Last updated by whom.

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();
```

## SetApprovedBy(Integer)

```crmscript theme={null}
Void SetApprovedBy(Integer approvedBy)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer approvedBy;
thing.SetApprovedBy(approvedBy);
```

## SetApprovedRegisteredBy(Integer)

```crmscript theme={null}
Void SetApprovedRegisteredBy(Integer approvedRegisteredBy)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer approvedRegisteredBy;
thing.SetApprovedRegisteredBy(approvedRegisteredBy);
```

## SetApprovedRegisteredDate(DateTime)

```crmscript theme={null}
Void SetApprovedRegisteredDate(DateTime approvedRegisteredDate)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime approvedRegisteredDate;
thing.SetApprovedRegisteredDate(approvedRegisteredDate);
```

## SetApprovedText(String)

```crmscript theme={null}
Void SetApprovedText(String approvedText)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String approvedText;
thing.SetApprovedText(approvedText);
```

## SetArchivedState(Integer)

```crmscript theme={null}
Void SetArchivedState(Integer archivedState)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer archivedState;
thing.SetArchivedState(archivedState);
```

## SetDeliveryCountryId(Integer)

```crmscript theme={null}
Void SetDeliveryCountryId(Integer deliveryCountryId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer deliveryCountryId;
thing.SetDeliveryCountryId(deliveryCountryId);
```

## SetDescription(String)

```crmscript theme={null}
Void SetDescription(String description)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String description;
thing.SetDescription(description);
```

## SetERPDeliveryTermsKey(String)

```crmscript theme={null}
Void SetERPDeliveryTermsKey(String eRPDeliveryTermsKey)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPDeliveryTermsKey;
thing.SetERPDeliveryTermsKey(eRPDeliveryTermsKey);
```

## SetERPDeliveryTypeKey(String)

```crmscript theme={null}
Void SetERPDeliveryTypeKey(String eRPDeliveryTypeKey)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPDeliveryTypeKey;
thing.SetERPDeliveryTypeKey(eRPDeliveryTypeKey);
```

## SetERPPaymentTermsKey(String)

```crmscript theme={null}
Void SetERPPaymentTermsKey(String eRPPaymentTermsKey)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPPaymentTermsKey;
thing.SetERPPaymentTermsKey(eRPPaymentTermsKey);
```

## SetERPPaymentTypeKey(String)

```crmscript theme={null}
Void SetERPPaymentTypeKey(String eRPPaymentTypeKey)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPPaymentTypeKey;
thing.SetERPPaymentTypeKey(eRPPaymentTypeKey);
```

## SetERPQuoteVersionKey(String)

```crmscript theme={null}
Void SetERPQuoteVersionKey(String eRPQuoteVersionKey)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String eRPQuoteVersionKey;
thing.SetERPQuoteVersionKey(eRPQuoteVersionKey);
```

## SetExpirationDate(DateTime)

```crmscript theme={null}
Void SetExpirationDate(DateTime expirationDate)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime expirationDate;
thing.SetExpirationDate(expirationDate);
```

## SetExtraField1(String)

```crmscript theme={null}
Void SetExtraField1(String extraField1)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField1;
thing.SetExtraField1(extraField1);
```

## SetExtraField2(String)

```crmscript theme={null}
Void SetExtraField2(String extraField2)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField2;
thing.SetExtraField2(extraField2);
```

## SetExtraField3(String)

```crmscript theme={null}
Void SetExtraField3(String extraField3)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField3;
thing.SetExtraField3(extraField3);
```

## SetExtraField4(String)

```crmscript theme={null}
Void SetExtraField4(String extraField4)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField4;
thing.SetExtraField4(extraField4);
```

## SetExtraField5(String)

```crmscript theme={null}
Void SetExtraField5(String extraField5)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String extraField5;
thing.SetExtraField5(extraField5);
```

## SetFollowupId(Integer)

```crmscript theme={null}
Void SetFollowupId(Integer followupId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer followupId;
thing.SetFollowupId(followupId);
```

## SetHasOwnDeliveryAddress(Bool)

```crmscript theme={null}
Void SetHasOwnDeliveryAddress(Bool hasOwnDeliveryAddress)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Bool hasOwnDeliveryAddress;
thing.SetHasOwnDeliveryAddress(hasOwnDeliveryAddress);
```

## SetHasOwnInvoiceAddress(Bool)

```crmscript theme={null}
Void SetHasOwnInvoiceAddress(Bool hasOwnInvoiceAddress)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Bool hasOwnInvoiceAddress;
thing.SetHasOwnInvoiceAddress(hasOwnInvoiceAddress);
```

## SetInvoiceCountryId(Integer)

```crmscript theme={null}
Void SetInvoiceCountryId(Integer invoiceCountryId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer invoiceCountryId;
thing.SetInvoiceCountryId(invoiceCountryId);
```

## SetLastRecalculated(DateTime)

```crmscript theme={null}
Void SetLastRecalculated(DateTime lastRecalculated)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime lastRecalculated;
thing.SetLastRecalculated(lastRecalculated);
```

## SetLikelyQuoteAlternativeId(Integer)

```crmscript theme={null}
Void SetLikelyQuoteAlternativeId(Integer likelyQuoteAlternativeId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer likelyQuoteAlternativeId;
thing.SetLikelyQuoteAlternativeId(likelyQuoteAlternativeId);
```

## SetNumber(String)

```crmscript theme={null}
Void SetNumber(String number)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String number;
thing.SetNumber(number);
```

## SetQuoteAlternatives(NSQuoteAlternative\[])

```crmscript theme={null}
Void SetQuoteAlternatives(NSQuoteAlternative[] quoteAlternatives)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
NSQuoteAlternative[] quoteAlternatives;
thing.SetQuoteAlternatives(quoteAlternatives);
```

## SetQuoteId(Integer)

```crmscript theme={null}
Void SetQuoteId(Integer quoteId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer quoteId;
thing.SetQuoteId(quoteId);
```

## SetQuoteVersionId(Integer)

```crmscript theme={null}
Void SetQuoteVersionId(Integer quoteVersionId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer quoteVersionId;
thing.SetQuoteVersionId(quoteVersionId);
```

## SetRank(Integer)

```crmscript theme={null}
Void SetRank(Integer rank)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer rank;
thing.SetRank(rank);
```

## SetReason(String)

```crmscript theme={null}
Void SetReason(String reason)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
String reason;
thing.SetReason(reason);
```

## SetRegistered(DateTime)

```crmscript theme={null}
Void SetRegistered(DateTime registered)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime registered;
thing.SetRegistered(registered);
```

## SetRegisteredAssociateId(Integer)

```crmscript theme={null}
Void SetRegisteredAssociateId(Integer registeredAssociateId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);
```

## SetSentDate(DateTime)

```crmscript theme={null}
Void SetSentDate(DateTime sentDate)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime sentDate;
thing.SetSentDate(sentDate);
```

## SetState(Integer)

```crmscript theme={null}
Void SetState(Integer state)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer state;
thing.SetState(state);
```

## SetStatus(Integer)

```crmscript theme={null}
Void SetStatus(Integer status)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer status;
thing.SetStatus(status);
```

## SetUpdated(DateTime)

```crmscript theme={null}
Void SetUpdated(DateTime updated)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
DateTime updated;
thing.SetUpdated(updated);
```

## SetUpdatedAssociateId(Integer)

```crmscript theme={null}
Void SetUpdatedAssociateId(Integer updatedAssociateId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersion thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
```


## Related topics

- [NSQuoteVersionValidated](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteVersionValidated.md)
- [NSQuoteVersionAttachment](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteVersionAttachment.md)
- [NSQuoteVersionButtonState](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteVersionButtonState.md)
- [NSQuoteVersionStatusInformation](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteVersionStatusInformation.md)
- [NSQuoteVersionWorkflowState](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteVersionWorkflowState.md)
