com.retek.component.customerorder.impl
Class CustomerOrderLineImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customerorder.impl.CustomerOrderLineImpl
All Implemented Interfaces:
BusinessObject, CustomerOrderLine, CustomerOrderLineBatch, CustomerOrderLineMerge, CustomerOrderTransactionItem, DistributedObject, com.retek.fsm.FSMAble, PromotionDiscountable, RcomRmmFsmable

public class CustomerOrderLineImpl
extends DistributedObjectImpl
implements CustomerOrderLine, RcomRmmFsmable, CustomerOrderLineMerge, CustomerOrderLineBatch, PromotionDiscountable


Nested Class Summary
protected static interface CustomerOrderLineImpl.ChargedTaxGetter
           
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customerorder.CustomerOrderLine
ACCOMMODATION, AMOUNT, DISCOUNT, ESTIMATED_CUSTOMER_DELIVERY_DATE, GIFT_CERTIFICATE, HOLD_EVENT, PARTIAL_LINE_REASON, PROCESS_TOGETHER, PUBLISH_TO_REGISTRY_COMPLETED, PUBLISH_TO_REGISTRY_NOT_REQUIRED, PUBLISH_TO_REGISTRY_REQUIRED, QUANTITY, REGISTRY_NUMBER, SELLING_SKU, SHIP_FROM_ADDRESS, SHIP_TO_ADDRESS, SHIPPED_QUANTITY, WAREHOUSE_MESSAGE, WRAP_TOGETHER, ZERO_SALE_LINE
 
Constructor Summary
CustomerOrderLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
CustomerOrderLineImpl(DistributedContext context, DistributedReference ref, User user)
           
 
Method Summary
 void accept(com.retek.fsm.Event event)
           
 void addAccommodation(Accommodation accommodation)
           
 void addAccommodationAndGeneratePayment(Accommodation accommodation, Refundable refundable)
           
 void addHistoryEventRequest(HistoryEventRequest eventRequest)
           
 void addPromotionDiscount(CustomerOrderPromotionDiscountImpl discount)
          Add a promotion discount to the business object.
 void addServiceLine(CustomerOrderServiceLine serviceLine)
           
 void addTaxAccomodation(TaxAccommodation taxAccommodation)
           
 void addVirtualWhReservationValue(VirtualWhReservationValue virtualWhResValue)
           
 Money adjustForCancellation(Quantity cancelThisTimeQty)
           
 void adjustQuotedLineValues()
           
 void applyOrderLineDiscount(Discount discount)
           
 java.lang.String attributesToString()
           
 void calculateReleaseDate()
           
 void calculateShipDate(RDate updatedDeliveryDate)
           
 boolean canApplyTaxAccommodation()
           
 void cancel(OrderCancelReason reason, User user)
           
 void cancelAndReleaseATP(OrderCancelReason reason, User user)
           
 void cancelOnParentPackLineCancellation(User user)
           
protected  void checkModifiable()
           
 void clearGiftServiceLine(GiftServiceType giftServiceType)
           
 void clearGiftServiceLines()
           
 void clearOldShipToAddress()
           
 void clearPromotionDiscounts()
          Clear all non-locked promotion discounts on the business object.
 void clearQuotedExtendedValues()
           
 void clearQuotedTaxValues()
           
 void clearSpecialHandling(User user)
           
 void confirmCancel(Quantity cancelQuantity, Warehouse physicalWarehouse)
           
 void confirmCancelAtPackComponentLevel(Quantity cancelQuantity, Warehouse physicalWarehouse)
           
protected  Dto createEmptyDto()
           
 NoCustomerInformationReturnSearchCriteria createNoCustomerInformationReturnSearchCriteria()
           
 void doSetGenericEvent(GenericEvent holdEvent)
           
 void fireFromRemote()
           
 void generatePersonalHoldHistory(User user)
           
 Promotion getAcceptedPromotion()
           
 java.util.Collection getAccommodationAdjustments(AccommodationTypeEnum type, AccommodationShippingSubTypeEnum shippingSubType)
           
 java.util.List getAccommodations()
           
 java.util.List getAccommodations(AccommodationTypeEnum type)
           
 java.util.List getAccommodations(AccommodationTypeEnum type, AccommodationShippingSubTypeEnum shippingSubType)
           
 Quantity getActualBackorderedQuantity()
          Returns the actual quantity that is currently backordered for this line.
 Quantity getActualCancelledQuantity()
          Returns the actual quantity that has been cancelled for this line.
 Quantity getActualComponentCancelledQuantity()
           
 Quantity getActualFulfillingQuantity()
          Returns the actual quantity that is currently being fulfilled for this line.
 Quantity getActualPackLevelQuantity()
           
 Quantity getActualQuantityToBeFulfilled()
          Returns the actual quantity that is ready to be fulfilled by the warehouse.
 Quantity getActualReservedQuantity()
          Returns the actual quantity that is currently 'reserved' for this line.
 Quantity getActualShippedQuantity()
          Returns the actual quantity that has been shipped for this line.
 Quantity getActualVirtualWarehouseReservedQuantity()
          Returns the actual quantity that is currently virtual warehouse reserved for this line.
 Money getAdditionalShippingPromotionalDiscountValue()
          Return the additional promotion discount value for the order line (sum of all of its additional s&h promotion discount records).
 Money getAdditionalShippingPromotionalDiscountValue(Quantity prevQty, Quantity qty)
           
 java.util.Collection getAllPromotionDiscounts()
          Return all promotion discount records applicable to the order line.
 java.util.Set getAllServiceLines()
           
 java.util.Set getAvailableMonogramValueAddedServices()
           
 java.util.Set getAvailablePersonalizationValueAddedServices()
           
 Quantity getBackorderedQuantity()
          Returns the number of items for this line that are currently backordered.
 Money getBaseAccommodationAmountOverMerchAmount()
           
 RDate getCancelledDate()
           
 Quantity getCancelledQuantity()
          Returns the number of items for this line that have been cancelled.
 OrderCancelReason getCancelReason()
           
 Carrier getCarrier()
           
 int getCarrierTransitDays()
          Based on the ship from postal code, ship to postal code, carrier, and shipping method, this returns the number of transit days.
 Quantity getChargeableQuantity()
          Returns the number of items on this line that the customer is charged for.
protected  Money getChargedTax(Money quotedTax, CustomerOrderLineImpl.ChargedTaxGetter taxGetter)
           
protected  Money getChargedWithProratedQuotedTax(Money quotedTaxAdjustedForCancelledQty, CustomerOrderLineImpl.ChargedTaxGetter taxGetter)
           
 java.lang.String getComment()
           
 CustomerOrderLine getComponentLine(java.lang.String skuId)
           
 RDate getCreateDate()
           
 User getCreatedByUser()
           
 RDate getDateUpdatedForCarrierCutOffTime(RDate date)
           
 SourceCode getDefaultOrderLineSourceCode()
           
 RDate getDeliveryDateBeforeProcessTogether()
           
 DemandStatus getDemandStatus()
           
 DirectShipOrder getDirectShipOrder()
           
 Supplier getDirectShipSupplier()
           
 java.lang.String getDirectShipSupplierId()
           
 java.util.Set getDiscounts()
           
 OrderLineDto getDto()
           
 Discount getEmployeeDiscount()
          Return the employee discount for an order line.
 RDate getEstimatedDeliveryDate()
           
 RDate getEstimatedShipDate()
           
 Money getExtendedAdditionalShippingCharge()
           
 Money getExtendedAdditionalShippingCharge(Quantity prevQty, Quantity qty)
           
 Money getExtendedAdditionalShippingTax()
           
 Money getExtendedAdditionalShippingTax(Quantity prevQty, Quantity qty)
           
 Money getExtendedMerchTax()
           
 Money getExtendedMerchTax(Quantity prevQty, Quantity qty)
           
 Money getExtendedPrice()
           
 Money getExtendedPrice(Quantity prevQty, Quantity qty)
           
 Money getExtendedPriceForTaxInvoiceLine(Quantity prevQty, Quantity qty, boolean applyPreShipmentAccommodations)
           
 Money getExtendedPriceLessAccommodations()
           
 java.util.List getFSMAblesForNotification()
           
 Quantity getFulfillingQuantity()
          Returns the number of items for this line that are currently being fulfilled.
 Quantity getFullPackQtyToBeCancelledFromActualCancelledCompQtys()
           
 java.util.Set getGeneralAccommodations()
           
 GenericEvent getGenericEvent()
           
 Customer getGiftRecipientShipToCustomer()
          Return the customer of the gift recipient ship-to address (if the ship-to for the order line is being sent to a gift recipient, different from the bill-to customer).
 CustomerOrderGiftServiceLine getGiftServiceLine(GiftServiceType giftServiceType)
           
 java.util.Set getGiftServiceLines()
           
 GiftVoucherAttributes getGiftVoucherAttributes()
           
 RDate getLastNotifiedEstimatedDeliveryDate()
           
 RDate getLastUpdateDate()
           
 User getLastUpdatedByUser()
           
 int getLineNumber()
           
 CustomerOrder getMailOrder()
           
 int getMaxCarrierTransitDays()
          If the order line has not yet been virtual warehouse reserved, the ship from location is unknown.
 int getMaxHandlingDays()
           
 Media getMedia()
           
 Money getMerchPromotionDiscountValue()
          Return the merchandise promotion discount value for the order line (sum of all of its merch.
 CustomerOrderMonogramServiceLine getMonogramServiceLine()
           
 ShippedContainer getMostRecentShippedContainer()
           
 Quantity getNoLongerAvailableQuantity()
           
 int getNumberOfBackorderNotificationsSent()
           
 CustomerOrder getOrder()
           
 Quantity getOrderedQuantity()
           
 CustomerOrderGiftServiceLine getOrderGiftServiceLine(CustomerOrderGiftServiceLineType type)
           
 OrderLineDto getOrderLineDto()
           
 OrderLineTypeEnum getOrderLineType()
           
 RDate getOriginalEstimatedDeliveryDate()
           
 Quantity getOriginalRequestedQuantity()
           
 CustomerAddress getOriginalShipToAddress()
           
 CustomerOrderLine getPackComponentLine(java.lang.String sellingSkuDisplayCode)
           
 java.util.Set getPackComponentLines()
           
 Quantity getPackComponentReservedQuantity()
           
 Quantity getPackComponentShippedQuantity()
           
 Quantity getPackComponentShippedQuantity(java.util.Map componentAddtlLineQtyMap)
           
 Quantity getPackComponentVirtualWarehouseReservedQuantity()
           
 CustomerOrderLine getParentOrderLine()
           
 OrderPartialLineReason getPartialLineReason()
           
 RDate getPersonalHoldDate()
           
 CustomerOrderPersonalizationServiceLine getPersonalizationServiceLine()
           
 PickExceptionStatusType getPickExceptionStatus()
           
 Money getPreviouslyRecordedDemandAmount()
           
 Quantity getPreviouslyRecordedDemandQuantity()
           
 ReservationValues getPreviousReservationValues()
           
 CustomerAddress getPreviousShipToAddress()
           
 java.lang.String getProcessTogether()
           
 java.util.Collection getPromotionDiscounts()
          Return promotion discount records applicable to the order line (only those discounts that are stored at this order line).
 Quantity getQuantity()
           
 java.lang.String getRegistryCancelState()
           
 java.lang.String getRegistryNumber()
           
 java.lang.String getRegistryPurchaseState()
           
 java.lang.String getRegistryType()
           
 RDate getRegistryUpdateDate()
           
 RDate getReleaseDate()
           
 ReturnLine getReplacementReturnLine()
           
 Quantity getRequestedQuantity()
           
 Quantity getReservedQuantity()
          Returns the number of items for this line that are currently reserved.
 Quantity getReturnableQuantity()
          Returns the number of items for this line that can be returned (shipped quantity minus how many items have already been returned minus how many packs at the component level have been returned.
 Quantity getReturnedQuantity()
           
 java.util.List getReturnLines(boolean includeCancelledReturnLines)
           
 java.math.BigDecimal getReturnUnitPrice()
          Return the pack component return unit value for the pack component line.
 SellingList getSellingList()
           
 SellingSku getSellingSku()
           
 Money getSellingSkuPrice()
          Return the undiscounted selling sku unit price for the order line.
 java.util.Set getServiceLines()
           
 Money getSettlementValue()
          Returns the total settlement value for all shipped container lines for this order line.
 java.util.Set getShippedContainerLines()
           
 Quantity getShippedQuantity()
          Returns the number of items for this line that have been shipped.
 Quantity getShippedQuantity(java.util.Map componentLineQtyMap)
           
 ShippingMethod getShippingMethod()
           
 ShipTo getShipTo()
           
 CustomerAddress getShipToAddress()
          Return the customer address for the order line ship-to address.
 com.retek.fsm.State getState()
           
 CustomerOrderLineStateModel getStateModel()
           
 RDate getSupplierStartDate()
           
 java.util.Set getTaxAccommodations()
           
 Money getTotalAccommodationAmount()
           
 Quantity getTotalActualBackorderedQuantity()
           
 Quantity getTotalActualFulfillingQuantity()
           
 Quantity getTotalActualReservedQuantity()
           
 Quantity getTotalActualShippedQuantity()
           
 Money getTotalGiftServiceCharge()
          Returns the total charge for all gift service lines that have not been cancelled.
 Money getTotalGiftServiceCharge(Quantity prevQty, Quantity qty)
          Returns a prorated total charge for all gift service lines that have not been cancelled based on the quantities passed in.
 Money getTotalGiftServiceTax()
          Returns the total tax charge for all gift service lines that have not been cancelled.
 Money getTotalGiftServiceTax(Quantity prevQty, Quantity qty)
          Returns a prorated total tax charge for all gift service lines that have not been cancelled based on the quantities passed in.
 Money getTotalMerchChargeForRushShipping()
           
 Money getTotalMerchChargeForRushShipping(Quantity prevQty, Quantity qty)
           
 Money getTotalMerchChargeForStandardShipping()
           
 Money getTotalMerchChargeForStandardShipping(Quantity prevQty, Quantity qty)
           
 Money getTotalNetAccommodationAmount(AccommodationTypeEnum accommodationType, AccommodationShippingSubTypeEnum shippingSubtype)
           
 Money getTotalNetAdditionalShippingCharge()
          Return the total net shipping charge for the order line (total sale shipping charge, less any return shipping charge, less any shipping accommodations/adjustments).
 Money getTotalNetExtendedPrice()
          Return the total net extended price for the order line (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 line (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 line (total sale personalization serivce charge, less any return personalization service charge, less any personalization service accommodations/adjustments).
 Money getTotalPersonalizationServiceCharge()
          Returns the total charge for all personalization service lines that have not been cancelled.
 Money getTotalPersonalizationServiceCharge(Quantity prevQty, Quantity qty)
          Returns a prorated total charge for all personalization service lines that have not been cancelled based on the quantities passed in.
 Money getTotalPersonalizationServiceTax()
          Returns the total tax charge for all personalization service lines that have not been cancelled.
 Money getTotalPersonalizationServiceTax(Quantity prevQty, Quantity qty)
          Returns a prorated total tax charge for all personalization service lines that have not been cancelled based on the quantities passed in.
 Money getTotalPromotionDiscountValue()
          Return the total promotion discount value for the order line (sum of all of its promotion discount records, including discounts for any child object promotion discount records).
 Money getTotalReturnedExtendedPrice()
           
 Money getTotalServiceCharge()
          Returns the total charge for all gift services that have not been cancelled and all personalization services that have not been cancelled for this line.
 Money getTotalServiceCharge(Quantity prevQty, Quantity qty)
          Returns the total service charge for the specifid quantity
 Money getTotalTaxAmount()
          Returns tht total tax for this line.
 CustomerOrderTransactionGroup getTransactionGroup()
           
 Money getTransactionItemAmount()
           
 Money getUnitPrice()
          Return the unit price (with employee discounts and/or alternate selling item discount applied) for the order line.
 Money getValueAddedServiceTax()
           
 Money getValueAddedServiceTax(Quantity prevQty, Quantity qty)
           
 Store getVirtualStore()
           
 Warehouse getVirtualWarehouse(Warehouse physicalWarehouse)
           
 Quantity getVirtualWarehouseReservedQuantity()
          Returns the number of items for this line that are currently virtual warehouse reserved.
 java.util.Set getVirtualWhReservationValues()
          Returns the set of records that represent the warehouses/quantities for this order line that were virtual warehouse reserved.
 java.lang.String getWarehouseMessage()
           
 java.lang.String getWrapTogether()
           
 void incrementNumberOfBackorderNotificationsSent()
           
 boolean inState(com.retek.fsm.State state)
          Return boolean indicating if a state machine business object is the specified state.
 boolean isAbleToReleaseToWms()
           
 boolean isAltSellingLine()
           
 boolean isAppliedToOrder()
           
 boolean isBenefitLineForPromotion(Promotion promotion)
           
 boolean isCancelled()
           
 boolean isCreditForTransactionGroupBalance()
           
 boolean isDebitForTransactionGroupBalance()
           
 boolean isDirectShip()
           
 boolean isEventHold()
           
 boolean isExchangeSaleLine()
           
 boolean isFreeBenefitLine()
           
 boolean isFullyShipped()
           
 boolean isFullyShipped(Quantity currentShippingQuantity)
           
 boolean isGift()
           
 boolean isGiftCard()
           
 boolean isGiftCertificate()
           
 boolean isInClosedTransactionGroup()
           
 boolean isMailOrderPreBatch()
          Returns true if this line belongs to a mail order whose batch has not yet been released.
 boolean isModifiable()
          Order lines are only modifiable if: The line has not yet been attached to an order.
 boolean isNew()
          Return a boolean indicating if the order line is in new status.
 boolean isPackComponentDirectShip()
           
 boolean isPackComponentLine()
           
 boolean isPackLine()
           
 boolean isPackReservedFufilledShippedFullyAtPackLevel()
           
 boolean isPackReservedFufilledShippedFullyAtSkuLevel()
           
 boolean isPersonalHold()
           
 boolean isPromotionAcceptanceComplete()
           
 boolean isPromotionBenefitLine()
           
 boolean isRegistryUpdated()
           
 boolean isReplacementSaleLine()
           
 boolean isReserved()
          Return a boolean indicating if the order line is in reserved status (true if in reserved status, false if in virtual warehouse reserved status, false if partially backordered).
 boolean isReservedAtComponentLineLevel()
           
 boolean isReservedAtOrderLineLevel()
           
 boolean isReserving()
           
 boolean isReturnable()
          If a line has some returnable quantity and is not a pack or pack component line, it can be returned.
 boolean isRushDelivery()
           
 boolean isShipped()
           
 boolean isShipToCustomerAlsoNotified()
           
 boolean isStandardDeliveryCharge()
           
 boolean isTaxCalculationRequired()
           
 boolean isVirtualWarehouseReservable()
          If the line is not direct ship, is not a pack component direct ship line, and has some reserved quantity, it can be virtual warehouse reserved.
 boolean isWarehouseSpecialHandling()
           
 boolean isWrapTogether()
           
 boolean isZeroSaleLine()
           
 void justPublishedToWms(User user, Quantity quantityToBeFullfilled)
           
 void notifyTransactionGroupClosed()
           
 void onStateChange(com.retek.fsm.State originalState, com.retek.fsm.State newState)
           
 void pickException(PickExceptionStatusType pickExceptionStatus, Quantity quantity, Warehouse warehouse)
           
 void pruneWarehouseReservationValues()
           
 void publishCancelRequestToWMSFromStateMachine()
           
protected  Dto readLatest()
           
 void recalculateEstimatedDeliveryDate()
           
 void recalculateEstimatedDeliveryDate(boolean resetOriginalECCD)
           
 void recalculateEstimatedShipDate()
           
 void removeAccommodation(Accommodation accommodation)
           
 void removeFromWrapTogether()
           
 void removeFromWrapTogetherPreservingServiceLines()
           
 void reserve(User user)
           
 void resetOriginalRequestedQuantity()
           
 void resetOriginalShipToAddress()
           
 void setAcceptedPromotionRef(DistributedReference promotionRef)
           
 void setActualBackorderedQuanity(Quantity quantity)
           
 void setActualComponentCancelledQuantity(Quantity quantity)
           
 void setActualFulfillingQuantity(Quantity fulfillingQuantity)
           
 void setActualReservedQuantity(Quantity quantity)
           
 void setActualShippedQuantity(Quantity shippingQuantity)
           
 void setActualVirtualWarehouseReservedQuantity(Quantity reservedQuantity)
           
 void setCancelDate(RDate cancellationDate)
           
 void setCancelReason(OrderCancelReason reason)
           
 void setCarrier(Carrier aCarrier)
           
 void setComment(java.lang.String comment)
           
 void setConfirmedDirectShipSupplier(Supplier supplier)
           
 void setDeliveryDateBeforeProcessTogether(RDate date)
           
 void setDemandStatus(DemandStatus demandStatus)
           
 void setDirectShipOrder(DirectShipOrder dso, User user)
           
 void setDirectShipSupplierId(java.lang.String directShipSupplierId)
           
 void setDirectShipSupplierStartDate(RDate directShipSupplierStartDate)
           
 void setEstimatedDeliveryDate(RDate date)
           
 void setEstimatedDeliveryDateForProcessTogether(RDate date)
           
 void setEstimatedDeliveryDateForProcessTogetherChange()
           
 void setEstimatedShipDate(RDate date)
           
 void setGenericEvent(GenericEvent genericEvent)
           
 void setGift(boolean gift)
           
 void setGiftVoucherAmount(Money amount)
           
 void setLastNotifiedEstimatedDeliveryDate(RDate date)
           
 void setLineNumber(int lineNumber)
           
 void setNoLongerAvailableQuantity(Quantity noLongerAvailableQuantity)
           
 void setOrderLineType(OrderLineTypeEnum orderLineType)
           
 void setParentOrderLine(CustomerOrderLine baseOrderLine)
           
 void setPartialLineReason(OrderPartialLineReason reason)
           
 void setPersonalHoldDate(RDate personalHoldDate)
           
 void setPickExceptionStatus(PickExceptionStatusType pickExceptionStatus)
           
 void setPreviouslyRecordedDemandAmount(Money amt)
           
 void setPreviouslyRecordedDemandQuantity(Quantity qty)
           
 void setProcessTogether(java.lang.String processTogether)
           
 void setPromotionAcceptanceComplete(boolean acceptanceComplete)
           
 void setQuotedTaxValues(Money quotedExtendedTax, Money quotedExtendedAdditionalShippingTax, Money quotedTotalPersonalizationServiceTax, Money quotedTotalGiftServiceTax)
           
 void setRegistryCancelState(java.lang.String publishState)
           
 void setRegistryNumber(java.lang.String registryNumber)
           
 void setRegistryPurchaseState(java.lang.String publishState)
           
 void setRegistryType(java.lang.String registryType)
           
 void setRegistryUpdateDate(RDate registryUpdateDate)
           
 void setReleaseDate(RDate date)
           
 void setReleaseToWms(boolean releaseToWms)
           
 void setReplacementReturnLine(ReturnLine returnLine)
           
 void setRequestedQuantity(Quantity quantity)
           
 void setRequestedQuantityUnchecked(Quantity qty)
           
 void setSellingList(SellingList list)
           
 void setSellingSku(SellingSku sellingSku)
           
 void setSellingSkuPrice(Money sellingSkuPrice)
           
 void setShippingMethod(ShippingMethod shippingMethod)
           
 void setShipTo(ShipTo shipTo)
           
 void setShipToAddress(CustomerAddress address)
           
 void setShipToAddressUnchecked(CustomerAddress address)
           
 void setShipToCustomerAlsoNotified(boolean val)
           
 void setTransactionGroup(CustomerOrderTransactionGroup transactionGroup)
           
 void setWarehouseMessage(java.lang.String warehouseMessage)
           
 void setWarehouseSpecialHandling(boolean warehouseSpecialHandling)
           
 void setWrapTogether(java.lang.String wrapTogether)
           
 void shipConfirm(ShippedContainerLine shipConf, User user)
           
 TaxInvoiceLineItem toTaxInvoiceLineItem(boolean applyPreShipmentAccommodations)
           
 TaxInvoiceLineItem toTaxInvoiceLineItemByQuantity(Quantity prevQty, Quantity qty, boolean applyPreShipmentAccommodations)
           
 void virtualWarehouseReserve(User user)
          For all lines that are ready to be reserved at the warehouse, determine the best warehouse(s) based on priority/carrier/ship method, and convert the current reservation in the RCOM system, to be customer reserved in RMS.
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

CustomerOrderLineImpl

public CustomerOrderLineImpl(DistributedContext context,
                             DistributedReference ref,
                             boolean createHollow)
                      throws SystemException

CustomerOrderLineImpl

public CustomerOrderLineImpl(DistributedContext context,
                             DistributedReference ref,
                             User user)
                      throws SystemException,
                             BusinessException
Method Detail

getDto

public OrderLineDto getDto()
                    throws SystemException
Throws:
SystemException

createEmptyDto

protected Dto createEmptyDto()
                      throws SystemException
Overrides:
createEmptyDto in class DistributedObjectImpl
Throws:
SystemException

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getCreatedByUser

public User getCreatedByUser()
                      throws SystemException,
                             BusinessException
Specified by:
getCreatedByUser in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getLastUpdatedByUser

public User getLastUpdatedByUser()
                          throws SystemException
Specified by:
getLastUpdatedByUser in interface CustomerOrderLine
Throws:
SystemException

getLastUpdateDate

public RDate getLastUpdateDate()
                        throws SystemException
Specified by:
getLastUpdateDate in interface CustomerOrderLine
Throws:
SystemException

setSellingSku

public void setSellingSku(SellingSku sellingSku)
                   throws SystemException,
                          BusinessException
Specified by:
setSellingSku in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getEmployeeDiscount

public Discount getEmployeeDiscount()
                             throws SystemException
Return the employee discount for an order line. Returns null if no employee discount is applied to the line. Note: RCOM currently supports only a single employee discount per order line.

Specified by:
getEmployeeDiscount in interface CustomerOrderLine
Returns:
Discount employee discount (null if none exists)
Throws:
SystemException

getSellingSku

public SellingSku getSellingSku()
                         throws SystemException
Specified by:
getSellingSku in interface CustomerOrderLine
Throws:
SystemException

getRequestedQuantity

public Quantity getRequestedQuantity()
                              throws SystemException
Specified by:
getRequestedQuantity in interface CustomerOrderLine
Throws:
SystemException

pruneWarehouseReservationValues

public void pruneWarehouseReservationValues()
                                     throws SystemException
Specified by:
pruneWarehouseReservationValues in interface CustomerOrderLine
Throws:
SystemException

getQuantity

public Quantity getQuantity()
                     throws SystemException
Specified by:
getQuantity in interface CustomerOrderLine
Throws:
SystemException

getActualQuantityToBeFulfilled

public Quantity getActualQuantityToBeFulfilled()
                                        throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that is ready to be fulfilled by the warehouse. For direct ship lines, this is the actual reserved quantity. For non-direct ship lines, this is the actual virtual warehouse reserved quantity.

Specified by:
getActualQuantityToBeFulfilled in interface CustomerOrderLine
Returns:
Quantity actual quantity to be fulfilled
Throws:
SystemException

getActualReservedQuantity

public Quantity getActualReservedQuantity()
                                   throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that is currently 'reserved' for this line. For pack order lines, this only includes 'reserved' items at the pack level, it does not include 'reserved' items at the component level.

Specified by:
getActualReservedQuantity in interface CustomerOrderLine
Returns:
Quantity actual reserved quantity
Throws:
SystemException

getActualBackorderedQuantity

public Quantity getActualBackorderedQuantity()
                                      throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that is currently backordered for this line. For pack order lines, this only includes backordered items at the pack level, it does not include backordered items at the component level.

Specified by:
getActualBackorderedQuantity in interface CustomerOrderLine
Returns:
Quantity actual backordered quantity
Throws:
SystemException

getActualVirtualWarehouseReservedQuantity

public Quantity getActualVirtualWarehouseReservedQuantity()
                                                   throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that is currently virtual warehouse reserved for this line. For pack order lines, this only includes virtual warehouse reserved items at the pack level, it does not include virtual warehouse reserved items at the component level.

Specified by:
getActualVirtualWarehouseReservedQuantity in interface CustomerOrderLine
Returns:
Quantity actual virtual warehouse reserved quantity
Throws:
SystemException

getActualShippedQuantity

public Quantity getActualShippedQuantity()
                                  throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that has been shipped for this line. For pack order lines, this only includes items that have been shipped at the pack level, it does not include items that have been shipped at the component level.

Specified by:
getActualShippedQuantity in interface CustomerOrderLine
Returns:
Quantity actual shipped quantity
Throws:
SystemException

getActualCancelledQuantity

public Quantity getActualCancelledQuantity()
                                    throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that has been cancelled for this line. For pack order lines, this only includes items that have been cancelled at the pack level, it does not include items that have been cancelled at the component level.

Specified by:
getActualCancelledQuantity in interface CustomerOrderLine
Returns:
Quantity actual cancelled quantity
Throws:
SystemException

getReservedQuantity

public Quantity getReservedQuantity()
                             throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that are currently reserved. For pack order lines, includes the number of packs reserved at the component level.

Specified by:
getReservedQuantity in interface CustomerOrderLine
Returns:
Quantity reserved quantity
Throws:
SystemException

getBackorderedQuantity

public Quantity getBackorderedQuantity()
                                throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that are currently backordered. For pack order lines, includes the number of packs backordered at the component level.

Specified by:
getBackorderedQuantity in interface CustomerOrderLine
Returns:
Quantity backordered quantity
Throws:
SystemException

getVirtualWarehouseReservedQuantity

public Quantity getVirtualWarehouseReservedQuantity()
                                             throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that are currently virtual warehouse reserved. For pack order lines, includes the number of packs that are virtual warehouse reserved at the component level.

Specified by:
getVirtualWarehouseReservedQuantity in interface CustomerOrderLine
Returns:
Quantity virtual warehouse reserved quantity
Throws:
SystemException

getCancelledQuantity

public Quantity getCancelledQuantity()
                              throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that have been cancelled. For pack order lines, includes the number of packs that have been cancelled at the component level.

Specified by:
getCancelledQuantity in interface CustomerOrderLine
Returns:
Quantity cancelled quantity
Throws:
SystemException

setRequestedQuantity

public void setRequestedQuantity(Quantity quantity)
                          throws SystemException
Specified by:
setRequestedQuantity in interface CustomerOrderLine
Throws:
SystemException

setRequestedQuantityUnchecked

public void setRequestedQuantityUnchecked(Quantity qty)
                                   throws SystemException
Specified by:
setRequestedQuantityUnchecked in interface CustomerOrderLineMerge
Throws:
SystemException

getPreviouslyRecordedDemandAmount

public Money getPreviouslyRecordedDemandAmount()
                                        throws SystemException
Specified by:
getPreviouslyRecordedDemandAmount in interface CustomerOrderLine
Throws:
SystemException

getPreviouslyRecordedDemandQuantity

public Quantity getPreviouslyRecordedDemandQuantity()
                                             throws SystemException
Specified by:
getPreviouslyRecordedDemandQuantity in interface CustomerOrderLine
Throws:
SystemException

setPreviouslyRecordedDemandAmount

public void setPreviouslyRecordedDemandAmount(Money amt)
                                       throws SystemException
Throws:
SystemException

setPreviouslyRecordedDemandQuantity

public void setPreviouslyRecordedDemandQuantity(Quantity qty)
                                         throws SystemException
Throws:
SystemException

getTotalAccommodationAmount

public Money getTotalAccommodationAmount()
                                  throws SystemException
Specified by:
getTotalAccommodationAmount in interface CustomerOrderLine
Throws:
SystemException

getTotalReturnedExtendedPrice

public Money getTotalReturnedExtendedPrice()
                                    throws SystemException,
                                           BusinessException
Throws:
SystemException
BusinessException

getExtendedPrice

public Money getExtendedPrice()
                       throws SystemException
Specified by:
getExtendedPrice in interface CustomerOrderLine
Throws:
SystemException

getReturnUnitPrice

public java.math.BigDecimal getReturnUnitPrice()
                                        throws SystemException
Description copied from interface: CustomerOrderLine
Return the pack component return unit value for the pack component line. (note: only applies to an order line if it is a pack component line, will return null).

Specified by:
getReturnUnitPrice in interface CustomerOrderLine
Returns:
BigDecimal pack component return unit value
Throws:
SystemException

getChargeableQuantity

public Quantity getChargeableQuantity()
                               throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items on this line that the customer is charged for. If this line is a new replacement line, return requested quantity. If this line is a new non-replacement line, return Zero If this line is pre-cancelled, return the fulfilling quantity + shipped quantity If this line is for a mail order whose batch has not yet been released, return the requested quantity Else return the sum of reserved, virtual warehouse reserved, fulfilling, backordered, and shipped quantities (excludes cancelled).

Specified by:
getChargeableQuantity in interface CustomerOrderLine
Returns:
Quantity chargeable quantity
Throws:
SystemException

getExtendedPriceLessAccommodations

public Money getExtendedPriceLessAccommodations()
                                         throws SystemException
Specified by:
getExtendedPriceLessAccommodations in interface CustomerOrderLine
Throws:
SystemException

getExtendedPrice

public Money getExtendedPrice(Quantity prevQty,
                              Quantity qty)
                       throws SystemException,
                              BusinessException
Specified by:
getExtendedPrice in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getExtendedPriceForTaxInvoiceLine

public Money getExtendedPriceForTaxInvoiceLine(Quantity prevQty,
                                               Quantity qty,
                                               boolean applyPreShipmentAccommodations)
                                        throws SystemException,
                                               BusinessException
Throws:
SystemException
BusinessException

getTotalNetExtendedPrice

public Money getTotalNetExtendedPrice()
                               throws SystemException
Description copied from interface: CustomerOrderLine
Return the total net extended price for the order line (total sale extended price, less any return extended price, less any merchandise accommodations/adjustments).

Specified by:
getTotalNetExtendedPrice in interface CustomerOrderLine
Returns:
Money total net extended price
Throws:
SystemException

getTotalNetAdditionalShippingCharge

public Money getTotalNetAdditionalShippingCharge()
                                          throws SystemException
Description copied from interface: CustomerOrderLine
Return the total net shipping charge for the order line (total sale shipping charge, less any return shipping charge, less any shipping accommodations/adjustments).

Specified by:
getTotalNetAdditionalShippingCharge in interface CustomerOrderLine
Returns:
Money total net shipping charge
Throws:
SystemException

getTotalNetGiftServiceCharge

public Money getTotalNetGiftServiceCharge()
                                   throws SystemException
Description copied from interface: CustomerOrderLine
Return the total net gift service charge for the order line (total sale gift service charge, less any return gift service charge, less any gift service accommodations/adjustments).

Specified by:
getTotalNetGiftServiceCharge in interface CustomerOrderLine
Returns:
Money total net gift service charge
Throws:
SystemException

getTotalNetPersonalizationServiceCharge

public Money getTotalNetPersonalizationServiceCharge()
                                              throws SystemException
Description copied from interface: CustomerOrderLine
Return the total net personalization service charge for the order line (total sale personalization serivce charge, less any return personalization service charge, less any personalization service accommodations/adjustments).

Specified by:
getTotalNetPersonalizationServiceCharge in interface CustomerOrderLine
Returns:
Money total net personalization service charge
Throws:
SystemException

getTotalNetAccommodationAmount

public Money getTotalNetAccommodationAmount(AccommodationTypeEnum accommodationType,
                                            AccommodationShippingSubTypeEnum shippingSubtype)
                                     throws SystemException
Throws:
SystemException

getTotalMerchChargeForStandardShipping

public Money getTotalMerchChargeForStandardShipping()
                                             throws SystemException,
                                                    BusinessException
Specified by:
getTotalMerchChargeForStandardShipping in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getTotalMerchChargeForStandardShipping

public Money getTotalMerchChargeForStandardShipping(Quantity prevQty,
                                                    Quantity qty)
                                             throws SystemException,
                                                    BusinessException
Throws:
SystemException
BusinessException

getTotalMerchChargeForRushShipping

public Money getTotalMerchChargeForRushShipping()
                                         throws SystemException,
                                                BusinessException
Specified by:
getTotalMerchChargeForRushShipping in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getTotalMerchChargeForRushShipping

public Money getTotalMerchChargeForRushShipping(Quantity prevQty,
                                                Quantity qty)
                                         throws SystemException,
                                                BusinessException
Throws:
SystemException
BusinessException

getOrderLineType

public OrderLineTypeEnum getOrderLineType()
                                   throws SystemException
Specified by:
getOrderLineType in interface CustomerOrderLine
Throws:
SystemException

getLineNumber

public int getLineNumber()
                  throws SystemException
Specified by:
getLineNumber in interface CustomerOrderLine
Throws:
SystemException

getUnitPrice

public Money getUnitPrice()
                   throws SystemException
Description copied from interface: CustomerOrderLine
Return the unit price (with employee discounts and/or alternate selling item discount applied) for the order line.

Specified by:
getUnitPrice in interface CustomerOrderLine
Returns:
Money unit price for order line
Throws:
SystemException

getSellingSkuPrice

public Money getSellingSkuPrice()
                         throws SystemException
Description copied from interface: CustomerOrderLine
Return the undiscounted selling sku unit price for the order line.

Specified by:
getSellingSkuPrice in interface CustomerOrderLine
Returns:
Money undiscounted selling sku unit price
Throws:
SystemException

setSellingSkuPrice

public void setSellingSkuPrice(Money sellingSkuPrice)
                        throws SystemException
Throws:
SystemException

getOriginalEstimatedDeliveryDate

public RDate getOriginalEstimatedDeliveryDate()
                                       throws SystemException
Specified by:
getOriginalEstimatedDeliveryDate in interface CustomerOrderLine
Throws:
SystemException

getEstimatedDeliveryDate

public RDate getEstimatedDeliveryDate()
                               throws SystemException
Specified by:
getEstimatedDeliveryDate in interface CustomerOrderLine
Throws:
SystemException

getLastNotifiedEstimatedDeliveryDate

public RDate getLastNotifiedEstimatedDeliveryDate()
                                           throws SystemException
Specified by:
getLastNotifiedEstimatedDeliveryDate in interface CustomerOrderLine
Throws:
SystemException

getNumberOfBackorderNotificationsSent

public int getNumberOfBackorderNotificationsSent()
                                          throws SystemException
Specified by:
getNumberOfBackorderNotificationsSent in interface CustomerOrderLine
Throws:
SystemException

getEstimatedShipDate

public RDate getEstimatedShipDate()
                           throws SystemException
Specified by:
getEstimatedShipDate in interface CustomerOrderLine
Throws:
SystemException

getDirectShipOrder

public DirectShipOrder getDirectShipOrder()
                                   throws SystemException
Specified by:
getDirectShipOrder in interface CustomerOrderLine
Throws:
SystemException

getDirectShipSupplierId

public java.lang.String getDirectShipSupplierId()
                                         throws SystemException
Specified by:
getDirectShipSupplierId in interface CustomerOrderLine
Throws:
SystemException

getSupplierStartDate

public RDate getSupplierStartDate()
                           throws SystemException
Throws:
SystemException

getDirectShipSupplier

public Supplier getDirectShipSupplier()
                               throws SystemException,
                                      BusinessException
Specified by:
getDirectShipSupplier in interface CustomerOrderLine
Throws:
SystemException
BusinessException

setConfirmedDirectShipSupplier

public void setConfirmedDirectShipSupplier(Supplier supplier)
                                    throws SystemException
Specified by:
setConfirmedDirectShipSupplier in interface CustomerOrderLine
Throws:
SystemException

getExtendedAdditionalShippingCharge

public Money getExtendedAdditionalShippingCharge()
                                          throws SystemException
Specified by:
getExtendedAdditionalShippingCharge in interface CustomerOrderLine
Throws:
SystemException

getExtendedAdditionalShippingCharge

public Money getExtendedAdditionalShippingCharge(Quantity prevQty,
                                                 Quantity qty)
                                          throws SystemException
Specified by:
getExtendedAdditionalShippingCharge in interface CustomerOrderLine
Throws:
SystemException

isPersonalHold

public boolean isPersonalHold()
                       throws SystemException
Specified by:
isPersonalHold in interface CustomerOrderLine
Throws:
SystemException

isGiftCertificate

public boolean isGiftCertificate()
                          throws SystemException
Specified by:
isGiftCertificate in interface CustomerOrderLine
Throws:
SystemException

isGiftCard

public boolean isGiftCard()
                   throws SystemException
Specified by:
isGiftCard in interface CustomerOrderLine
Throws:
SystemException

isDirectShip

public boolean isDirectShip()
                     throws SystemException
Specified by:
isDirectShip in interface CustomerOrderLine
Throws:
SystemException

isPackComponentDirectShip

public boolean isPackComponentDirectShip()
                                  throws SystemException
Specified by:
isPackComponentDirectShip in interface CustomerOrderLine
Throws:
SystemException

isZeroSaleLine

public boolean isZeroSaleLine()
                       throws SystemException
Specified by:
isZeroSaleLine in interface CustomerOrderLine
Throws:
SystemException

setDirectShipOrder

public void setDirectShipOrder(DirectShipOrder dso,
                               User user)
                        throws OrderLineNotDirectShipException,
                               BusinessException,
                               SystemException
Specified by:
setDirectShipOrder in interface CustomerOrderLine
Throws:
OrderLineNotDirectShipException
BusinessException
SystemException

getCancelReason

public OrderCancelReason getCancelReason()
                                  throws SystemException
Specified by:
getCancelReason in interface CustomerOrderLine
Throws:
SystemException

getPartialLineReason

public OrderPartialLineReason getPartialLineReason()
                                            throws SystemException
Specified by:
getPartialLineReason in interface CustomerOrderLine
Throws:
SystemException

getDefaultOrderLineSourceCode

public SourceCode getDefaultOrderLineSourceCode()
                                         throws SystemException,
                                                BusinessException
Specified by:
getDefaultOrderLineSourceCode in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getPreviousShipToAddress

public CustomerAddress getPreviousShipToAddress()
                                         throws SystemException
Throws:
SystemException

getShipToAddress

public CustomerAddress getShipToAddress()
                                 throws SystemException
Description copied from interface: CustomerOrderLine
Return the customer address for the order line ship-to address.

Specified by:
getShipToAddress in interface CustomerOrderLine
Returns:
CustomerAddress ship-to address
Throws:
SystemException

getGiftRecipientShipToCustomer

public Customer getGiftRecipientShipToCustomer()
                                        throws SystemException
Description copied from interface: CustomerOrderLine
Return the customer of the gift recipient ship-to address (if the ship-to for the order line is being sent to a gift recipient, different from the bill-to customer).

Specified by:
getGiftRecipientShipToCustomer in interface CustomerOrderLine
Returns:
Customer gift recipient ship-to customer
Throws:
SystemException

getShippedContainerLines

public java.util.Set getShippedContainerLines()
                                       throws SystemException
Specified by:
getShippedContainerLines in interface CustomerOrderLine
Throws:
SystemException

clearOldShipToAddress

public void clearOldShipToAddress()

setShipToAddress

public void setShipToAddress(CustomerAddress address)
                      throws SystemException,
                             BusinessException
Specified by:
setShipToAddress in interface CustomerOrderLine
Throws:
SystemException
BusinessException

setShipToAddressUnchecked

public void setShipToAddressUnchecked(CustomerAddress address)
                               throws SystemException,
                                      BusinessException
Throws:
SystemException
BusinessException

setShipTo

public void setShipTo(ShipTo shipTo)
               throws SystemException
Throws:
SystemException

setLineNumber

public void setLineNumber(int lineNumber)
                   throws SystemException
Specified by:
setLineNumber in interface CustomerOrderLine
Throws:
SystemException

setCancelDate

public void setCancelDate(RDate cancellationDate)
                   throws SystemException
Throws:
SystemException

shipConfirm

public void shipConfirm(ShippedContainerLine shipConf,
                        User user)
                 throws SystemException,
                        BusinessException
Specified by:
shipConfirm in interface CustomerOrderLine
Throws:
SystemException
BusinessException

addHistoryEventRequest

public void addHistoryEventRequest(HistoryEventRequest eventRequest)
                            throws SystemException
Throws:
SystemException

cancel

public void cancel(OrderCancelReason reason,
                   User user)
            throws SystemException,
                   BusinessException
Specified by:
cancel in interface CustomerOrderLine
Throws:
SystemException
BusinessException

virtualWarehouseReserve

public void virtualWarehouseReserve(User user)
                             throws SystemException,
                                    BusinessException
Description copied from interface: CustomerOrderLine
For all lines that are ready to be reserved at the warehouse, determine the best warehouse(s) based on priority/carrier/ship method, and convert the current reservation in the RCOM system, to be customer reserved in RMS.

Specified by:
virtualWarehouseReserve in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getVirtualWarehouse

public Warehouse getVirtualWarehouse(Warehouse physicalWarehouse)
                              throws SystemException
Throws:
SystemException

cancelOnParentPackLineCancellation

public void cancelOnParentPackLineCancellation(User user)
                                        throws SystemException,
                                               BusinessException
Throws:
SystemException
BusinessException

cancelAndReleaseATP

public void cancelAndReleaseATP(OrderCancelReason reason,
                                User user)
                         throws SystemException,
                                BusinessException
Specified by:
cancelAndReleaseATP in interface CustomerOrderLine
Throws:
SystemException
BusinessException

setCancelReason

public void setCancelReason(OrderCancelReason reason)
                     throws SystemException
Throws:
SystemException

setPartialLineReason

public void setPartialLineReason(OrderPartialLineReason reason)
                          throws SystemException
Specified by:
setPartialLineReason in interface CustomerOrderLine
Throws:
SystemException

reserve

public void reserve(User user)
             throws BusinessException,
                    ItemNotAvailableException,
                    SystemException
Throws:
BusinessException
ItemNotAvailableException
SystemException

getVirtualStore

public Store getVirtualStore()
                      throws SystemException,
                             BusinessException
Specified by:
getVirtualStore in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getMedia

public Media getMedia()
               throws SystemException
Specified by:
getMedia in interface CustomerOrderLine
Throws:
SystemException

getMaxHandlingDays

public int getMaxHandlingDays()
                       throws SystemException,
                              BusinessException
Throws:
SystemException
BusinessException

recalculateEstimatedShipDate

public void recalculateEstimatedShipDate()
                                  throws SystemException,
                                         BusinessException
Throws:
SystemException
BusinessException

recalculateEstimatedDeliveryDate

public void recalculateEstimatedDeliveryDate(boolean resetOriginalECCD)
                                      throws SystemException,
                                             BusinessException
Throws:
SystemException
BusinessException

recalculateEstimatedDeliveryDate

public void recalculateEstimatedDeliveryDate()
                                      throws SystemException,
                                             BusinessException
Specified by:
recalculateEstimatedDeliveryDate in interface CustomerOrderLine
Throws:
SystemException
BusinessException

isEventHold

public boolean isEventHold()
                    throws BusinessException,
                           SystemException
Throws:
BusinessException
SystemException

setActualBackorderedQuanity

public void setActualBackorderedQuanity(Quantity quantity)
                                 throws SystemException
Throws:
SystemException

setDirectShipSupplierId

public void setDirectShipSupplierId(java.lang.String directShipSupplierId)
                             throws SystemException
Throws:
SystemException

setDirectShipSupplierStartDate

public void setDirectShipSupplierStartDate(RDate directShipSupplierStartDate)
                                    throws SystemException
Throws:
SystemException

setActualVirtualWarehouseReservedQuantity

public void setActualVirtualWarehouseReservedQuantity(Quantity reservedQuantity)
                                               throws SystemException
Throws:
SystemException

setActualReservedQuantity

public void setActualReservedQuantity(Quantity quantity)
                               throws SystemException
Throws:
SystemException

getDeliveryDateBeforeProcessTogether

public RDate getDeliveryDateBeforeProcessTogether()
                                           throws SystemException
Throws:
SystemException

setDeliveryDateBeforeProcessTogether

public void setDeliveryDateBeforeProcessTogether(RDate date)
                                          throws SystemException
Throws:
SystemException

setEstimatedDeliveryDateForProcessTogetherChange

public void setEstimatedDeliveryDateForProcessTogetherChange()
                                                      throws SystemException,
                                                             BusinessException
Throws:
SystemException
BusinessException

setEstimatedDeliveryDateForProcessTogether

public void setEstimatedDeliveryDateForProcessTogether(RDate date)
                                                throws SystemException,
                                                       BusinessException
Throws:
SystemException
BusinessException

setEstimatedDeliveryDate

public void setEstimatedDeliveryDate(RDate date)
                              throws SystemException,
                                     BusinessException
Throws:
SystemException
BusinessException

calculateShipDate

public void calculateShipDate(RDate updatedDeliveryDate)
                       throws SystemException,
                              BusinessException
Throws:
SystemException
BusinessException

getDateUpdatedForCarrierCutOffTime

public RDate getDateUpdatedForCarrierCutOffTime(RDate date)
                                         throws SystemException
Throws:
SystemException

setPersonalHoldDate

public void setPersonalHoldDate(RDate personalHoldDate)
                         throws SystemException
Throws:
SystemException

getPersonalHoldDate

public RDate getPersonalHoldDate()
                          throws SystemException
Specified by:
getPersonalHoldDate in interface CustomerOrderLine
Throws:
SystemException

setLastNotifiedEstimatedDeliveryDate

public void setLastNotifiedEstimatedDeliveryDate(RDate date)
                                          throws SystemException
Specified by:
setLastNotifiedEstimatedDeliveryDate in interface CustomerOrderLine
Throws:
SystemException

incrementNumberOfBackorderNotificationsSent

public void incrementNumberOfBackorderNotificationsSent()
                                                 throws SystemException
Specified by:
incrementNumberOfBackorderNotificationsSent in interface CustomerOrderLine
Throws:
SystemException

setEstimatedShipDate

public void setEstimatedShipDate(RDate date)
                          throws SystemException
Specified by:
setEstimatedShipDate in interface CustomerOrderLine
Throws:
SystemException

generatePersonalHoldHistory

public void generatePersonalHoldHistory(User user)
                                 throws SystemException,
                                        BusinessException
Throws:
SystemException
BusinessException

isNew

public boolean isNew()
              throws SystemException
Description copied from interface: CustomerOrderLine
Return a boolean indicating if the order line is in new status.

Specified by:
isNew in interface CustomerOrderLine
Returns:
true if order line is in new status
Throws:
SystemException

isCancelled

public boolean isCancelled()
                    throws SystemException
Specified by:
isCancelled in interface CustomerOrderLine
Throws:
SystemException

isShipped

public boolean isShipped()
                  throws SystemException
Specified by:
isShipped in interface CustomerOrderLine
Throws:
SystemException

isReserving

public boolean isReserving()
                    throws SystemException
Throws:
SystemException

isReserved

public boolean isReserved()
                   throws SystemException
Description copied from interface: CustomerOrderLine
Return a boolean indicating if the order line is in reserved status (true if in reserved status, false if in virtual warehouse reserved status, false if partially backordered).

Specified by:
isReserved in interface CustomerOrderLine
Returns:
true if order line is in reserved status
Throws:
SystemException

isModifiable

public boolean isModifiable()
                     throws SystemException
Description copied from interface: CustomerOrderLine
Order lines are only modifiable if: The line has not yet been attached to an order. The line has no fulfilled or shipped quantity. If the line is a replacement sale line, it is only modifiable if it has no fulfilled or shipped quantity, and if it's replacement return line is also modifiable. Cancelled lines are never modifiable.

Specified by:
isModifiable in interface CustomerOrderLine
Returns:
boolean can this line be modified
Throws:
SystemException

checkModifiable

protected void checkModifiable()
                        throws SystemException
Throws:
SystemException

getOrderLineDto

public OrderLineDto getOrderLineDto()
                             throws SystemException
Throws:
SystemException

adjustQuotedLineValues

public void adjustQuotedLineValues()
                            throws SystemException
Throws:
SystemException

clearQuotedExtendedValues

public void clearQuotedExtendedValues()
                               throws SystemException
Throws:
SystemException

clearQuotedTaxValues

public void clearQuotedTaxValues()
                          throws SystemException
Throws:
SystemException

setQuotedTaxValues

public void setQuotedTaxValues(Money quotedExtendedTax,
                               Money quotedExtendedAdditionalShippingTax,
                               Money quotedTotalPersonalizationServiceTax,
                               Money quotedTotalGiftServiceTax)
                        throws SystemException
Throws:
SystemException

adjustForCancellation

public Money adjustForCancellation(Quantity cancelThisTimeQty)
                            throws SystemException,
                                   BusinessException
Throws:
SystemException
BusinessException

getExtendedMerchTax

public Money getExtendedMerchTax()
                          throws BusinessException,
                                 SystemException
Specified by:
getExtendedMerchTax in interface CustomerOrderLine
Throws:
BusinessException
SystemException

getExtendedMerchTax

public Money getExtendedMerchTax(Quantity prevQty,
                                 Quantity qty)
                          throws SystemException,
                                 BusinessException
Specified by:
getExtendedMerchTax in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getValueAddedServiceTax

public Money getValueAddedServiceTax()
                              throws SystemException,
                                     BusinessException
Specified by:
getValueAddedServiceTax in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getValueAddedServiceTax

public Money getValueAddedServiceTax(Quantity prevQty,
                                     Quantity qty)
                              throws SystemException,
                                     BusinessException
Specified by:
getValueAddedServiceTax in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getTotalPersonalizationServiceTax

public Money getTotalPersonalizationServiceTax(Quantity prevQty,
                                               Quantity qty)
                                        throws SystemException,
                                               BusinessException
Description copied from interface: CustomerOrderLine
Returns a prorated total tax charge for all personalization service lines that have not been cancelled based on the quantities passed in.

Specified by:
getTotalPersonalizationServiceTax in interface CustomerOrderLine
Parameters:
prevQty - The quantity for this line for which personalization service tax has already been calculated.
qty - The quantity for this line for which we want the personalization service tax.
Returns:
Money total personalization service tax for qty, assuming we have already calculated personalization service tax for prevQty.
Throws:
SystemException
BusinessException

getTotalPersonalizationServiceTax

public Money getTotalPersonalizationServiceTax()
                                        throws SystemException,
                                               BusinessException
Description copied from interface: CustomerOrderLine
Returns the total tax charge for all personalization service lines that have not been cancelled.

Specified by:
getTotalPersonalizationServiceTax in interface CustomerOrderLine
Returns:
Money total personalization service tax
Throws:
SystemException
BusinessException

getTotalGiftServiceTax

public Money getTotalGiftServiceTax(Quantity prevQty,
                                    Quantity qty)
                             throws SystemException,
                                    BusinessException
Description copied from interface: CustomerOrderLine
Returns a prorated total tax charge for all gift service lines that have not been cancelled based on the quantities passed in.

Specified by:
getTotalGiftServiceTax in interface CustomerOrderLine
Parameters:
prevQty - The quantity for this line for which gift service tax has already been calculated.
qty - The quantity for this line for which we want the gift service tax.
Returns:
Money total gift service tax for qty, assuming we have already calculated gift service tax for prevQty.
Throws:
SystemException
BusinessException

getTotalGiftServiceTax

public Money getTotalGiftServiceTax()
                             throws SystemException,
                                    BusinessException
Description copied from interface: CustomerOrderLine
Returns the total tax charge for all gift service lines that have not been cancelled.

Specified by:
getTotalGiftServiceTax in interface CustomerOrderLine
Returns:
Money total gift service tax
Throws:
SystemException
BusinessException

getExtendedAdditionalShippingTax

public Money getExtendedAdditionalShippingTax()
                                       throws SystemException,
                                              BusinessException
Specified by:
getExtendedAdditionalShippingTax in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getExtendedAdditionalShippingTax

public Money getExtendedAdditionalShippingTax(Quantity prevQty,
                                              Quantity qty)
                                       throws SystemException,
                                              BusinessException
Specified by:
getExtendedAdditionalShippingTax in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getTotalTaxAmount

public Money getTotalTaxAmount()
                        throws SystemException,
                               BusinessException
Description copied from interface: CustomerOrderLine
Returns tht total tax for this line. Includes total gift service tax, total personalization service tax, extended additional shipping tax, and extended merchandise tax.

Specified by:
getTotalTaxAmount in interface CustomerOrderLine
Returns:
Money total tax amount
Throws:
SystemException
BusinessException

toTaxInvoiceLineItem

public TaxInvoiceLineItem toTaxInvoiceLineItem(boolean applyPreShipmentAccommodations)
                                        throws BusinessException,
                                               SystemException
Throws:
BusinessException
SystemException

toTaxInvoiceLineItemByQuantity

public TaxInvoiceLineItem toTaxInvoiceLineItemByQuantity(Quantity prevQty,
                                                         Quantity qty,
                                                         boolean applyPreShipmentAccommodations)
                                                  throws BusinessException,
                                                         SystemException
Throws:
BusinessException
SystemException

getShippingMethod

public ShippingMethod getShippingMethod()
                                 throws SystemException
Specified by:
getShippingMethod in interface CustomerOrderLine
Throws:
SystemException

getMaxCarrierTransitDays

public int getMaxCarrierTransitDays()
                             throws SystemException,
                                    BusinessException
Description copied from interface: CustomerOrderLine
If the order line has not yet been virtual warehouse reserved, the ship from location is unknown. Based on the ship to postal code, carrier, and shipping method, this returns the maximum number of transit days for all virtual warehouses as possible ship from locations.

Specified by:
getMaxCarrierTransitDays in interface CustomerOrderLine
Returns:
int maximum carrier transit days
Throws:
SystemException
BusinessException

getCarrierTransitDays

public int getCarrierTransitDays()
                          throws SystemException,
                                 BusinessException
Description copied from interface: CustomerOrderLine
Based on the ship from postal code, ship to postal code, carrier, and shipping method, this returns the number of transit days. If this line has been virtual warehouse reserved at more than one warehouse, this returns the max carrier transit days for all warehouses.

Specified by:
getCarrierTransitDays in interface CustomerOrderLine
Returns:
int carrier transit days
Throws:
SystemException
BusinessException

setShippingMethod

public void setShippingMethod(ShippingMethod shippingMethod)
                       throws InvalidShippingMethodForSellableItemException,
                              BusinessException,
                              SystemException
Specified by:
setShippingMethod in interface CustomerOrderLine
Throws:
InvalidShippingMethodForSellableItemException
BusinessException
SystemException

getCancelledDate

public RDate getCancelledDate()
                       throws SystemException
Specified by:
getCancelledDate in interface CustomerOrderLine
Throws:
SystemException

getReleaseDate

public RDate getReleaseDate()
                     throws SystemException
Specified by:
getReleaseDate in interface CustomerOrderLine
Throws:
SystemException

setReleaseDate

public void setReleaseDate(RDate date)
                    throws SystemException
Throws:
SystemException

isWrapTogether

public boolean isWrapTogether()
                       throws SystemException
Specified by:
isWrapTogether in interface CustomerOrderLine
Throws:
SystemException

isReturnable

public boolean isReturnable()
                     throws SystemException
Description copied from interface: CustomerOrderLine
If a line has some returnable quantity and is not a pack or pack component line, it can be returned. If a line is a pack or pack component line and has a shipped container and has some returnable quantity, it can be returned.

Specified by:
isReturnable in interface CustomerOrderLine
Returns:
boolean can this line be returned
Throws:
SystemException

canApplyTaxAccommodation

public boolean canApplyTaxAccommodation()
                                 throws SystemException
Specified by:
canApplyTaxAccommodation in interface CustomerOrderLine
Throws:
SystemException

addTaxAccomodation

public void addTaxAccomodation(TaxAccommodation taxAccommodation)
                        throws SystemException,
                               BusinessException
Throws:
SystemException
BusinessException

getTaxAccommodations

public java.util.Set getTaxAccommodations()
                                   throws SystemException
Specified by:
getTaxAccommodations in interface CustomerOrderLine
Throws:
SystemException

getGeneralAccommodations

public java.util.Set getGeneralAccommodations()
                                       throws SystemException
Specified by:
getGeneralAccommodations in interface CustomerOrderLine
Throws:
SystemException

getMostRecentShippedContainer

public ShippedContainer getMostRecentShippedContainer()
                                               throws SystemException
Throws:
SystemException

getReturnableQuantity

public Quantity getReturnableQuantity()
                               throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that can be returned (shipped quantity minus how many items have already been returned minus how many packs at the component level have been returned.

Specified by:
getReturnableQuantity in interface CustomerOrderLine
Returns:
Quantity returnable quantity
Throws:
SystemException

getReturnedQuantity

public Quantity getReturnedQuantity()
                             throws SystemException
Throws:
SystemException

getReturnLines

public java.util.List getReturnLines(boolean includeCancelledReturnLines)
                              throws SystemException
Specified by:
getReturnLines in interface CustomerOrderLine
Throws:
SystemException

getVirtualWhReservationValues

public java.util.Set getVirtualWhReservationValues()
                                            throws SystemException
Description copied from interface: CustomerOrderLine
Returns the set of records that represent the warehouses/quantities for this order line that were virtual warehouse reserved. One virtualWhReservationValue for each warehouse that warehouse reserved part of this line.

Specified by:
getVirtualWhReservationValues in interface CustomerOrderLine
Returns:
Set set of virtual warehouse reservation values
Throws:
SystemException

isRushDelivery

public boolean isRushDelivery()
                       throws SystemException
Specified by:
isRushDelivery in interface CustomerOrderLine
Throws:
SystemException

isStandardDeliveryCharge

public boolean isStandardDeliveryCharge()
                                 throws SystemException
Specified by:
isStandardDeliveryCharge in interface CustomerOrderLine
Throws:
SystemException

isVirtualWarehouseReservable

public boolean isVirtualWarehouseReservable()
                                     throws SystemException
Description copied from interface: CustomerOrderLine
If the line is not direct ship, is not a pack component direct ship line, and has some reserved quantity, it can be virtual warehouse reserved.

Specified by:
isVirtualWarehouseReservable in interface CustomerOrderLine
Returns:
boolean can this line be virtual warehouse reserved
Throws:
SystemException

getCarrier

public Carrier getCarrier()
                   throws SystemException
Specified by:
getCarrier in interface CustomerOrderLine
Throws:
SystemException

setCarrier

public void setCarrier(Carrier aCarrier)
                throws SystemException,
                       BusinessException
Specified by:
setCarrier in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getActualFulfillingQuantity

public Quantity getActualFulfillingQuantity()
                                     throws SystemException
Description copied from interface: CustomerOrderLine
Returns the actual quantity that is currently being fulfilled for this line. For pack order lines, this only includes items being fulfilled at the pack level, it does not include items being fulfilled at the component level.

Specified by:
getActualFulfillingQuantity in interface CustomerOrderLine
Returns:
Quantity atual fulfilling quantity
Throws:
SystemException

getFulfillingQuantity

public Quantity getFulfillingQuantity()
                               throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that are currently being fulfilled. For pack order lines, includes the number of packs being fulfilled at the component level.

Specified by:
getFulfillingQuantity in interface CustomerOrderLine
Returns:
Quantity fulfilling quantity
Throws:
SystemException

justPublishedToWms

public void justPublishedToWms(User user,
                               Quantity quantityToBeFullfilled)
                        throws SystemException,
                               BusinessException
Throws:
SystemException
BusinessException

isAppliedToOrder

public boolean isAppliedToOrder()
                         throws SystemException
Specified by:
isAppliedToOrder in interface CustomerOrderLine
Throws:
SystemException

getMailOrder

public CustomerOrder getMailOrder()
                           throws SystemException
Throws:
SystemException

getOrder

public CustomerOrder getOrder()
                       throws SystemException
Specified by:
getOrder in interface CustomerOrderLine
Throws:
SystemException

getShippedQuantity

public Quantity getShippedQuantity()
                            throws SystemException
Description copied from interface: CustomerOrderLine
Returns the number of items for this line that have been shipped. For pack order lines, includes the number of packs that have been shipped at the component level.

Specified by:
getShippedQuantity in interface CustomerOrderLine
Returns:
Quantity shipped quantity
Throws:
SystemException

getShippedQuantity

public Quantity getShippedQuantity(java.util.Map componentLineQtyMap)
                            throws SystemException
Throws:
SystemException

getOrderedQuantity

public Quantity getOrderedQuantity()
                            throws SystemException
Specified by:
getOrderedQuantity in interface CustomerOrderLine
Throws:
SystemException

setActualShippedQuantity

public void setActualShippedQuantity(Quantity shippingQuantity)
                              throws SystemException
Specified by:
setActualShippedQuantity in interface CustomerOrderLine
Throws:
SystemException

setActualFulfillingQuantity

public void setActualFulfillingQuantity(Quantity fulfillingQuantity)
                                 throws SystemException
Specified by:
setActualFulfillingQuantity in interface CustomerOrderLine
Throws:
SystemException

getProcessTogether

public java.lang.String getProcessTogether()
                                    throws SystemException
Specified by:
getProcessTogether in interface CustomerOrderLine
Throws:
SystemException

setProcessTogether

public void setProcessTogether(java.lang.String processTogether)
                        throws SystemException
Throws:
SystemException

doSetGenericEvent

public void doSetGenericEvent(GenericEvent holdEvent)
                       throws BusinessException,
                              SystemException
Throws:
BusinessException
SystemException

setGenericEvent

public void setGenericEvent(GenericEvent genericEvent)
                     throws SystemException,
                            BusinessException
Throws:
SystemException
BusinessException

getGenericEvent

public GenericEvent getGenericEvent()
                             throws SystemException,
                                    BusinessException
Specified by:
getGenericEvent in interface CustomerOrderLine
Throws:
SystemException
BusinessException

calculateReleaseDate

public void calculateReleaseDate()
                          throws BusinessException,
                                 SystemException
Throws:
BusinessException
SystemException

isTaxCalculationRequired

public boolean isTaxCalculationRequired()
                                 throws SystemException
Throws:
SystemException

accept

public void accept(com.retek.fsm.Event event)
            throws SystemException,
                   BusinessException
Specified by:
accept in interface RcomRmmFsmable
Throws:
SystemException
BusinessException

fireFromRemote

public void fireFromRemote()
                    throws SystemException,
                           BusinessException
Specified by:
fireFromRemote in interface RcomRmmFsmable
Throws:
SystemException
BusinessException

getState

public com.retek.fsm.State getState()
Specified by:
getState in interface CustomerOrderLine

inState

public boolean inState(com.retek.fsm.State state)
                throws SystemException
Description copied from interface: RcomRmmFsmable
Return boolean indicating if a state machine business object is the specified state.

Specified by:
inState in interface RcomRmmFsmable
Parameters:
state - expected state
Returns:
true if business object in specified state
Throws:
SystemException

getStateModel

public CustomerOrderLineStateModel getStateModel()

setActualComponentCancelledQuantity

public void setActualComponentCancelledQuantity(Quantity quantity)
                                         throws SystemException
Specified by:
setActualComponentCancelledQuantity in interface CustomerOrderLine
Throws:
SystemException

getActualPackLevelQuantity

public Quantity getActualPackLevelQuantity()
                                    throws SystemException
Throws:
SystemException

getParentOrderLine

public CustomerOrderLine getParentOrderLine()
                                     throws SystemException
Specified by:
getParentOrderLine in interface CustomerOrderLine
Throws:
SystemException

getPreviousReservationValues

public ReservationValues getPreviousReservationValues()
                                               throws SystemException
Throws:
SystemException

getPickExceptionStatus

public PickExceptionStatusType getPickExceptionStatus()
                                               throws SystemException
Specified by:
getPickExceptionStatus in interface CustomerOrderLine
Throws:
SystemException

setPickExceptionStatus

public void setPickExceptionStatus(PickExceptionStatusType pickExceptionStatus)
                            throws SystemException
Specified by:
setPickExceptionStatus in interface CustomerOrderLine
Throws:
SystemException

pickException

public void pickException(PickExceptionStatusType pickExceptionStatus,
                          Quantity quantity,
                          Warehouse warehouse)
                   throws InvalidIdException,
                          BusinessException,
                          SystemException
Specified by:
pickException in interface CustomerOrderLine
Throws:
InvalidIdException
BusinessException
SystemException

getGiftServiceLines

public java.util.Set getGiftServiceLines()
                                  throws SystemException
Specified by:
getGiftServiceLines in interface CustomerOrderLine
Throws:
SystemException

getServiceLines

public java.util.Set getServiceLines()
                              throws SystemException
Specified by:
getServiceLines in interface CustomerOrderLine
Throws:
SystemException

getGiftServiceLine

public CustomerOrderGiftServiceLine getGiftServiceLine(GiftServiceType giftServiceType)
                                                throws SystemException
Throws:
SystemException

addServiceLine

public void addServiceLine(CustomerOrderServiceLine serviceLine)
                    throws BusinessException,
                           SystemException
Specified by:
addServiceLine in interface CustomerOrderLine
Throws:
BusinessException
SystemException

clearGiftServiceLines

public void clearGiftServiceLines()
                           throws SystemException
Throws:
SystemException

clearGiftServiceLine

public void clearGiftServiceLine(GiftServiceType giftServiceType)
                          throws SystemException
Throws:
SystemException

clearSpecialHandling

public void clearSpecialHandling(User user)
                          throws SystemException,
                                 BusinessException
Throws:
SystemException
BusinessException

isShipToCustomerAlsoNotified

public boolean isShipToCustomerAlsoNotified()
                                     throws SystemException
Specified by:
isShipToCustomerAlsoNotified in interface CustomerOrderLine
Throws:
SystemException

setShipToCustomerAlsoNotified

public void setShipToCustomerAlsoNotified(boolean val)
                                   throws SystemException
Specified by:
setShipToCustomerAlsoNotified in interface CustomerOrderLine
Throws:
SystemException

isGift

public boolean isGift()
               throws SystemException
Specified by:
isGift in interface CustomerOrderLine
Throws:
SystemException

setGift

public void setGift(boolean gift)
             throws SystemException
Specified by:
setGift in interface CustomerOrderLine
Throws:
SystemException

getWrapTogether

public java.lang.String getWrapTogether()
                                 throws SystemException
Specified by:
getWrapTogether in interface CustomerOrderLine
Throws:
SystemException

setWrapTogether

public void setWrapTogether(java.lang.String wrapTogether)
                     throws SystemException
Throws:
SystemException

removeFromWrapTogether

public void removeFromWrapTogether()
                            throws SystemException
Throws:
SystemException

removeFromWrapTogetherPreservingServiceLines

public void removeFromWrapTogetherPreservingServiceLines()
                                                  throws SystemException
Throws:
SystemException

setGiftVoucherAmount

public void setGiftVoucherAmount(Money amount)
                          throws SystemException
Specified by:
setGiftVoucherAmount in interface CustomerOrderLine
Throws:
SystemException

setParentOrderLine

public void setParentOrderLine(CustomerOrderLine baseOrderLine)
                        throws SystemException
Throws:
SystemException

setReplacementReturnLine

public void setReplacementReturnLine(ReturnLine returnLine)
                              throws SystemException
Throws:
SystemException

getReplacementReturnLine

public ReturnLine getReplacementReturnLine()
                                    throws SystemException
Specified by:
getReplacementReturnLine in interface CustomerOrderLine
Throws:
SystemException

getAvailableMonogramValueAddedServices

public java.util.Set getAvailableMonogramValueAddedServices()
                                                     throws SystemException,
                                                            BusinessException
Specified by:
getAvailableMonogramValueAddedServices in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getAvailablePersonalizationValueAddedServices

public java.util.Set getAvailablePersonalizationValueAddedServices()
                                                            throws SystemException,
                                                                   BusinessException
Specified by:
getAvailablePersonalizationValueAddedServices in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getGiftVoucherAttributes

public GiftVoucherAttributes getGiftVoucherAttributes()
                                               throws SystemException
Specified by:
getGiftVoucherAttributes in interface CustomerOrderLine
Throws:
SystemException

removeAccommodation

public void removeAccommodation(Accommodation accommodation)
                         throws SystemException
Specified by:
removeAccommodation in interface CustomerOrderLine
Throws:
SystemException

addAccommodation

public void addAccommodation(Accommodation accommodation)
                      throws SystemException,
                             BusinessException
Throws:
SystemException
BusinessException

addAccommodationAndGeneratePayment

public void addAccommodationAndGeneratePayment(Accommodation accommodation,
                                               Refundable refundable)
                                        throws SystemException,
                                               BusinessException
Specified by:
addAccommodationAndGeneratePayment in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getAccommodations

public java.util.List getAccommodations()
                                 throws SystemException
Specified by:
getAccommodations in interface CustomerOrderLine
Throws:
SystemException

getAccommodations

public java.util.List getAccommodations(AccommodationTypeEnum type)
                                 throws SystemException
Specified by:
getAccommodations in interface CustomerOrderLine
Throws:
SystemException

getAccommodations

public java.util.List getAccommodations(AccommodationTypeEnum type,
                                        AccommodationShippingSubTypeEnum shippingSubType)
                                 throws SystemException
Specified by:
getAccommodations in interface CustomerOrderLine
Throws:
SystemException

getAccommodationAdjustments

public java.util.Collection getAccommodationAdjustments(AccommodationTypeEnum type,
                                                        AccommodationShippingSubTypeEnum shippingSubType)
                                                 throws SystemException
Throws:
SystemException

getBaseAccommodationAmountOverMerchAmount

public Money getBaseAccommodationAmountOverMerchAmount()
                                                throws SystemException,
                                                       BusinessException
Throws:
SystemException
BusinessException

getOrderGiftServiceLine

public CustomerOrderGiftServiceLine getOrderGiftServiceLine(CustomerOrderGiftServiceLineType type)
                                                     throws SystemException
Specified by:
getOrderGiftServiceLine in interface CustomerOrderLine
Throws:
SystemException

getTotalServiceCharge

public Money getTotalServiceCharge()
                            throws SystemException
Description copied from interface: CustomerOrderLine
Returns the total charge for all gift services that have not been cancelled and all personalization services that have not been cancelled for this line.

Specified by:
getTotalServiceCharge in interface CustomerOrderLine
Returns:
Money total service charge
Throws:
SystemException

getTotalServiceCharge

public Money getTotalServiceCharge(Quantity prevQty,
                                   Quantity qty)
                            throws SystemException
Returns the total service charge for the specifid quantity

Parameters:
qty - order line quantity to use in calculation
Returns:
Quantity service charge amount for the qty
Throws:
SystemException

getTotalGiftServiceCharge

public Money getTotalGiftServiceCharge()
                                throws SystemException
Description copied from interface: CustomerOrderLine
Returns the total charge for all gift service lines that have not been cancelled.

Specified by:
getTotalGiftServiceCharge in interface CustomerOrderLine
Returns:
Money total gift service charge
Throws:
SystemException

getTotalGiftServiceCharge

public Money getTotalGiftServiceCharge(Quantity prevQty,
                                       Quantity qty)
                                throws SystemException
Description copied from interface: CustomerOrderLine
Returns a prorated total charge for all gift service lines that have not been cancelled based on the quantities passed in.

Specified by:
getTotalGiftServiceCharge in interface CustomerOrderLine
Parameters:
prevQty - The quantity for this line for which gift service charge has already been calculated.
qty - The quantity for this line for which we want the gift service charge.
Returns:
Money total gift service charge for qty, assuming we have already calculated gift service charge for prevQty.
Throws:
SystemException

getTotalPersonalizationServiceCharge

public Money getTotalPersonalizationServiceCharge()
                                           throws SystemException
Description copied from interface: CustomerOrderLine
Returns the total charge for all personalization service lines that have not been cancelled.

Specified by:
getTotalPersonalizationServiceCharge in interface CustomerOrderLine
Returns:
Money total personalization service charge
Throws:
SystemException

getTotalPersonalizationServiceCharge

public Money getTotalPersonalizationServiceCharge(Quantity prevQty,
                                                  Quantity qty)
                                           throws SystemException
Description copied from interface: CustomerOrderLine
Returns a prorated total charge for all personalization service lines that have not been cancelled based on the quantities passed in.

Specified by:
getTotalPersonalizationServiceCharge in interface CustomerOrderLine
Returns:
Money total personalization service charge for qty, assuming we have already calculated personalization service charge for prevQty.
Throws:
SystemException

setOrderLineType

public void setOrderLineType(OrderLineTypeEnum orderLineType)
                      throws SystemException
Throws:
SystemException

attributesToString

public java.lang.String attributesToString()
Overrides:
attributesToString in class DistributedObjectImpl

isFullyShipped

public boolean isFullyShipped()
                       throws SystemException
Throws:
SystemException

isFullyShipped

public boolean isFullyShipped(Quantity currentShippingQuantity)
                       throws SystemException
Throws:
SystemException

setReleaseToWms

public void setReleaseToWms(boolean releaseToWms)
                     throws SystemException
Throws:
SystemException

isAbleToReleaseToWms

public boolean isAbleToReleaseToWms()
                             throws SystemException,
                                    BusinessException
Specified by:
isAbleToReleaseToWms in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getSettlementValue

public Money getSettlementValue()
                         throws SystemException,
                                BusinessException
Description copied from interface: CustomerOrderLine
Returns the total settlement value for all shipped container lines for this order line.

Specified by:
getSettlementValue in interface CustomerOrderLine
Returns:
Money settlement value of this line
Throws:
SystemException
BusinessException

getShipTo

public ShipTo getShipTo()
                 throws SystemException
Specified by:
getShipTo in interface CustomerOrderLine
Throws:
SystemException

getDemandStatus

public DemandStatus getDemandStatus()
                             throws SystemException
Specified by:
getDemandStatus in interface CustomerOrderLine
Throws:
SystemException

setDemandStatus

public void setDemandStatus(DemandStatus demandStatus)
                     throws SystemException
Throws:
SystemException

setNoLongerAvailableQuantity

public void setNoLongerAvailableQuantity(Quantity noLongerAvailableQuantity)
                                  throws SystemException
Throws:
SystemException

getNoLongerAvailableQuantity

public Quantity getNoLongerAvailableQuantity()
                                      throws SystemException
Throws:
SystemException

confirmCancelAtPackComponentLevel

public void confirmCancelAtPackComponentLevel(Quantity cancelQuantity,
                                              Warehouse physicalWarehouse)
                                       throws SystemException,
                                              BusinessException
Specified by:
confirmCancelAtPackComponentLevel in interface CustomerOrderLine
Throws:
SystemException
BusinessException

confirmCancel

public void confirmCancel(Quantity cancelQuantity,
                          Warehouse physicalWarehouse)
                   throws SystemException,
                          BusinessException
Specified by:
confirmCancel in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getActualComponentCancelledQuantity

public Quantity getActualComponentCancelledQuantity()
                                             throws SystemException
Specified by:
getActualComponentCancelledQuantity in interface CustomerOrderLine
Throws:
SystemException

getFullPackQtyToBeCancelledFromActualCancelledCompQtys

public Quantity getFullPackQtyToBeCancelledFromActualCancelledCompQtys()
                                                                throws SystemException
Specified by:
getFullPackQtyToBeCancelledFromActualCancelledCompQtys in interface CustomerOrderLine
Throws:
SystemException

publishCancelRequestToWMSFromStateMachine

public void publishCancelRequestToWMSFromStateMachine()
                                               throws SystemException
Throws:
SystemException

isWarehouseSpecialHandling

public boolean isWarehouseSpecialHandling()
                                   throws SystemException
Specified by:
isWarehouseSpecialHandling in interface CustomerOrderLine
Throws:
SystemException

setWarehouseSpecialHandling

public void setWarehouseSpecialHandling(boolean warehouseSpecialHandling)
                                 throws SystemException
Specified by:
setWarehouseSpecialHandling in interface CustomerOrderLine
Throws:
SystemException

getWarehouseMessage

public java.lang.String getWarehouseMessage()
                                     throws SystemException
Specified by:
getWarehouseMessage in interface CustomerOrderLine
Throws:
SystemException

setWarehouseMessage

public void setWarehouseMessage(java.lang.String warehouseMessage)
                         throws SystemException,
                                BusinessException
Specified by:
setWarehouseMessage in interface CustomerOrderLine
Throws:
SystemException
BusinessException

isMailOrderPreBatch

public boolean isMailOrderPreBatch()
                            throws SystemException
Description copied from interface: CustomerOrderLine
Returns true if this line belongs to a mail order whose batch has not yet been released.

Specified by:
isMailOrderPreBatch in interface CustomerOrderLine
Returns:
boolean
Throws:
SystemException

getMonogramServiceLine

public CustomerOrderMonogramServiceLine getMonogramServiceLine()
                                                        throws SystemException
Specified by:
getMonogramServiceLine in interface CustomerOrderLine
Throws:
SystemException

getPersonalizationServiceLine

public CustomerOrderPersonalizationServiceLine getPersonalizationServiceLine()
                                                                      throws SystemException
Specified by:
getPersonalizationServiceLine in interface CustomerOrderLine
Throws:
SystemException

getDiscounts

public java.util.Set getDiscounts()
                           throws SystemException
Specified by:
getDiscounts in interface CustomerOrderLine
Throws:
SystemException

applyOrderLineDiscount

public void applyOrderLineDiscount(Discount discount)
                            throws SystemException,
                                   BusinessException
Throws:
SystemException
BusinessException

getTransactionGroup

public CustomerOrderTransactionGroup getTransactionGroup()
                                                  throws SystemException
Specified by:
getTransactionGroup in interface CustomerOrderTransactionItem
Throws:
SystemException

isInClosedTransactionGroup

public boolean isInClosedTransactionGroup()
                                   throws SystemException
Specified by:
isInClosedTransactionGroup in interface CustomerOrderTransactionItem
Throws:
SystemException

setTransactionGroup

public void setTransactionGroup(CustomerOrderTransactionGroup transactionGroup)
                         throws SystemException
Specified by:
setTransactionGroup in interface CustomerOrderTransactionItem
Throws:
SystemException

notifyTransactionGroupClosed

public void notifyTransactionGroupClosed()
                                  throws SystemException
Specified by:
notifyTransactionGroupClosed in interface CustomerOrderTransactionItem
Throws:
SystemException

isCreditForTransactionGroupBalance

public boolean isCreditForTransactionGroupBalance()
                                           throws SystemException
Specified by:
isCreditForTransactionGroupBalance in interface CustomerOrderTransactionItem
Throws:
SystemException

isDebitForTransactionGroupBalance

public boolean isDebitForTransactionGroupBalance()
                                          throws SystemException
Specified by:
isDebitForTransactionGroupBalance in interface CustomerOrderTransactionItem
Throws:
SystemException

getTransactionItemAmount

public Money getTransactionItemAmount()
                               throws SystemException,
                                      BusinessException
Specified by:
getTransactionItemAmount in interface CustomerOrderTransactionItem
Throws:
SystemException
BusinessException

getComment

public java.lang.String getComment()
                            throws SystemException
Specified by:
getComment in interface CustomerOrderLine
Throws:
SystemException

setComment

public void setComment(java.lang.String comment)
                throws SystemException
Specified by:
setComment in interface CustomerOrderLine
Throws:
SystemException

getMerchPromotionDiscountValue

public Money getMerchPromotionDiscountValue()
                                     throws SystemException
Description copied from interface: CustomerOrderLine
Return the merchandise promotion discount value for the order line (sum of all of its merch. promotion discount records).

Specified by:
getMerchPromotionDiscountValue in interface CustomerOrderLine
Returns:
Money merchandise promotion discount
Throws:
SystemException

getTotalPromotionDiscountValue

public Money getTotalPromotionDiscountValue()
                                     throws SystemException
Description copied from interface: CustomerOrderLine
Return the total promotion discount value for the order line (sum of all of its promotion discount records, including discounts for any child object promotion discount records).

Specified by:
getTotalPromotionDiscountValue in interface CustomerOrderLine
Returns:
Money total promotion discount
Throws:
SystemException

addVirtualWhReservationValue

public void addVirtualWhReservationValue(VirtualWhReservationValue virtualWhResValue)
                                  throws SystemException
Specified by:
addVirtualWhReservationValue in interface CustomerOrderLine
Throws:
SystemException

getAdditionalShippingPromotionalDiscountValue

public Money getAdditionalShippingPromotionalDiscountValue()
                                                    throws SystemException
Description copied from interface: CustomerOrderLine
Return the additional promotion discount value for the order line (sum of all of its additional s&h promotion discount records).

Specified by:
getAdditionalShippingPromotionalDiscountValue in interface CustomerOrderLine
Returns:
Money additional shipping promotion discount
Throws:
SystemException

getAdditionalShippingPromotionalDiscountValue

public Money getAdditionalShippingPromotionalDiscountValue(Quantity prevQty,
                                                           Quantity qty)
                                                    throws SystemException
Throws:
SystemException

getPromotionDiscounts

public java.util.Collection getPromotionDiscounts()
                                           throws SystemException
Description copied from interface: CustomerOrderLine
Return promotion discount records applicable to the order line (only those discounts that are stored at this order line).

Specified by:
getPromotionDiscounts in interface CustomerOrderLine
Returns:
Collection order line promotion discounts
Throws:
SystemException

getAllPromotionDiscounts

public java.util.Collection getAllPromotionDiscounts()
                                              throws SystemException
Description copied from interface: CustomerOrderLine
Return all promotion discount records applicable to the order line. This will return any promotion discounts at the order line level and any discounts from its child service lines. If the order line is a pack it will also return any promotion discounts from its child pack component lines.

Specified by:
getAllPromotionDiscounts in interface CustomerOrderLine
Returns:
Collection all order line promotion discounts
Throws:
SystemException

addPromotionDiscount

public void addPromotionDiscount(CustomerOrderPromotionDiscountImpl discount)
                          throws SystemException
Description copied from interface: PromotionDiscountable
Add a promotion discount to the business object.

Specified by:
addPromotionDiscount in interface PromotionDiscountable
Parameters:
discount - customer order promotion discount
Throws:
SystemException

isExchangeSaleLine

public boolean isExchangeSaleLine()
                           throws SystemException
Specified by:
isExchangeSaleLine in interface CustomerOrderTransactionItem
Throws:
SystemException

isPackLine

public boolean isPackLine()
                   throws SystemException
Specified by:
isPackLine in interface CustomerOrderLine
Throws:
SystemException

isPackComponentLine

public boolean isPackComponentLine()
                            throws SystemException
Specified by:
isPackComponentLine in interface CustomerOrderLine
Throws:
SystemException

isReplacementSaleLine

public boolean isReplacementSaleLine()
                              throws SystemException
Specified by:
isReplacementSaleLine in interface CustomerOrderTransactionItem
Throws:
SystemException

isPromotionBenefitLine

public boolean isPromotionBenefitLine()
                               throws SystemException
Specified by:
isPromotionBenefitLine in interface CustomerOrderLine
Throws:
SystemException

clearPromotionDiscounts

public void clearPromotionDiscounts()
                             throws SystemException
Description copied from interface: PromotionDiscountable
Clear all non-locked promotion discounts on the business object.

Specified by:
clearPromotionDiscounts in interface PromotionDiscountable
Throws:
SystemException

getPackComponentLines

public java.util.Set getPackComponentLines()
                                    throws SystemException
Specified by:
getPackComponentLines in interface CustomerOrderLine
Throws:
SystemException

getComponentLine

public CustomerOrderLine getComponentLine(java.lang.String skuId)
                                   throws SystemException,
                                          BusinessException
Specified by:
getComponentLine in interface CustomerOrderLine
Throws:
SystemException
BusinessException

getPackComponentVirtualWarehouseReservedQuantity

public Quantity getPackComponentVirtualWarehouseReservedQuantity()
                                                          throws SystemException
Throws:
SystemException

getPackComponentReservedQuantity

public Quantity getPackComponentReservedQuantity()
                                          throws SystemException
Throws:
SystemException

getPackComponentShippedQuantity

public Quantity getPackComponentShippedQuantity()
                                         throws SystemException
Throws:
SystemException

getPackComponentShippedQuantity

public Quantity getPackComponentShippedQuantity(java.util.Map componentAddtlLineQtyMap)
                                         throws SystemException
Throws:
SystemException

getTotalActualBackorderedQuantity

public Quantity getTotalActualBackorderedQuantity()
                                           throws SystemException
Specified by:
getTotalActualBackorderedQuantity in interface CustomerOrderLine
Throws:
SystemException

getTotalActualFulfillingQuantity

public Quantity getTotalActualFulfillingQuantity()
                                          throws SystemException
Specified by:
getTotalActualFulfillingQuantity in interface CustomerOrderLine
Throws:
SystemException

isPackReservedFufilledShippedFullyAtPackLevel

public boolean isPackReservedFufilledShippedFullyAtPackLevel()
                                                      throws SystemException
Throws:
SystemException

isPackReservedFufilledShippedFullyAtSkuLevel

public boolean isPackReservedFufilledShippedFullyAtSkuLevel()
                                                     throws SystemException
Throws:
SystemException

getTotalActualReservedQuantity

public Quantity getTotalActualReservedQuantity()
                                        throws SystemException
Specified by:
getTotalActualReservedQuantity in interface CustomerOrderLine
Throws:
SystemException

getTotalActualShippedQuantity

public Quantity getTotalActualShippedQuantity()
                                       throws SystemException
Specified by:
getTotalActualShippedQuantity in interface CustomerOrderLine
Throws:
SystemException

getCreateDate

public RDate getCreateDate()
                    throws SystemException
Specified by:
getCreateDate in interface CustomerOrderLine
Throws:
SystemException

getChargedTax

protected Money getChargedTax(Money quotedTax,
                              CustomerOrderLineImpl.ChargedTaxGetter taxGetter)
                       throws SystemException,
                              BusinessException
Throws:
SystemException
BusinessException

getChargedWithProratedQuotedTax

protected Money getChargedWithProratedQuotedTax(Money quotedTaxAdjustedForCancelledQty,
                                                CustomerOrderLineImpl.ChargedTaxGetter taxGetter)
                                         throws SystemException,
                                                BusinessException
Throws:
SystemException
BusinessException

getAcceptedPromotion

public Promotion getAcceptedPromotion()
                               throws SystemException
Specified by:
getAcceptedPromotion in interface CustomerOrderLine
Throws:
SystemException

setAcceptedPromotionRef

public void setAcceptedPromotionRef(DistributedReference promotionRef)
                             throws SystemException
Throws:
SystemException

setPromotionAcceptanceComplete

public void setPromotionAcceptanceComplete(boolean acceptanceComplete)
                                    throws SystemException
Throws:
SystemException

isPromotionAcceptanceComplete

public boolean isPromotionAcceptanceComplete()
                                      throws SystemException
Specified by:
isPromotionAcceptanceComplete in interface CustomerOrderLine
Throws:
SystemException

isBenefitLineForPromotion

public boolean isBenefitLineForPromotion(Promotion promotion)
                                  throws SystemException
Throws:
SystemException

isFreeBenefitLine

public boolean isFreeBenefitLine()
                          throws SystemException
Throws:
SystemException

getAllServiceLines

public java.util.Set getAllServiceLines()
                                 throws SystemException
Specified by:
getAllServiceLines in interface CustomerOrderLine
Throws:
SystemException

getSellingList

public SellingList getSellingList()
                           throws SystemException
Specified by:
getSellingList in interface CustomerOrderLine
Throws:
SystemException

setSellingList

public void setSellingList(SellingList list)
                    throws SystemException
Specified by:
setSellingList in interface CustomerOrderLine
Throws:
SystemException

onStateChange

public void onStateChange(com.retek.fsm.State originalState,
                          com.retek.fsm.State newState)
Specified by:
onStateChange in interface com.retek.fsm.FSMAble

isAltSellingLine

public boolean isAltSellingLine()
                         throws SystemException
Specified by:
isAltSellingLine in interface CustomerOrderLine
Throws:
SystemException

createNoCustomerInformationReturnSearchCriteria

public NoCustomerInformationReturnSearchCriteria createNoCustomerInformationReturnSearchCriteria()
                                                                                          throws SystemException
Specified by:
createNoCustomerInformationReturnSearchCriteria in interface CustomerOrderLine
Throws:
SystemException

getRegistryType

public java.lang.String getRegistryType()
                                 throws SystemException
Specified by:
getRegistryType in interface CustomerOrderLine
Throws:
SystemException

getRegistryNumber

public java.lang.String getRegistryNumber()
                                   throws SystemException
Specified by:
getRegistryNumber in interface CustomerOrderLine
Throws:
SystemException

setRegistryType

public void setRegistryType(java.lang.String registryType)
                     throws SystemException
Specified by:
setRegistryType in interface CustomerOrderLine
Throws:
SystemException

setRegistryNumber

public void setRegistryNumber(java.lang.String registryNumber)
                       throws SystemException
Specified by:
setRegistryNumber in interface CustomerOrderLine
Throws:
SystemException

isRegistryUpdated

public boolean isRegistryUpdated()
                          throws SystemException
Specified by:
isRegistryUpdated in interface CustomerOrderLine
Throws:
SystemException

getRegistryUpdateDate

public RDate getRegistryUpdateDate()
                            throws SystemException
Specified by:
getRegistryUpdateDate in interface CustomerOrderLine
Throws:
SystemException

setRegistryUpdateDate

public void setRegistryUpdateDate(RDate registryUpdateDate)
                           throws SystemException
Specified by:
setRegistryUpdateDate in interface CustomerOrderLine
Throws:
SystemException

isReservedAtOrderLineLevel

public boolean isReservedAtOrderLineLevel()
                                   throws SystemException
Specified by:
isReservedAtOrderLineLevel in interface CustomerOrderLine
Throws:
SystemException

isReservedAtComponentLineLevel

public boolean isReservedAtComponentLineLevel()
                                       throws SystemException
Specified by:
isReservedAtComponentLineLevel in interface CustomerOrderLine
Throws:
SystemException

getFSMAblesForNotification

public java.util.List getFSMAblesForNotification()

getPackComponentLine

public CustomerOrderLine getPackComponentLine(java.lang.String sellingSkuDisplayCode)
                                       throws SystemException
Specified by:
getPackComponentLine in interface CustomerOrderLine
Throws:
SystemException

getRegistryPurchaseState

public java.lang.String getRegistryPurchaseState()
                                          throws SystemException
Specified by:
getRegistryPurchaseState in interface CustomerOrderLine
Throws:
SystemException

getRegistryCancelState

public java.lang.String getRegistryCancelState()
                                        throws SystemException
Specified by:
getRegistryCancelState in interface CustomerOrderLine
Throws:
SystemException

setRegistryPurchaseState

public void setRegistryPurchaseState(java.lang.String publishState)
                              throws SystemException
Specified by:
setRegistryPurchaseState in interface CustomerOrderLine
Throws:
SystemException

setRegistryCancelState

public void setRegistryCancelState(java.lang.String publishState)
                            throws SystemException
Specified by:
setRegistryCancelState in interface CustomerOrderLine
Throws:
SystemException

getOriginalRequestedQuantity

public Quantity getOriginalRequestedQuantity()

resetOriginalRequestedQuantity

public void resetOriginalRequestedQuantity()

getOriginalShipToAddress

public CustomerAddress getOriginalShipToAddress()
                                         throws SystemException
Throws:
SystemException

resetOriginalShipToAddress

public void resetOriginalShipToAddress()


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28