Skip to content

ERPConnect.Queries.QuerySelectionParameter

Namespace: ERPConnect.Queries
Assembly: ERPConnectStandard20.dll

QuerySelection.

public class QuerySelectionParameter

Inheritance

objectQuerySelectionParameter

Inherited Members

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

Constructors

QuerySelectionParameter()

Constructs a new QuerySelectionParameter object

public QuerySelectionParameter()

QuerySelectionParameter(string, string, string, int, bool, bool, Kind)

Constructs a new QuerySelectionParameter object

public QuerySelectionParameter(string Name, string FieldName, string DescriptionText, int Length, bool Obligatory, bool NoDisplay, Kind Kind)

Parameters

Name string

FieldName string

DescriptionText string

Length int

Obligatory bool

NoDisplay bool

Kind Kind

Properties

ABAPType

The ABAP type (e.g. C,N,I....)

public string ABAPType { get; set; }

Property Value

string

DescriptionText

A description text

public string DescriptionText { get; set; }

Property Value

string

FieldName

The name of the field

public string FieldName { get; set; }

Property Value

string

Kind

Determines if the Selection Parameter is a Select Option or only a single Parameter

public Kind Kind { get; set; }

Property Value

Kind

Length

The length of the value, if it is not numeric

public int Length { get; set; }

Property Value

int

Name

The unique name of the parameter

public string Name { get; set; }

Property Value

string

NoDisplay

Determines whether the Selection Parameter is not displayed on a normal selection screen

public bool NoDisplay { get; set; }

Property Value

bool

Obligatory

Determines whether the value is obligatory

public bool Obligatory { get; set; }

Property Value

bool

Ranges

The Range collection associated with this QuerySelectionParameter object

public RangeCollection Ranges { get; set; }

Property Value

RangeCollection

Methods

AddRange(Sign, RangeOption, string, string)

Adds a new Range object to the Ranges collection

public virtual void AddRange(Sign Sign, RangeOption Option, string LowValue, string HighValue)

Parameters

Sign Sign

Sign Inlcude / Exclude

Option RangeOption

Option (e.g. Equals, GreaterThan...)

LowValue string

The first / low value

HighValue string

The second / high value (only needed when Option is bt for between)

AddRange(Sign, RangeOption, string)

Adds a new Range object to the Ranges collection

public virtual void AddRange(Sign Sign, RangeOption Option, string Value)

Parameters

Sign Sign

Sign Inlcude / Exclude

Option RangeOption

Option (e.g. Equals, GreaterThan...)

Value string

The value

AddRange(string)

Adds a new Range object to the Ranges collection

public virtual void AddRange(string Value)

Parameters

Value string

The value