Interface IShipmentStatusResolverRepository
Shipment status resolver repository
Namespace: Simplic.Logistics
Assembly: Simplic.Logistics.dll
Syntax
public interface IShipmentStatusResolverRepository
Methods
| Improve this Doc View SourceAllItemsCarrierBilled(Guid)
Checks if all shipmentitems are billed or canceled for carrier
Declaration
bool AllItemsCarrierBilled(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | true if no item is carrier status open |
AllItemsCustomerBilled(Guid)
Checks if all shipmentitems are billed or canceled for customer
Declaration
bool AllItemsCustomerBilled(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | true if no item is customer status open |
AllItemsSupplierBilled(Guid)
Checks if all shipmentitems are billed or canceled for supplier
Declaration
bool AllItemsSupplierBilled(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | true if no item is carrier status open |
IsBillable(Guid)
Checks whether the given shipment id has weight notes
Declaration
bool IsBillable(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment has a weight note |
IsShipmentDeleted(Guid)
Checks whether the shipment is deleted
Declaration
bool IsShipmentDeleted(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment is deleted |
LastTransactionIsCancelation(Guid)
Checks whether the last transaction is a cancelation transaction
Declaration
bool LastTransactionIsCancelation(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the last transaction is a cancelation transaction |
ShipmentConvertedBillingLine(Guid)
Checks whether the given item has a converted billing line
Declaration
bool ShipmentConvertedBillingLine(Guid shipmentItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentItemId | Shipment item id |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment has a converted billing line |
ShipmentHasCarrier(Guid)
Checks whether the given shipment has a carrier
Declaration
bool ShipmentHasCarrier(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the carrier id is not null |
ShipmentHasDocument(Guid)
Transport document exists
Declaration
bool ShipmentHasDocument(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Unique shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the document exists |
ShipmentHasGarageAddress(Guid)
Check whether a shipment as an garage address
Declaration
bool ShipmentHasGarageAddress(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Unique shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if load-address und delivery address is an garage address |
ShipmentHasPreplannedTour(Guid)
Checks whether the given shipment has a tour pre planned tour
Declaration
bool ShipmentHasPreplannedTour(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment instance |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment has a pre planned tour |
ShipmentHasTour(Guid)
Checks whether the given shipment has a tour
Declaration
bool ShipmentHasTour(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment instance |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment has a tour |
ShipmentHasTransaction(Guid)
Checks whether the given shipment has a transaction
Declaration
bool ShipmentHasTransaction(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment has a transaction |
ShipmentIsStarted(Guid)
Checks whether a shipment is already started
Declaration
bool ShipmentIsStarted(Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentId | Unique shipment id |
Returns
Type | Description |
---|---|
System.Boolean | True if the shipment is already started |
ShipmentItemHasBillingLines(Guid)
Checks whether a given shipment-item has billing lines
Declaration
bool ShipmentItemHasBillingLines(Guid shipmentItemId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentItemId | Shipment item id |
Returns
Type | Description |
---|---|
System.Boolean | True if billing lines exists, else false |