Class NSQuoteVersion
Information about a version of the.
Syntax
Constructors
NSQuoteVersion()
Initializes a new instance of the NSQuoteVersion class.
Declaration
NSQuoteVersion
Methods
GetApprovedBy()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
Declaration
DateTime GetApprovedRegisteredDate()
Returns
Type | Description |
---|---|
DateTime | When was approval granted or rejected. |
Examples
NSQuoteVersion thing;
DateTime approvedRegisteredDate = thing.GetApprovedRegisteredDate();
GetApprovedText()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
Declaration
Integer GetInvoiceCountryId()
Returns
Type | Description |
---|---|
Integer | Country of invoice address, typically copied from contact record. |
Examples
NSQuoteVersion thing;
Integer invoiceCountryId = thing.GetInvoiceCountryId();
GetLastRecalculated()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
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()
Information about a version of the.
Declaration
NSQuoteAlternative[] GetQuoteAlternatives()
Returns
Type | Description |
---|---|
NSQuoteAlternative[] | The QuoteAlternatives for the NSQuoteVersion. |
Examples
NSQuoteVersion thing;
NSQuoteAlternative[] quoteAlternatives = thing.GetQuoteAlternatives();
GetQuoteId()
Information about a version of the.
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()
Information about a version of the.
Declaration
Integer GetQuoteVersionId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSQuoteVersion thing;
Integer quoteVersionId = thing.GetQuoteVersionId();
GetRank()
Information about a version of the.
Declaration
Integer GetRank()
Returns
Type | Description |
---|---|
Integer | Rank/Version number, starts at 1 |
Examples
NSQuoteVersion thing;
Integer rank = thing.GetRank();
GetReason()
Information about a version of the.
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()
Information about a version of the.
Declaration
DateTime GetRegistered()
Returns
Type | Description |
---|---|
DateTime | Registered when. |
Examples
NSQuoteVersion thing;
DateTime registered = thing.GetRegistered();
GetRegisteredAssociateId()
Information about a version of the.
Declaration
Integer GetRegisteredAssociateId()
Returns
Type | Description |
---|---|
Integer | Registered by whom. |
Examples
NSQuoteVersion thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
GetSentDate()
Information about a version of the.
Declaration
DateTime GetSentDate()
Returns
Type | Description |
---|---|
DateTime | The date the version was sent to the customer. |
Examples
NSQuoteVersion thing;
DateTime sentDate = thing.GetSentDate();
GetState()
Information about a version of the.
Declaration
Integer GetState()
Returns
Type | Description |
---|---|
Integer | Current state of this quote version. See QuoteVersionState. |
Examples
NSQuoteVersion thing;
Integer state = thing.GetState();
GetStatus()
Information about a version of the.
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()
Information about a version of the.
Declaration
DateTime GetUpdated()
Returns
Type | Description |
---|---|
DateTime | Last updated when. |
Examples
NSQuoteVersion thing;
DateTime updated = thing.GetUpdated();
GetUpdatedAssociateId()
Information about a version of the.
Declaration
Integer GetUpdatedAssociateId()
Returns
Type | Description |
---|---|
Integer | Last updated by whom. |
Examples
NSQuoteVersion thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();
SetApprovedBy(Integer)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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[])
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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)
Information about a version of the.
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);