Skip to content

ERPConnect.Idocs.IdocSegmentField

Namespace: ERPConnect.Idocs
Assembly: ERPConnectStandard20.dll

Represent a single field of a segment

public class IdocSegmentField

Inheritance

objectIdocSegmentField

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

IdocSegmentField()

Initiliazes an IdocSegmentFiled object

public IdocSegmentField()

IdocSegmentField(string)

Initiliazes an IdocSegmentFiled object

public IdocSegmentField(string Name)

Parameters

Name string

Name of Idoc segment field

IdocSegmentField(string, string, int, int, string, object)

initilizes an IdocSegmentFiled object

public IdocSegmentField(string Name, string Description, int Length, int Offset, string DataType, object FieldValue)

Parameters

Name string

Name of the segment field

Description string

Description of the segment field

Length int

Length of the segment field

Offset int

Offset in data buffer of the segment field

DataType string

Data type of the segment field

FieldValue object

The value

Properties

DataType

Data type (e.g. CHAR, NUMC ...)

public string DataType { get; set; }

Property Value

string

Description

Description as defined in the DDIC

public string Description { get; set; }

Property Value

string

ExternalLength

Output Length

public int ExternalLength { get; set; }

Property Value

int

FieldName

Field Name

public string FieldName { get; set; }

Property Value

string

FieldValue

Object that contains the data of the field (in most cases this is a string)

public object FieldValue { get; set; }

Property Value

object

OffsetInBuffer

Index of first byte

public int OffsetInBuffer { get; set; }

Property Value

int

Methods

Clone()

Creates a copy of the current object

public IdocSegmentField Clone()

Returns

IdocSegmentField

The cloned IdocSegemntField object