Class NSImportLine
Used to import data into the system. Representing one entity that will be imported.
Constructors
NSImportLine()
Initializes a new instance of the NSImportLine class.
Declaration
NSImportLine Methods
GetExternalKey()
Declaration
String GetExternalKey() Examples
NSImportLine thing;
String externalKey = thing.GetExternalKey();
Returns
| Type | Description |
| String | Optional external primary key for the row. |
GetOperation()
Declaration
Integer GetOperation() Examples
NSImportLine thing;
Integer operation = thing.GetOperation();
Returns
| Type | Description |
| Integer | Which operation will be used? This is a read-only property. See <xref href="CRMScript.NetServer.ImportAction" data-throw-if-not-resolved="false"></xref>. |
GetSelected()
Declaration
Bool GetSelected() Examples
NSImportLine thing;
Bool selected = thing.GetSelected();
Returns
| Type | Description |
| Bool | True if the entity shall be imported, false if the entity shall be ignored. |
GetType()
Declaration
Integer GetType() Examples
NSImportLine thing;
Integer type = thing.GetType();
Returns
| Type | Description |
| Integer | Which entity type will be created? This is a read-only property. See <xref href="CRMScript.NetServer.ImportEntityType" data-throw-if-not-resolved="false"></xref>. |
GetValues()
Declaration
String[] GetValues() Examples
NSImportLine thing;
String[] values = thing.GetValues();
Returns
| Type | Description |
| String[] | An array of the values that will be imported on the entity. |
SetExternalKey(String)
Declaration
Void SetExternalKey(String externalKey) Examples
NSImportLine thing;
String externalKey;
thing.SetExternalKey(externalKey);
Parameters
| Type | Name | Description |
| String | externalKey | Optional external primary key for the row. |
Returns
| Type | Description |
| Void |
SetOperation(Integer)
Declaration
Void SetOperation(Integer operation) Examples
NSImportLine thing;
Integer operation;
thing.SetOperation(operation);
Parameters
| Type | Name | Description |
| Integer | operation | Which operation will be used? This is a read-only property. See <xref href="CRMScript.NetServer.ImportAction" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetSelected(Bool)
Declaration
Void SetSelected(Bool selected) Examples
NSImportLine thing;
Bool selected;
thing.SetSelected(selected);
Parameters
| Type | Name | Description |
| Bool | selected | True if the entity shall be imported, false if the entity shall be ignored. |
Returns
| Type | Description |
| Void |
SetType(Integer)
Declaration
Void SetType(Integer type) Examples
NSImportLine thing;
Integer type;
thing.SetType(type);
Parameters
| Type | Name | Description |
| Integer | type | Which entity type will be created? This is a read-only property. See <xref href="CRMScript.NetServer.ImportEntityType" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |