Class TransportOrderViewModel
Transport order viewmodel
Inheritance
System.Object
TransportOrderViewModel
Implements
ICustomAddonViewModel
IAsyncViewModel
IMultiTenantCompatibleViewModel
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class TransportOrderViewModel : ExtendableViewModel
Constructors
|
Improve this Doc
View Source
TransportOrderViewModel(TransportOrder)
Initialize transport order
Declaration
public TransportOrderViewModel(TransportOrder model)
Parameters
Properties
|
Improve this Doc
View Source
ActualCustomerQuantitySum
Gets the sum of all actual weight sums of all shipments
Declaration
public double ActualCustomerQuantitySum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
AddonViewModel
Gets or sets the AddonViewModel
Declaration
public TransportOrderAddonViewModel AddonViewModel { get; set; }
Property Value
|
Improve this Doc
View Source
AddShipment
Gerts or sets the AddShipment command
Declaration
public ICommand AddShipment { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
AddShipmentFromTemplate
Gets or sets the command to add a shipment from a shipment
Declaration
public ICommand AddShipmentFromTemplate { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
AlternativeTermOfPayment
Declaration
public Guid? AlternativeTermOfPayment { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
|
Improve this Doc
View Source
BeginDate
Gets or sets the begin datetime
Declaration
public DateTime? BeginDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
CalculatedCarrierValueSum
Declaration
public double CalculatedCarrierValueSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CalculatedCustomerPrice
Gets or sets the calculated price
Declaration
public double CalculatedCustomerPrice { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CalculatedCustomerValueSum
Declaration
public double CalculatedCustomerValueSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CarrierAddressId
Gets or sets the customer id
Declaration
public Guid? CarrierAddressId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
|
Improve this Doc
View Source
CarrierQuantitySum
Gets the carrier quantity sum of all shipment items
Declaration
public double CarrierQuantitySum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CarrierValueSum
Declaration
public double CarrierValueSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CopyShipment
Gets or sets the command to copy a shipment
Declaration
public ICommand CopyShipment { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
CustomCustomerPrice
Gets or sets the custom price
Declaration
public double CustomCustomerPrice { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CustomerQuantitySum
Gets the customer quantity sum of all shipment items
Declaration
public double CustomerQuantitySum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
CustomerValueSum
Declaration
public double CustomerValueSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
DeleteShipment
Gets or sets the delete shipment command
Declaration
public ICommand DeleteShipment { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
EditShipment
Gets or sets the command to edit a shipment
Declaration
public ICommand EditShipment { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
EndDate
Gets or sets the end datetime
Declaration
public DateTime? EndDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
ExectePricingForShipmentCommand
Gets or sets a command to execute a pricing
Declaration
public ICommand ExectePricingForShipmentCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
ExternNumber
Gets or sets the external order number
Declaration
public string ExternNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FreightPayerAddressId
Gets or sets the freightpayer address id
Declaration
public Guid? FreightPayerAddressId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
|
Improve this Doc
View Source
InternalNumber
Gets or sets the internal number
Declaration
public string InternalNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Gets the pitches sum of all shipments
Declaration
public double LoadingMetersSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Model
Declaration
public TransportOrder Model { get; }
Property Value
|
Improve this Doc
View Source
Number
Gets or sets the order number
Declaration
public string Number { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OrderDate
Gets or sets the order date
Declaration
public DateTime? OrderDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
OverrideCarrierAddressId
Gets or sets whether to override the carrier guid in all child shipments
Declaration
public bool OverrideCarrierAddressId { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OverrideFreightPayerAddressId
Gets or sets whether to override the freightpayer guid in all child shipments
Declaration
public bool OverrideFreightPayerAddressId { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OverrideSenderAddressId
Gets or sets whether to override the sender guid in all child shipments
Declaration
public bool OverrideSenderAddressId { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PitchesSum
Gets the pitches sum of all shipments
Declaration
public double PitchesSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
PlanShipment
Gets or sets the comand to plan a shipment
Declaration
public ICommand PlanShipment { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
Gets or sets the preview format text
Declaration
public string PreviewFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RemoveShipment
Gets or sets the removed shipment command
Declaration
public ICommand RemoveShipment { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
SelectedShipment
Gets or sets the selected shipment
Declaration
public ShipmentViewModel SelectedShipment { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedTenant
Declaration
public OrganizationTenant SelectedTenant { get; set; }
Property Value
Type |
Description |
OrganizationTenant |
|
|
Improve this Doc
View Source
SenderAddressId
Gets or sets the customer id
Declaration
public Guid? SenderAddressId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Guid> |
|
|
Improve this Doc
View Source
ShipmentCount
Declaration
public int ShipmentCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ShipmentReadOnly
Gets or sets the shipment ui is enbaled flag
Declaration
public virtual bool ShipmentReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ShipmentRowDoubleClicked
Gets or sets the shipment row double click command
Declaration
public ICommand ShipmentRowDoubleClicked { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
Shipments
Gets or sets the shipments
Declaration
public ObservableCollection<ShipmentViewModel> Shipments { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<ShipmentViewModel> |
|
|
Improve this Doc
View Source
ShowContractItemsCommand
Declaration
public ICommand ShowContractItemsCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
Tenants
Declaration
public ObservableCollection<OrganizationTenant> Tenants { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<OrganizationTenant> |
|
|
Improve this Doc
View Source
TradingUnitSum
Gets the packing unit sum
Declaration
public double TradingUnitSum { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
UndoSplit
Gets or sets the command to undo a split
Declaration
public ICommand UndoSplit { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
WeightSum
Gets the weight sum of all shipments
Declaration
public double WeightSum { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
|
Improve this Doc
View Source
CreateShipmentViewModel(Shipment)
Initializes a new Shipment ViewModel
Declaration
public virtual ShipmentViewModel CreateShipmentViewModel(Shipment shipment)
Parameters
Returns
|
Improve this Doc
View Source
GetAddonPrimaryKey()
Gets the PrimaryKey fo the addon
Declaration
public object GetAddonPrimaryKey()
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
RefreshOverrides()
Declaration
public void RefreshOverrides()
|
Improve this Doc
View Source
ShipmentDrop(DragEventArgs)
Function called in TransportOrderShipmentGrid when a shipment is Dropped
Declaration
public void ShipmentDrop(DragEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.DragEventArgs |
e |
|
Events
|
Improve this Doc
View Source
ShipmentQuantityChanged
Declaration
public event EventHandler<EventArgs> ShipmentQuantityChanged
Event Type
Type |
Description |
System.EventHandler<System.EventArgs> |
|
Implements
ICustomAddonViewModel
IAsyncViewModel
IMultiTenantCompatibleViewModel