Class ShipmentDocumentViewModel
Represents a shipment document for views
Inheritance
System.Object
ShipmentDocumentViewModel
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class ShipmentDocumentViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceShipmentDocumentViewModel()
Initialize new shipment document
Declaration
public ShipmentDocumentViewModel()
ShipmentDocumentViewModel(ShipmentDocument)
Initialize shipment document with an existing instance of ShipmentDocument
Declaration
public ShipmentDocumentViewModel(ShipmentDocument shipmentDocument)
Parameters
Type | Name | Description |
---|---|---|
ShipmentDocument | shipmentDocument | Shipment document instance |
Properties
| Improve this Doc View SourceDeleteCommand
Gets or sets the delete command
Declaration
public ICommand DeleteCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
DocumentId
Gets or sets the document id
Declaration
public Guid DocumentId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
FileName
Gets the actual file name
Declaration
public string FileName { get; }
Property Value
Type | Description |
---|---|
System.String |
InvoiceOrderNr
Gets or sets the invoice order number
Declaration
public int InvoiceOrderNr { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsInvoiceAttachment
Gets or sets whether this document should be attached to an invoice or not
Declaration
public bool IsInvoiceAttachment { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsInvoiceAttachmentWithStatus
Gets or sets whether this document should be attached to an invoice or not
Declaration
public bool IsInvoiceAttachmentWithStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Model
Gets the document model
Declaration
public ShipmentDocument Model { get; }
Property Value
Type | Description |
---|---|
ShipmentDocument |
ShipmentId
Gets or sets the shipment id
Declaration
public Guid ShipmentId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ShipmentItem
Gets or sets the shipment item id
Declaration
public ShipmentItemViewModel ShipmentItem { get; }
Property Value
Type | Description |
---|---|
ShipmentItemViewModel |
ShipmentItemId
Gets or sets the shipment item id
Declaration
public Guid? ShipmentItemId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ShowCommand
Gets or sets the show command
Declaration
public ICommand ShowCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Status
Gets or sets the document review status
Declaration
public ShipmentDocumentStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ShipmentDocumentStatus |
WeightNoteId
Gets or sets the weight note id
Declaration
public Guid? WeightNoteId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |