Class ShipmentWindow
Interaction logic for ShipmentWindow.xaml
Inheritance
System.Object
ShipmentWindow
Implements
Namespace: Simplic.PlugIn.Logistics.Disposition.UI
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class ShipmentWindow : StackBasedWindow, IShipmentWindow
Constructors
| Improve this Doc View SourceShipmentWindow()
Declaration
public ShipmentWindow()
Properties
| Improve this Doc View SourceCurrent
Gets the current DataCotnext as ShipmentViewModel
Declaration
public ShipmentViewModel Current { get; }
Property Value
Type | Description |
---|---|
ShipmentViewModel |
Methods
| Improve this Doc View SourceEdit(IList<Shipment>)
Edit a shipment by shipment objects
Declaration
public void Edit(IList<Shipment> shipments)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<Shipment> | shipments |
EditByGuids(IList<Guid>)
Edit a shipment by shipment guids
Declaration
public void EditByGuids(IList<Guid> ids)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Guid> | ids | List of ids |
ForceEditViewModel(ShipmentViewModel)
Open the ui with the given viewmodel and force to not reload any data
Declaration
public void ForceEditViewModel(ShipmentViewModel model)
Parameters
Type | Name | Description |
---|---|---|
ShipmentViewModel | model | Model to show |
New(Shipment)
Create new shipment
Declaration
public void New(Shipment shipment)
Parameters
Type | Name | Description |
---|---|---|
Shipment | shipment | Shipment instance |
OnDelete(WindowDeleteEventArg)
Delete contact
Declaration
public override void OnDelete(WindowDeleteEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowDeleteEventArg | e |
OnDocumentArchived(Guid)
Declaration
protected override void OnDocumentArchived(Guid documentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | documentId |
OnOpenPage(WindowOpenPageEventArg)
Open contact
Declaration
public override void OnOpenPage(WindowOpenPageEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowOpenPageEventArg | e |
OnSave(WindowSaveEventArg)
Save contact
Declaration
public override void OnSave(WindowSaveEventArg e)
Parameters
Type | Name | Description |
---|---|---|
WindowSaveEventArg | e |
ViewByGuids(IList<Guid>)
View a shipment by shipment guids
Declaration
public void ViewByGuids(IList<Guid> ids)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Guid> | ids | List of ids |