com.retek.component.customerorder
Class CustomerOrderLineWarehouseReserveTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.customerorder.CustomerOrderApiTestCase
                  extended bycom.retek.component.customerorder.CustomerOrderLineWarehouseReserveTest
All Implemented Interfaces:
junit.framework.Test

public class CustomerOrderLineWarehouseReserveTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderLineWarehouseReserveTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testBackorderedLineRemainsInBackorderedStateAfterVirtualWarehouseReserve()
           
 void testBackOrderWithTransitDays()
           
 void testCalculateATPForAStoreYieldsSameResultAsLineReservation()
           
 void testComponentLevelReleaseReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
           
 void testComponentLevelReleaseReleasesVWHReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
           
 void testCustomerOrderLineIsNotVirtualReservableOnAlreadyWarehouseReservedLine()
           
 void testCustomerOrderLineIsNotVirtualReservableOnDirectShipReservedLine()
           
 void testCustomerOrderLineIsVirtualReservableForNonDirectShipReservedLine()
           
 void testCustomerOrderLineIsVirtualReservableForPartialReservedLine()
           
 void testDatesCalculatedCorrectlyDuringReserve()
           
 void testFulfillmentLocationForNonInventoriedOrderLine()
           
 void testGetOrderedQuantityCorrectForPreCancelledWarehouseReservedOrderLine()
           
 void testMultipleShipRequestAfterWarehouseReserve()
           
 void testOrderLineReservedAtPackComponentIsVirtualWarehouseReservable()
           
 void testOrderLineReservedAtPackLevelAndComponentLevelIsVirtualWarehouseReservable()
           
 void testOrderLineReservedAtPackLevelIsVirtualWarehouseReservable()
           
 void testPackLevelReleaseReleasesVWHReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
           
 void testPackLvlReleaseReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
           
 void testPackOrderLineReservedAtSkuLevelAtSupplierIsNotVirtualWarehouseReservable()
           
 void testPackWhReserveGiftingWithhNoWarehouseSupport()
           
 void testPackWhReserveMongramWithhNoWarehouseSupport()
           
 void testPackWhReservePersonalizationAndGiftingWithWarehouseSupportForBoth()
           
 void testPackWhReservePersonalizationWithhNoWarehouseSupport()
           
 void testReleaseReservationsReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
           
 void testReleaseWhReservationsReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
           
 void testReReservePackReservedAtComponentLevelReleasesFromWarehouseAndReservesAtSupplier()
           
 void testReReserveReleasesFromSupplierAndBackordersAtWarehouse()
           
 void testReReserveReleasesFromVirtualWarehouseAndBannerChannelThenReservesAtSupplier()
           
 void testReReserveReleasesFromVirtualWarehouseAndReservesAtSupplier()
           
 void testReReserveReleasesFromWarehouseAndReservesAtSupplier()
           
 void testReReserveReleasesFromWarehouseAndReservesAtWarehouseAgain()
           
 void testSkuWarehouseRsvdAtTwoWarehousesForSamePhysicalWarehouse()
           
 void testWarehouseReserveCustomerOrderLineAtOneWarehouse()
           
 void testWarehouseReserveCustomerOrderLineAtTwoWarehousesInDifferentZipCodeRange()
           
 void testWarehouseReserveCustomerOrderLineAtTwoWarehousesWithinSameZipCodeRange()
           
 void testWarehouseReserveCustomerOrderLineWithGiftingAtOneWarehouseWithoutGifting()
           
 void testWarehouseReserveForMultipleOrderLinesAtDifferentTimes()
           
 void testWarehouseReserveForMultipleOrderLinesAtDifferentWarehouses()
           
 void testWarehouseReserveForMultipleOrderLinesAtSameWarehouse()
           
 void testWarehouseReserveLifecycleForNonDirectShipBannerReturnLocationIsSet()
           
 void testWarehouseReserveLifecycleForNonDirectShipBannerReturnLocationNotSet()
           
 void testWarehouseReservePackAtSkuAndComponentLevelMultWHDatesAreCorrect()
           
 void testWarehouseReservePackOrderLineAtBothPackAndComponentLevelsAtOneWarehouse()
           
 void testWarehouseReservePackOrderLineAtBothPackAndSkuLevelAtMultipleWarehouses()
           
 void testWarehouseReservePackOrderLineAtBothPackAndSkuLevelAtOneWarehouseBackorderAtPack()
           
 void testWarehouseReservePackOrderLineAtBothPackAndSkuNLAAtPackBackorderedAtSku()
           
 void testWarehouseReservePackOrderLineAtPackLevelAtOneWarehouse()
           
 void testWarehouseReservePackOrderLineAtSkuLevelAtOneWarehouse()
           
 void testWarehouseReservePackWithComponentLevelReserveButBackorderWhenWhReserve()
           
 void testWarehouseReservePartiallyBackorderedOrderLineWithoutACustomer()
           
 void testWarehouseReserveReservedOrderLineWithoutACustomer()
           
 void testWarehouseReserveSkuWithBackorderDatesAreCorrect()
           
 void testWarehouseReserveTwiceForSameCustomerOrderLineAtOneWarehouse()
           
 void testWarehouseReserveTwiceForSameCustomerOrderLineChangeQuantitiesTwice()
           
 void testWarehouseReserveWithNotEnoughStockOnHandBackordersOrderLine()
           
 void testWhReserveOrderLineWithMonogramAndGiftingWitharehouseSupportForBoth()
           
 void testWhReserveOrderLineWithMonogramAtOneWarehouseWithNoMonogramSupport()
           
 void testWhReserveOrderLineWithPersonalizationAtOneWarehouseWithNoPersonalizationSupport()
           
 void testWhReserveOrderLineWithPersonalizationAtTwoWarehousesWithOneSupportingPersonalization()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createDirectShipOrder, createOrderLines, createOrderLines, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomerOrderLineWarehouseReserveTest

public CustomerOrderLineWarehouseReserveTest(java.lang.String name)
Method Detail

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
Specified by:
doTearDown in class CustomerOrderApiTestCase

testCustomerOrderLineIsVirtualReservableForNonDirectShipReservedLine

public void testCustomerOrderLineIsVirtualReservableForNonDirectShipReservedLine()
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerOrderLineIsNotVirtualReservableOnDirectShipReservedLine

public void testCustomerOrderLineIsNotVirtualReservableOnDirectShipReservedLine()
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerOrderLineIsVirtualReservableForPartialReservedLine

public void testCustomerOrderLineIsVirtualReservableForPartialReservedLine()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testCustomerOrderLineIsNotVirtualReservableOnAlreadyWarehouseReservedLine

public void testCustomerOrderLineIsNotVirtualReservableOnAlreadyWarehouseReservedLine()
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testGetOrderedQuantityCorrectForPreCancelledWarehouseReservedOrderLine

public void testGetOrderedQuantityCorrectForPreCancelledWarehouseReservedOrderLine()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testBackorderedLineRemainsInBackorderedStateAfterVirtualWarehouseReserve

public void testBackorderedLineRemainsInBackorderedStateAfterVirtualWarehouseReserve()
                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

testOrderLineReservedAtPackComponentIsVirtualWarehouseReservable

public void testOrderLineReservedAtPackComponentIsVirtualWarehouseReservable()
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testOrderLineReservedAtPackLevelAndComponentLevelIsVirtualWarehouseReservable

public void testOrderLineReservedAtPackLevelAndComponentLevelIsVirtualWarehouseReservable()
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testOrderLineReservedAtPackLevelIsVirtualWarehouseReservable

public void testOrderLineReservedAtPackLevelIsVirtualWarehouseReservable()
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testPackOrderLineReservedAtSkuLevelAtSupplierIsNotVirtualWarehouseReservable

public void testPackOrderLineReservedAtSkuLevelAtSupplierIsNotVirtualWarehouseReservable()
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackOrderLineAtBothPackAndSkuLevelAtOneWarehouseBackorderAtPack

