Show / Hide Table of Contents

Class SerialNumber

Wraps a serial number.

Inheritance
System.Object
JTObject
HasCustomFieldValues
SerialNumber
Inherited Members
HasCustomFieldValues.CustomFieldValues
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 SerialNumber : HasCustomFieldValues

Constructors

SerialNumber()

Creates an object intended to be used when creating unreceived serial numbers or purchase order receipts.

Declaration
public SerialNumber()

SerialNumber(Int32)

Creates an object intended to be used to update a serial number.

Declaration
public SerialNumber(int serialNumberId_)
Parameters
Type Name Description
System.Int32 serialNumberId_

Identifies an existing serial number.

Properties

Balance

Oh-Hand Balance after all transactions against this serial number have been accounted for. (Final value listed in the "Transactions" section of the Serial Number detail page)

Declaration
public decimal Balance { get; }
Property Value
Type Description
System.Decimal

BatchNumber

Batch number for the serial number.

Declaration
public string BatchNumber { get; set; }
Property Value
Type Description
System.String

Description

Description about the serial number.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

InventoryLocationId

Id of the associated InventoryLocation. When you set this property, the InventoryLocationName property is automatically cleared.

Declaration
public int? InventoryLocationId { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

InventoryLocationName

Name of the associated InventoryLocation.

Declaration
public string InventoryLocationName { get; }
Property Value
Type Description
System.String

MeasurementDescription

Name of the associated PurchaseProductVariant.

Declaration
public string MeasurementDescription { get; }
Property Value
Type Description
System.String

Measurements

Set of measurements associated with this serial number's variant.

Declaration
public ReadonlyMeasurementContainer Measurements { get; }
Property Value
Type Description
ReadonlyMeasurementContainer

PurchaseProductId

Id of the associated PurchaseProduct.

Declaration
public int PurchaseProductId { get; }
Property Value
Type Description
System.Int32

PurchaseProductName

Name of the associated PurchaseProduct.

Declaration
public string PurchaseProductName { get; }
Property Value
Type Description
System.String

PurchaseProductVariantId

Id of the associated PurchaseProductVariant.

Declaration
public int PurchaseProductVariantId { get; }
Property Value
Type Description
System.Int32

PurchaseProductVariantName

Name of the associated PurchaseProductVariant.

Declaration
public string PurchaseProductVariantName { get; }
Property Value
Type Description
System.String

Quantity

Name of the associated PurchaseProductVariant.

Declaration
public decimal Quantity { get; }
Property Value
Type Description
System.Decimal

RemnantType

Indicates whether this serial number is a remnant and if so what type of remnant it is.

Declaration
public SerialNumber.RemnantType_Enum RemnantType { get; }
Property Value
Type Description
SerialNumber.RemnantType_Enum

SerialNumberId

Identifies the serial number.

Declaration
public int SerialNumberId { get; }
Property Value
Type Description
System.Int32

SerialNumberName

Serial number number.

Declaration
public string SerialNumberName { get; set; }
Property Value
Type Description
System.String

SerialNumberSourceId

Identifies the source of this serial number.

Declaration
public int SerialNumberSourceId { get; }
Property Value
Type Description
System.Int32

SerialNumberSourceType

Indicates the source of this serial number that the SerialNumberSourceId refers to.

Declaration
public SerialNumber.SerialNumberSourceType_Enum SerialNumberSourceType { get; }
Property Value
Type Description
SerialNumber.SerialNumberSourceType_Enum

UnitCost

Unit Cost as listed on the Serial Number detail page.

Declaration
public decimal UnitCost { get; }
Property Value
Type Description
System.Decimal

UnitOfMeasureId

Id of the associated UnitOfMeasure.

Declaration
public int UnitOfMeasureId { get; }
Property Value
Type Description
System.Int32

UnitOfMeasureName

Name of the associated UnitOfMeasure.

Declaration
public string UnitOfMeasureName { get; }
Property Value
Type Description
System.String
Back to top Generated by DocFX