Show / Hide Table of Contents

Class NSQuoteContext

The context a quote is created in.

Syntax

Constructors

NSQuoteContext()

Initializes a new instance of the NSQuoteContext class.

Declaration
NSQuoteContext

Methods

GetCRMAssociate()

The context a quote is created in.

Declaration
NSAssociate GetCRMAssociate()
Returns
Type Description
NSAssociate

The associate (salesman) that is logged into the CRM system.

Examples
NSQuoteContext thing;
NSAssociate cRMAssociate = thing.GetCRMAssociate();

GetCRMQuoteAlternative()

The context a quote is created in.

Declaration
NSQuoteAlternative GetCRMQuoteAlternative()
Returns
Type Description
NSQuoteAlternative

The relevant or current alternative of the quote in the CRM system, if applicable.

Examples
NSQuoteContext thing;
NSQuoteAlternative cRMQuoteAlternative = thing.GetCRMQuoteAlternative();

GetCRMQuoteLine()

The context a quote is created in.

Declaration
NSQuoteLine GetCRMQuoteLine()
Returns
Type Description
NSQuoteLine

The relevant or current quote line of the quote in the CRM system, if applicable.

Examples
NSQuoteContext thing;
NSQuoteLine cRMQuoteLine = thing.GetCRMQuoteLine();

GetCRMQuoteVersion()

The context a quote is created in.

Declaration
NSQuoteVersion GetCRMQuoteVersion()
Returns
Type Description
NSQuoteVersion

The relevant or current revision of the quote in the CRM system, if applicable.

Examples
NSQuoteContext thing;
NSQuoteVersion cRMQuoteVersion = thing.GetCRMQuoteVersion();

GetCRMSale()

The context a quote is created in.

Declaration
NSSale GetCRMSale()
Returns
Type Description
NSSale

The sale the quote is registered in the CRM system.

Examples
NSQuoteContext thing;
NSSale cRMSale = thing.GetCRMSale();

GetUserLanguageCode()

The context a quote is created in.

Declaration
String GetUserLanguageCode()
Returns
Type Description
String

The iso language code of the language the user is using in the crm system. Use this language when replying, if possible.

Examples
NSQuoteContext thing;
String userLanguageCode = thing.GetUserLanguageCode();

SetCRMAssociate(NSAssociate)

The context a quote is created in.

Declaration
Void SetCRMAssociate(NSAssociate cRMAssociate)
Parameters
Type Name Description
NSAssociate cRMAssociate

The associate (salesman) that is logged into the CRM system.

Returns
Type Description
Void
Examples
NSQuoteContext thing;
NSAssociate cRMAssociate;
thing.SetCRMAssociate(cRMAssociate);

SetCRMQuoteAlternative(NSQuoteAlternative)

The context a quote is created in.

Declaration
Void SetCRMQuoteAlternative(NSQuoteAlternative cRMQuoteAlternative)
Parameters
Type Name Description
NSQuoteAlternative cRMQuoteAlternative

The relevant or current alternative of the quote in the CRM system, if applicable.

Returns
Type Description
Void
Examples
NSQuoteContext thing;
NSQuoteAlternative cRMQuoteAlternative;
thing.SetCRMQuoteAlternative(cRMQuoteAlternative);

SetCRMQuoteLine(NSQuoteLine)

The context a quote is created in.

Declaration
Void SetCRMQuoteLine(NSQuoteLine cRMQuoteLine)
Parameters
Type Name Description
NSQuoteLine cRMQuoteLine

The relevant or current quote line of the quote in the CRM system, if applicable.

Returns
Type Description
Void
Examples
NSQuoteContext thing;
NSQuoteLine cRMQuoteLine;
thing.SetCRMQuoteLine(cRMQuoteLine);

SetCRMQuoteVersion(NSQuoteVersion)

The context a quote is created in.

Declaration
Void SetCRMQuoteVersion(NSQuoteVersion cRMQuoteVersion)
Parameters
Type Name Description
NSQuoteVersion cRMQuoteVersion

The relevant or current revision of the quote in the CRM system, if applicable.

Returns
Type Description
Void
Examples
NSQuoteContext thing;
NSQuoteVersion cRMQuoteVersion;
thing.SetCRMQuoteVersion(cRMQuoteVersion);

SetCRMSale(NSSale)

The context a quote is created in.

Declaration
Void SetCRMSale(NSSale cRMSale)
Parameters
Type Name Description
NSSale cRMSale

The sale the quote is registered in the CRM system.

Returns
Type Description
Void
Examples
NSQuoteContext thing;
NSSale cRMSale;
thing.SetCRMSale(cRMSale);

SetUserLanguageCode(String)

The context a quote is created in.

Declaration
Void SetUserLanguageCode(String userLanguageCode)
Parameters
Type Name Description
String userLanguageCode

The iso language code of the language the user is using in the crm system. Use this language when replying, if possible.

Returns
Type Description
Void
Examples
NSQuoteContext thing;
String userLanguageCode;
thing.SetUserLanguageCode(userLanguageCode);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top