public void testWarehouseReservePackOrderLineAtBothPackAndSkuLevelAtOneWarehouseBackorderAtPack()
                                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackOrderLineAtBothPackAndSkuNLAAtPackBackorderedAtSku

public void testWarehouseReservePackOrderLineAtBothPackAndSkuNLAAtPackBackorderedAtSku()
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackWithComponentLevelReserveButBackorderWhenWhReserve

public void testWarehouseReservePackWithComponentLevelReserveButBackorderWhenWhReserve()
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackOrderLineAtBothPackAndSkuLevelAtMultipleWarehouses

public void testWarehouseReservePackOrderLineAtBothPackAndSkuLevelAtMultipleWarehouses()
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveSkuWithBackorderDatesAreCorrect

public void testWarehouseReserveSkuWithBackorderDatesAreCorrect()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackAtSkuAndComponentLevelMultWHDatesAreCorrect

public void testWarehouseReservePackAtSkuAndComponentLevelMultWHDatesAreCorrect()
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackOrderLineAtSkuLevelAtOneWarehouse

public void testWarehouseReservePackOrderLineAtSkuLevelAtOneWarehouse()
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackOrderLineAtPackLevelAtOneWarehouse

public void testWarehouseReservePackOrderLineAtPackLevelAtOneWarehouse()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePackOrderLineAtBothPackAndComponentLevelsAtOneWarehouse

public void testWarehouseReservePackOrderLineAtBothPackAndComponentLevelsAtOneWarehouse()
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveCustomerOrderLineAtOneWarehouse

public void testWarehouseReserveCustomerOrderLineAtOneWarehouse()
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testWhReserveOrderLineWithMonogramAtOneWarehouseWithNoMonogramSupport

public void testWhReserveOrderLineWithMonogramAtOneWarehouseWithNoMonogramSupport()
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testWhReserveOrderLineWithMonogramAndGiftingWitharehouseSupportForBoth

public void testWhReserveOrderLineWithMonogramAndGiftingWitharehouseSupportForBoth()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testWhReserveOrderLineWithPersonalizationAtOneWarehouseWithNoPersonalizationSupport

public void testWhReserveOrderLineWithPersonalizationAtOneWarehouseWithNoPersonalizationSupport()
                                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testWhReserveOrderLineWithPersonalizationAtTwoWarehousesWithOneSupportingPersonalization

public void testWhReserveOrderLineWithPersonalizationAtTwoWarehousesWithOneSupportingPersonalization()
                                                                                              throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveCustomerOrderLineWithGiftingAtOneWarehouseWithoutGifting

public void testWarehouseReserveCustomerOrderLineWithGiftingAtOneWarehouseWithoutGifting()
                                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testPackWhReserveGiftingWithhNoWarehouseSupport

public void testPackWhReserveGiftingWithhNoWarehouseSupport()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testPackWhReserveMongramWithhNoWarehouseSupport

public void testPackWhReserveMongramWithhNoWarehouseSupport()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testPackWhReservePersonalizationWithhNoWarehouseSupport

public void testPackWhReservePersonalizationWithhNoWarehouseSupport()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testPackWhReservePersonalizationAndGiftingWithWarehouseSupportForBoth

public void testPackWhReservePersonalizationAndGiftingWithWarehouseSupportForBoth()
                                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveCustomerOrderLineAtTwoWarehousesWithinSameZipCodeRange

public void testWarehouseReserveCustomerOrderLineAtTwoWarehousesWithinSameZipCodeRange()
                                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveTwiceForSameCustomerOrderLineAtOneWarehouse

public void testWarehouseReserveTwiceForSameCustomerOrderLineAtOneWarehouse()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveTwiceForSameCustomerOrderLineChangeQuantitiesTwice

public void testWarehouseReserveTwiceForSameCustomerOrderLineChangeQuantitiesTwice()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveWithNotEnoughStockOnHandBackordersOrderLine

public void testWarehouseReserveWithNotEnoughStockOnHandBackordersOrderLine()
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveCustomerOrderLineAtTwoWarehousesInDifferentZipCodeRange

public void testWarehouseReserveCustomerOrderLineAtTwoWarehousesInDifferentZipCodeRange()
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveForMultipleOrderLinesAtSameWarehouse

public void testWarehouseReserveForMultipleOrderLinesAtSameWarehouse()
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveForMultipleOrderLinesAtDifferentTimes

public void testWarehouseReserveForMultipleOrderLinesAtDifferentTimes()
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveForMultipleOrderLinesAtDifferentWarehouses

public void testWarehouseReserveForMultipleOrderLinesAtDifferentWarehouses()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testPackLevelReleaseReleasesVWHReservationsfromTheBannerChannelTypeAtWhichLineWasReserved

public void testPackLevelReleaseReleasesVWHReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
                                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testComponentLevelReleaseReleasesVWHReservationsfromTheBannerChannelTypeAtWhichLineWasReserved

public void testComponentLevelReleaseReleasesVWHReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
                                                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testPackLvlReleaseReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved

public void testPackLvlReleaseReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
                                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testComponentLevelReleaseReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved

public void testComponentLevelReleaseReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
                                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testReleaseReservationsReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved

public void testReleaseReservationsReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
                                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testReleaseWhReservationsReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved

public void testReleaseWhReservationsReleasesReservationsfromTheBannerChannelTypeAtWhichLineWasReserved()
                                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testCalculateATPForAStoreYieldsSameResultAsLineReservation

public void testCalculateATPForAStoreYieldsSameResultAsLineReservation()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testFulfillmentLocationForNonInventoriedOrderLine

public void testFulfillmentLocationForNonInventoriedOrderLine()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testBackOrderWithTransitDays

public void testBackOrderWithTransitDays()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveLifecycleForNonDirectShipBannerReturnLocationNotSet

public void testWarehouseReserveLifecycleForNonDirectShipBannerReturnLocationNotSet()
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveLifecycleForNonDirectShipBannerReturnLocationIsSet

public void testWarehouseReserveLifecycleForNonDirectShipBannerReturnLocationIsSet()
                                                                            throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleShipRequestAfterWarehouseReserve

public void testMultipleShipRequestAfterWarehouseReserve()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testSkuWarehouseRsvdAtTwoWarehousesForSamePhysicalWarehouse

public void testSkuWarehouseRsvdAtTwoWarehousesForSamePhysicalWarehouse()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testDatesCalculatedCorrectlyDuringReserve

public void testDatesCalculatedCorrectlyDuringReserve()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testReReserveReleasesFromWarehouseAndReservesAtSupplier

public void testReReserveReleasesFromWarehouseAndReservesAtSupplier()
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

testReReserveReleasesFromWarehouseAndReservesAtWarehouseAgain

public void testReReserveReleasesFromWarehouseAndReservesAtWarehouseAgain()
                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testReReserveReleasesFromVirtualWarehouseAndReservesAtSupplier

public void testReReserveReleasesFromVirtualWarehouseAndReservesAtSupplier()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testReReserveReleasesFromVirtualWarehouseAndBannerChannelThenReservesAtSupplier

public void testReReserveReleasesFromVirtualWarehouseAndBannerChannelThenReservesAtSupplier()
                                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testReReservePackReservedAtComponentLevelReleasesFromWarehouseAndReservesAtSupplier

public void testReReservePackReservedAtComponentLevelReleasesFromWarehouseAndReservesAtSupplier()
                                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testReReserveReleasesFromSupplierAndBackordersAtWarehouse

public void testReReserveReleasesFromSupplierAndBackordersAtWarehouse()
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReserveReservedOrderLineWithoutACustomer

public void testWarehouseReserveReservedOrderLineWithoutACustomer()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testWarehouseReservePartiallyBackorderedOrderLineWithoutACustomer

public void testWarehouseReservePartiallyBackorderedOrderLineWithoutACustomer()
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception


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