Show / Hide Table of Contents

Class SerialNumberRemnant

Wraps a remnant serial number. (i.e. A serial number created as a child of an existing serial number)

Inheritance
System.Object
JTObject
SerialNumberRemnant
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 SerialNumberRemnant : JTObject

Constructors

SerialNumberRemnant(Int32, Boolean)

Used to create a new remnant serial number or update an existing serial number, depending on the isParentSerialNumberId_ parameter. The SerialNumber property will be set to an unitialized SerialNumber object.

Declaration
public SerialNumberRemnant(int parentOrSerialNumberRemnantId_, bool isParentSerialNumberId_)
Parameters
Type Name Description
System.Int32 parentOrSerialNumberRemnantId_

Identifies either the serial number on which the new remnant should be based, or identifies an existing remnant.

System.Boolean isParentSerialNumberId_

True when creating a new remnant and the id refers to the parent serial number; False when updating an existing remnant and the id refers to the remnant being updated.

Properties

CreationDate

The delivery date.

Declaration
public DateTime CreationDate { get; set; }
Property Value
Type Description
System.DateTime

Measurements

Set of measurements for this remnant serial number.

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

ParentSerialNumberId

Identifies the serial number from which the remnant was created.

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

Quantity

Quantity of the product.

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

SerialNumber

Serial number.

Declaration
public SerialNumber SerialNumber { get; }
Property Value
Type Description
SerialNumber

SerialNumberRemnantId

Identifies the remnant serial number.

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

UnitCost

Unit cost.

Declaration
public decimal UnitCost { get; set; }
Property Value
Type Description
System.Decimal
Back to top Generated by DocFX