> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.CRMScriptResult

# <a id="SuperOffice_WebApi_Data_CRMScriptResult" /> Class CRMScriptResult

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for CRMScriptResult.
Object for returning information when validating a CRMScript

```csharp theme={null}
public class CRMScriptResult : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[CRMScriptResult](SuperOffice.WebApi.Data.CRMScriptResult.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_CRMScriptResult__ctor" /> CRMScriptResult()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public CRMScriptResult()
```

## Properties

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_ErrorInformation" /> ErrorInformation

Contains error information if the validation failed

```csharp theme={null}
public virtual CRMScriptErrorInfo ErrorInformation { get; set; }
```

#### Property Value

[CRMScriptErrorInfo](SuperOffice.WebApi.Data.CRMScriptErrorInfo.md)

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_ErrorMessage" /> ErrorMessage

Deprecated, see ErrorInformation instead. Contains the error message for a non-valide CRMScript

```csharp theme={null}
public virtual string ErrorMessage { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_Includes" /> Includes

The unique ids of all depencies of this script (all resolved includes)

```csharp theme={null}
public virtual int[] Includes { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_LineNumber" /> LineNumber

Deprecated, see ErrorInformation instead. The line number containing the incorrect syntax, if available

```csharp theme={null}
public virtual int LineNumber { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_SourceMaps" /> SourceMaps

Array of source maps showing where in the original code a specific line originated from

```csharp theme={null}
public virtual CRMScriptSourceMap[] SourceMaps { get; set; }
```

#### Property Value

[CRMScriptSourceMap](SuperOffice.WebApi.Data.CRMScriptSourceMap.md)\[]

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_Transpiled" /> Transpiled

This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript

```csharp theme={null}
public virtual string Transpiled { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_CRMScriptResult_Valid" /> Valid

True if the CRMScript was successfully validated. If false, see the error message for details

```csharp theme={null}
public virtual bool Valid { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## See Also

[CRMScriptAgent](SuperOffice.WebApi.Agents.CRMScriptAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.CRMScriptEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScriptEntity.md)
- [SuperOffice.WebApi.Agents.ICRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ICRMScriptAgent.md)
- [SuperOffice.WebApi.Agents.CRMScriptAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.CRMScriptAgent.md)
- [SuperOffice.WebApi.Data.CRMScriptRunResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScriptRunResult.md)
- [SuperOffice.WebApi.Data.Carrier](/en/api/reference/webapi/SuperOffice.WebApi.Data.Carrier.md)
- [SuperOffice.WebApi.Data.CRMScriptTraceRun](/en/api/reference/webapi/SuperOffice.WebApi.Data.CRMScriptTraceRun.md)
