Class InventoryCountDetail
Wraps an inventory count detail.
Inherited Members
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class InventoryCountDetail : JTObject
Constructors
InventoryCountDetail(Int32, Int32, InventoryCountDetail.IdType_Enum, Decimal, String)
Used to create a new inventory count detail.
Declaration
public InventoryCountDetail(int inventoryCountId_, int id_, InventoryCountDetail.IdType_Enum idType_, decimal quantity_, string countType_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | inventoryCountId_ | The inventory count to which this detail belongs. |
| System.Int32 | id_ | Identifies either a serial number or a purchase product variant. |
| InventoryCountDetail.IdType_Enum | idType_ | Indicates the purpose of the |
| System.Decimal | quantity_ | Quantity of the purchase product. |
| System.String | countType_ | Indicates the type of count detail (e.g. "Manual", "Scanned") |
InventoryCountDetail(Int32, String, Decimal, String)
Used to create a new inventory count detail.
Declaration
public InventoryCountDetail(int inventoryCountId_, string serialNumberName_, decimal quantity_, string countType_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | inventoryCountId_ | The inventory count to which this detail belongs. |
| System.String | serialNumberName_ | Identifies the serial number (by name). |
| System.Decimal | quantity_ | Quantity of the purchase product. |
| System.String | countType_ | Indicates the type of count detail (e.g. "Manual", "Scanned") |
Properties
CountedBy
The user who entered this inventory count detail.
Declaration
public string CountedBy { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
CountTimestamp
Timestamp when this inventory count detail was entered.
Declaration
public DateTime CountTimestamp { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
CountType
Count Type.
Declaration
public string CountType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Unique identifier for the inventory count detail.
Declaration
public Guid Id { get; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
InventoryCountId
Identifies the inventory count to which this detail belongs.
Declaration
public int InventoryCountId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Location
Location of the inventory.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PurchaseProductId
Identifies the purchase product.
Declaration
public int PurchaseProductId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PurchaseProductName
Name of the purchase product.
Declaration
public string PurchaseProductName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PurchaseProductVariantId
Identifies the purchase product variant.
Declaration
public int PurchaseProductVariantId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PurchaseProductVariantName
Name of the purchase product variant.
Declaration
public string PurchaseProductVariantName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Quantity
Quantity.
Declaration
public decimal Quantity { get; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |
SerialNumberId
Identifies the serial number (if there is one).
Declaration
public int? SerialNumberId { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SerialNumberName
Name of the associated serial number (if there is one).
Declaration
public string SerialNumberName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |