| Modifier and Type | Class and Description |
|---|---|
class |
OrderCancelDeniedException
Exception thrown when
OrderCancelService.requestOrderCancel(OrderCancelRequest, de.hybris.platform.core.model.security.PrincipalModel)
method is invoked and Cancel is denied for given conditions. |
| Modifier and Type | Method and Description |
|---|---|
OrderCancelRecordModel |
OrderCancelService.getCancelRecordForOrder(OrderModel order)
Gets Cancellation record for a given order.
|
OrderCancelRecordEntryModel |
OrderCancelService.getPendingCancelRecordEntry(OrderModel order)
Gets cancellation record entry being currently in progress.
|
void |
OrderCancelCallbackService.onOrderCancelResponse(OrderCancelResponse cancelResponse)
Callback method used by the Warehouse adapter to pass cancel operation result.
|
void |
OrderCancelRequestExecutor.processCancelRequest(OrderCancelRequest orderCancelRequest,
OrderCancelRecordEntryModel cancelRequestRecordEntry) |
void |
OrderCancelResponseExecutor.processCancelResponse(OrderCancelResponse orderCancelResponse,
OrderCancelRecordEntryModel cancelRequestRecordEntry) |
OrderCancelRecordEntryModel |
OrderCancelService.requestOrderCancel(OrderCancelRequest orderCancelRequest,
PrincipalModel requestor)
Requests complete cancel operation on an Order.
|
void |
OrderCancelCompleteTest.testCompleteCancelInHoldingArea() |
void |
OrderCancelPossibilityTest.testCompleteCancelOrigin()
Tests how configuration affects processing Complete Cancel Requests with different origins (Customer/CSA)
|
void |
OrderCancelPossibilityTest.testCompleteCancelPossibleInShipping()
Tests how configuration settings affect Complete Cancel Requests for orders that are being shipped or are shipped
|
void |
OrderCancelPossibilityTest.testCompleteCancelPossibleInWHS()
Tests how configuration settings affect Complete Cancel Requests for orders sent to Warehouse
|
void |
OrderCancelCompleteTest.testCompleteCancelWarehouseNotShipping() |
void |
OrderCancelCompleteTest.testExceptionOnCompleteCancelImpossible()
Exception should be throws when issuing a complete cancel request when cancel is not possible.
|
void |
OrderCancelCompleteTest.testExceptionOnPartialCancelImpossible()
Exception should be throws when issuing a partial cancel request when cancel is not possible.
|
void |
OrderCancelPossibilityTest.testPartialCancelAcrossStates()
Tests how configuration affects processing of Partial Cancel Requests
|
void |
OrderCancelPossibilityTest.testRequestImpossibleOnClosedOrders()
Tests state-based conditions, under which no Cancel Request is possible
|
void |
OrderCancelPossibilityTest.testRequestImpossibleOnPendingCancelOrders()
Tests state-based conditions, under which no Cancel Request is possible
|
void |
OrderCancelCompleteTest.testSecondCancelRequest()
Tests consecutive cancel requests when the first one didnt finish
|
| Modifier and Type | Class and Description |
|---|---|
class |
OrderCancelRecordsHandlerException |
| Modifier and Type | Method and Description |
|---|---|
OrderCancelRecordEntryModel |
DefaultOrderCancelService.getPendingCancelRecordEntry(OrderModel order) |
void |
DefaultOrderCancelService.onOrderCancelResponse(OrderCancelResponse cancelResponse) |
OrderCancelRecordEntryModel |
DefaultOrderCancelService.requestOrderCancel(OrderCancelRequest orderCancelRequest,
PrincipalModel requestor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ImmediateCancelRequestExecutor.modifyOrderAccordingToRequest(OrderCancelRequest cancelRequest) |
void |
ImmediateCancelRequestExecutor.processCancelRequest(OrderCancelRequest orderCancelRequest,
OrderCancelRecordEntryModel cancelRequestRecordEntry) |
void |
WarehouseResponseExecutor.processCancelResponse(OrderCancelResponse orderCancelResponse,
OrderCancelRecordEntryModel cancelRequestRecordEntry) |
protected void |
WarehouseResponseExecutor.realizeCancelAfterWarehouseResponse(OrderCancelResponse cancelResponse) |
| Modifier and Type | Method and Description |
|---|---|
void |
SapOrderCancelService.cancelOrder(OrderModel order,
java.lang.String erpRejectionReason)
Cancel a hybris order,
|
void |
DefaultSapOrderCancelService.cancelOrder(OrderModel order,
java.lang.String erpRejectionReason) |
protected void |
DefaultSapOrderCancelService.createOrderCancelEntryIfNecessary(OrderModel order,
OrderCancelResponse cancelResponse) |
void |
SapOrderCancelService.restoreAfterCancelFailed(OrderModel order)
restore the order status after a failed cancel request
|
void |
DefaultSapOrderCancelService.restoreAfterCancelFailed(OrderModel order) |
void |
DefaultSapOrderCancelServiceTest.testOrderCancelRecordIsNotCreatedIfAlreadyExisting() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultDataHubInboundOrderHelper.processOrderCancellationFromHub(java.lang.String orderNumber,
java.lang.String reason) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataHubOrderCancelTranslatorTest.testPerformCancellation() |
| Modifier and Type | Method and Description |
|---|---|
void |
SapOmsOrderCancelService.cancelOrder(OrderModel order,
java.lang.String erpRejectionReason) |
protected void |
SapOmsOrderCancelService.createOrderCancelEntryIfNecessary(OrderModel order,
OrderCancelResponse cancelResponse) |
void |
SapOmsOrderCancelCallbackService.onOrderCancelResponse(OrderCancelResponse cancelResponse) |
void |
SapOmsWarehouseResponseExecutor.processCancelResponse(OrderCancelResponse orderCancelResponse,
OrderCancelRecordEntryModel cancelRequestRecordEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<OrderCancelEntry> |
OmsOrderCancelService.processOrderCancel(OrderCancelRecordEntryModel orderCancelRecordEntryModel)
process order cancellation
|
| Modifier and Type | Method and Description |
|---|---|
void |
OmsWarehouseResponseExecutor.processCancelResponse(OrderCancelResponse orderCancelResponse,
OrderCancelRecordEntryModel cancelRequestRecordEntry) |
| Modifier and Type | Method and Description |
|---|---|
void |
AtpFormulaIntegrationTest.setUp() |
void |
CancellationIntegrationTest.shouldCancelEntireOrderSuccess_MultiEntry_SingleConsignment()
Given an order with 2 entries, and cancel all:
entry 1 : {quantity: 3, product: product1} entry 2 : {quantity: 3, product: product2} cancellation:{all} |
void |
CancellationIntegrationTest.shouldCancelEntireOrderSuccess_singleEntry_MultiConsignment()
Given an order with 1 entries sourced from 2 POS, and cancel all:
entry 1 : {quantity: 3, product: Camera} cancellation:{all} |
void |
CancellationIntegrationTest.shouldCancelEntireOrderSuccess_SingleEntry_MultiStockLevel() |
void |
CancellationIntegrationTest.shouldCancelEntireOrderSuccess_SingleEntry()
Given an order with 1 entries, and cancel:
entry 1 : {quantity: 3, product: product1} |
void |
CancellationIntegrationTest.shouldCancelEntirePartiallyCancelledOrder_singleEntry()
Given an order with 1 entries, cancel entire order which already has been partially cancelled
entry 1 : {quantity: 3, product: product1} cancellation : {quantity: 1, product: product1} cancellation : {quantity: 2, product: product1} |
void |
CancellationIntegrationTest.shouldCancelFail_alreadyShipped() |
void |
OrderOnHoldIntegrationTest.shouldCancelOnHoldOrder()
Given an on hold order with 1 entries and cancel this order
entry 1 : {quantity: 3, product: product1} Consignment 1 : {quantity: 3, product: product1, Cancelled} |
void |
CancellationIntegrationTest.shouldCancelOrderSuccess_MultiOrderEntry_OMSE_1446() |
void |
CancellationIntegrationTest.shouldCancelOrderSuccess_NothingToSource() |
void |
CancellationIntegrationTest.shouldCancelOrderSuccess_PartiallySourced_OMSE_1440() |
void |
CancellationIntegrationTest.shouldCancelOrderSuccess_PartiallySourcedANdPartiallyConfirmed_OMSE_1454() |
void |
CancellationIntegrationTest.shouldCancelPartiallyOrderAndResourceSuccess_SingleEntry()
Given an order with 1 entries, and cancel partially then create shipment
entry 1 : {quantity: 3, product: product1} cancellation : {quantity: 2, product: product1} |
void |
CancellationIntegrationTest.shouldCancelPartiallyOrderSuccess_SingleEntry_MultiConsignments()
Given an order with 1 entry and 2 consigments, then cancel partially then create shipment
entry 1 : {quantity: 3, product: product1} cancellation : {quantity: 2, product: product1} |
void |
CancellationIntegrationTest.shouldCancelPartiallyOrderSuccess_SingleEntry()
Given an order with 1 entries, and cancel partially then create shipment
entry 1 : {quantity: 3, product: product1} cancellation : {quantity: 2, product: product1} |
void |
CancellationIntegrationTest.shouldCancelUnallocatedQuantityFirst_SingleEntry()
Given an order with 1 entries, partially sourced, and cancel partially then create shipment
entry 1 : {quantity: 3, product: product1} cancellation : {quantity: 2, product: product1} |
void |
CancellationIntegrationTest.shouldCompleteCancelPotentialFraudOrderSuccess_SingleEntry()
Given an order with 1 entry {quantity: 23, product: product1} and status WAIT_FRAUD_MANUAL_CHECK:
Cancel the order completely |
void |
CancellationIntegrationTest.shouldNotCancelMore_SingleEntry()
Given an order with 1 entries, and cancel more:
entry 1 : {quantity: 3, product: product1} cancellation:{quantity:30, product: product1)} |
void |
CancellationIntegrationTest.shouldNotCreateEventWhenCancelPartialOrderFromExternalWarehouse() |
void |
CancellationIntegrationTest.shouldNotCreateEventWhenCancelWholeOrderFromExternalWarehouse() |
void |
CancellationIntegrationTest.shouldPartialCancelPotentialFraudOrderSuccess_SingleEntry()
Given an order with 1 entry {quantity: 23, product: product1} and status WAIT_FRAUD_MANUAL_CHECK:
Partial Cancel : {quantity: 3, product: product1} |
void |
OrderOnHoldIntegrationTest.shouldPutOrderOnHold()
Given an order with 1 entries and put this order on hold:
entry 1 : {quantity: 3, product: product1} Consignment 1 : {quantity: 3, product: product1, Ready} |
void |
OrderOnHoldIntegrationTest.shouldPutPartiallyCancelledOrderOnHoldAndCancelPartiallyAgain()
Given a partially cancelled order with 1 entries and put this order on hold:
entry 1 : {quantity: 3, product: product1} Consignment 1 : {quantity: 3, product: product1, Cancelled} Consignment 2 : {quantity: 2, product: product1, Ready} |
void |
OrderOnHoldIntegrationTest.shouldPutPartiallyDeclinedOrderOnHold()
Given a partially declined order with 1 entries and put this order on hold:
entry 1 : {quantity: 3, product: product1} Consignment 1 : {quantity: 2, quantityDeclined: 1, product: product1, Ready} Consignment 2 : {quantity: 1, product: product1, Ready} |
void |
OrderOnHoldIntegrationTest.shouldReSourceOnHoldOrder()
Given an on hold order with 1 entries and re-source this order
entry 1 : {quantity: 3, product: product1} Consignment 1 : {quantity: 3, product: product1, Cancelled} |
| Modifier and Type | Method and Description |
|---|---|
void |
CancellationUtil.cancelOrder(OrderModel orderModel,
java.util.Map<AbstractOrderEntryModel,java.lang.Long> cancellationEntryInfo,
CancelReason cancelReason)
cancel consignment
|
Copyright © 2018 SAP SE. All Rights Reserved.