Class ShipmentStatus
Shipment status model
Inherited Members
Namespace: Simplic.Logistics
Assembly: Simplic.Logistics.dll
Syntax
public class ShipmentStatus
Properties
| Improve this Doc View SourceDisableEdit
Gets or sets whether the shipment status disables editing the shipment
Declaration
public bool DisableEdit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableStatusResolving
Gets or sets whether the status should be resolved automatically
Declaration
public bool EnableStatusResolving { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Flag
Gets or sets the status flag
Declaration
public ShipmentStatusFlag Flag { get; set; }
Property Value
Type | Description |
---|---|
ShipmentStatusFlag |
Guid
Gets or sets the shipment status Id
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
HexColor
Gets or sets the shipment color
Declaration
public string HexColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsBillable
Gets or sets the billable flag
Declaration
public bool IsBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDefault
gets or sets wheter the shipment staus is the default status
Declaration
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets or sets the shipment status name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Number
Gets oor sets the status number
Declaration
public int Number { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OrderNr
Gets or sets the order number
Declaration
public int OrderNr { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OverrideByTransactionConfiguration
Gets or seth whether this status is prefered by the transaction configuration and cannot overwritten by the resolver
Declaration
public bool OverrideByTransactionConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RestrictionConfiguration
Gets or sets the restriction configuration
Declaration
public byte[] RestrictionConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Restrictions
Gets or sets all shipment status restrictions
Declaration
public IList<ShipmentStatusRestriction> Restrictions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ShipmentStatusRestriction> |
StatusResolver
Gets or sets the name of the status resolved
Declaration
public string StatusResolver { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceHasRestriction(ShipmentStatusRestriction)
Checks whether a restriction exists
Declaration
public bool HasRestriction(ShipmentStatusRestriction restriction)
Parameters
Type | Name | Description |
---|---|---|
ShipmentStatusRestriction | restriction | Restirction |
Returns
Type | Description |
---|---|
System.Boolean | True if the restriction exists |