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.

Introduced or updated in version: 7.5

Declaration
NSQuoteContext

Methods

GetCRMAssociate()

Introduced or updated in version: 7.5

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()

Introduced or updated in version: 7.5

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()

Introduced or updated in version: 7.5

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()

Introduced or updated in version: 7.5

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()

Introduced or updated in version: 7.5

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()

Introduced or updated in version: 7.5

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)

Introduced or updated in version: 7.5

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)

Introduced or updated in version: 7.5

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)

Introduced or updated in version: 7.5

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)

Introduced or updated in version: 7.5

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)

Introduced or updated in version: 7.5

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)

Introduced or updated in version: 7.5

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);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top