|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.customerorder.impl.CustomerOrderLineImpl
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 |
public CustomerOrderLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow) throws SystemException
public CustomerOrderLineImpl(DistributedContext context, DistributedReference ref, User user) throws SystemException, BusinessException
Method Detail |
public OrderLineDto getDto() throws SystemException
SystemException
protected Dto createEmptyDto() throws SystemException
createEmptyDto
in class DistributedObjectImpl
SystemException
protected Dto readLatest() throws SystemException
readLatest
in class DistributedObjectImpl
SystemException
public User getCreatedByUser() throws SystemException, BusinessException
getCreatedByUser
in interface CustomerOrderLine
SystemException
BusinessException
public User getLastUpdatedByUser() throws SystemException
getLastUpdatedByUser
in interface CustomerOrderLine
SystemException
public RDate getLastUpdateDate() throws SystemException
getLastUpdateDate
in interface CustomerOrderLine
SystemException
public void setSellingSku(SellingSku sellingSku) throws SystemException, BusinessException
setSellingSku
in interface CustomerOrderLine
SystemException
BusinessException
public Discount getEmployeeDiscount() throws SystemException
getEmployeeDiscount
in interface CustomerOrderLine
SystemException
public SellingSku getSellingSku() throws SystemException
getSellingSku
in interface CustomerOrderLine
SystemException
public Quantity getRequestedQuantity() throws SystemException
getRequestedQuantity
in interface CustomerOrderLine
SystemException
public void pruneWarehouseReservationValues() throws SystemException
pruneWarehouseReservationValues
in interface CustomerOrderLine
SystemException
public Quantity getQuantity() throws SystemException
getQuantity
in interface CustomerOrderLine
SystemException
public Quantity getActualQuantityToBeFulfilled() throws SystemException
CustomerOrderLine
getActualQuantityToBeFulfilled
in interface CustomerOrderLine
SystemException
public Quantity getActualReservedQuantity() throws SystemException
CustomerOrderLine
getActualReservedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getActualBackorderedQuantity() throws SystemException
CustomerOrderLine
getActualBackorderedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getActualVirtualWarehouseReservedQuantity() throws SystemException
CustomerOrderLine
getActualVirtualWarehouseReservedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getActualShippedQuantity() throws SystemException
CustomerOrderLine
getActualShippedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getActualCancelledQuantity() throws SystemException
CustomerOrderLine
getActualCancelledQuantity
in interface CustomerOrderLine
SystemException
public Quantity getReservedQuantity() throws SystemException
CustomerOrderLine
getReservedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getBackorderedQuantity() throws SystemException
CustomerOrderLine
getBackorderedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getVirtualWarehouseReservedQuantity() throws SystemException
CustomerOrderLine
getVirtualWarehouseReservedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getCancelledQuantity() throws SystemException
CustomerOrderLine
getCancelledQuantity
in interface CustomerOrderLine
SystemException
public void setRequestedQuantity(Quantity quantity) throws SystemException
setRequestedQuantity
in interface CustomerOrderLine
SystemException
public void setRequestedQuantityUnchecked(Quantity qty) throws SystemException
setRequestedQuantityUnchecked
in interface CustomerOrderLineMerge
SystemException
public Money getPreviouslyRecordedDemandAmount() throws SystemException
getPreviouslyRecordedDemandAmount
in interface CustomerOrderLine
SystemException
public Quantity getPreviouslyRecordedDemandQuantity() throws SystemException
getPreviouslyRecordedDemandQuantity
in interface CustomerOrderLine
SystemException
public void setPreviouslyRecordedDemandAmount(Money amt) throws SystemException
SystemException
public void setPreviouslyRecordedDemandQuantity(Quantity qty) throws SystemException
SystemException
public Money getTotalAccommodationAmount() throws SystemException
getTotalAccommodationAmount
in interface CustomerOrderLine
SystemException
public Money getTotalReturnedExtendedPrice() throws SystemException, BusinessException
SystemException
BusinessException
public Money getExtendedPrice() throws SystemException
getExtendedPrice
in interface CustomerOrderLine
SystemException
public java.math.BigDecimal getReturnUnitPrice() throws SystemException
CustomerOrderLine
getReturnUnitPrice
in interface CustomerOrderLine
SystemException
public Quantity getChargeableQuantity() throws SystemException
CustomerOrderLine
getChargeableQuantity
in interface CustomerOrderLine
SystemException
public Money getExtendedPriceLessAccommodations() throws SystemException
getExtendedPriceLessAccommodations
in interface CustomerOrderLine
SystemException
public Money getExtendedPrice(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
getExtendedPrice
in interface CustomerOrderLine
SystemException
BusinessException
public Money getExtendedPriceForTaxInvoiceLine(Quantity prevQty, Quantity qty, boolean applyPreShipmentAccommodations) throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalNetExtendedPrice() throws SystemException
CustomerOrderLine
getTotalNetExtendedPrice
in interface CustomerOrderLine
SystemException
public Money getTotalNetAdditionalShippingCharge() throws SystemException
CustomerOrderLine
getTotalNetAdditionalShippingCharge
in interface CustomerOrderLine
SystemException
public Money getTotalNetGiftServiceCharge() throws SystemException
CustomerOrderLine
getTotalNetGiftServiceCharge
in interface CustomerOrderLine
SystemException
public Money getTotalNetPersonalizationServiceCharge() throws SystemException
CustomerOrderLine
getTotalNetPersonalizationServiceCharge
in interface CustomerOrderLine
SystemException
public Money getTotalNetAccommodationAmount(AccommodationTypeEnum accommodationType, AccommodationShippingSubTypeEnum shippingSubtype) throws SystemException
SystemException
public Money getTotalMerchChargeForStandardShipping() throws SystemException, BusinessException
getTotalMerchChargeForStandardShipping
in interface CustomerOrderLine
SystemException
BusinessException
public Money getTotalMerchChargeForStandardShipping(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
SystemException
BusinessException
public Money getTotalMerchChargeForRushShipping() throws SystemException, BusinessException
getTotalMerchChargeForRushShipping
in interface CustomerOrderLine
SystemException
BusinessException
public Money getTotalMerchChargeForRushShipping(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
SystemException
BusinessException
public OrderLineTypeEnum getOrderLineType() throws SystemException
getOrderLineType
in interface CustomerOrderLine
SystemException
public int getLineNumber() throws SystemException
getLineNumber
in interface CustomerOrderLine
SystemException
public Money getUnitPrice() throws SystemException
CustomerOrderLine
getUnitPrice
in interface CustomerOrderLine
SystemException
public Money getSellingSkuPrice() throws SystemException
CustomerOrderLine
getSellingSkuPrice
in interface CustomerOrderLine
SystemException
public void setSellingSkuPrice(Money sellingSkuPrice) throws SystemException
SystemException
public RDate getOriginalEstimatedDeliveryDate() throws SystemException
getOriginalEstimatedDeliveryDate
in interface CustomerOrderLine
SystemException
public RDate getEstimatedDeliveryDate() throws SystemException
getEstimatedDeliveryDate
in interface CustomerOrderLine
SystemException
public RDate getLastNotifiedEstimatedDeliveryDate() throws SystemException
getLastNotifiedEstimatedDeliveryDate
in interface CustomerOrderLine
SystemException
public int getNumberOfBackorderNotificationsSent() throws SystemException
getNumberOfBackorderNotificationsSent
in interface CustomerOrderLine
SystemException
public RDate getEstimatedShipDate() throws SystemException
getEstimatedShipDate
in interface CustomerOrderLine
SystemException
public DirectShipOrder getDirectShipOrder() throws SystemException
getDirectShipOrder
in interface CustomerOrderLine
SystemException
public java.lang.String getDirectShipSupplierId() throws SystemException
getDirectShipSupplierId
in interface CustomerOrderLine
SystemException
public RDate getSupplierStartDate() throws SystemException
SystemException
public Supplier getDirectShipSupplier() throws SystemException, BusinessException
getDirectShipSupplier
in interface CustomerOrderLine
SystemException
BusinessException
public void setConfirmedDirectShipSupplier(Supplier supplier) throws SystemException
setConfirmedDirectShipSupplier
in interface CustomerOrderLine
SystemException
public Money getExtendedAdditionalShippingCharge() throws SystemException
getExtendedAdditionalShippingCharge
in interface CustomerOrderLine
SystemException
public Money getExtendedAdditionalShippingCharge(Quantity prevQty, Quantity qty) throws SystemException
getExtendedAdditionalShippingCharge
in interface CustomerOrderLine
SystemException
public boolean isPersonalHold() throws SystemException
isPersonalHold
in interface CustomerOrderLine
SystemException
public boolean isGiftCertificate() throws SystemException
isGiftCertificate
in interface CustomerOrderLine
SystemException
public boolean isGiftCard() throws SystemException
isGiftCard
in interface CustomerOrderLine
SystemException
public boolean isDirectShip() throws SystemException
isDirectShip
in interface CustomerOrderLine
SystemException
public boolean isPackComponentDirectShip() throws SystemException
isPackComponentDirectShip
in interface CustomerOrderLine
SystemException
public boolean isZeroSaleLine() throws SystemException
isZeroSaleLine
in interface CustomerOrderLine
SystemException
public void setDirectShipOrder(DirectShipOrder dso, User user) throws OrderLineNotDirectShipException, BusinessException, SystemException
setDirectShipOrder
in interface CustomerOrderLine
OrderLineNotDirectShipException
BusinessException
SystemException
public OrderCancelReason getCancelReason() throws SystemException
getCancelReason
in interface CustomerOrderLine
SystemException
public OrderPartialLineReason getPartialLineReason() throws SystemException
getPartialLineReason
in interface CustomerOrderLine
SystemException
public SourceCode getDefaultOrderLineSourceCode() throws SystemException, BusinessException
getDefaultOrderLineSourceCode
in interface CustomerOrderLine
SystemException
BusinessException
public CustomerAddress getPreviousShipToAddress() throws SystemException
SystemException
public CustomerAddress getShipToAddress() throws SystemException
CustomerOrderLine
getShipToAddress
in interface CustomerOrderLine
SystemException
public Customer getGiftRecipientShipToCustomer() throws SystemException
CustomerOrderLine
getGiftRecipientShipToCustomer
in interface CustomerOrderLine
SystemException
public java.util.Set getShippedContainerLines() throws SystemException
getShippedContainerLines
in interface CustomerOrderLine
SystemException
public void clearOldShipToAddress()
public void setShipToAddress(CustomerAddress address) throws SystemException, BusinessException
setShipToAddress
in interface CustomerOrderLine
SystemException
BusinessException
public void setShipToAddressUnchecked(CustomerAddress address) throws SystemException, BusinessException
SystemException
BusinessException
public void setShipTo(ShipTo shipTo) throws SystemException
SystemException
public void setLineNumber(int lineNumber) throws SystemException
setLineNumber
in interface CustomerOrderLine
SystemException
public void setCancelDate(RDate cancellationDate) throws SystemException
SystemException
public void shipConfirm(ShippedContainerLine shipConf, User user) throws SystemException, BusinessException
shipConfirm
in interface CustomerOrderLine
SystemException
BusinessException
public void addHistoryEventRequest(HistoryEventRequest eventRequest) throws SystemException
SystemException
public void cancel(OrderCancelReason reason, User user) throws SystemException, BusinessException
cancel
in interface CustomerOrderLine
SystemException
BusinessException
public void virtualWarehouseReserve(User user) throws SystemException, BusinessException
CustomerOrderLine
virtualWarehouseReserve
in interface CustomerOrderLine
SystemException
BusinessException
public Warehouse getVirtualWarehouse(Warehouse physicalWarehouse) throws SystemException
SystemException
public void cancelOnParentPackLineCancellation(User user) throws SystemException, BusinessException
SystemException
BusinessException
public void cancelAndReleaseATP(OrderCancelReason reason, User user) throws SystemException, BusinessException
cancelAndReleaseATP
in interface CustomerOrderLine
SystemException
BusinessException
public void setCancelReason(OrderCancelReason reason) throws SystemException
SystemException
public void setPartialLineReason(OrderPartialLineReason reason) throws SystemException
setPartialLineReason
in interface CustomerOrderLine
SystemException
public void reserve(User user) throws BusinessException, ItemNotAvailableException, SystemException
BusinessException
ItemNotAvailableException
SystemException
public Store getVirtualStore() throws SystemException, BusinessException
getVirtualStore
in interface CustomerOrderLine
SystemException
BusinessException
public Media getMedia() throws SystemException
getMedia
in interface CustomerOrderLine
SystemException
public int getMaxHandlingDays() throws SystemException, BusinessException
SystemException
BusinessException
public void recalculateEstimatedShipDate() throws SystemException, BusinessException
SystemException
BusinessException
public void recalculateEstimatedDeliveryDate(boolean resetOriginalECCD) throws SystemException, BusinessException
SystemException
BusinessException
public void recalculateEstimatedDeliveryDate() throws SystemException, BusinessException
recalculateEstimatedDeliveryDate
in interface CustomerOrderLine
SystemException
BusinessException
public boolean isEventHold() throws BusinessException, SystemException
BusinessException
SystemException
public void setActualBackorderedQuanity(Quantity quantity) throws SystemException
SystemException
public void setDirectShipSupplierId(java.lang.String directShipSupplierId) throws SystemException
SystemException
public void setDirectShipSupplierStartDate(RDate directShipSupplierStartDate) throws SystemException
SystemException
public void setActualVirtualWarehouseReservedQuantity(Quantity reservedQuantity) throws SystemException
SystemException
public void setActualReservedQuantity(Quantity quantity) throws SystemException
SystemException
public RDate getDeliveryDateBeforeProcessTogether() throws SystemException
SystemException
public void setDeliveryDateBeforeProcessTogether(RDate date) throws SystemException
SystemException
public void setEstimatedDeliveryDateForProcessTogetherChange() throws SystemException, BusinessException
SystemException
BusinessException
public void setEstimatedDeliveryDateForProcessTogether(RDate date) throws SystemException, BusinessException
SystemException
BusinessException
public void setEstimatedDeliveryDate(RDate date) throws SystemException, BusinessException
SystemException
BusinessException
public void calculateShipDate(RDate updatedDeliveryDate) throws SystemException, BusinessException
SystemException
BusinessException
public RDate getDateUpdatedForCarrierCutOffTime(RDate date) throws SystemException
SystemException
public void setPersonalHoldDate(RDate personalHoldDate) throws SystemException
SystemException
public RDate getPersonalHoldDate() throws SystemException
getPersonalHoldDate
in interface CustomerOrderLine
SystemException
public void setLastNotifiedEstimatedDeliveryDate(RDate date) throws SystemException
setLastNotifiedEstimatedDeliveryDate
in interface CustomerOrderLine
SystemException
public void incrementNumberOfBackorderNotificationsSent() throws SystemException
incrementNumberOfBackorderNotificationsSent
in interface CustomerOrderLine
SystemException
public void setEstimatedShipDate(RDate date) throws SystemException
setEstimatedShipDate
in interface CustomerOrderLine
SystemException
public void generatePersonalHoldHistory(User user) throws SystemException, BusinessException
SystemException
BusinessException
public boolean isNew() throws SystemException
CustomerOrderLine
isNew
in interface CustomerOrderLine
SystemException
public boolean isCancelled() throws SystemException
isCancelled
in interface CustomerOrderLine
SystemException
public boolean isShipped() throws SystemException
isShipped
in interface CustomerOrderLine
SystemException
public boolean isReserving() throws SystemException
SystemException
public boolean isReserved() throws SystemException
CustomerOrderLine
isReserved
in interface CustomerOrderLine
SystemException
public boolean isModifiable() throws SystemException
CustomerOrderLine
isModifiable
in interface CustomerOrderLine
SystemException
protected void checkModifiable() throws SystemException
SystemException
public OrderLineDto getOrderLineDto() throws SystemException
SystemException
public void adjustQuotedLineValues() throws SystemException
SystemException
public void clearQuotedExtendedValues() throws SystemException
SystemException
public void clearQuotedTaxValues() throws SystemException
SystemException
public void setQuotedTaxValues(Money quotedExtendedTax, Money quotedExtendedAdditionalShippingTax, Money quotedTotalPersonalizationServiceTax, Money quotedTotalGiftServiceTax) throws SystemException
SystemException
public Money adjustForCancellation(Quantity cancelThisTimeQty) throws SystemException, BusinessException
SystemException
BusinessException
public Money getExtendedMerchTax() throws BusinessException, SystemException
getExtendedMerchTax
in interface CustomerOrderLine
BusinessException
SystemException
public Money getExtendedMerchTax(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
getExtendedMerchTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getValueAddedServiceTax() throws SystemException, BusinessException
getValueAddedServiceTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getValueAddedServiceTax(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
getValueAddedServiceTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getTotalPersonalizationServiceTax(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
CustomerOrderLine
getTotalPersonalizationServiceTax
in interface CustomerOrderLine
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.
SystemException
BusinessException
public Money getTotalPersonalizationServiceTax() throws SystemException, BusinessException
CustomerOrderLine
getTotalPersonalizationServiceTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getTotalGiftServiceTax(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
CustomerOrderLine
getTotalGiftServiceTax
in interface CustomerOrderLine
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.
SystemException
BusinessException
public Money getTotalGiftServiceTax() throws SystemException, BusinessException
CustomerOrderLine
getTotalGiftServiceTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getExtendedAdditionalShippingTax() throws SystemException, BusinessException
getExtendedAdditionalShippingTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getExtendedAdditionalShippingTax(Quantity prevQty, Quantity qty) throws SystemException, BusinessException
getExtendedAdditionalShippingTax
in interface CustomerOrderLine
SystemException
BusinessException
public Money getTotalTaxAmount() throws SystemException, BusinessException
CustomerOrderLine
getTotalTaxAmount
in interface CustomerOrderLine
SystemException
BusinessException
public TaxInvoiceLineItem toTaxInvoiceLineItem(boolean applyPreShipmentAccommodations) throws BusinessException, SystemException
BusinessException
SystemException
public TaxInvoiceLineItem toTaxInvoiceLineItemByQuantity(Quantity prevQty, Quantity qty, boolean applyPreShipmentAccommodations) throws BusinessException, SystemException
BusinessException
SystemException
public ShippingMethod getShippingMethod() throws SystemException
getShippingMethod
in interface CustomerOrderLine
SystemException
public int getMaxCarrierTransitDays() throws SystemException, BusinessException
CustomerOrderLine
getMaxCarrierTransitDays
in interface CustomerOrderLine
SystemException
BusinessException
public int getCarrierTransitDays() throws SystemException, BusinessException
CustomerOrderLine
getCarrierTransitDays
in interface CustomerOrderLine
SystemException
BusinessException
public void setShippingMethod(ShippingMethod shippingMethod) throws InvalidShippingMethodForSellableItemException, BusinessException, SystemException
setShippingMethod
in interface CustomerOrderLine
InvalidShippingMethodForSellableItemException
BusinessException
SystemException
public RDate getCancelledDate() throws SystemException
getCancelledDate
in interface CustomerOrderLine
SystemException
public RDate getReleaseDate() throws SystemException
getReleaseDate
in interface CustomerOrderLine
SystemException
public void setReleaseDate(RDate date) throws SystemException
SystemException
public boolean isWrapTogether() throws SystemException
isWrapTogether
in interface CustomerOrderLine
SystemException
public boolean isReturnable() throws SystemException
CustomerOrderLine
isReturnable
in interface CustomerOrderLine
SystemException
public boolean canApplyTaxAccommodation() throws SystemException
canApplyTaxAccommodation
in interface CustomerOrderLine
SystemException
public void addTaxAccomodation(TaxAccommodation taxAccommodation) throws SystemException, BusinessException
SystemException
BusinessException
public java.util.Set getTaxAccommodations() throws SystemException
getTaxAccommodations
in interface CustomerOrderLine
SystemException
public java.util.Set getGeneralAccommodations() throws SystemException
getGeneralAccommodations
in interface CustomerOrderLine
SystemException
public ShippedContainer getMostRecentShippedContainer() throws SystemException
SystemException
public Quantity getReturnableQuantity() throws SystemException
CustomerOrderLine
getReturnableQuantity
in interface CustomerOrderLine
SystemException
public Quantity getReturnedQuantity() throws SystemException
SystemException
public java.util.List getReturnLines(boolean includeCancelledReturnLines) throws SystemException
getReturnLines
in interface CustomerOrderLine
SystemException
public java.util.Set getVirtualWhReservationValues() throws SystemException
CustomerOrderLine
getVirtualWhReservationValues
in interface CustomerOrderLine
SystemException
public boolean isRushDelivery() throws SystemException
isRushDelivery
in interface CustomerOrderLine
SystemException
public boolean isStandardDeliveryCharge() throws SystemException
isStandardDeliveryCharge
in interface CustomerOrderLine
SystemException
public boolean isVirtualWarehouseReservable() throws SystemException
CustomerOrderLine
isVirtualWarehouseReservable
in interface CustomerOrderLine
SystemException
public Carrier getCarrier() throws SystemException
getCarrier
in interface CustomerOrderLine
SystemException
public void setCarrier(Carrier aCarrier) throws SystemException, BusinessException
setCarrier
in interface CustomerOrderLine
SystemException
BusinessException
public Quantity getActualFulfillingQuantity() throws SystemException
CustomerOrderLine
getActualFulfillingQuantity
in interface CustomerOrderLine
SystemException
public Quantity getFulfillingQuantity() throws SystemException
CustomerOrderLine
getFulfillingQuantity
in interface CustomerOrderLine
SystemException
public void justPublishedToWms(User user, Quantity quantityToBeFullfilled) throws SystemException, BusinessException
SystemException
BusinessException
public boolean isAppliedToOrder() throws SystemException
isAppliedToOrder
in interface CustomerOrderLine
SystemException
public CustomerOrder getMailOrder() throws SystemException
SystemException
public CustomerOrder getOrder() throws SystemException
getOrder
in interface CustomerOrderLine
SystemException
public Quantity getShippedQuantity() throws SystemException
CustomerOrderLine
getShippedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getShippedQuantity(java.util.Map componentLineQtyMap) throws SystemException
SystemException
public Quantity getOrderedQuantity() throws SystemException
getOrderedQuantity
in interface CustomerOrderLine
SystemException
public void setActualShippedQuantity(Quantity shippingQuantity) throws SystemException
setActualShippedQuantity
in interface CustomerOrderLine
SystemException
public void setActualFulfillingQuantity(Quantity fulfillingQuantity) throws SystemException
setActualFulfillingQuantity
in interface CustomerOrderLine
SystemException
public java.lang.String getProcessTogether() throws SystemException
getProcessTogether
in interface CustomerOrderLine
SystemException
public void setProcessTogether(java.lang.String processTogether) throws SystemException
SystemException
public void doSetGenericEvent(GenericEvent holdEvent) throws BusinessException, SystemException
BusinessException
SystemException
public void setGenericEvent(GenericEvent genericEvent) throws SystemException, BusinessException
SystemException
BusinessException
public GenericEvent getGenericEvent() throws SystemException, BusinessException
getGenericEvent
in interface CustomerOrderLine
SystemException
BusinessException
public void calculateReleaseDate() throws BusinessException, SystemException
BusinessException
SystemException
public boolean isTaxCalculationRequired() throws SystemException
SystemException
public void accept(com.retek.fsm.Event event) throws SystemException, BusinessException
accept
in interface RcomRmmFsmable
SystemException
BusinessException
public void fireFromRemote() throws SystemException, BusinessException
fireFromRemote
in interface RcomRmmFsmable
SystemException
BusinessException
public com.retek.fsm.State getState()
getState
in interface CustomerOrderLine
public boolean inState(com.retek.fsm.State state) throws SystemException
RcomRmmFsmable
inState
in interface RcomRmmFsmable
state
- expected state
SystemException
public CustomerOrderLineStateModel getStateModel()
public void setActualComponentCancelledQuantity(Quantity quantity) throws SystemException
setActualComponentCancelledQuantity
in interface CustomerOrderLine
SystemException
public Quantity getActualPackLevelQuantity() throws SystemException
SystemException
public CustomerOrderLine getParentOrderLine() throws SystemException
getParentOrderLine
in interface CustomerOrderLine
SystemException
public ReservationValues getPreviousReservationValues() throws SystemException
SystemException
public PickExceptionStatusType getPickExceptionStatus() throws SystemException
getPickExceptionStatus
in interface CustomerOrderLine
SystemException
public void setPickExceptionStatus(PickExceptionStatusType pickExceptionStatus) throws SystemException
setPickExceptionStatus
in interface CustomerOrderLine
SystemException
public void pickException(PickExceptionStatusType pickExceptionStatus, Quantity quantity, Warehouse warehouse) throws InvalidIdException, BusinessException, SystemException
pickException
in interface CustomerOrderLine
InvalidIdException
BusinessException
SystemException
public java.util.Set getGiftServiceLines() throws SystemException
getGiftServiceLines
in interface CustomerOrderLine
SystemException
public java.util.Set getServiceLines() throws SystemException
getServiceLines
in interface CustomerOrderLine
SystemException
public CustomerOrderGiftServiceLine getGiftServiceLine(GiftServiceType giftServiceType) throws SystemException
SystemException
public void addServiceLine(CustomerOrderServiceLine serviceLine) throws BusinessException, SystemException
addServiceLine
in interface CustomerOrderLine
BusinessException
SystemException
public void clearGiftServiceLines() throws SystemException
SystemException
public void clearGiftServiceLine(GiftServiceType giftServiceType) throws SystemException
SystemException
public void clearSpecialHandling(User user) throws SystemException, BusinessException
SystemException
BusinessException
public boolean isShipToCustomerAlsoNotified() throws SystemException
isShipToCustomerAlsoNotified
in interface CustomerOrderLine
SystemException
public void setShipToCustomerAlsoNotified(boolean val) throws SystemException
setShipToCustomerAlsoNotified
in interface CustomerOrderLine
SystemException
public boolean isGift() throws SystemException
isGift
in interface CustomerOrderLine
SystemException
public void setGift(boolean gift) throws SystemException
setGift
in interface CustomerOrderLine
SystemException
public java.lang.String getWrapTogether() throws SystemException
getWrapTogether
in interface CustomerOrderLine
SystemException
public void setWrapTogether(java.lang.String wrapTogether) throws SystemException
SystemException
public void removeFromWrapTogether() throws SystemException
SystemException
public void removeFromWrapTogetherPreservingServiceLines() throws SystemException
SystemException
public void setGiftVoucherAmount(Money amount) throws SystemException
setGiftVoucherAmount
in interface CustomerOrderLine
SystemException
public void setParentOrderLine(CustomerOrderLine baseOrderLine) throws SystemException
SystemException
public void setReplacementReturnLine(ReturnLine returnLine) throws SystemException
SystemException
public ReturnLine getReplacementReturnLine() throws SystemException
getReplacementReturnLine
in interface CustomerOrderLine
SystemException
public java.util.Set getAvailableMonogramValueAddedServices() throws SystemException, BusinessException
getAvailableMonogramValueAddedServices
in interface CustomerOrderLine
SystemException
BusinessException
public java.util.Set getAvailablePersonalizationValueAddedServices() throws SystemException, BusinessException
getAvailablePersonalizationValueAddedServices
in interface CustomerOrderLine
SystemException
BusinessException
public GiftVoucherAttributes getGiftVoucherAttributes() throws SystemException
getGiftVoucherAttributes
in interface CustomerOrderLine
SystemException
public void removeAccommodation(Accommodation accommodation) throws SystemException
removeAccommodation
in interface CustomerOrderLine
SystemException
public void addAccommodation(Accommodation accommodation) throws SystemException, BusinessException
SystemException
BusinessException
public void addAccommodationAndGeneratePayment(Accommodation accommodation, Refundable refundable) throws SystemException, BusinessException
addAccommodationAndGeneratePayment
in interface CustomerOrderLine
SystemException
BusinessException
public java.util.List getAccommodations() throws SystemException
getAccommodations
in interface CustomerOrderLine
SystemException
public java.util.List getAccommodations(AccommodationTypeEnum type) throws SystemException
getAccommodations
in interface CustomerOrderLine
SystemException
public java.util.List getAccommodations(AccommodationTypeEnum type, AccommodationShippingSubTypeEnum shippingSubType) throws SystemException
getAccommodations
in interface CustomerOrderLine
SystemException
public java.util.Collection getAccommodationAdjustments(AccommodationTypeEnum type, AccommodationShippingSubTypeEnum shippingSubType) throws SystemException
SystemException
public Money getBaseAccommodationAmountOverMerchAmount() throws SystemException, BusinessException
SystemException
BusinessException
public CustomerOrderGiftServiceLine getOrderGiftServiceLine(CustomerOrderGiftServiceLineType type) throws SystemException
getOrderGiftServiceLine
in interface CustomerOrderLine
SystemException
public Money getTotalServiceCharge() throws SystemException
CustomerOrderLine
getTotalServiceCharge
in interface CustomerOrderLine
SystemException
public Money getTotalServiceCharge(Quantity prevQty, Quantity qty) throws SystemException
qty
- order line quantity to use in calculation
SystemException
public Money getTotalGiftServiceCharge() throws SystemException
CustomerOrderLine
getTotalGiftServiceCharge
in interface CustomerOrderLine
SystemException
public Money getTotalGiftServiceCharge(Quantity prevQty, Quantity qty) throws SystemException
CustomerOrderLine
getTotalGiftServiceCharge
in interface CustomerOrderLine
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.
SystemException
public Money getTotalPersonalizationServiceCharge() throws SystemException
CustomerOrderLine
getTotalPersonalizationServiceCharge
in interface CustomerOrderLine
SystemException
public Money getTotalPersonalizationServiceCharge(Quantity prevQty, Quantity qty) throws SystemException
CustomerOrderLine
getTotalPersonalizationServiceCharge
in interface CustomerOrderLine
SystemException
public void setOrderLineType(OrderLineTypeEnum orderLineType) throws SystemException
SystemException
public java.lang.String attributesToString()
attributesToString
in class DistributedObjectImpl
public boolean isFullyShipped() throws SystemException
SystemException
public boolean isFullyShipped(Quantity currentShippingQuantity) throws SystemException
SystemException
public void setReleaseToWms(boolean releaseToWms) throws SystemException
SystemException
public boolean isAbleToReleaseToWms() throws SystemException, BusinessException
isAbleToReleaseToWms
in interface CustomerOrderLine
SystemException
BusinessException
public Money getSettlementValue() throws SystemException, BusinessException
CustomerOrderLine
getSettlementValue
in interface CustomerOrderLine
SystemException
BusinessException
public ShipTo getShipTo() throws SystemException
getShipTo
in interface CustomerOrderLine
SystemException
public DemandStatus getDemandStatus() throws SystemException
getDemandStatus
in interface CustomerOrderLine
SystemException
public void setDemandStatus(DemandStatus demandStatus) throws SystemException
SystemException
public void setNoLongerAvailableQuantity(Quantity noLongerAvailableQuantity) throws SystemException
SystemException
public Quantity getNoLongerAvailableQuantity() throws SystemException
SystemException
public void confirmCancelAtPackComponentLevel(Quantity cancelQuantity, Warehouse physicalWarehouse) throws SystemException, BusinessException
confirmCancelAtPackComponentLevel
in interface CustomerOrderLine
SystemException
BusinessException
public void confirmCancel(Quantity cancelQuantity, Warehouse physicalWarehouse) throws SystemException, BusinessException
confirmCancel
in interface CustomerOrderLine
SystemException
BusinessException
public Quantity getActualComponentCancelledQuantity() throws SystemException
getActualComponentCancelledQuantity
in interface CustomerOrderLine
SystemException
public Quantity getFullPackQtyToBeCancelledFromActualCancelledCompQtys() throws SystemException
getFullPackQtyToBeCancelledFromActualCancelledCompQtys
in interface CustomerOrderLine
SystemException
public void publishCancelRequestToWMSFromStateMachine() throws SystemException
SystemException
public boolean isWarehouseSpecialHandling() throws SystemException
isWarehouseSpecialHandling
in interface CustomerOrderLine
SystemException
public void setWarehouseSpecialHandling(boolean warehouseSpecialHandling) throws SystemException
setWarehouseSpecialHandling
in interface CustomerOrderLine
SystemException
public java.lang.String getWarehouseMessage() throws SystemException
getWarehouseMessage
in interface CustomerOrderLine
SystemException
public void setWarehouseMessage(java.lang.String warehouseMessage) throws SystemException, BusinessException
setWarehouseMessage
in interface CustomerOrderLine
SystemException
BusinessException
public boolean isMailOrderPreBatch() throws SystemException
CustomerOrderLine
isMailOrderPreBatch
in interface CustomerOrderLine
SystemException
public CustomerOrderMonogramServiceLine getMonogramServiceLine() throws SystemException
getMonogramServiceLine
in interface CustomerOrderLine
SystemException
public CustomerOrderPersonalizationServiceLine getPersonalizationServiceLine() throws SystemException
getPersonalizationServiceLine
in interface CustomerOrderLine
SystemException
public java.util.Set getDiscounts() throws SystemException
getDiscounts
in interface CustomerOrderLine
SystemException
public void applyOrderLineDiscount(Discount discount) throws SystemException, BusinessException
SystemException
BusinessException
public CustomerOrderTransactionGroup getTransactionGroup() throws SystemException
getTransactionGroup
in interface CustomerOrderTransactionItem
SystemException
public boolean isInClosedTransactionGroup() throws SystemException
isInClosedTransactionGroup
in interface CustomerOrderTransactionItem
SystemException
public void setTransactionGroup(CustomerOrderTransactionGroup transactionGroup) throws SystemException
setTransactionGroup
in interface CustomerOrderTransactionItem
SystemException
public void notifyTransactionGroupClosed() throws SystemException
notifyTransactionGroupClosed
in interface CustomerOrderTransactionItem
SystemException
public boolean isCreditForTransactionGroupBalance() throws SystemException
isCreditForTransactionGroupBalance
in interface CustomerOrderTransactionItem
SystemException
public boolean isDebitForTransactionGroupBalance() throws SystemException
isDebitForTransactionGroupBalance
in interface CustomerOrderTransactionItem
SystemException
public Money getTransactionItemAmount() throws SystemException, BusinessException
getTransactionItemAmount
in interface CustomerOrderTransactionItem
SystemException
BusinessException
public java.lang.String getComment() throws SystemException
getComment
in interface CustomerOrderLine
SystemException
public void setComment(java.lang.String comment) throws SystemException
setComment
in interface CustomerOrderLine
SystemException
public Money getMerchPromotionDiscountValue() throws SystemException
CustomerOrderLine
getMerchPromotionDiscountValue
in interface CustomerOrderLine
SystemException
public Money getTotalPromotionDiscountValue() throws SystemException
CustomerOrderLine
getTotalPromotionDiscountValue
in interface CustomerOrderLine
SystemException
public void addVirtualWhReservationValue(VirtualWhReservationValue virtualWhResValue) throws SystemException
addVirtualWhReservationValue
in interface CustomerOrderLine
SystemException
public Money getAdditionalShippingPromotionalDiscountValue() throws SystemException
CustomerOrderLine
getAdditionalShippingPromotionalDiscountValue
in interface CustomerOrderLine
SystemException
public Money getAdditionalShippingPromotionalDiscountValue(Quantity prevQty, Quantity qty) throws SystemException
SystemException
public java.util.Collection getPromotionDiscounts() throws SystemException
CustomerOrderLine
getPromotionDiscounts
in interface CustomerOrderLine
SystemException
public java.util.Collection getAllPromotionDiscounts() throws SystemException
CustomerOrderLine
getAllPromotionDiscounts
in interface CustomerOrderLine
SystemException
public void addPromotionDiscount(CustomerOrderPromotionDiscountImpl discount) throws SystemException
PromotionDiscountable
addPromotionDiscount
in interface PromotionDiscountable
discount
- customer order promotion discount
SystemException
public boolean isExchangeSaleLine() throws SystemException
isExchangeSaleLine
in interface CustomerOrderTransactionItem
SystemException
public boolean isPackLine() throws SystemException
isPackLine
in interface CustomerOrderLine
SystemException
public boolean isPackComponentLine() throws SystemException
isPackComponentLine
in interface CustomerOrderLine
SystemException
public boolean isReplacementSaleLine() throws SystemException
isReplacementSaleLine
in interface CustomerOrderTransactionItem
SystemException
public boolean isPromotionBenefitLine() throws SystemException
isPromotionBenefitLine
in interface CustomerOrderLine
SystemException
public void clearPromotionDiscounts() throws SystemException
PromotionDiscountable
clearPromotionDiscounts
in interface PromotionDiscountable
SystemException
public java.util.Set getPackComponentLines() throws SystemException
getPackComponentLines
in interface CustomerOrderLine
SystemException
public CustomerOrderLine getComponentLine(java.lang.String skuId) throws SystemException, BusinessException
getComponentLine
in interface CustomerOrderLine
SystemException
BusinessException
public Quantity getPackComponentVirtualWarehouseReservedQuantity() throws SystemException
SystemException
public Quantity getPackComponentReservedQuantity() throws SystemException
SystemException
public Quantity getPackComponentShippedQuantity() throws SystemException
SystemException
public Quantity getPackComponentShippedQuantity(java.util.Map componentAddtlLineQtyMap) throws SystemException
SystemException
public Quantity getTotalActualBackorderedQuantity() throws SystemException
getTotalActualBackorderedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getTotalActualFulfillingQuantity() throws SystemException
getTotalActualFulfillingQuantity
in interface CustomerOrderLine
SystemException
public boolean isPackReservedFufilledShippedFullyAtPackLevel() throws SystemException
SystemException
public boolean isPackReservedFufilledShippedFullyAtSkuLevel() throws SystemException
SystemException
public Quantity getTotalActualReservedQuantity() throws SystemException
getTotalActualReservedQuantity
in interface CustomerOrderLine
SystemException
public Quantity getTotalActualShippedQuantity() throws SystemException
getTotalActualShippedQuantity
in interface CustomerOrderLine
SystemException
public RDate getCreateDate() throws SystemException
getCreateDate
in interface CustomerOrderLine
SystemException
protected Money getChargedTax(Money quotedTax, CustomerOrderLineImpl.ChargedTaxGetter taxGetter) throws SystemException, BusinessException
SystemException
BusinessException
protected Money getChargedWithProratedQuotedTax(Money quotedTaxAdjustedForCancelledQty, CustomerOrderLineImpl.ChargedTaxGetter taxGetter) throws SystemException, BusinessException
SystemException
BusinessException
public Promotion getAcceptedPromotion() throws SystemException
getAcceptedPromotion
in interface CustomerOrderLine
SystemException
public void setAcceptedPromotionRef(DistributedReference promotionRef) throws SystemException
SystemException
public void setPromotionAcceptanceComplete(boolean acceptanceComplete) throws SystemException
SystemException
public boolean isPromotionAcceptanceComplete() throws SystemException
isPromotionAcceptanceComplete
in interface CustomerOrderLine
SystemException
public boolean isBenefitLineForPromotion(Promotion promotion) throws SystemException
SystemException
public boolean isFreeBenefitLine() throws SystemException
SystemException
public java.util.Set getAllServiceLines() throws SystemException
getAllServiceLines
in interface CustomerOrderLine
SystemException
public SellingList getSellingList() throws SystemException
getSellingList
in interface CustomerOrderLine
SystemException
public void setSellingList(SellingList list) throws SystemException
setSellingList
in interface CustomerOrderLine
SystemException
public void onStateChange(com.retek.fsm.State originalState, com.retek.fsm.State newState)
onStateChange
in interface com.retek.fsm.FSMAble
public boolean isAltSellingLine() throws SystemException
isAltSellingLine
in interface CustomerOrderLine
SystemException
public NoCustomerInformationReturnSearchCriteria createNoCustomerInformationReturnSearchCriteria() throws SystemException
createNoCustomerInformationReturnSearchCriteria
in interface CustomerOrderLine
SystemException
public java.lang.String getRegistryType() throws SystemException
getRegistryType
in interface CustomerOrderLine
SystemException
public java.lang.String getRegistryNumber() throws SystemException
getRegistryNumber
in interface CustomerOrderLine
SystemException
public void setRegistryType(java.lang.String registryType) throws SystemException
setRegistryType
in interface CustomerOrderLine
SystemException
public void setRegistryNumber(java.lang.String registryNumber) throws SystemException
setRegistryNumber
in interface CustomerOrderLine
SystemException
public boolean isRegistryUpdated() throws SystemException
isRegistryUpdated
in interface CustomerOrderLine
SystemException
public RDate getRegistryUpdateDate() throws SystemException
getRegistryUpdateDate
in interface CustomerOrderLine
SystemException
public void setRegistryUpdateDate(RDate registryUpdateDate) throws SystemException
setRegistryUpdateDate
in interface CustomerOrderLine
SystemException
public boolean isReservedAtOrderLineLevel() throws SystemException
isReservedAtOrderLineLevel
in interface CustomerOrderLine
SystemException
public boolean isReservedAtComponentLineLevel() throws SystemException
isReservedAtComponentLineLevel
in interface CustomerOrderLine
SystemException
public java.util.List getFSMAblesForNotification()
public CustomerOrderLine getPackComponentLine(java.lang.String sellingSkuDisplayCode) throws SystemException
getPackComponentLine
in interface CustomerOrderLine
SystemException
public java.lang.String getRegistryPurchaseState() throws SystemException
getRegistryPurchaseState
in interface CustomerOrderLine
SystemException
public java.lang.String getRegistryCancelState() throws SystemException
getRegistryCancelState
in interface CustomerOrderLine
SystemException
public void setRegistryPurchaseState(java.lang.String publishState) throws SystemException
setRegistryPurchaseState
in interface CustomerOrderLine
SystemException
public void setRegistryCancelState(java.lang.String publishState) throws SystemException
setRegistryCancelState
in interface CustomerOrderLine
SystemException
public Quantity getOriginalRequestedQuantity()
public void resetOriginalRequestedQuantity()
public CustomerAddress getOriginalShipToAddress() throws SystemException
SystemException
public void resetOriginalShipToAddress()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |