The CStandardOrder type exposes the following members.

Methods

  NameDescription
Protected methodCalcFreightTotal()()()()
Convenience method to calculate the total freight charge for this order.
(Inherited from COrder.)
Protected methodCalcFreightTotal(Boolean)
Worker method to calculate the total freight charge for this order.
(Inherited from COrder.)
Protected methodCalcHandlingTotal
Calculates the TotalHandling amount based on the handling type.
(Inherited from COrder.)
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodClearOrderLines
Clears the COrder of all lines. This is useful if the COrder needs to be started over.
(Inherited from COrder.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Protected methodDetermineOrderFinancialEntity
Figure out the financial entity code for the COrder, either from a system default or from the financial entity code found on the first product on the order that has one.
(Inherited from COrder.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetFreightCharge
Calculate the freight charge with the current set of properties, but with a particular shipping method.
(Inherited from COrder.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOrderLineByNum
Given the line number on an COrder returns the COrderLine with that line number.
(Inherited from COrder.)
Public methodGetShippingCosts
Returns all possible Shipping Methods and their costs.
(Inherited from COrder.)
Public methodGetShippingCostsForAllShippingMethods
Generate a collection of all possible charges for existing ship methods.
(Inherited from COrder.)
Public methodGetShippingCostsForEligibleShipMethods
Generate a collection of all eligible shipping methods and charges based on a country when Freight-By-Weight is selected.
(Inherited from COrder.)
Public methodGetStandardOrderLineByProductCode
Gets the CStandardOrderLine object on the order for the given product
Protected methodGetTaxAuthorities (Inherited from COrder.)
Protected methodGetTaxAuthorityVAT
Determines whether the buyer should be taxed and for which country.
(Inherited from COrder.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewLineItem(String, Double)
Creates a new CStandardOrderLine for the order and appends it to the end of the OrderLines array.
Public methodNewLineItem(CStandardProduct, Double)
Creates a new CStandardOrderLine for the order and appends it to the end of the OrderLines array.
Protected methodRecalc
Recalculates tax, order line amounts, and freight and handling (and their corresponding taxes) based upon the parameters.
(Inherited from COrder.)
Protected methodRecalcFreightHandlingTax
Recalculates the freight, handling, and tax for the COrder.
(Inherited from COrder.)
Public methodRemoveOrderLine
Removes the given COrderLine from the COrder.
(Inherited from COrder.)
Public methodSave()()()()
Saves the Order along with all of its child records to the database using a new DataServer object.
(Overrides COrder..::..Save()()()().)
Public methodSave(DataServer)
Saves the Order along with all of its child records to the database using the supplied DataServer object.
(Overrides COrder..::..Save(DataServer).)
Public methodSave(DataServer, Boolean)
Saves the Order along with all of its child records to the database using the supplied DataServer object. A new transaction is used if useNewTransaction is true.
Public methodSaveContactChanges
Save any changes to the Contact associated with this COrder.
(Inherited from COrder.)
Protected methodSetBalance
Sets the Balance on the COrder. Only available to derived classes.
(Inherited from COrder.)
Public methodSetBatchNumberFromBatch
Set the batchnumber and batch for this COrder.
(Inherited from COrder.)
Protected methodSetCashGLAccount
Sets the CashGLAccount on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetFundRaisingOrder
Sets IsFundRaisingOrder on the COrder. Only available to derived classes.
(Inherited from COrder.)
Public methodSetOrderNumber
Sets the OrderNumber on the COrder. MUST BE USED WITH CAUTION.
(Inherited from COrder.)
Protected methodSetOrderStage(String)
Sets the Stage on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetOrderStage(OrderStage)
Sets the Stage on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetRecognizedCashAmount
Sets the RecognizedCashAmount on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetTransPAYGlAccount
Sets the GL Account number to be used on the PAY Transaction when saving the COrder.
(Inherited from COrder.)
Protected methodSetTransPAYGlAcctFinancialEntityCode
Sets the Financial Entity Code to be used on the PAY Transaction when saving the COrder.
(Inherited from COrder.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Validates the data set in the order's properties against cross-property business rules. If any errors are found, Validate will return false and the Asi.iBO.Errors property should be checked for details. Validate can be called at any time to check for errors but it will automatically be called at save time.
(Overrides COrder..::..Validate()()()().)

See Also