Class NSQuoteContext
The context a quote is created in.
Constructors
NSQuoteContext()
Initializes a new instance of the NSQuoteContext class.
Declaration
NSQuoteContext Methods
GetCRMAssociate()
Declaration
NSAssociate GetCRMAssociate() Examples
NSQuoteContext thing;
NSAssociate cRMAssociate = thing.GetCRMAssociate();
Returns
| Type | Description |
| NSAssociate | The associate (salesman) that is logged into the CRM system. |
GetCRMQuoteAlternative()
Declaration
NSQuoteAlternative GetCRMQuoteAlternative() Examples
NSQuoteContext thing;
NSQuoteAlternative cRMQuoteAlternative = thing.GetCRMQuoteAlternative();
Returns
| Type | Description |
| NSQuoteAlternative | The relevant or current alternative of the quote in the CRM system, if applicable. |
GetCRMQuoteLine()
Declaration
NSQuoteLine GetCRMQuoteLine() Examples
NSQuoteContext thing;
NSQuoteLine cRMQuoteLine = thing.GetCRMQuoteLine();
Returns
| Type | Description |
| NSQuoteLine | The relevant or current quote line of the quote in the CRM system, if applicable. |
GetCRMQuoteVersion()
Declaration
NSQuoteVersion GetCRMQuoteVersion() Examples
NSQuoteContext thing;
NSQuoteVersion cRMQuoteVersion = thing.GetCRMQuoteVersion();
Returns
| Type | Description |
| NSQuoteVersion | The relevant or current revision of the quote in the CRM system, if applicable. |
GetCRMSale()
Declaration
NSSale GetCRMSale() Examples
NSQuoteContext thing;
NSSale cRMSale = thing.GetCRMSale();
Returns
| Type | Description |
| NSSale | The sale the quote is registered in the CRM system. |
GetUserLanguageCode()
Declaration
String GetUserLanguageCode() Examples
NSQuoteContext thing;
String userLanguageCode = thing.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. |
SetCRMAssociate(NSAssociate)
Declaration
Void SetCRMAssociate(NSAssociate cRMAssociate) Examples
NSQuoteContext thing;
NSAssociate cRMAssociate;
thing.SetCRMAssociate(cRMAssociate);
Parameters
| Type | Name | Description |
| NSAssociate | cRMAssociate | The associate (salesman) that is logged into the CRM system. |
Returns
| Type | Description |
| Void |
SetCRMQuoteAlternative(NSQuoteAlternative)
Declaration
Void SetCRMQuoteAlternative(NSQuoteAlternative cRMQuoteAlternative) Examples
NSQuoteContext thing;
NSQuoteAlternative cRMQuoteAlternative;
thing.SetCRMQuoteAlternative(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 |
SetCRMQuoteLine(NSQuoteLine)
Declaration
Void SetCRMQuoteLine(NSQuoteLine cRMQuoteLine) Examples
NSQuoteContext thing;
NSQuoteLine cRMQuoteLine;
thing.SetCRMQuoteLine(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 |
SetCRMQuoteVersion(NSQuoteVersion)
Declaration
Void SetCRMQuoteVersion(NSQuoteVersion cRMQuoteVersion) Examples
NSQuoteContext thing;
NSQuoteVersion cRMQuoteVersion;
thing.SetCRMQuoteVersion(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 |
SetCRMSale(NSSale)
Declaration
Void SetCRMSale(NSSale cRMSale) Examples
NSQuoteContext thing;
NSSale cRMSale;
thing.SetCRMSale(cRMSale);
Parameters
| Type | Name | Description |
| NSSale | cRMSale | The sale the quote is registered in the CRM system. |
Returns
| Type | Description |
| Void |
SetUserLanguageCode(String)
Declaration
Void SetUserLanguageCode(String userLanguageCode) Examples
NSQuoteContext thing;
String userLanguageCode;
thing.SetUserLanguageCode(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 |