Class TransportOrderTemplateViewModel
Represents a transport order template
Implements
ICustomAddonViewModel
IAsyncViewModel
IMultiTenantCompatibleViewModel
Inherited Members
Namespace: Simplic.PlugIn.Logistics.Disposition.UI
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class TransportOrderTemplateViewModel : TransportOrderViewModel
Constructors
| Improve this Doc View SourceTransportOrderTemplateViewModel(TransportOrder)
Initialize template viewmodel
Declaration
public TransportOrderTemplateViewModel(TransportOrder model)
Parameters
Type | Name | Description |
---|---|---|
TransportOrder | model | Transport order instance |
Properties
| Improve this Doc View SourceDeliveryAddress
Gets or sets the delivery address contact.
Declaration
public SAC.Contact.Contact DeliveryAddress { get; set; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
DeliveryAddressId
Gets or sets the delivery address id.
Declaration
public Guid? DeliveryAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
EditDeliveryAddress
Edit command for the delivery address contact.
Declaration
public ICommand EditDeliveryAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
EditLoadAddress
Edit command for the load address contact.
Declaration
public ICommand EditLoadAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ItemDefinitions
Gets or sets the available item definitions
Declaration
public IList<TransportOrderShipmentItemTypeViewModel> ItemDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TransportOrderShipmentItemTypeViewModel> |
Items
Gets or sets a list of template items. One item always contains a shipment and its item
Declaration
public ObservableCollection<TransportOrderTemplateItemViewModel> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<TransportOrderTemplateItemViewModel> |
LoadAddress
Gets or sets the load address contact.
Declaration
public SAC.Contact.Contact LoadAddress { get; set; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
LoadAddressId
Gets or sets the load address id.
Declaration
public Guid? LoadAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SelectedItem
Gets or sets the selected item.
Declaration
public TransportOrderTemplateItemViewModel SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
TransportOrderTemplateItemViewModel |
Implements
ICustomAddonViewModel
IAsyncViewModel
IMultiTenantCompatibleViewModel