Show / Hide Table of Contents

Class RefCountEntity

A refcount entity for a number allocation

Carrier object for RefCountEntity. Services for the RefCountEntity Carrier is available from the NumberAllocation Agent.
Inheritance
object
RefCountEntity
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class RefCountEntity : Carrier
Examples

Get RefCountEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new NumberAllocationAgent();
   var refCountEntity = agent.GetRefCountEntity( 123 );
}

Constructors

RefCountEntity()

Default constructor

Declaration
public RefCountEntity()
See Also
INumberAllocationAgent

Properties

Allocate

Allocate numbers automatically

Declaration
[DataMember]
public virtual bool Allocate { get; set; }
Property Value
Type Description
bool
See Also
INumberAllocationAgent

AllowBlank

Allow blank as a valid value

Declaration
[DataMember]
public virtual bool AllowBlank { get; set; }
Property Value
Type Description
bool
See Also
INumberAllocationAgent

CurrentValue

Current value of counter

Declaration
[DataMember]
public virtual int CurrentValue { get; set; }
Property Value
Type Description
int
See Also
INumberAllocationAgent

Field

Field identifier in string format table.field

Declaration
[DataMember]
public virtual string Field { get; set; }
Property Value
Type Description
string
See Also
INumberAllocationAgent

ReadOnly

Target field is read only in GUI

Declaration
[DataMember]
public virtual bool ReadOnly { get; set; }
Property Value
Type Description
bool
See Also
INumberAllocationAgent

RecordId

Record id in target table, used when there are separate counters for each target record

Declaration
[DataMember]
public virtual int RecordId { get; set; }
Property Value
Type Description
int
See Also
INumberAllocationAgent

RefCountsId

Primary key

Declaration
[DataMember]
public virtual int RefCountsId { get; set; }
Property Value
Type Description
int
See Also
INumberAllocationAgent

SatPrefix

size of prefix for Satellite use of this counter

Declaration
[DataMember]
public virtual uint SatPrefix { get; set; }
Property Value
Type Description
uint
See Also
INumberAllocationAgent

SuggestedRecords

List of valid entities, the associated record is selected in the list, used records are filtered out

Declaration
[DataMember]
public virtual MDOListItem[] SuggestedRecords { get; set; }
Property Value
Type Description
MDOListItem[]
See Also
INumberAllocationAgent

TravelPrefix

size of prefix for Travel use of ths counter

Declaration
[DataMember]
public virtual uint TravelPrefix { get; set; }
Property Value
Type Description
uint
See Also
INumberAllocationAgent

Unique

Check that entered value is unique

Declaration
[DataMember]
public virtual bool Unique { get; set; }
Property Value
Type Description
bool
See Also
INumberAllocationAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
INumberAllocationAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
INumberAllocationAgent

See Also

INumberAllocationAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top