Search Results for

    Show / Hide Table of Contents

    Class TransportOrderManager

    TransportOrder manager

    Inheritance
    System.Object
    TransportOrderManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.PlugIn.Logistics.Disposition
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class TransportOrderManager

    Constructors

    | Improve this Doc View Source

    TransportOrderManager()

    Initializew new manager instance

    Declaration
    public TransportOrderManager()

    Methods

    | Improve this Doc View Source

    CanDelete(TransportOrder)

    Checks whether the transportOrder can deleted

    Declaration
    public bool CanDelete(TransportOrder transportOrder)
    Parameters
    Type Name Description
    TransportOrder transportOrder

    The TransportOrder to check

    Returns
    Type Description
    System.Boolean

    Whether the TransportOrder can be deletet

    | Improve this Doc View Source

    Delete(TransportOrder)

    Set isdeleted for a transport order object

    Declaration
    public bool Delete(TransportOrder transportOrder)
    Parameters
    Type Name Description
    TransportOrder transportOrder

    Object to save

    Returns
    Type Description
    System.Boolean

    True if deleting was successfull

    | Improve this Doc View Source

    Get(Guid)

    Get a single transport order by its id

    Declaration
    public TransportOrder Get(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique id

    Returns
    Type Description
    TransportOrder

    If exists, a transport order will be returned, else null

    | Improve this Doc View Source

    GetAll(Boolean)

    Get all transport order

    Declaration
    public IEnumerable<TransportOrder> GetAll(bool includeDeleted)
    Parameters
    Type Name Description
    System.Boolean includeDeleted

    If true, deleted will be included

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransportOrder>

    Enumerable of transport order

    | Improve this Doc View Source

    GetByDateRange(Nullable<Guid>, Guid, Guid, DateTime, DateTime)

    Declaration
    public IEnumerable<TransportOrder> GetByDateRange(Guid? senderAddressId, Guid loadAddressId, Guid deliveryAddressId, DateTime monday, DateTime sunday)
    Parameters
    Type Name Description
    System.Nullable<System.Guid> senderAddressId
    System.Guid loadAddressId
    System.Guid deliveryAddressId
    System.DateTime monday
    System.DateTime sunday
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TransportOrder>
    | Improve this Doc View Source

    GetByShipmentId(Guid)

    Get a single transport order by shipment id

    Declaration
    public TransportOrder GetByShipmentId(Guid shipmentId)
    Parameters
    Type Name Description
    System.Guid shipmentId

    Unique shipment id

    Returns
    Type Description
    TransportOrder

    If exists, a transport order will be returned, else null

    | Improve this Doc View Source

    OverrideShipmentValues(TransportOrder, Boolean)

    Declaration
    public bool OverrideShipmentValues(TransportOrder transportOrder, bool allExisting = false)
    Parameters
    Type Name Description
    TransportOrder transportOrder
    System.Boolean allExisting
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ResolveTransportOrderStatus(Guid, Nullable<Guid>)

    Process status resolving

    Declaration
    public Guid ResolveTransportOrderStatus(Guid transportOrderId, Guid? currentStatusId)
    Parameters
    Type Name Description
    System.Guid transportOrderId
    System.Nullable<System.Guid> currentStatusId
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    RestoreTransportOrder(Guid)

    Restores a deleted transportorder

    Declaration
    public bool RestoreTransportOrder(Guid transportOrderId)
    Parameters
    Type Name Description
    System.Guid transportOrderId

    Selected transport order id

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

    Save(TransportOrder)

    Save transport order object

    Declaration
    public bool Save(TransportOrder transportOrder)
    Parameters
    Type Name Description
    TransportOrder transportOrder

    Object to save

    Returns
    Type Description
    System.Boolean

    True if saving was successfull

    | Improve this Doc View Source

    SetHasBillableShipmentCarrier(Guid, Boolean)

    Sets the HasBillableShipmentCarrier flag state

    Declaration
    public void SetHasBillableShipmentCarrier(Guid transportOrderId, bool state)
    Parameters
    Type Name Description
    System.Guid transportOrderId
    System.Boolean state
    | Improve this Doc View Source

    SetHasBillableShipmentCustomer(Guid, Boolean)

    Sets the HasBillableShipmentCustomer flag state

    Declaration
    public void SetHasBillableShipmentCustomer(Guid transportOrderId, bool state)
    Parameters
    Type Name Description
    System.Guid transportOrderId
    System.Boolean state
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx