Search Results for

    Show / Hide Table of Contents

    Class UpdateOrderInfo

    Information used to update an existing order.

    Inheritance
    System.Object
    UpdateOrderInfo
    Namespace: DirectScale.Disco.Extension
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class UpdateOrderInfo : Object
    Remarks

    Take care to read the current order and copy over the values that shouldn't change to avoid unintentional changes.

    If the order being modified is locked, then only SpecialInstructions, LocalInvoiceNumber, and WarehouseId can be modified. The locked order can be refunded and a new order placed to make larger changes.

    Constructors

    UpdateOrderInfo()

    Declaration
    public UpdateOrderInfo()

    Properties

    CommissionDate

    This is the date the commission engine uses to determine which period this order occurred in.

    Declaration
    public DateTime CommissionDate { get; set; }
    Property Value
    Type Description
    System.DateTime
    See Also
    CommissionDate

    Custom

    Custom values that may be provided which tied to the order and available to use from client code.

    Declaration
    public CustomFields Custom { get; set; }
    Property Value
    Type Description
    CustomFields
    Remarks

    These custom values will be written to ORD_CustomFields and will be the same as Custom. These are separate from other custom fields which can be tied to associates, autoships, and inventory items.

    See Also
    Custom
    Custom
    Custom

    InvoiceDate

    Unused. Do not use.

    Declaration
    public DateTime InvoiceDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    LocalInvoiceNumber

    The invoice number of this order placed in this specific country.

    Declaration
    public int LocalInvoiceNumber { get; set; }
    Property Value
    Type Description
    System.Int32

    OrderNumber

    The order number that is being updated.

    Declaration
    public int OrderNumber { get; set; }
    Property Value
    Type Description
    System.Int32

    PartyId

    Declaration
    public int PartyId { get; set; }
    Property Value
    Type Description
    System.Int32

    SetCV

    If true, TotalCV, TotalQV, and TotalBonus will be updated. Else they will be ignored.

    Declaration
    public bool SetCV { get; set; }
    Property Value
    Type Description
    System.Boolean

    SpecialInstructions

    Sets special instructions for the delivery.

    Declaration
    public string SpecialInstructions { get; set; }
    Property Value
    Type Description
    System.String

    TotalBonus

    Sets the order's bonus amount.

    Declaration
    public double TotalBonus { get; set; }
    Property Value
    Type Description
    System.Double

    TotalCV

    Overwrites the order's QV.

    Declaration
    public double TotalCV { get; set; }
    Property Value
    Type Description
    System.Double
    See Also
    TotalQV

    TotalQV

    Overwrites the order's QV.

    Declaration
    public double TotalQV { get; set; }
    Property Value
    Type Description
    System.Double
    See Also
    TotalQV

    Void

    Unused. Do not use.

    Declaration
    public bool Void { get; set; }
    Property Value
    Type Description
    System.Boolean

    WarehouseId

    The warehouse the order's items will be shipped from.

    Declaration
    public int WarehouseId { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks

    Only updated if > 0.

    See Also

    UpdateOrder(UpdateOrderInfo)
    UpdateOrders(UpdateOrderInfo[])
    GetOrderByOrderNumber(System.Int32)
    IOrderService
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX