|
|||||||||||
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.ReturnLineImpl
Nested Class Summary |
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.ReturnLine |
ACTUAL_RETURNED_QTY, CAN_RELEASE_IMMEDIATELY, CREATE_DATE, EXPECTED_RETURN_QTY, ORDER_LINE_TYPE, REFUND_RECIPIENT_ADDRESS, REFUND_TENDER_TYPE, RETURN_DISPOSITION, RETURN_REASON, RETURN_REQUIRED, RETURN_WAREHOUSE, SHIPPED_CONTAINER, STATE |
Constructor Summary | |
ReturnLineImpl(DistributedContext context,
DistributedReference ref,
boolean createHollow)
|
|
ReturnLineImpl(DistributedContext context,
DistributedReference ref,
User user)
|
Method Summary | |
void |
accept(com.retek.fsm.Event event)
|
void |
adjustCancelledReturnValues()
|
void |
adjustRefundValues(boolean lockTaxRecordAllocations)
|
void |
appliedToOrder(User user)
|
void |
cancel(OrderCancelReason reason,
User user)
|
void |
changeFromReplacmentReturnToNormalReturn(User user)
|
void |
fireFromRemote()
|
Quantity |
getActualReturnedQty()
Return the item quantity which was actually returned for the return line. |
java.lang.String |
getAuthorizationNumber()
|
Money |
getCalculatedExtendedAdditionalShippingCharge()
Return the calculated extended additional shipping charge for the return line (before any promotion adjustment is applied). |
Money |
getCalculatedExtendedAdditionalShippingTax()
Return the calculated extended additional shipping tax for the return line (before any tax accommodation adjustments are applied). |
Money |
getCalculatedExtendedPrice()
Return the calculated extended price (merchandise amount) for the return line (before any promotion adjustment is applied). |
Money |
getCalculatedExtendedTax()
Return the calculated extended tax (merchandise tax) for the return line (before any tax accommodation adjustments are applied). |
Money |
getCalculatedGiftServiceCharge()
Return the calculated gifting charge for the return line (before any promotion adjustment is applied). |
Money |
getCalculatedGiftServiceTax()
Return the calculated gift service tax for the return line (before any tax accommodation adjustments are applied). |
Money |
getCalculatedPersonalizationServiceCharge()
Return the calculated personalization charge for the return line (before any promotion adjustment is applied). |
Money |
getCalculatedPersonalizationServiceTax()
Return the calculated personalization service tax for the return line (before any tax accommodation adjustments are applied). |
Money |
getCalculatedStandardShippingCharge()
Return the calculated shipping charge for the return line (before any promotion adjustment is applied). |
Money |
getCalculatedStandardShippingTax()
Return the calculated extended standard shipping tax for the return line (before any tax accommodation adjustments are applied). |
Money |
getCalculatedTotalLineTax()
Return the calculated total tax for the return line. |
Money |
getCalculatedValueAddedServiceTax()
Return the calculated value added service tax (personalization tax plus gifting tax) for the return line (before any tax accommodation adjustments are applied). |
RDate |
getCancelledDate()
|
OrderCancelReason |
getCancelReason()
|
Carrier |
getCarrier()
|
java.lang.String |
getComment()
Return comment for the return line. |
RDate |
getCreateDate()
|
User |
getCreatedByUser()
|
ReturnLineDto |
getDto()
|
Quantity |
getExpectedReturnQty()
Return the item quantity which is expected to be returned for the return line. |
CustomerAddress |
getGiftRefundRecipientAddress()
Return the refund recipient address for the return line, returns null if a gift refund recipient is not applicable for the return. |
TenderType |
getGiftRefundTenderType()
Return the refund tender type for the gift return line, returns null a gift refund recipient is not applicable for the return. |
User |
getLastUpdatedByUser()
|
int |
getLineNumber()
Return the order line number for the return line. |
CustomerOrder |
getOrder()
Return the parent CustomerOrder for the return line. |
CustomerOrderLine |
getParentOrderLine()
Return the original sale order line for the return line. |
Quantity |
getQuantity()
|
CustomerOrderLine |
getRefundableParentOrderLine()
|
ShipTo |
getRefundableShipTo()
|
CustomerOrderPayment |
getRefundCustomerOrderPayment()
Return the refund payment for the return line if it is a gift return. |
Money |
getRefundExtendedAdditionalShippingCharge()
Return the refunded extended additional shipping charge for the return line (after any promotion adjustment is applied). |
Money |
getRefundExtendedAdditionalShippingTax()
Return the refunded extended additional shipping tax for the return line. |
Money |
getRefundExtendedPrice()
Return the refunded extended price (merchandise amount) for the return line (after any promotion and/or accommodation adjustment is applied). |
Money |
getRefundExtendedTax()
Return the refunded extended tax (merchandise tax) for the return line. |
Money |
getRefundGiftServiceCharge()
Return the refund gifting charge for the return line (after any promotion adjustment is applied). |
Money |
getRefundGiftServiceTax()
Return the refunded gift service tax for the return line. |
Money |
getRefundPersonalizationServiceCharge()
Return the calculated personalization charge for the return line (after any promotion adjustment is applied). |
Money |
getRefundPersonalizationServiceTax()
Return the refunded personalization service tax for the return line. |
Money |
getRefundReturnPostage()
|
Money |
getRefundStandardShippingCharge()
Return the calculated shipping charge for the return line (after any promotion adjustment is applied). |
Money |
getRefundStandardShippingTax()
Return the refunded standard shipping tax for the return line. |
Money |
getRefundTotalShippingTax()
Return the refunded total shipping tax (additional shipping tax plus standard shipping tax) for the return line. |
Money |
getRefundTotalTax()
Return the refunded total tax for the return line. |
Money |
getRefundValueAddedServiceTax()
Return the refunded value added service tax (personalization tax plus gifting tax) for the return line. |
java.lang.String |
getRegistryNumber()
|
java.lang.String |
getRegistryType()
|
CustomerOrderLine |
getReplacementSaleLine()
Return sibling replacement sale line for the return line (if the return line is a replacement return). |
Quantity |
getReturnableQuantity()
Return the quantity that can be returned for a given order line (parent) considering the shipped quantity less any returned quantity for other return lines. |
SupplierReturnDisposition |
getReturnDisposition()
|
RDate |
getReturnedDate()
Return the date the item was returned (if return required is true) or the date the return was entered into the system (if return NOT required). |
java.util.Collection |
getReturnLineAccommodationAdjustments()
Return any accommodation adjustments which were applied when calculating the refund amounts for the return line. |
java.util.Collection |
getReturnLineGeneralAccommodationAdjustments(AccommodationTypeEnum type,
AccommodationShippingSubTypeEnum shippingSubType)
|
java.util.Collection |
getReturnLinePromotionAdjustments()
Return any promotion adjustments which were applied when calculating the refund amounts for the return line. |
java.util.Collection |
getReturnLineTaxInvoiceLineItemRecords()
|
java.util.Collection |
getReturnLineTaxInvoiceRecords()
|
ReturnLineType |
getReturnLineType()
Return the type of return line (ex. |
Money |
getReturnPostage()
|
ReturnReason |
getReturnReason()
Return the reason for the item being returned. |
Warehouse |
getReturnToWarehouse()
|
ExportState |
getSalesAuditExportState()
|
RDate |
getSalesAuditTransactionDate()
|
SellingSku |
getSellingSku()
|
ShippingMethod |
getShippingMethod()
|
ShipTo |
getShipTo()
Return the parent ship-to for the return line (ship-to for the original sale order line). |
CustomerAddress |
getShipToAddress()
|
NoCustomerInformationReturn |
getSourceNoCustomerInformationReturn()
Return no customer information return source detail for the return line. |
com.retek.fsm.State |
getState()
|
ReturnLineStateModel |
getStateModel()
|
Money |
getTotalGeneralAccommodationAdjustmentAmount()
Return the total amount of the accommodation adjustments for the return line. |
Money |
getTotalPromotionAdjustmentAmount()
Return the total amount of the promotion adjustments for the return line. |
Money |
getTotalRefundAmount()
Return the total refund amount for the return line. |
Money |
getTotalRefundValueAddedServiceCharge()
Return the total refunded value added service charge (personalization charge plus gifting charge) for the return line. |
Money |
getTotalTaxAccomodationAdjustmentAmount()
Return the total amount of the accommodation tax adjustments for the return line. |
Money |
getTotalValueAddedServiceCharge()
Return the total refunded value added service charge (personalization charge plus gifting charge) for the return line. |
CustomerOrderTransactionGroup |
getTransactionGroup()
|
Money |
getTransactionItemAmount()
|
Money |
getUnitPrice()
|
boolean |
hasReplacementSaleThatIsNotCancellable()
A Replacement Return is associated to a Replacement Sale order line. |
boolean |
inState(com.retek.fsm.State state)
Return boolean indicating if a state machine business object is the specified state. |
boolean |
isAppliedToOrder()
|
boolean |
isCancellable()
|
boolean |
isCancelled()
|
boolean |
isCreditForTransactionGroupBalance()
|
boolean |
isDebitForTransactionGroupBalance()
|
boolean |
isExchangeSaleLine()
|
boolean |
isGiftReturn()
GiftReturn ONLY pertains to Zero Sale Return Lines. |
boolean |
isInClosedTransactionGroup()
|
boolean |
isModifiable()
|
boolean |
isNew()
|
boolean |
isPendingReturn()
|
boolean |
isPreReturned()
|
boolean |
isReleaseImmediately()
A sale associated with a Return is normally not allowed to be released to the warehouse for fullment until the Return is received from the customer. |
boolean |
isReplacementSaleLine()
|
boolean |
isReturned()
|
boolean |
isReturnRequired()
Return boolean indicating whether it is required for the item to be returned by the customer for the return line. |
boolean |
isSalesAuditPaidInExported()
|
boolean |
isStandardDeliveryChargeApplicableForRefund()
|
void |
lockAllocatedTaxRecords()
|
void |
notifyTransactionGroupClosed()
|
void |
onStateChange(com.retek.fsm.State originalState,
com.retek.fsm.State newState)
|
protected Dto |
readLatest()
|
void |
receive(Quantity returnedQuantity,
SupplierReturnDisposition disposition,
User user,
Money returnPostageAmount,
Warehouse physicalWarehouse)
|
void |
setActualReturnedQty(Quantity qty)
The actual quanitity returned by the customer can be different than the expected quantity for various reasons (the customer may have returned the items in two or more shipping packages, the customer may have changed their mind and returned less or more than he/she indicated). |
void |
setAuthorizationNumber(java.lang.String authorizationNumber)
|
void |
setCancelledDate(RDate cancelledDate)
|
void |
setCancelReason(OrderCancelReason cancelReason)
|
void |
setComment(java.lang.String comment)
|
void |
setCreateDate(RDate createDate)
|
void |
setExpectedReturnQty(Quantity qty)
The expected return quanitity is the number of items that the customer indicates he/she is planning on returning. |
void |
setGiftRefundRecipientAddress(CustomerAddress recipientAddress)
Set the refund recipient for the return line refund (applicable if the return is for a gift return). |
void |
setGiftRefundTenderType(TenderType refundTenderType)
Set the refund tender type return line refund (applicable if the return is for a gift return). |
void |
setGiftReturn(boolean giftReturn)
GiftReturn ONLY pertains to Zero Sale Return Lines. |
void |
setLineNumber(int lineNumber)
|
void |
setParentOrderLine(CustomerOrderLine orderLine)
|
void |
setRefundCustomerOrderPayment(CustomerOrderPayment refundPayment)
|
void |
setRefundReturnPostage(Money refundReturnPostage)
|
void |
setRegistryNumber(java.lang.String registryNumber)
|
void |
setRegistryType(java.lang.String registryType)
|
void |
setReleaseImmediately(boolean immediateRelease)
A sale associated with a Return is normally not allowed to be released to the warehouse for fullment until the Return is received from the customer. |
void |
setReplacementSaleLine(CustomerOrderLine saleLine)
|
void |
setReturnDisposition(SupplierReturnDisposition disposition)
|
void |
setReturnedDate(RDate rDate)
|
void |
setReturnLineType(ReturnLineType returnLineType)
|
void |
setReturnPostage(Money returnPostage)
|
void |
setReturnReason(ReturnReason returnReason)
|
void |
setReturnRequired(boolean returnRequired)
Return shipping charges may be more that the cost of an item. |
void |
setReturnToWarehouse(Warehouse wh)
|
void |
setSalesAuditExportState(ExportState state)
|
void |
setSalesAuditPaidInExported(boolean isSalesAuditPaidInExported)
|
void |
setSalesAuditTransactionDate(RDate salesAuditTransactionDate)
|
void |
setSourceNoCustomerInformationReturn(NoCustomerInformationReturn noCustomerInforReturn)
|
void |
setTransactionGroup(CustomerOrderTransactionGroup transactionGroup)
|
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
attributesToString, createEmptyDto, 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 ReturnLineImpl(DistributedContext context, DistributedReference ref, boolean createHollow) throws SystemException
public ReturnLineImpl(DistributedContext context, DistributedReference ref, User user) throws BusinessException, SystemException
Method Detail |
public ReturnLineType getReturnLineType() throws SystemException
ReturnLine
getReturnLineType
in interface ReturnLine
SystemException
public boolean isExchangeSaleLine() throws SystemException
isExchangeSaleLine
in interface CustomerOrderTransactionItem
SystemException
public boolean isReplacementSaleLine() throws SystemException
isReplacementSaleLine
in interface CustomerOrderTransactionItem
SystemException
public boolean isStandardDeliveryChargeApplicableForRefund() throws SystemException
SystemException
public boolean isSalesAuditPaidInExported() throws SystemException
isSalesAuditPaidInExported
in interface ReturnLine
SystemException
public void setSalesAuditPaidInExported(boolean isSalesAuditPaidInExported) throws SystemException
setSalesAuditPaidInExported
in interface ReturnLine
SystemException
public Quantity getExpectedReturnQty() throws SystemException
ReturnLine
getExpectedReturnQty
in interface ReturnLine
SystemException
public Quantity getActualReturnedQty() throws SystemException
ReturnLine
getActualReturnedQty
in interface ReturnLine
SystemException
public java.lang.String getComment() throws SystemException
ReturnLine
getComment
in interface ReturnLine
SystemException
public ReturnReason getReturnReason() throws SystemException
ReturnLine
getReturnReason
in interface ReturnLine
SystemException
public CustomerOrderLine getParentOrderLine() throws SystemException
ReturnLine
getParentOrderLine
in interface ReturnLine
SystemException
public CustomerOrderLine getRefundableParentOrderLine() throws SystemException
SystemException
public NoCustomerInformationReturn getSourceNoCustomerInformationReturn() throws SystemException
ReturnLine
getSourceNoCustomerInformationReturn
in interface ReturnLine
SystemException
public boolean isAppliedToOrder() throws SystemException
SystemException
public boolean isReleaseImmediately() throws SystemException
ReturnLine
isReleaseImmediately
in interface ReturnLine
SystemException
public void setReleaseImmediately(boolean immediateRelease) throws SystemException, BusinessException
ReturnLine
setReleaseImmediately
in interface ReturnLine
SystemException
BusinessException
public boolean isReturnRequired() throws SystemException
ReturnLine
isReturnRequired
in interface ReturnLine
SystemException
public boolean isGiftReturn() throws SystemException
ReturnLine
isGiftReturn
in interface ReturnLine
SystemException
public boolean isModifiable() throws SystemException
isModifiable
in interface ReturnLine
SystemException
public Quantity getQuantity() throws SystemException
SystemException
public int getLineNumber() throws SystemException
ReturnLine
getLineNumber
in interface ReturnLine
SystemException
public CustomerAddress getGiftRefundRecipientAddress() throws SystemException
ReturnLine
getGiftRefundRecipientAddress
in interface ReturnLine
SystemException
public void setGiftRefundRecipientAddress(CustomerAddress recipientAddress) throws SystemException, BusinessException
ReturnLine
setGiftRefundRecipientAddress
in interface ReturnLine
recipientAddress
- gift recipient customer address
SystemException
BusinessException
public TenderType getGiftRefundTenderType() throws SystemException
ReturnLine
getGiftRefundTenderType
in interface ReturnLine
SystemException
public void setGiftRefundTenderType(TenderType refundTenderType) throws SystemException, BusinessException
ReturnLine
setGiftRefundTenderType
in interface ReturnLine
refundTenderType
- gift refund tender type
SystemException
BusinessException
public CustomerOrderPayment getRefundCustomerOrderPayment() throws SystemException
getRefundCustomerOrderPayment
in interface ReturnLine
SystemException
public void setRefundCustomerOrderPayment(CustomerOrderPayment refundPayment) throws SystemException
SystemException
public Money getUnitPrice() throws SystemException, BusinessException
SystemException
BusinessException
public Money getCalculatedExtendedPrice() throws SystemException
ReturnLine
getCalculatedExtendedPrice
in interface ReturnLine
SystemException
public Money getCalculatedExtendedTax() throws SystemException
ReturnLine
getCalculatedExtendedTax
in interface ReturnLine
SystemException
public Money getRefundExtendedTax() throws SystemException
ReturnLine
getRefundExtendedTax
in interface ReturnLine
SystemException
public Money getCalculatedExtendedAdditionalShippingCharge() throws SystemException
ReturnLine
getCalculatedExtendedAdditionalShippingCharge
in interface ReturnLine
SystemException
public Money getCalculatedExtendedAdditionalShippingTax() throws SystemException
ReturnLine
getCalculatedExtendedAdditionalShippingTax
in interface ReturnLine
SystemException
public Money getRefundExtendedAdditionalShippingTax() throws SystemException
ReturnLine
getRefundExtendedAdditionalShippingTax
in interface ReturnLine
SystemException
public Money getCalculatedPersonalizationServiceCharge() throws SystemException
ReturnLine
getCalculatedPersonalizationServiceCharge
in interface ReturnLine
SystemException
public Money getCalculatedGiftServiceCharge() throws SystemException
ReturnLine
getCalculatedGiftServiceCharge
in interface ReturnLine
SystemException
public Money getTotalValueAddedServiceCharge() throws SystemException
ReturnLine
getTotalValueAddedServiceCharge
in interface ReturnLine
SystemException
public Money getRefundValueAddedServiceTax() throws SystemException
ReturnLine
getRefundValueAddedServiceTax
in interface ReturnLine
SystemException
public Money getCalculatedStandardShippingCharge() throws SystemException
ReturnLine
getCalculatedStandardShippingCharge
in interface ReturnLine
SystemException
public Money getCalculatedStandardShippingTax() throws SystemException
ReturnLine
getCalculatedStandardShippingTax
in interface ReturnLine
SystemException
public Money getCalculatedTotalLineTax() throws SystemException
ReturnLine
getCalculatedTotalLineTax
in interface ReturnLine
SystemException
public Money getRefundStandardShippingTax() throws SystemException
ReturnLine
getRefundStandardShippingTax
in interface ReturnLine
SystemException
public Money getRefundTotalShippingTax() throws SystemException
ReturnLine
getRefundTotalShippingTax
in interface ReturnLine
SystemException
public Money getRefundTotalTax() throws SystemException
ReturnLine
getRefundTotalTax
in interface ReturnLine
SystemException
public Money getTotalRefundAmount() throws SystemException
ReturnLine
getTotalRefundAmount
in interface ReturnLine
SystemException
public Money getCalculatedValueAddedServiceTax() throws SystemException
ReturnLine
getCalculatedValueAddedServiceTax
in interface ReturnLine
SystemException
public Money getCalculatedPersonalizationServiceTax() throws SystemException
ReturnLine
getCalculatedPersonalizationServiceTax
in interface ReturnLine
SystemException
public Money getRefundPersonalizationServiceTax() throws SystemException
ReturnLine
getRefundPersonalizationServiceTax
in interface ReturnLine
SystemException
public Money getCalculatedGiftServiceTax() throws SystemException
ReturnLine
getCalculatedGiftServiceTax
in interface ReturnLine
SystemException
public Money getRefundGiftServiceTax() throws SystemException
ReturnLine
getRefundGiftServiceTax
in interface ReturnLine
SystemException
public SellingSku getSellingSku() throws SystemException
getSellingSku
in interface ReturnLine
SystemException
public CustomerAddress getShipToAddress() throws SystemException
SystemException
public ShipTo getShipTo() throws SystemException
ReturnLine
getShipTo
in interface ReturnLine
SystemException
public ShipTo getRefundableShipTo() throws SystemException
SystemException
public ShippingMethod getShippingMethod() throws SystemException
SystemException
public Carrier getCarrier() throws SystemException
SystemException
public Quantity getReturnableQuantity() throws SystemException
getReturnableQuantity
in interface ReturnLine
SystemException
public com.retek.fsm.State getState()
getState
in interface ReturnLine
public ReturnLineStateModel getStateModel()
public boolean inState(com.retek.fsm.State state) throws SystemException
RcomRmmFsmable
inState
in interface RcomRmmFsmable
state
- expected state
SystemException
public void cancel(OrderCancelReason reason, User user) throws SystemException, BusinessException
cancel
in interface ReturnLine
SystemException
BusinessException
public void adjustCancelledReturnValues() throws SystemException
SystemException
public RDate getReturnedDate() throws SystemException
ReturnLine
getReturnedDate
in interface ReturnLine
SystemException
public ExportState getSalesAuditExportState() throws SystemException
getSalesAuditExportState
in interface ReturnLine
SystemException
public void setSalesAuditExportState(ExportState state) throws SystemException
setSalesAuditExportState
in interface ReturnLine
SystemException
public RDate getSalesAuditTransactionDate() throws SystemException
getSalesAuditTransactionDate
in interface ReturnLine
SystemException
public void setSalesAuditTransactionDate(RDate salesAuditTransactionDate) throws SystemException
SystemException
public Warehouse getReturnToWarehouse() throws SystemException
getReturnToWarehouse
in interface ReturnLine
SystemException
public java.lang.String getAuthorizationNumber() throws SystemException
getAuthorizationNumber
in interface ReturnLine
SystemException
public boolean isNew() throws SystemException
isNew
in interface ReturnLine
SystemException
public boolean isPendingReturn() throws SystemException
isPendingReturn
in interface ReturnLine
SystemException
public boolean isReturned() throws SystemException
isReturned
in interface ReturnLine
SystemException
public boolean isPreReturned() throws SystemException
isPreReturned
in interface ReturnLine
SystemException
public boolean isCancelled() throws SystemException
isCancelled
in interface ReturnLine
SystemException
public boolean isCancellable() throws SystemException
isCancellable
in interface ReturnLine
SystemException
public boolean hasReplacementSaleThatIsNotCancellable() throws SystemException
ReturnLine
hasReplacementSaleThatIsNotCancellable
in interface ReturnLine
SystemException
public RDate getCancelledDate() throws SystemException
getCancelledDate
in interface ReturnLine
SystemException
public OrderCancelReason getCancelReason() throws SystemException
getCancelReason
in interface ReturnLine
SystemException
public void setLineNumber(int lineNumber) throws SystemException
SystemException
public void setExpectedReturnQty(Quantity qty) throws SystemException, BusinessException
ReturnLine
setExpectedReturnQty
in interface ReturnLine
qty
- the number of items expected to be returned to the warehouse
SystemException
BusinessException
public void setActualReturnedQty(Quantity qty) throws SystemException, BusinessException
ReturnLine
setActualReturnedQty
in interface ReturnLine
qty
- the number of items actually returned to the warehouse
SystemException
BusinessException
public void setComment(java.lang.String comment) throws SystemException
setComment
in interface ReturnLine
SystemException
public void setReturnReason(ReturnReason returnReason) throws SystemException, BusinessException
setReturnReason
in interface ReturnLine
SystemException
BusinessException
public void setCancelledDate(RDate cancelledDate) throws SystemException
SystemException
public void setCancelReason(OrderCancelReason cancelReason) throws SystemException
SystemException
public void setParentOrderLine(CustomerOrderLine orderLine) throws SystemException
SystemException
public void setSourceNoCustomerInformationReturn(NoCustomerInformationReturn noCustomerInforReturn) throws SystemException
SystemException
public void setReturnRequired(boolean returnRequired) throws SystemException, BusinessException
ReturnLine
setReturnRequired
in interface ReturnLine
returnRequired
- indicates if the return must be returned by the customer
SystemException
BusinessException
public void setGiftReturn(boolean giftReturn) throws SystemException
ReturnLine
setGiftReturn
in interface ReturnLine
SystemException
public void setReturnLineType(ReturnLineType returnLineType) throws SystemException
SystemException
public void setReturnedDate(RDate rDate) throws SystemException
SystemException
public void setReturnToWarehouse(Warehouse wh) throws SystemException
SystemException
public void setAuthorizationNumber(java.lang.String authorizationNumber) throws SystemException
SystemException
public ReturnLineDto getDto() throws SystemException
SystemException
public void setCreateDate(RDate createDate) throws SystemException
SystemException
public RDate getCreateDate() throws SystemException
getCreateDate
in interface ReturnLine
SystemException
protected Dto readLatest() throws SystemException
readLatest
in class DistributedObjectImpl
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 void receive(Quantity returnedQuantity, SupplierReturnDisposition disposition, User user, Money returnPostageAmount, Warehouse physicalWarehouse) throws SystemException, BusinessException
receive
in interface ReturnLineRib
SystemException
BusinessException
public void appliedToOrder(User user) throws SystemException, BusinessException
SystemException
BusinessException
public void adjustRefundValues(boolean lockTaxRecordAllocations) throws SystemException, BusinessException
SystemException
BusinessException
public void setReturnDisposition(SupplierReturnDisposition disposition) throws SystemException
SystemException
public SupplierReturnDisposition getReturnDisposition() throws SystemException
getReturnDisposition
in interface ReturnLine
SystemException
public CustomerOrderTransactionGroup getTransactionGroup() throws SystemException
getTransactionGroup
in interface CustomerOrderTransactionItem
SystemException
public void setTransactionGroup(CustomerOrderTransactionGroup transactionGroup) throws SystemException
setTransactionGroup
in interface CustomerOrderTransactionItem
SystemException
public java.util.Collection getReturnLinePromotionAdjustments() throws SystemException
ReturnLine
getReturnLinePromotionAdjustments
in interface ReturnLine
SystemException
public java.util.Collection getReturnLineAccommodationAdjustments() throws SystemException
ReturnLine
getReturnLineAccommodationAdjustments
in interface ReturnLine
SystemException
public java.util.Collection getReturnLineGeneralAccommodationAdjustments(AccommodationTypeEnum type, AccommodationShippingSubTypeEnum shippingSubType) throws SystemException
SystemException
public java.util.Collection getReturnLineTaxInvoiceRecords() throws SystemException
SystemException
public java.util.Collection getReturnLineTaxInvoiceLineItemRecords() throws SystemException
SystemException
public boolean isInClosedTransactionGroup() throws SystemException
isInClosedTransactionGroup
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 Money getTotalGeneralAccommodationAdjustmentAmount() throws SystemException
ReturnLine
getTotalGeneralAccommodationAdjustmentAmount
in interface ReturnLine
SystemException
public Money getTotalTaxAccomodationAdjustmentAmount() throws SystemException
ReturnLine
getTotalTaxAccomodationAdjustmentAmount
in interface ReturnLine
SystemException
public CustomerOrder getOrder() throws SystemException
ReturnLine
getOrder
in interface ReturnLine
SystemException
public CustomerOrderLine getReplacementSaleLine() throws SystemException
ReturnLine
getReplacementSaleLine
in interface ReturnLine
SystemException
public void setReplacementSaleLine(CustomerOrderLine saleLine) throws SystemException
SystemException
public void changeFromReplacmentReturnToNormalReturn(User user) throws SystemException, BusinessException
SystemException
BusinessException
public void lockAllocatedTaxRecords() throws SystemException, BusinessException
SystemException
BusinessException
public void onStateChange(com.retek.fsm.State originalState, com.retek.fsm.State newState)
onStateChange
in interface com.retek.fsm.FSMAble
public java.lang.String getRegistryType() throws SystemException
getRegistryType
in interface ReturnLine
SystemException
public java.lang.String getRegistryNumber() throws SystemException
getRegistryNumber
in interface ReturnLine
SystemException
public void setRegistryType(java.lang.String registryType) throws SystemException
SystemException
public void setRegistryNumber(java.lang.String registryNumber) throws SystemException
SystemException
public Money getReturnPostage() throws SystemException
getReturnPostage
in interface ReturnLine
SystemException
public void setReturnPostage(Money returnPostage) throws SystemException
setReturnPostage
in interface ReturnLine
SystemException
public void setRefundReturnPostage(Money refundReturnPostage) throws SystemException
setRefundReturnPostage
in interface ReturnLine
SystemException
public Money getRefundReturnPostage() throws SystemException
getRefundReturnPostage
in interface ReturnLine
SystemException
public Money getRefundExtendedAdditionalShippingCharge() throws SystemException
ReturnLine
getRefundExtendedAdditionalShippingCharge
in interface ReturnLine
SystemException
public Money getRefundExtendedPrice() throws SystemException
ReturnLine
getRefundExtendedPrice
in interface ReturnLine
SystemException
public Money getRefundPersonalizationServiceCharge() throws SystemException
ReturnLine
getRefundPersonalizationServiceCharge
in interface ReturnLine
SystemException
public Money getRefundGiftServiceCharge() throws SystemException
ReturnLine
getRefundGiftServiceCharge
in interface ReturnLine
SystemException
public Money getRefundStandardShippingCharge() throws SystemException
ReturnLine
getRefundStandardShippingCharge
in interface ReturnLine
SystemException
public Money getTotalPromotionAdjustmentAmount() throws SystemException
ReturnLine
getTotalPromotionAdjustmentAmount
in interface ReturnLine
SystemException
public Money getTotalRefundValueAddedServiceCharge() throws SystemException
ReturnLine
getTotalRefundValueAddedServiceCharge
in interface ReturnLine
SystemException
public User getCreatedByUser() throws SystemException
getCreatedByUser
in interface ReturnLine
SystemException
public User getLastUpdatedByUser() throws SystemException
getLastUpdatedByUser
in interface ReturnLine
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |