Class ShipmentWeightNoteViewModel
Shipment weight note
Inheritance
Implements
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class ShipmentWeightNoteViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceShipmentWeightNoteViewModel(ShipmentWeightNote)
Initialize new shipment weight viewmodel
Declaration
public ShipmentWeightNoteViewModel(ShipmentWeightNote model)
Parameters
Type | Name | Description |
---|---|---|
ShipmentWeightNote | model | Model instance |
Properties
| Improve this Doc View SourceAddonViewModel
Gets or sets the addon viewmodel
Declaration
public AddonViewModel AddonViewModel { get; set; }
Property Value
Type | Description |
---|---|
AddonViewModel |
Amount
Gets or sets the loaded amount
Declaration
public double Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
CreateDateTime
Gets the create datetime of the data
Declaration
public DateTime CreateDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
FirstDate
Gets or sets the date for the first weighing
Declaration
public DateTime FirstDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FirstTime
Gets or sets the time for the first weighing
Declaration
public TimeSpan FirstTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
FirstWeighing
Gets or sets the first weighing
Declaration
public double FirstWeighing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsBillable
Gets or sets whether this weight note is billable. Only one weight-note in a shipment item should be billable
Declaration
public bool IsBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemId
Gets or sets the id of the assigned position
Declaration
public Guid? ItemId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Model
Gets the connected shipment model
Declaration
public ShipmentWeightNote Model { get; }
Property Value
Type | Description |
---|---|
ShipmentWeightNote |
SecondDate
Gets or sets the date for the second weighing
Declaration
public DateTime SecondDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
SecondTime
Gets or sets the time for the second weighing
Declaration
public TimeSpan SecondTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
SecondWeighing
Gets or sets the second weighing
Declaration
public double SecondWeighing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ShipmentGuid
Gets or sets the unique shipment guid
Declaration
public Guid ShipmentGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Type
Gets or sets the type of the weight note
Declaration
public ShipmentWeightNoteTypeViewModel Type { get; }
Property Value
Type | Description |
---|---|
ShipmentWeightNoteTypeViewModel |
TypeId
Gets or sets the type of the weight note
Declaration
public WeightNoteType TypeId { get; set; }
Property Value
Type | Description |
---|---|
WeightNoteType |
WeightNoteNumber
Gets or sets the weight note number
Declaration
public string WeightNoteNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WeightNoteTypes
Declaration
public IList<ShipmentWeightNoteTypeViewModel> WeightNoteTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ShipmentWeightNoteTypeViewModel> |
Methods
| Improve this Doc View SourceGetAddonPrimaryKey()
Get the primary key of the table IT_Shipment_WeightNote_Addon
Declaration
public object GetAddonPrimaryKey()
Returns
Type | Description |
---|---|
System.Object |