Class ShipmentViewModel
Represents a shipment as viewmodel.
Inheritance
Implements
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class ShipmentViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceShipmentViewModel(Shipment)
Initialize new shipment viewmodel.
Declaration
public ShipmentViewModel(Shipment shipment)
Parameters
Type | Name | Description |
---|---|---|
Shipment | shipment | Shipment instance |
ShipmentViewModel(Shipment, Boolean)
Represents the constructor of the shipment view model.
Declaration
public ShipmentViewModel(Shipment shipment, bool loadItems)
Parameters
Type | Name | Description |
---|---|---|
Shipment | shipment | |
System.Boolean | loadItems |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
Properties
| Improve this Doc View SourceActiveTourId
Gets or sets the currently active tour id.
Declaration
public Guid? ActiveTourId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ActualCustomerQuantitySum
Gets the Weight sum of all shipmentItems but the weight of weightnotes is prioritized.
Declaration
public double ActualCustomerQuantitySum { get; }
Property Value
Type | Description |
---|---|
System.Double |
ActualFromLoadDate
Gets or sets the actual begin load date.
Declaration
public DateTime? ActualFromLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ActualFromLoadTime
Gets or sets the begin load time.
Declaration
public TimeSpan? ActualFromLoadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ActualFromUnloadDate
Gets or sets the actual unload date (start).
Declaration
public DateTime? ActualFromUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ActualFromUnloadTime
Gets or sets the actual unload time (start).
Declaration
public TimeSpan? ActualFromUnloadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ActualToLoadDate
Gets or sets the load date.
Declaration
public DateTime? ActualToLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ActualToLoadTime
Gets or sets the actual load date (to/end).
Declaration
public TimeSpan? ActualToLoadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ActualToUnloadDate
Gets or sets the actual unload date (end).
Declaration
public DateTime? ActualToUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ActualToUnloadTime
Gets or sets the actual unload time (end).
Declaration
public TimeSpan? ActualToUnloadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
AddItem
Gets or sets the command to add a positions.
Declaration
public ICommand AddItem { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddonViewModel
Gets or sets the addon viewmodel.
Declaration
public ShipmentAddonViewModel AddonViewModel { get; set; }
Property Value
Type | Description |
---|---|
ShipmentAddonViewModel |
AddTagCommand
Gets or sets the command to add a tag.
Declaration
public ICommand AddTagCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddTour
Gets or sets the command for adding a tour.
Declaration
public ICommand AddTour { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AllBillable
Gets or sets whether all items are billable.
Declaration
public bool AllBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CalculateRoute
Gets or sets whether to calculuate route and toll information.
Declaration
public bool CalculateRoute { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CalculateTranshipData
Gets or sets the calculate tranship command.
Declaration
public ICommand CalculateTranshipData { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CancelIsBillable
Gets or sets whether the set isbillable is canceled.
Declaration
public bool CancelIsBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CancelStatus
Gets or sets the item reset command for the sender status.
Declaration
public ICommand CancelStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CancelStatusCarrier
Gets or sets the item reset command for the carrier status.
Declaration
public ICommand CancelStatusCarrier { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CancelStatusSupplier
Gets or sets the cancel supplier status command.
Declaration
public ICommand CancelStatusSupplier { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CarrierAddress
Gets the carrier contact.
Declaration
public SAC.Contact.Contact CarrierAddress { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
CarrierAddressId
Gets or sets the carrier contact id.
Declaration
public Guid? CarrierAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CarrierPrice
Gets the usm of the calculated carrier value.
Declaration
public double CarrierPrice { get; }
Property Value
Type | Description |
---|---|
System.Double |
CarrierQuantitySum
Gets the carrier quantity sum of all shipment items.
Declaration
public double CarrierQuantitySum { get; }
Property Value
Type | Description |
---|---|
System.Double |
CarrierStatusName
Gets the carrier status name.
Declaration
public string CarrierStatusName { get; }
Property Value
Type | Description |
---|---|
System.String |
ChangeItemType
Gets or sets the command for changing the current item-type.
Declaration
public ICommand ChangeItemType { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ConstructionSiteId
Gets or sets the construction site id.
Declaration
public Guid? ConstructionSiteId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ContinuousNumber
Gets or sets a continuous number.
Declaration
public long ContinuousNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
CopyShipmentItem
Gets or sets the command to copy the shipment item.
Declaration
public ICommand CopyShipmentItem { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CreateDateTime
Gets or sets the create date time.
Declaration
public DateTime CreateDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
CreateShipmentFromTranship
Gets or sets the command to create a shipment from tranship.
Declaration
public ICommand CreateShipmentFromTranship { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CreateUserId
Gets or sets the create user id
Declaration
public int CreateUserId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CreateUserName
Gets the creator user name.
Declaration
public string CreateUserName { get; }
Property Value
Type | Description |
---|---|
System.String |
CurrentPricing
Gets or sets the pricing configuration information.
Declaration
public PricingConfigurationInformation CurrentPricing { get; }
Property Value
Type | Description |
---|---|
PricingConfigurationInformation |
CustomerLoadNumber
Gets or sets the customer load number.
Declaration
public string CustomerLoadNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CustomerPrice
Gets the sum of calculated customer value.
Declaration
public double CustomerPrice { get; }
Property Value
Type | Description |
---|---|
System.Double |
CustomerQuantitySum
Gets the customer quantity sum of all shipment items.
Declaration
public double CustomerQuantitySum { get; }
Property Value
Type | Description |
---|---|
System.Double |
CustomerStatusName
Gets the customer status name.
Declaration
public string CustomerStatusName { get; }
Property Value
Type | Description |
---|---|
System.String |
CustomerUnloadNumber
Gets or sets the external customer unload number.
Declaration
public string CustomerUnloadNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CustomPricingConfigurationId
Gets or sets the custom pricing configuration id.
Declaration
public Guid? CustomPricingConfigurationId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
DeliveryAddress
Gets the delivery address contact.
Declaration
public SAC.Contact.Contact DeliveryAddress { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
DeliveryAddressId
Gets or sets the unique delivery address.
Declaration
public Guid? DeliveryAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
DeliveryAddressLatitude
Gets or sets the latitude of the delivery address.
Declaration
public double? DeliveryAddressLatitude { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
DeliveryAddressLongitude
Gets or sets the longitude of the delivery address.
Declaration
public double? DeliveryAddressLongitude { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
DeliveryTelematicWorkflow
Gets the DeliveryTelematicWorkflow.
Declaration
public TelematicWorkflow DeliveryTelematicWorkflow { get; }
Property Value
Type | Description |
---|---|
TelematicWorkflow |
DeliveryTelematicWorkflowId
Gets or sets the DeliveryTelematicWorkflowId.
Declaration
public Guid DeliveryTelematicWorkflowId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
DistanceToDeliveryAddress
Gets or sets the distance from the current position to the delivery address in meter.
Declaration
public double DistanceToDeliveryAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Documents
Gets or sets the list of shipment documents. Uses lazy-loading.
Declaration
public ObservableCollection<ShipmentDocumentViewModel> Documents { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ShipmentDocumentViewModel> |
DragDropText
Gets or sets the drag and drop text.
Declaration
public string DragDropText { get; }
Property Value
Type | Description |
---|---|
System.String |
DurationInMinutes
Gets or sets the time in minutes which is required for the shipment.
Declaration
public TimeSpan DurationInMinutes { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
EditDeliveryAddress
Gets or sets the command to edit the delivery address.
Declaration
public ICommand EditDeliveryAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
EditForwarderAddress
Gets or sets the command to edit a forwarder address.
Declaration
public ICommand EditForwarderAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
EditLoadAddress
Gets or sets the edit load address.
Declaration
public ICommand EditLoadAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
EditReceiverAddress
Gets or sets the command to edit the receiver address.
Declaration
public ICommand EditReceiverAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
EditTour
Gets or sets the command to edit a tour.
Declaration
public ICommand EditTour { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
EnableDateTimeCorrection
Declaration
public bool EnableDateTimeCorrection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRouteChanges
Gets whether route information changing is allowed.
Declaration
public bool EnableRouteChanges { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExecutePricingCommand
Gets or sets the execute pricing command.
Declaration
public ICommand ExecutePricingCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ExecutePricingSelectionCommand
Gets or sets the execute pricing selection command.
Declaration
public ICommand ExecutePricingSelectionCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ExtShipmentNr
Gets or sets the external shipment number.
Declaration
public string ExtShipmentNr { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ForwarderAddress
Gets or sets the ForwarderAddress.
Declaration
public SAC.Contact.Contact ForwarderAddress { get; set; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
ForwarderAddressId
Gets or sets the ForwarderAddressId.
Declaration
public Guid? ForwarderAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
FreightPayerAddress
Gets the freight payer contact.
Declaration
public SAC.Contact.Contact FreightPayerAddress { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
FreightPayerAddressId
Gets or sets the FreightPayerAddressId.
Declaration
public Guid? FreightPayerAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
FromLoadDate
Gets or set the first possible load date.
Declaration
public DateTime FromLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromLoadDateTime
Gets the from load date and time.
Declaration
public DateTime FromLoadDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromLoadTime
Gets or sets the first possibble load time.
Declaration
public TimeSpan FromLoadTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
FromToLoadDate
Gets or sets the from to load date time.
Declaration
public DateTime FromToLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromToUnloadDate
Gets or sets the from to unload date time.
Declaration
public DateTime FromToUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromUnloadDate
Gets or sets the first possible unload date.
Declaration
public DateTime FromUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromUnloadDateTime
Gets the from unload date and time.
Declaration
public DateTime FromUnloadDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromUnloadTime
Gets or sets the first possible unload time.
Declaration
public TimeSpan FromUnloadTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
HasLoadingTimeSlot
Gets or sets whether a loading slot exists.
Declaration
public bool HasLoadingTimeSlot { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasUnloadingTimeSlot
Gets or sets whether a unloading slot exists�.
Declaration
public bool HasUnloadingTimeSlot { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDeleted
Gets or sets whether the shipment is deleted.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFinished
Gets or sets whether the shipment is finished.
Declaration
public bool IsFinished { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMergable
Gets the visibility depanding wheater it's megable or not.
Declaration
public Visibility IsMergable { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
IsOnCalculatingTranship
Gets or sets whether the system is calculating tranships.
Declaration
public bool IsOnCalculatingTranship { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSelected
Gets or sets is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsStarted
Gets or sets whether the shipment is started yet.
Declaration
public bool IsStarted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTemplate
Gets or sets the IsTemplate.
Declaration
public bool IsTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemCollectionView
Gets or sets the CollectionView for the items.
Declaration
public CollectionViewSource ItemCollectionView { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Data.CollectionViewSource |
ItemDefinitions
Gets or sets the item definitions as a list of ShipmentItemTypeViewModel.
Declaration
public IList<ShipmentItemTypeViewModel> ItemDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ShipmentItemTypeViewModel> |
Items
Gets a list of positions.
Declaration
public ObservableCollection<ShipmentItemViewModel> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ShipmentItemViewModel> |
LineBreak
Gets a line break.
Declaration
public string LineBreak { get; }
Property Value
Type | Description |
---|---|
System.String |
LoadAddress
Gets the load address contact.
Declaration
public SAC.Contact.Contact LoadAddress { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
LoadAddressId
Gets or sets the unique load address.
Declaration
public Guid? LoadAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
LoadAddressLatitude
Gets or sets the latitude of the load address.
Declaration
public double? LoadAddressLatitude { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
LoadAddressLongitude
Gets or sets the longitude of the load address.
Declaration
public double? LoadAddressLongitude { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
LoadingMetersSum
Gets the pitches sum of all shipment items.
Declaration
public double LoadingMetersSum { get; }
Property Value
Type | Description |
---|---|
System.Double |
LoadTelematicWorkflow
Gets the LoadTelematicWorkflow.
Declaration
public TelematicWorkflow LoadTelematicWorkflow { get; }
Property Value
Type | Description |
---|---|
TelematicWorkflow |
LoadTelematicWorkflowId
Gets or sets the LoadTelematicWorkflowId.
Declaration
public Guid LoadTelematicWorkflowId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Margin
Gets the margin as a double.
Declaration
public double Margin { get; }
Property Value
Type | Description |
---|---|
System.Double |
Model
Gets the shipment model.
Declaration
public Shipment Model { get; }
Property Value
Type | Description |
---|---|
Shipment |
MouseRightButtonUpCommand
Gets or sets the Command MouseRightButtonUp.
Declaration
public ICommand MouseRightButtonUpCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Notes
Gets or sets a notes field.
Declaration
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrderDate
Gets or sets the OrderDate.
Declaration
public DateTime OrderDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
PitchesSum
Gets the pitches sum of all shipment items.
Declaration
public double PitchesSum { get; }
Property Value
Type | Description |
---|---|
System.Double |
PriceDifference
Gets the difference between CustomerPrice and CarrierPrice.
Declaration
public double PriceDifference { get; }
Property Value
Type | Description |
---|---|
System.Double |
Quantities
Gets an aggregated list of quantitiy.
Declaration
public IDictionary<string, ShipmentQuantityValueViewModel> Quantities { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, ShipmentQuantityValueViewModel> |
ReadOnlyTours
Gets the read only tours.
Declaration
public IReadOnlyList<TourViewModel> ReadOnlyTours { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<TourViewModel> |
ReceiverAddress
Gets or sets the ReceiverAddress.
Declaration
public SAC.Contact.Contact ReceiverAddress { get; set; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
ReceiverAddressId
Gets or sets the ReceiverAddressId.
Declaration
public Guid? ReceiverAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
RecipientAddress
Gets the recipient address contact.
Declaration
public SAC.Contact.Contact RecipientAddress { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
RecipientAddressId
Gets or sets the unique recipient address (Where the unload is done).
Declaration
public Guid? RecipientAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
RemoveItem
Gets or sets the command to remove a position.
Declaration
public ICommand RemoveItem { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
RemoveTagCommand
Gets or sets the command to remove the tag command.
Declaration
public ICommand RemoveTagCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
RemoveTour
Gets or sets the command for the remove tour.
Declaration
public ICommand RemoveTour { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
RequiredTimeInMinutes
Gets or sets the time that is required to finish this tour.
Declaration
public int RequiredTimeInMinutes { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ScheduledFromLoadDate
Gets or sets the scheduled begin load date.
Declaration
public DateTime? ScheduledFromLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledFromLoadDateTime
Gets the scheduled from load date and time.
Declaration
public DateTime? ScheduledFromLoadDateTime { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledFromLoadTime
Gets or sets the begin load time.
Declaration
public TimeSpan? ScheduledFromLoadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ScheduledFromUnloadDate
Gets or sets the scheduled unload date (start).
Declaration
public DateTime? ScheduledFromUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledFromUnloadDateTime
Gets the scheduled from unload date and time.
Declaration
public DateTime? ScheduledFromUnloadDateTime { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledFromUnloadTime
Gets or sets the scheduled unload time (start).
Declaration
public TimeSpan? ScheduledFromUnloadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ScheduledToLoadDate
Gets or sets the load date.
Declaration
public DateTime? ScheduledToLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledToLoadDateTime
Gets the scheduled to load date and time.
Declaration
public DateTime? ScheduledToLoadDateTime { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledToLoadTime
Gets or sets the scheduled load date (to/end).
Declaration
public TimeSpan? ScheduledToLoadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ScheduledToUnloadDate
Gets or sets the scheduled unload date (end).
Declaration
public DateTime? ScheduledToUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledToUnloadDateTime
Gets the scheduled to unload date and time.
Declaration
public DateTime? ScheduledToUnloadDateTime { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ScheduledToUnloadTime
Gets or sets the scheduled unload time (end).
Declaration
public TimeSpan? ScheduledToUnloadTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
SelectedItem
Gets or sets the currently selected shipment weight note.
Declaration
public ShipmentItemViewModel SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
ShipmentItemViewModel |
SelectedTag
Gets or sets the selected tag.
Declaration
public ShipmentTag SelectedTag { get; set; }
Property Value
Type | Description |
---|---|
ShipmentTag |
SelectedTenant
Gets or sets the currently selected tenant.
Declaration
public OrganizationTenant SelectedTenant { get; set; }
Property Value
Type | Description |
---|---|
OrganizationTenant |
SenderAddress
Gets the sender address contact.
Declaration
public SAC.Contact.Contact SenderAddress { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
SenderAddressId
Gets or sets the unique sender address.
Declaration
public Guid? SenderAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SetItemBillable
Gets or sets the command to set
Declaration
public ICommand SetItemBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
SetItemNotBillable
Gets or sets the command to set
Declaration
public ICommand SetItemNotBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ShipmentColor
Gets the shipment color.
Declaration
public SolidColorBrush ShipmentColor { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush |
ShipmentNr
Gets or sets the internal shipment number
Declaration
public string ShipmentNr { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShipmentStatusColor
Gets the shipment status color.
Declaration
public SolidColorBrush ShipmentStatusColor { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush |
ShipName
Gets or sets the ShipName.
Declaration
public string ShipName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SplitShipment
Gets the command to split the shipment.
Declaration
public ICommand SplitShipment { get; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Status
Gets or sets the status object.
Declaration
public ShipmentStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ShipmentStatus |
StatusCarrier
Gets or sets the billing status for the freight carrier.
Declaration
public Guid StatusCarrier { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
StatusCustomer
Gets or sets the billing status for the customer.
Declaration
public Guid StatusCustomer { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
StatusId
Gets or sets the StatusId.
Declaration
public Guid StatusId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
StatusSupplier
Gets or sets the billing status for the supplier.
Declaration
public Guid StatusSupplier { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
SupplierStatusName
Gets the supplier status name.
Declaration
public string SupplierStatusName { get; }
Property Value
Type | Description |
---|---|
System.String |
TagCollection
Gets a collection of all tags.
Declaration
public ObservableCollection<ShipmentTag> TagCollection { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ShipmentTag> |
Tags
Gets or sets the tags.
Declaration
public ObservableCollection<ShipmentTag> Tags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ShipmentTag> |
TagSearchText
Gets or sets the Tag search text.
Declaration
public string TagSearchText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TemplateName
Gets or sets the TemplateName.
Declaration
public string TemplateName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Tenants
Gets or sets all organization tenants.
Declaration
public ObservableCollection<OrganizationTenant> Tenants { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<OrganizationTenant> |
Toll
Gets toll value.
Declaration
public double Toll { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TollDistance
Gets or sets the toll distance.
Declaration
public double TollDistance { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TollFactor
Gets or sets the toll factor.
Declaration
public double TollFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ToLoadDate
Gets or sets the last possible load date.
Declaration
public DateTime ToLoadDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
ToLoadDateTime
Gets the to load date and time.
Declaration
public DateTime ToLoadDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ToLoadTime
Gets or sets the last possible load time.
Declaration
public TimeSpan ToLoadTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
ToUnloadDate
Gets or sets the last possible unload date.
Declaration
public DateTime ToUnloadDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
ToUnloadDateTime
Gets the to unload date and time.
Declaration
public DateTime ToUnloadDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ToUnloadTime
Gets or sets the last possible unload time.
Declaration
public TimeSpan ToUnloadTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Tours
Gets or sets a list of tours which are connected to the shipment.
Declaration
public ICollection<Tour> Tours { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<Tour> |
TradingUnitSum
Gets the packing unit sum.
Declaration
public double TradingUnitSum { get; }
Property Value
Type | Description |
---|---|
System.Double |
TranshipCount
Gets the amount of tranship.
Declaration
public int TranshipCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TranshipPartialShipments
Gets or sets tranship partial shipments.
Declaration
public ObservableCollection<TranshipPartialShipmentViewModel> TranshipPartialShipments { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<TranshipPartialShipmentViewModel> |
TransportOrderParent
Gets the transport order parent.
Declaration
public TransportOrderViewModel TransportOrderParent { get; }
Property Value
Type | Description |
---|---|
TransportOrderViewModel |
UpdateDateTime
Gets or sets the update date time.
Declaration
public DateTime UpdateDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
UpdateUserId
Gets or sets the update user id.
Declaration
public int UpdateUserId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UpdateUserName
Gets the last udpate user name.
Declaration
public string UpdateUserName { get; }
Property Value
Type | Description |
---|---|
System.String |
WeightSum
Gets the weight sum of all shipment items.
Declaration
public double WeightSum { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceAddShipmentItem(Guid)
Adds a shipment item to Iems.
Declaration
public virtual void AddShipmentItem(Guid typeId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | typeId | The id of the item type that should be added. |
GetAddonPrimaryKey()
Get the primary key of the table IT_Shipment_Addon.
Declaration
public object GetAddonPrimaryKey()
Returns
Type | Description |
---|---|
System.Object |
InitializeShipmentDocuments()
Declaration
public void InitializeShipmentDocuments()
InitializeShipmentItems()
Initilize the shipment items.
Declaration
public void InitializeShipmentItems()
InitializeShipmentItemsAsync()
Declaration
public async Task InitializeShipmentItemsAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
RefreshBillingStatus()
Refreshes the billing status of the shipment.
Declaration
public void RefreshBillingStatus()
RefreshItemQuantities(Boolean)
Refreshs the aggregated quantity list (Quantities).
Declaration
public void RefreshItemQuantities(bool refreshView = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | refreshView | If the grid-columns should be recalculated. |