Class Salesperson
Wraps a salesperson.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class Salesperson : JTObject
Constructors
Salesperson(Int32)
Creates a salesperson object intended to be used to update a salesperson.
Declaration
public Salesperson(int salespersonId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | salespersonId_ | Identifies an existing salesperson |
Salesperson(String)
Creates a salesperson object intended to be used to create a new salesperson.
Declaration
public Salesperson(string salespersonName_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | salespersonName_ | Name of the new salesperson. |
Properties
AccountingId
Accounting Id.
Declaration
public string AccountingId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsInactive
Indicates whether the salesperson has been marked inactive.
Declaration
public bool IsInactive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SalespersonId
Salesperson id.
Declaration
public int SalespersonId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SalespersonName
Salesperson name.
Declaration
public string SalespersonName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |