Search Results for

    Show / Hide Table of Contents

    Interface IShipmentRepository

    Shipment repository

    Namespace: Simplic.Logistics
    Assembly: Simplic.Logistics.dll
    Syntax
    public interface IShipmentRepository

    Methods

    | Improve this Doc View Source

    GetDeliveryContactId(Guid)

    Get shipment delivery contact id

    Declaration
    Guid? GetDeliveryContactId(Guid shipmentId)
    Parameters
    Type Name Description
    System.Guid shipmentId

    Unique shipment id

    Returns
    Type Description
    System.Nullable<System.Guid>

    Contact guid if set

    | Improve this Doc View Source

    GetLoadContactId(Guid)

    Get shipment load contact id

    Declaration
    Guid? GetLoadContactId(Guid shipmentId)
    Parameters
    Type Name Description
    System.Guid shipmentId

    Unique shipment id

    Returns
    Type Description
    System.Nullable<System.Guid>

    Contact guid if set

    | Improve this Doc View Source

    GetShipmentIdByShipmentNr(String)

    Gets the shipment Guid by the shipment nr

    Declaration
    Guid? GetShipmentIdByShipmentNr(string shipmentNr)
    Parameters
    Type Name Description
    System.String shipmentNr
    Returns
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    GetTenantIdForShipment(Guid)

    Gets the tenant id for a shipment. !!! This is a dirty way and should be fixed in the future!!!

    Declaration
    [Obsolete("Try to avoid using it, it should be replaced in the future.")]
    Guid GetTenantIdForShipment(Guid shipmentId)
    Parameters
    Type Name Description
    System.Guid shipmentId

    The shipment id.

    Returns
    Type Description
    System.Guid

    The tenant id for the given shipment.

    | Improve this Doc View Source

    RestoreShipment(Guid)

    Restores a deleted shipment

    Declaration
    bool RestoreShipment(Guid shipmentId)
    Parameters
    Type Name Description
    System.Guid shipmentId

    Slected shipment id

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetActualFromLoadDateTime(Guid, DateTime, TimeSpan)

    Sets the actual from load date and time

    Declaration
    bool SetActualFromLoadDateTime(Guid shipmentId, DateTime date, TimeSpan time)
    Parameters
    Type Name Description
    System.Guid shipmentId
    System.DateTime date
    System.TimeSpan time
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetActualFromUnloadDateTime(Guid, DateTime, TimeSpan)

    Sets the actual from unload date and time

    Declaration
    bool SetActualFromUnloadDateTime(Guid shipmentId, DateTime date, TimeSpan time)
    Parameters
    Type Name Description
    System.Guid shipmentId
    System.DateTime date
    System.TimeSpan time
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetActualToLoadDateTime(Guid, DateTime, TimeSpan)

    Sets the actual to load date and time

    Declaration
    bool SetActualToLoadDateTime(Guid shipmentId, DateTime date, TimeSpan time)
    Parameters
    Type Name Description
    System.Guid shipmentId
    System.DateTime date
    System.TimeSpan time
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SetActualToUnloadDateTime(Guid, DateTime, TimeSpan)

    Sets the actual to unload date and time

    Declaration
    bool SetActualToUnloadDateTime(Guid shipmentId, DateTime date, TimeSpan time)
    Parameters
    Type Name Description
    System.Guid shipmentId
    System.DateTime date
    System.TimeSpan time
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx