Class ShipmentItem
Inheritance
Inherited Members
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public abstract class ShipmentItem
Constructors
| Improve this Doc View SourceShipmentItem()
Declaration
public ShipmentItem()
Properties
| Improve this Doc View SourceArticle
Gets the selected article object
Declaration
public Article Article { get; set; }
Property Value
Type | Description |
---|---|
Article |
ArticleGLAId
Gets or ssts the ArticleGLAId
Declaration
public Guid? ArticleGLAId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ArticleId
Gets or sets the article id
Declaration
public Guid? ArticleId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
BillCarrier
Gets or sets the bill for carriers
Declaration
public bool BillCarrier { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
BillSupplier
Gets or sets whether the supplier shall be billed
Declaration
public bool BillSupplier { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CalculatedCarrierValue
Gets the calculated calue for carrier
Declaration
public abstract PreciseDecimal CalculatedCarrierValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CalculatedCustomerValue
Gets the calculatet Value for customer
Declaration
public abstract PreciseDecimal CalculatedCustomerValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CalculatedSupplierValue
Gets the calculated value for the supplier.
Declaration
public abstract PreciseDecimal CalculatedSupplierValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CalculatetCarrierValue
Gets the calculated calue for carrier
Declaration
[Obsolete("Please use CalculatedCarrierValue instead.")]
public PreciseDecimal CalculatetCarrierValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CarrierQuantity
Gets or sets the quantity for carriers
Declaration
public PreciseDecimal CarrierQuantity { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CarrierStatus
Gets or sets the status
Declaration
public ShipmentItemStatus CarrierStatus { get; set; }
Property Value
Type | Description |
---|---|
ShipmentItemStatus |
CarrierStatusId
Gets or sets the unique carrier status
Declaration
public Guid? CarrierStatusId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CarrierValue
Gets or sets the value for carriers
Declaration
public PreciseDecimal CarrierValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
Conditions
Gets or sets the conditions
Declaration
public IList<Condition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Condition> |
ConsignmentNote
Gets or sets the ConsignmentNote
Declaration
public string ConsignmentNote { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Container
Gets or sets the container
Declaration
public Container Container { get; set; }
Property Value
Type | Description |
---|---|
Container |
ContainerId
Gets or sets the container id
Declaration
public Guid? ContainerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ContainerType
Gets or sets the container type
Declaration
public ContainerType ContainerType { get; set; }
Property Value
Type | Description |
---|---|
ContainerType |
ContainerTypeId
Gets or sets the container type id
Declaration
public Guid? ContainerTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CustomerQuantity
Gets or sets the quantity for customers
Declaration
public PreciseDecimal CustomerQuantity { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
CustomerValue
Gets or sets the value for customers
Declaration
public PreciseDecimal CustomerValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
DisposalProof
Gets or sets the DisposalProof
Declaration
public string DisposalProof { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or sets the item id
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Idtf
Gets or sets the Idtf number
Declaration
public string Idtf { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IndexNumber
Gets or sets the item index
Declaration
public int? IndexNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
IsBillable
Gets or sets whether this item is billable
Declaration
public bool IsBillable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDeleted
Gets or sets wherther the item is deleted
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSplitted
Gets or sets whether the item is splitted
Declaration
public bool IsSplitted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTranship
Gets or sets whether the shipment item is a tranship
Declaration
public bool IsTranship { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemText
Declaration
public string ItemText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PurchaseQuantity
Gets or sets the purchase quantity
Declaration
public PreciseDecimal? PurchaseQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PreciseDecimal> |
PurchaseValue
Gets or sets the purchage value
Declaration
public PreciseDecimal PurchaseValue { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
QuantityUnit
Gets or sets the quantity unit
Declaration
public Guid QuantityUnit { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Shipment
Gets or sets the parent shipment
Declaration
public Shipment Shipment { get; set; }
Property Value
Type | Description |
---|---|
Shipment |
ShipmentId
Gets or sets the shipment id
Declaration
public Guid ShipmentId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
SplitParentId
Gets or sets the item id of parent shipment item
Declaration
public Guid? SplitParentId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Status
Gets or sets the status
Declaration
public ShipmentItemStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ShipmentItemStatus |
StatusId
Gets or sets the unique status is
Declaration
public Guid? StatusId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Supplier
Gets the selected supplier object
Declaration
public SAC.Contact.Contact Supplier { get; set; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
SupplierId
Gets or sets the article supplier id
Declaration
public long? SupplierId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
SupplierStatus
Gets or sets the status
Declaration
public ShipmentItemStatus SupplierStatus { get; set; }
Property Value
Type | Description |
---|---|
ShipmentItemStatus |
SupplierStatusId
Gets or sets the supplier billing state
Declaration
public Guid SupplierStatusId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TaxId
Gets or sets the tax id
Declaration
public abstract Guid? TaxId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
TemperatureId
Gets or sets the temperature id
Declaration
public Guid? TemperatureId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
TotalPurchaseValue
Gets the total purchase value
Declaration
public PreciseDecimal TotalPurchaseValue { get; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
TradingUnit
Gets or sets the trading unit
Declaration
public PreciseDecimal TradingUnit { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
TransactionItemId
Gets or sets the transaction item id
Declaration
public Guid TransactionItemId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TranshipPartAmount
Gets or sets the TranshipPartAmount
Declaration
public PreciseDecimal TranshipPartAmount { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
Type
Gets or sets the item Type
Declaration
public ShipmentItemType Type { get; set; }
Property Value
Type | Description |
---|---|
ShipmentItemType |
TypeId
Gets or sets the type id
Declaration
public Guid TypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
WasteKey
Gets or sets the WasteKey from the 'European waste catalouge and hazardous waste list' or the German AVV
Declaration
public string WasteKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WasteLabel
Gets or sets wgether the WasteLabel is set
Declaration
public bool WasteLabel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Weight
Gets or sets the weight
Declaration
public PreciseDecimal Weight { get; set; }
Property Value
Type | Description |
---|---|
PreciseDecimal |
WeightNotes
Gets or sets a stateful collection of weight notes
Declaration
public StatefulCollection<ShipmentWeightNote> WeightNotes { get; set; }
Property Value
Type | Description |
---|---|
StatefulCollection<ShipmentWeightNote> |
Methods
| Improve this Doc View SourceCopyBaseMember(ShipmentItem, Boolean)
Copy base information
Declaration
protected void CopyBaseMember(ShipmentItem copyTo, bool copyId = false)
Parameters
Type | Name | Description |
---|---|---|
ShipmentItem | copyTo | Target to copy the information to |
System.Boolean | copyId | True if the id should be copied too |
DeepCopy(Boolean, Guid)
Copy shipment items
Declaration
public abstract ShipmentItem DeepCopy(bool newId, Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | newId | True if a new id should be generated |
System.Guid | id | Shipment id |
Returns
Type | Description |
---|---|
ShipmentItem | New item instance |
LoadConditions()
Loads the conditions
Declaration
public IList<Condition> LoadConditions()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<Condition> |
LoadWeightNotes()
Loads all weight notes for the actual position
Declaration
public StatefulCollection<ShipmentWeightNote> LoadWeightNotes()
Returns
Type | Description |
---|---|
StatefulCollection<ShipmentWeightNote> |
SetPriceCustomer(Double)
Sets the price of the current item
Declaration
public abstract void SetPriceCustomer(double totalPrice)
Parameters
Type | Name | Description |
---|---|---|
System.Double | totalPrice | The total price |