|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
ACCOMMODATION
|
static java.lang.String |
BALANCE
|
static java.lang.String |
BANNER
|
static java.lang.String |
BILL_TO_ADDRESS
|
static java.lang.String |
CANCEL_PENDED_ORDER_DATE
|
static java.lang.String |
CUSTOMER
|
static java.lang.String |
DISPLAY_NUMBER
|
static java.lang.String |
MAIL_ORDER_BATCH
|
static java.lang.String |
ORDER_LINE
|
static java.lang.String |
ORDER_PRIORITY
|
static java.lang.String |
ORDER_TYPE
|
static java.lang.String |
PAYMENT
|
static java.lang.String |
PRIORITY
|
static java.lang.String |
RETURN_LINE
|
static java.lang.String |
SHIP_TO_ADDRESS
|
static java.lang.String |
SHIPPED_CONTAINER
|
static java.lang.String |
SOURCE_CODE
|
static java.lang.String |
STORE
|
static java.lang.String |
TAX_ACCOMMODATION
|
static java.lang.String |
ZERO_SALE_LINE
|
Method Summary | |
void |
addAccommodationAndGeneratePayment(Accommodation accomodation,
Refundable refundable)
Calculates the value of the accommodation, adds the accommodation to the order, generates a credit payment for the accommodation, sets the order priority to HIGH, and generates a history event for the accommodation. |
void |
addCallTag(User user,
CallTag callTag)
|
void |
addHistoryEventRequest(HistoryEventRequest eventRequest)
Create a new history event request and add to the collection of requests so later history events can be created when order is submitted. |
void |
addJustPublishedToWmsShipmentRequest(ShipmentRequest shipmentRequest,
User user)
|
void |
addOfferCode(OfferCode offerCode)
|
void |
addPayment(CustomerOrderPayment payment)
|
void |
addTransactionGroup(CustomerOrderTransactionGroup transactionGroup)
|
void |
applyGiftingDetailToLines(java.util.Set orderLines,
GiftingDetail giftingDetail)
|
void |
applyOrderLine(CustomerOrderLine orderLine,
User user)
Adds orderLine to the set of order lines for this order, reserves this order line, and applies promotions. |
void |
applyPromotionalOrderLine(CustomerOrderLine orderLine,
User user,
Promotion promotion)
|
void |
applyPromotionalPaymentPlanCode(PaymentPlanCode selectedPaymentPlanCode,
Promotion promotion)
|
void |
applyReplacement(ReplacementLinePair replacementGroup,
User user)
Adds replacementLine from replacementGroup to the order and reserves the replacement line |
void |
applyReturnLine(ReturnLine returnLine,
User user)
Adds returnLine to the order, clears calculated totals on the return line's shipTo. |
void |
authorizePayment(CustomerOrderPayment payment)
Using an authorization calculation strategy, calculates the amount to be authorized for this payment. |
void |
authorizePaymentManually(CustomerOrderPayment payment,
java.lang.String authCode,
User user)
For payments needing manual authorization, manually authorize the payment by storing the authorization code and authorization date. |
boolean |
canApplyTaxAccommodation()
|
void |
cancel(OrderCancelReason cancelReason,
User user)
|
void |
clearSpecialHandlingForLines(java.util.Set orderLines,
User user)
|
void |
clearTaxCalculationError()
Clears tax calculation errors on all shipTos and all returnLines for this order |
void |
consolidatePreSettledPayments()
Combines payments at settlement time according to payment account number, payment tender type, and whether the payment amount is positive or negative. |
void |
createAndPublishDirectShipOrder(User user,
RDate maxReleaseDate)
|
void |
createBackorderNotificationHistoryEvent(CustomerOrderCorrespondenceRequest request,
User user)
Adds a new unsaved history event to the order with type = HistoryEventType.BO_NOTIFICATION. |
void |
createComponentReturnOnPackHistoryEvent(java.lang.String sellableItemId,
User user)
Adds a new unsaved history event to the order with type = HistoryEventType.COMPONENT_RETURN_ON_PACK |
void |
decrementOutstandingSalesAuditGoodwillAmount(Money amount)
Decrease current outstanding sales audit goodwill amount by amount param |
Money |
generateRefundIfNegativeBalance()
Generates a refund payment using the refund policy with transactionItem = null, payment tranaction type = CustomerOrderPaymentTransactionType.GENERIC_REFUND, refund balance = null, and no settlement. |
Money |
generateRefundIfNegativeBalance(CustomerOrderTransactionItem tranItem,
CustomerOrderPaymentTransactionType transactionType)
Generates a refund payment using the refund policy with transactionItem = tranItem param payment transaction type = transactionType param, refund balance = null, and no settlement. |
java.util.Set |
generateShipmentRequestsToReleaseToWms()
Builds shipment requests based on ship to address, shipping method, carrier, and direct ship for all lines on the order that are ready to be released to the warehouse, as well as any pack lines that have any component lines that are ready to be released to the warehouse. |
java.util.List |
getAccommodations()
|
java.util.List |
getAccommodations(AccommodationTypeEnum type)
|
java.util.Set |
getAllAccommodations()
|
java.util.Set |
getAllCustomerOrderPayments()
Returns ALL the payments for the customer order (in no particular order). |
java.util.List |
getAllCustomerOrderPaymentsInSettlementOrder()
Returns the payments for the customer order sorted by settlement (processing) order. |
java.util.Set |
getAllOfferCodes()
|
java.util.Set |
getAllPackComponentLines()
|
java.util.Collection |
getAllPromotionDiscountRollups()
Return a summary of all promotion discount totals for the order, summarized by each Promotion applied to the order. |
java.util.Set |
getAllTransactionGroupItems()
|
Money |
getBalance()
|
Money |
getBalanceIncludingWaitingAuthorization()
|
Banner |
getBanner()
|
CustomerAddress |
getBillToAddress()
|
RDate |
getCancelDate()
|
OrderCancelReason |
getCancelReason()
|
ChannelType |
getChannelType()
|
RDate |
getCreateDate()
Returns the date that this order was submitted. |
User |
getCreatedByUser()
|
Customer |
getCustomer()
|
java.util.List |
getCustomerOrderPendReasons()
|
java.util.List |
getCustomerOrderPendReasons(boolean isActiveOnly)
|
Media |
getDefaultMedia()
|
CustomerAddress |
getDefaultShipToAddress()
|
java.lang.String |
getDisplayNumber()
|
GiftingDetail |
getGiftingDetailForLine(CustomerOrderLine orderLine)
|
java.util.Set |
getGiftServiceLinesFromLineOrPrimary(CustomerOrderLine customerOrderLine)
|
Money |
getGrandTotal()
|
User |
getLastUpdatedByUser()
|
RDate |
getLastUpdateTimestamp()
|
RDate |
getLatestEstimatedDeliveryDate()
Finds the latest estimated delivery date of the order lines on the order |
java.util.List |
getLinesForWrapTogether(java.lang.String wrapTogether)
|
Address |
getOrderAcceptanceAddress()
|
CustomerOrderLine |
getOrderLine(int lineNumber)
|
java.util.List |
getOrderLines()
|
OrderPriority |
getOrderPriority()
|
OrderSource |
getOrderSource()
|
OrderType |
getOrderType()
|
Money |
getOutstandingSalesAuditGoodwillAmount()
|
RDate |
getPendCancelByDate()
|
Money |
getPreviouslyRecordedDemandAmount()
|
java.util.Collection |
getPromotionDiscounts()
Return promotion discount records applicable to the order (only those discounts that are stored at the order level). |
java.util.Set |
getQualifiedPromotions()
Obtains the set of currently qualified promotions pertinent to this order. |
java.util.List |
getRefundables()
|
ReplacementLinePair |
getReplacementLinePair(CustomerOrderLine saleLine)
|
ReplacementLinePair |
getReplacementLinePair(ReturnLine returnLine)
|
java.util.List |
getReturnableOrderLines()
|
java.util.List |
getReturnLines()
|
java.util.List |
getSellingItems()
|
java.util.Set |
getShipmentRequests()
|
java.util.Set |
getShipTos()
|
java.util.Set |
getShipTos(boolean filterForCancelledLines)
|
SourceCode |
getSourceCode()
|
Media |
getSourceCodeMedia()
|
Money |
getStandardShippingPromotionDiscountValue()
|
com.retek.fsm.State |
getState()
|
Store |
getStore()
|
java.util.Set |
getTenderTypeGroups()
|
java.util.Set |
getTenderTypes()
|
Money |
getTotalAccommodationAmount()
|
Money |
getTotalAccommodationTaxAmount()
|
Money |
getTotalAdditionalShippingCharge()
|
Money |
getTotalAuthorizedPaymentAmount()
|
Money |
getTotalExtendedPrice()
|
Money |
getTotalExtendedTax()
|
Money |
getTotalGiftServiceCharge()
|
Money |
getTotalNetExtendedPrice()
Return the total net extended price for the order (total sale extended price, less any return extended price, less any merchandise accommodations/adjustments). |
Money |
getTotalNetGiftServiceCharge()
Return the total net gift service charge for the order (total sale gift service charge, less any return gift service charge, less any gift service accommodations/adjustments). |
Money |
getTotalNetPersonalizationServiceCharge()
Return the total net personalization service charge for the order (total sale personalization serivce charge, less any return personalization service charge, less any personalization service accommodations/adjustments). |
Money |
getTotalNetShippingCharge()
Return the total net shipping charge for the order (total sale shipping charge, less any return shipping charge, less any shipping accommodations/adjustments). |
Money |
getTotalOrderHeaderAccommodationAmount()
|
Money |
getTotalPayments()
|
Money |
getTotalPaymentsIncludingWaitingAuthorization()
|
Money |
getTotalPersonalizationServiceCharge()
|
Money |
getTotalPromotionDiscountValue()
|
Money |
getTotalReturnExtendedPrice()
|
Money |
getTotalReturnPostageAmount()
|
Money |
getTotalReturnTaxAdjustmentAmount()
|
Money |
getTotalServiceCharge()
|
Quantity |
getTotalShippedQuantity()
|
Money |
getTotalShippingCharge()
|
Money |
getTotalShippingTax()
|
Money |
getTotalTax()
|
Money |
getTotalValueAddedServiceTax()
|
java.util.Set |
getTransactionGroupItems(CustomerOrderTransactionGroup transactionGroup)
|
java.util.Set |
getTransactionGroups()
|
boolean |
hasActiveManualPendReason()
|
boolean |
hasEverBeenPendedForFraudReason()
|
boolean |
hasInvalidNonCreditPaymentForSVC()
|
boolean |
hasNewlyActivatedPLCCPayment()
|
boolean |
hasNewPLCCCard()
|
boolean |
hasNewPLCCPayment()
|
boolean |
hasOrderPendReason(OrderPendReason reason)
|
boolean |
hasUnpersistedSVCOrderLine()
|
void |
incrementOutstandingSalesAuditGoodwillAmount(Money amount)
Increase current outstanding sales audit goodwill amount by amount param |
boolean |
isCancelled()
|
boolean |
isClosed()
|
boolean |
isExchangeSaleAllowed()
|
boolean |
isMailOrder()
|
boolean |
isMailOrderPreBatch()
|
boolean |
isNewNormalOrderLineAllowed()
|
boolean |
isOpen()
|
boolean |
isPended()
|
boolean |
isPendedForFraudReason()
|
boolean |
isTaxCalculationValid()
|
void |
pend(CustomerOrderPendReason customerOrderPendReason,
User user)
Pends an order for the given customer order pend reason. |
void |
pend(MailOrderBatch mailOrderBatch,
CustomerOrderPendReason customerOrderPendReason,
User user)
Different variation on pend, used when the order is a mail order in mail-order-pre-batch state. |
void |
persistForSalesAuditExport(User user)
|
void |
reapplyPromotions()
Called by order user when they would like to genericly reapply promotions |
void |
reauthorizePaymentsForDirectShipOrderLines()
For all credit card payments on the order whose amount is positive, if the line is a direct ship order line and the estimatedShipDate of the line is the same day or earlier than today.plus(authLeadTimeDays), authorize the payment. |
void |
reauthorizePaymentsForNonDirectShipOrderLines()
For all credit card payments on the order whose amount is positive, if the line is not a direct ship order line and the lines releaseDate is the same day or earlier than today.plus(authLeadTimeDays), authorize the payment. |
void |
releaseFromMailOrderBatch(User user)
Releases this order to the warehouse because it is a mail order and the batch this mail order belongs to was just released. |
void |
setBanner(Banner banner)
|
void |
setBillToAddress(CustomerAddress billToAddress)
Set the bill to address for the order. |
void |
setCustomer(Customer customer)
(Re)sets the customer on the order. |
void |
setCustomerForCustomerMerge(Customer customer)
(Re)sets the customer on the order. |
void |
setCustomerOrderPendReasons(java.util.List customerOrderPendReasons,
User user)
|
void |
setGenericHold(java.util.Set genericLines,
GenericEvent genericEvent,
User user)
|
void |
setOrderPriority(OrderPriority priority)
|
void |
setOrderType(OrderType orderType)
|
void |
setPendCancelByDate(RDate pendedCancelDate)
|
void |
setPersonalHoldDate(java.util.Set orderLines,
RDate rDate,
User user)
|
void |
setProcessTogether(java.util.Set orderLines)
Joins the set of orderLines into the same process together group. |
void |
setSourceCode(SourceCode sourceCode)
Sets the default source code for the order |
void |
setStore(Store store)
|
void |
settle(ShippedContainer shippedContainer,
User user,
Money origOrderTotalTax)
Finalize payments for the shippedContainer, generate credit payment if there was any tax adjustment in the customers favor at ship time, and allocate settlement for all payments that are ready to be settled. |
void |
setWrapTogetherForLines(java.util.Set orderLines)
Joins the set of orderLines into the same wrap together group. |
void |
submit(MailOrderBatch mailOrderBatch,
User user)
Persist this order to the database, perform minimal mail order submit validation, and add this order to the set of orders for the mailOrderBatch param. |
void |
submit(User user)
Persist this order to the database and perform all order submit validation. |
void |
submitForFirstTimeFromUI(MailOrderBatch mailOrderBatch,
User user,
java.lang.String originalOrderSummaryData)
|
void |
submitForFirstTimeFromUI(User user,
java.lang.String orginalOrderSummary)
Persist this order to the database and perform all order submit validation. |
void |
virtualWarehouseReserve(User user)
|
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
Methods inherited from interface com.retek.commons.component.BusinessObject |
getBusinessInterface |
Field Detail |
public static final java.lang.String DISPLAY_NUMBER
public static final java.lang.String CUSTOMER
public static final java.lang.String BANNER
public static final java.lang.String ORDER_PRIORITY
public static final java.lang.String SHIP_TO_ADDRESS
public static final java.lang.String BILL_TO_ADDRESS
public static final java.lang.String ORDER_LINE
public static final java.lang.String PRIORITY
public static final java.lang.String SOURCE_CODE
public static final java.lang.String BALANCE
public static final java.lang.String SHIPPED_CONTAINER
public static final java.lang.String ACCOMMODATION
public static final java.lang.String PAYMENT
public static final java.lang.String ORDER_TYPE
public static final java.lang.String MAIL_ORDER_BATCH
public static final java.lang.String ZERO_SALE_LINE
public static final java.lang.String CANCEL_PENDED_ORDER_DATE
public static final java.lang.String TAX_ACCOMMODATION
public static final java.lang.String RETURN_LINE
public static final java.lang.String STORE
Method Detail |
public java.lang.String getDisplayNumber() throws SystemException
SystemException
public User getCreatedByUser() throws SystemException, BusinessException
SystemException
BusinessException
public User getLastUpdatedByUser() throws SystemException
SystemException
public OrderType getOrderType() throws SystemException
SystemException
public com.retek.fsm.State getState() throws SystemException
SystemException
public RDate getCreateDate() throws SystemException
SystemException
public RDate getCancelDate() throws SystemException
SystemException
public RDate getPendCancelByDate() throws SystemException
SystemException
public RDate getLastUpdateTimestamp() throws SystemException
SystemException
public OrderPriority getOrderPriority() throws SystemException
SystemException
public Customer getCustomer() throws SystemException
SystemException
public Banner getBanner() throws SystemException
SystemException
public ChannelType getChannelType() throws SystemException, BusinessException
SystemException
BusinessException
public CustomerAddress getDefaultShipToAddress() throws SystemException, BusinessException
SystemException
BusinessException
public CustomerAddress getBillToAddress() throws SystemException, BusinessException
SystemException
BusinessException
public SourceCode getSourceCode() throws SystemException
SystemException
public Media getSourceCodeMedia() throws SystemException, BusinessException
SystemException
BusinessException
public Media getDefaultMedia() throws SystemException
SystemException
public ReplacementLinePair getReplacementLinePair(CustomerOrderLine saleLine) throws SystemException
SystemException
public ReplacementLinePair getReplacementLinePair(ReturnLine returnLine) throws SystemException
SystemException
public Money getTotalExtendedPrice() throws SystemException, BusinessException
SystemException
BusinessException
public Money getStandardShippingPromotionDiscountValue() throws SystemException
SystemException
public Money getTotalPromotionDiscountValue() throws SystemException
SystemException
public Money getTotalShippingCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalAdditionalShippingCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalReturnPostageAmount() throws SystemException
SystemException
public Money getTotalServiceCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalGiftServiceCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalPersonalizationServiceCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getGrandTotal() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalNetExtendedPrice() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalNetShippingCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalNetGiftServiceCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalNetPersonalizationServiceCharge() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalPayments() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalAuthorizedPaymentAmount() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalPaymentsIncludingWaitingAuthorization() throws SystemException, BusinessException
SystemException
BusinessException
public Money getBalance() throws SystemException, BusinessException
SystemException
BusinessException
public Money getBalanceIncludingWaitingAuthorization() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalExtendedTax() throws BusinessException, SystemException
BusinessException
SystemException
public Money getTotalShippingTax() throws BusinessException, SystemException
BusinessException
SystemException
public Money getTotalValueAddedServiceTax() throws BusinessException, SystemException
BusinessException
SystemException
public Money getTotalTax() throws BusinessException, SystemException
BusinessException
SystemException
public Money getPreviouslyRecordedDemandAmount() throws SystemException
SystemException
public Money getOutstandingSalesAuditGoodwillAmount() throws SystemException
SystemException
public Money getTotalAccommodationAmount() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalAccommodationTaxAmount() throws SystemException
SystemException
public Money getTotalReturnTaxAdjustmentAmount() throws SystemException
SystemException
public Money getTotalOrderHeaderAccommodationAmount() throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalReturnExtendedPrice() throws SystemException, BusinessException
SystemException
BusinessException
public boolean isCancelled() throws SystemException
SystemException
public boolean isPended() throws SystemException
SystemException
public boolean isClosed() throws SystemException
SystemException
public boolean isOpen() throws SystemException
SystemException
public boolean isMailOrderPreBatch() throws SystemException
SystemException
public boolean isMailOrder() throws SystemException
SystemException
public boolean isNewNormalOrderLineAllowed() throws SystemException, BusinessException
SystemException
BusinessException
public boolean isExchangeSaleAllowed() throws SystemException
SystemException
public boolean isPendedForFraudReason() throws SystemException, BusinessException
SystemException
BusinessException
public boolean isTaxCalculationValid() throws BusinessException, SystemException
BusinessException
SystemException
public boolean hasEverBeenPendedForFraudReason() throws SystemException, BusinessException
SystemException
BusinessException
public boolean hasActiveManualPendReason() throws SystemException, BusinessException
SystemException
BusinessException
public boolean hasOrderPendReason(OrderPendReason reason) throws SystemException
SystemException
public boolean hasNewlyActivatedPLCCPayment() throws SystemException, BusinessException
SystemException
BusinessException
public boolean hasNewPLCCCard() throws SystemException, BusinessException
SystemException
BusinessException
public boolean hasNewPLCCPayment() throws SystemException, BusinessException
SystemException
BusinessException
public boolean hasUnpersistedSVCOrderLine() throws SystemException
SystemException
public boolean hasInvalidNonCreditPaymentForSVC() throws SystemException
SystemException
public boolean canApplyTaxAccommodation() throws SystemException
SystemException
public OrderCancelReason getCancelReason() throws SystemException
SystemException
public Quantity getTotalShippedQuantity() throws SystemException
SystemException
public OrderSource getOrderSource() throws SystemException
SystemException
public GiftingDetail getGiftingDetailForLine(CustomerOrderLine orderLine) throws SystemException, BusinessException
SystemException
BusinessException
public CustomerOrderLine getOrderLine(int lineNumber) throws SystemException
SystemException
public java.util.List getSellingItems() throws SystemException
SystemException
public java.util.List getRefundables() throws SystemException, BusinessException
SystemException
BusinessException
public java.util.List getLinesForWrapTogether(java.lang.String wrapTogether) throws SystemException
SystemException
public java.util.Collection getPromotionDiscounts() throws SystemException
SystemException
public java.util.Collection getAllPromotionDiscountRollups() throws SystemException
Promotion
applied to the order. The roll-up summary
objects contain a total discount amount for any discounts on the order (for all
discounts at any level, ie. at the order level, order line, and service line levels).
This summary can be used to report a breakdown of order level promotion totals by
promotion.
Note1: This summary should be used for display purposes only. Financial computations
should be based off of the lower level api.
Note2: These totals are a rolled up summary of discount records and thus do not account
for any return promotion adjustments.
SystemException
CustomerOrderPromotionDiscountRollup
public java.util.Set getTenderTypeGroups() throws SystemException, BusinessException
SystemException
BusinessException
public java.util.Set getTenderTypes() throws SystemException, BusinessException
SystemException
BusinessException
public java.util.List getReturnLines() throws SystemException
SystemException
public java.util.List getOrderLines() throws SystemException
SystemException
public java.util.List getReturnableOrderLines() throws SystemException
SystemException
public java.util.Set getTransactionGroups() throws SystemException
SystemException
public java.util.Set getGiftServiceLinesFromLineOrPrimary(CustomerOrderLine customerOrderLine) throws SystemException
SystemException
public java.util.Set getAllOfferCodes() throws SystemException
SystemException
public java.util.List getCustomerOrderPendReasons() throws SystemException
SystemException
public java.util.List getCustomerOrderPendReasons(boolean isActiveOnly) throws SystemException
SystemException
public java.util.Set getShipTos() throws SystemException
SystemException
public java.util.Set getShipTos(boolean filterForCancelledLines) throws SystemException
SystemException
public java.util.Set getAllAccommodations() throws SystemException
SystemException
public java.util.List getAccommodations() throws SystemException
SystemException
public java.util.List getAccommodations(AccommodationTypeEnum type) throws SystemException
SystemException
public java.util.Set getAllTransactionGroupItems() throws SystemException
SystemException
public java.util.Set getTransactionGroupItems(CustomerOrderTransactionGroup transactionGroup) throws SystemException
SystemException
public java.util.Set getShipmentRequests() throws SystemException
SystemException
public java.util.List getAllCustomerOrderPaymentsInSettlementOrder() throws SystemException, BusinessException
SystemException
BusinessException
public java.util.Set getAllCustomerOrderPayments() throws SystemException
SystemException
public void addPayment(CustomerOrderPayment payment) throws BusinessException, SystemException
BusinessException
SystemException
public void addOfferCode(OfferCode offerCode) throws SystemException
SystemException
public void setPendCancelByDate(RDate pendedCancelDate) throws SystemException, BusinessException
SystemException
BusinessException
public void setCustomerOrderPendReasons(java.util.List customerOrderPendReasons, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void setOrderPriority(OrderPriority priority) throws SystemException
SystemException
public void setOrderType(OrderType orderType) throws SystemException, BusinessException
CustomerOrderBusinessException
- if order has one or more lines
SystemException
BusinessException
public void setCustomer(Customer customer) throws SystemException, BusinessException
java.lang.IllegalArgumentException
- if customer is null
SystemException
BusinessException
public void setCustomerForCustomerMerge(Customer customer) throws SystemException, BusinessException
java.lang.IllegalArgumentException
- if customer is null
SystemException
BusinessException
public void setBanner(Banner banner) throws SystemException
java.lang.IllegalArgumentException
- if banner is null
SystemException
public void setBillToAddress(CustomerAddress billToAddress) throws SystemException, BusinessException
SystemException
BusinessException
public void setSourceCode(SourceCode sourceCode) throws SystemException, BusinessException
java.lang.IllegalStateException
- if order is not in new state
SystemException
BusinessException
public void setProcessTogether(java.util.Set orderLines) throws SystemException, BusinessException
CustomerOrderBusinessException
- if processTogether fails business validation
SystemException
BusinessException
public void setWrapTogetherForLines(java.util.Set orderLines) throws SystemException, BusinessException
CustomerOrderBusinessException
- if wrapTogether fails business validation.
SystemException
BusinessException
public void setPersonalHoldDate(java.util.Set orderLines, RDate rDate, User user) throws SystemException, BusinessException
CustomerOrderBusinessException
- if personal hold date fails business validation
SystemException
BusinessException
public void setGenericHold(java.util.Set genericLines, GenericEvent genericEvent, User user) throws SystemException, BusinessException
InvalidHoldException
- if genericEvent fails business validation
SystemException
BusinessException
public void applyOrderLine(CustomerOrderLine orderLine, User user) throws InvalidOrderLineException, ItemNotAvailableException, OrderQtyNotReservedException, SystemException, BusinessException
InvalidOrderLineException
ItemNotAvailableException
OrderQtyNotReservedException
SystemException
BusinessException
public void applyReturnLine(ReturnLine returnLine, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void applyReplacement(ReplacementLinePair replacementGroup, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void applyGiftingDetailToLines(java.util.Set orderLines, GiftingDetail giftingDetail) throws SystemException, BusinessException
CustomerOrderBusinessException
- if gifting details fails business validation
SystemException
BusinessException
public void addJustPublishedToWmsShipmentRequest(ShipmentRequest shipmentRequest, User user) throws SystemException, BusinessException
java.lang.IllegalStateException
- if this shipmentRequest already belongs to this order
SystemException
BusinessException
public void clearTaxCalculationError() throws BusinessException, SystemException
BusinessException
SystemException
public void clearSpecialHandlingForLines(java.util.Set orderLines, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void decrementOutstandingSalesAuditGoodwillAmount(Money amount) throws SystemException
java.lang.IllegalStateException
- if salesAuditGoodwillAmount would be negative when
decreasing by this amount
SystemException
public void incrementOutstandingSalesAuditGoodwillAmount(Money amount) throws SystemException
SystemException
public void submit(User user) throws SystemException, InvalidCustomerException, InvalidCustomerOrderException, BusinessException
SystemException
InvalidCustomerException
InvalidCustomerOrderException
BusinessException
public void submit(MailOrderBatch mailOrderBatch, User user) throws SystemException, InvalidCustomerException, InvalidCustomerOrderException, BusinessException
SystemException
InvalidCustomerException
InvalidCustomerOrderException
BusinessException
public void submitForFirstTimeFromUI(MailOrderBatch mailOrderBatch, User user, java.lang.String originalOrderSummaryData) throws SystemException, InvalidCustomerException, InvalidCustomerOrderException, BusinessException
SystemException
InvalidCustomerException
InvalidCustomerOrderException
BusinessException
public void cancel(OrderCancelReason cancelReason, User user) throws SystemException, InvalidCustomerException, InvalidCustomerOrderException, BusinessException
SystemException
InvalidCustomerException
InvalidCustomerOrderException
BusinessException
public void addHistoryEventRequest(HistoryEventRequest eventRequest) throws SystemException
eventRequest
- history event request to add to the order
SystemException
public void releaseFromMailOrderBatch(User user) throws SystemException, BusinessException
SystemException
BusinessException
public void pend(CustomerOrderPendReason customerOrderPendReason, User user) throws SystemException, BusinessException
CustomerOrderPendReason
is a
relationship object which wraps a given OrderPendReason
.
customerOrderPendReason
- new customer order pend reason object
SystemException
BusinessException
CustomerOrderManager#buildCustomerOrderPendReason(OrderPendReason)
public void pend(MailOrderBatch mailOrderBatch, CustomerOrderPendReason customerOrderPendReason, User user) throws SystemException, BusinessException
mailOrderBatch
- mail order batch that this mail order belongs to
SystemException
BusinessException
CustomerOrderManager#buildCustomerOrderPendReason(OrderPendReason)
public void createAndPublishDirectShipOrder(User user, RDate maxReleaseDate) throws SystemException, BusinessException
SystemException
BusinessException
public void settle(ShippedContainer shippedContainer, User user, Money origOrderTotalTax) throws SystemException, BusinessException
SystemException
BusinessException
public void persistForSalesAuditExport(User user) throws SystemException, BusinessException
SystemException
BusinessException
public void authorizePayment(CustomerOrderPayment payment) throws SystemException, BusinessException
SystemException
BusinessException
public void authorizePaymentManually(CustomerOrderPayment payment, java.lang.String authCode, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void reauthorizePaymentsForNonDirectShipOrderLines() throws SystemException, BusinessException
SystemException
BusinessException
public void reauthorizePaymentsForDirectShipOrderLines() throws SystemException, BusinessException
SystemException
BusinessException
public java.util.Set generateShipmentRequestsToReleaseToWms() throws SystemException, BusinessException
java.lang.IllegalStateException
- if the shipping method or carrier on any of the releasable
lines or component lines is null.
SystemException
BusinessException
public void addAccommodationAndGeneratePayment(Accommodation accomodation, Refundable refundable) throws SystemException, BusinessException
InvalidCustomerOrderException
- if the accommodation fails business validation.
java.lang.IllegalArgumentException
- if the accommodation is not an order accommodation
or an order line accommodation
SystemException
BusinessException
public void addTransactionGroup(CustomerOrderTransactionGroup transactionGroup) throws SystemException
SystemException
public void consolidatePreSettledPayments() throws SystemException, BusinessException
SystemException
BusinessException
public void createBackorderNotificationHistoryEvent(CustomerOrderCorrespondenceRequest request, User user) throws SystemException, BusinessException
SystemException
BusinessException
public void createComponentReturnOnPackHistoryEvent(java.lang.String sellableItemId, User user) throws SystemException, BusinessException
SystemException
BusinessException
public Money generateRefundIfNegativeBalance(CustomerOrderTransactionItem tranItem, CustomerOrderPaymentTransactionType transactionType) throws SystemException, BusinessException
SystemException
BusinessException
CustomerOrderGeneralRefundPolicyCommand
public Money generateRefundIfNegativeBalance() throws SystemException, BusinessException
SystemException
BusinessException
CustomerOrderGeneralRefundPolicyCommand
public RDate getLatestEstimatedDeliveryDate() throws SystemException
SystemException
public java.util.Set getQualifiedPromotions() throws SystemException
SystemException
public void submitForFirstTimeFromUI(User user, java.lang.String orginalOrderSummary) throws SystemException, BusinessException
orginalOrderSummary
- Initial order summary page information in HTML format.
SystemException
BusinessException
public void applyPromotionalOrderLine(CustomerOrderLine orderLine, User user, Promotion promotion) throws SystemException, BusinessException
SystemException
BusinessException
public void applyPromotionalPaymentPlanCode(PaymentPlanCode selectedPaymentPlanCode, Promotion promotion) throws SystemException, BusinessException
promotion
- This is the promotion containing the tender type of the payment for
which the parameter selectedPaymentPlanCode should be set.selectedPaymentPlanCode
- This is the user selected payment plan code that should be set on the the
payment matching tenderType found on parameter promotion.
SystemException
BusinessException
public void reapplyPromotions() throws BusinessException, SystemException
BusinessException
SystemException
public void virtualWarehouseReserve(User user) throws SystemException, BusinessException
SystemException
BusinessException
public java.util.Set getAllPackComponentLines() throws SystemException
SystemException
public Store getStore() throws SystemException
SystemException
public void setStore(Store store) throws SystemException, BusinessException
SystemException
BusinessException
public Address getOrderAcceptanceAddress() throws SystemException, BusinessException
SystemException
BusinessException
public void addCallTag(User user, CallTag callTag) throws SystemException, BusinessException
SystemException
BusinessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |