Skip to main content
A refcount entity for a number allocation.

Constructors

NSRefCountEntity()

Initializes a new instance of the NSRefCountEntity class.

Methods

GetAllocate()

Returns: CRMScript.Global.Bool - Allocate numbers automatically. Example:

GetAllowBlank()

Returns: CRMScript.Global.Bool - Allow blank as a valid value. Example:

GetCurrentValue()

Returns: CRMScript.Global.Integer - Current value of counter. Example:

GetField()

Returns: CRMScript.Global.String - Field identifier in string format table.field. Example:

GetReadOnly()

Returns: CRMScript.Global.Bool - Target field is read only in GUi. Example:

GetRecordId()

Returns: CRMScript.Global.Integer - Record ID in target table, used when there are separate counters for each target record. Example:

GetRefCountsId()

Returns: CRMScript.Global.Integer - Primary key. Example:

GetSatPrefix()

Returns: CRMScript.Global.Integer - size of prefix for Satellite use of this counter. Example:

GetSuggestedRecords()

Returns: CRMScript.NetServer.NSMDOListItem[] - List of valid entities, the associated record is selected in the list, used records are filtered out. Example:

GetTravelPrefix()

Returns: CRMScript.Global.Integer - size of prefix for Travel use of ths counter. Example:

GetUnique()

Checks that entered value is unique
Returns: CRMScript.Global.Bool Example:

SetAllocate(Bool)

Returns: CRMScript.Global.Void Example:

SetAllowBlank(Bool)

Returns: CRMScript.Global.Void Example:

SetCurrentValue(Integer)

Returns: CRMScript.Global.Void Example:

SetField(String)

Returns: CRMScript.Global.Void Example:

SetReadOnly(Bool)

Returns: CRMScript.Global.Void Example:

SetRecordId(Integer)

Returns: CRMScript.Global.Void Example:

SetRefCountsId(Integer)

Returns: CRMScript.Global.Void Example:

SetSatPrefix(Integer)

Returns: CRMScript.Global.Void Example:

SetSuggestedRecords(NSMDOListItem[])

Returns: CRMScript.Global.Void Example:

SetTravelPrefix(Integer)

Returns: CRMScript.Global.Void Example:

SetUnique(Bool)

Checks that entered value is unique
Returns: CRMScript.Global.Void Example: