The COrder type exposes the following members.

Methods

  NameDescription
Protected methodCalcFreightTotal()()()()
Convenience method to calculate the total freight charge for this order.
Protected methodCalcFreightTotal(Boolean)
Worker method to calculate the total freight charge for this order.
Protected methodCalcHandlingTotal
Calculates the TotalHandling amount based on the handling type.
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.
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.
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.
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.
Public methodGetShippingCosts
Returns all possible Shipping Methods and their costs.
Public methodGetShippingCostsForAllShippingMethods
Generate a collection of all possible charges for existing ship methods.
Public methodGetShippingCostsForEligibleShipMethods
Generate a collection of all eligible shipping methods and charges based on a country when Freight-By-Weight is selected.
Protected methodGetTaxAuthorities
Protected methodGetTaxAuthorityVAT
Determines whether the buyer should be taxed and for which country.
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.)
Protected methodRecalc
Recalculates tax, order line amounts, and freight and handling (and their corresponding taxes) based upon the parameters.
Protected methodRecalcFreightHandlingTax
Recalculates the freight, handling, and tax for the COrder.
Public methodRemoveOrderLine
Removes the given COrderLine from the COrder.
Protected methodStatic memberRetrieve
Populate an empty COrder object from the data supplied by the SqlDataReader object.
Public methodSave()()()()
Saves the COrder along with all of its child records to the database using a new DataServer.
Public methodSave(DataServer)
Saves the COrder along with all of its child records to the database.
Public methodSaveContactChanges
Save any changes to the Contact associated with this COrder.
Protected methodSetBalance
Sets the Balance on the COrder. Only available to derived classes.
Public methodSetBatchNumberFromBatch
Set the batchnumber and batch for this COrder.
Protected methodSetCashGLAccount
Sets the CashGLAccount on the COrder. Only available to derived classes.
Protected methodSetFundRaisingOrder
Sets IsFundRaisingOrder on the COrder. Only available to derived classes.
Public methodSetOrderNumber
Sets the OrderNumber on the COrder. MUST BE USED WITH CAUTION.
Protected methodSetOrderStage(String)
Sets the Stage on the COrder. Only available to derived classes.
Protected methodSetOrderStage(OrderStage)
Sets the Stage on the COrder. Only available to derived classes.
Protected methodSetRecognizedCashAmount
Sets the RecognizedCashAmount on the COrder. Only available to derived classes.
Protected methodSetTransPAYGlAccount
Sets the GL Account number to be used on the PAY Transaction when saving the COrder.
Protected methodSetTransPAYGlAcctFinancialEntityCode
Sets the Financial Entity Code to be used on the PAY Transaction when saving the COrder.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Makes sure that all of the property data passes the iMIS business rules.
(Overrides iboBase..::..Validate()()()().)

See Also