com.retek.component.customerorder
Class CustomerOrderReleaseToWmsTest

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.CustomerOrderReleaseToWmsTest
All Implemented Interfaces:
junit.framework.Test

public class CustomerOrderReleaseToWmsTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderReleaseToWmsTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void dumpStatesAndQtys(java.lang.String tag, CustomerOrderLine packOrderLine, CustomerOrderLine sku1Line, CustomerOrderLine sku2Line)
           
 void testAllFieldsPresentOnCOHdrDescMessage()
           
 void testOneLineReleasedShipConfirmedAndThenReturned()
           
 void testOnePackComponentLineReleasedShipConfirmedAndThenReturned()
           
 void testOnePackLineReleasedShipConfirmedAndThenReturned()
           
 void testOrderLineWarehouseInstructionsIncludedInLinePayload()
           
 void testPackBothReservedAndBackorderedAtBothPackAndComponentLevelGenerateShipRequests()
           
 void testPackBothReservedAndBackorderedAtBothPackAndComponentLevelUsingActualQtys()
           
 void testPacksComponentLevelReservationCreatesShipmentRequestForComponents()
           
 void testPacksPackLevelReservationCreatesShipmentReqeustForPack()
           
 void testPacksPackLevelSomeReservedSomeBackOrderedCreatesShipmentReqeustForPack()
           
 void testPacksSomePackReservedSomeComponentReservedWorks()
           
 void testReleaseOneLinePartialBackordered()
           
 void testReleaseOneLineReservedOneLineBackorderedBothSentToWMS()
           
 void testReleaseOneLineReservedOneLineBackorderedDifferentShipTosOnlyOneSentToWMS()
           
 void testServiceLineReleaseToWmsForEngraving()
           
 void testServiceLineReleaseToWmsWithCareCard()
           
 void testServiceLineReleaseToWmsWithNoServiceLines()
           
 void testServiceLineReleaseToWmsWithOneShipTo()
           
 void testServiceLineReleaseToWmsWithTwoShipTos()
           
 void testShippingPickingInstructionsOnPayloadForReleaseToWMS()
           
 void testShipRequestAfterWarehouseReservePackAtPackAndSkuLevel()
           
 void testShipRequestAfterWarehouseReserveSendsCorrectQuantity()
           
 void testShipToMessageIsIncludedInHeaderPayload()
           
 void testSubmitCausesReleaseAllLinesWithReservedStatus()
           
 void testSubmitCausesReleaseOneLineReservedOneLineBackordered()
           
 void testSubmitCausesReleaseWithAGiftCertificate()
           
 void testSubmitCausesReleaseWithReservedLinesAndActiveMedia()
           
 void testSubmitCausesReleaseWithTwoGiftCertificates()
           
 void testSubmitCausesReleaseWithTwoGiftCertificateWithDifferentShipTos()
           
 void testSubmitCausesReleaseWithTwoRegularSkusAndTwoGiftCertificate()
           
 void testSubmitCausesReleaseWithTwoShipTosCreatesShipRequestsWithProperAddresses()
           
 void testSubmitDoesNotSendWorkOrdersToWarehouseWhenNoServiceLines()
           
 void testSubmitPublishesCarrierCodeAndShippingMethodCode()
           
 void testSubmitPublishesRightPickCompleteFlagWhenLineMarkedForProcessTogther()
           
 void testSubmitTwoLinesWithTwoSetsOfVWHProducesTwoShipRequests()
           
 void testSubmitWithZeroStdAndRushShippingCharges()
           
 void testTwoLineReleasedOneBackorderedWithDiffrentShipToBothShipConfirmedAndOneReturned()
           
 void testUnderPaymentDoesNotDoSettingOfUnderpaymentOnHdrDesc()
           
 void testUnderPaymentDoesSettingOfUnderpaymentOnHdrDesc()
           
 
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

CustomerOrderReleaseToWmsTest

public CustomerOrderReleaseToWmsTest(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()
                throws java.lang.Exception
Specified by:
doTearDown in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

testSubmitTwoLinesWithTwoSetsOfVWHProducesTwoShipRequests

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

testTwoLineReleasedOneBackorderedWithDiffrentShipToBothShipConfirmedAndOneReturned

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

testOneLineReleasedShipConfirmedAndThenReturned

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

testOnePackLineReleasedShipConfirmedAndThenReturned

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

testOnePackComponentLineReleasedShipConfirmedAndThenReturned

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

testSubmitCausesReleaseAllLinesWithReservedStatus

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

testSubmitCausesReleaseOneLineReservedOneLineBackordered

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

testReleaseOneLineReservedOneLineBackorderedBothSentToWMS

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

testReleaseOneLinePartialBackordered

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

testReleaseOneLineReservedOneLineBackorderedDifferentShipTosOnlyOneSentToWMS

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

testSubmitCausesReleaseWithTwoShipTosCreatesShipRequestsWithProperAddresses

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

testSubmitDoesNotSendWorkOrdersToWarehouseWhenNoServiceLines

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

testSubmitPublishesCarrierCodeAndShippingMethodCode

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

testSubmitPublishesRightPickCompleteFlagWhenLineMarkedForProcessTogther

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

testSubmitCausesReleaseWithReservedLinesAndActiveMedia

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

testSubmitCausesReleaseWithAGiftCertificate

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

testSubmitCausesReleaseWithTwoGiftCertificates

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

testSubmitCausesReleaseWithTwoRegularSkusAndTwoGiftCertificate

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

testSubmitCausesReleaseWithTwoGiftCertificateWithDifferentShipTos

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

testUnderPaymentDoesSettingOfUnderpaymentOnHdrDesc

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

testUnderPaymentDoesNotDoSettingOfUnderpaymentOnHdrDesc

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

testShipToMessageIsIncludedInHeaderPayload

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

testOrderLineWarehouseInstructionsIncludedInLinePayload

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

testShippingPickingInstructionsOnPayloadForReleaseToWMS

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

testAllFieldsPresentOnCOHdrDescMessage

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

testServiceLineReleaseToWmsWithOneShipTo

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

testServiceLineReleaseToWmsWithTwoShipTos

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

testServiceLineReleaseToWmsForEngraving

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

testServiceLineReleaseToWmsWithCareCard

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

testServiceLineReleaseToWmsWithNoServiceLines

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

testSubmitWithZeroStdAndRushShippingCharges

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

testPacksPackLevelReservationCreatesShipmentReqeustForPack

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

testPacksPackLevelSomeReservedSomeBackOrderedCreatesShipmentReqeustForPack

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

testPacksComponentLevelReservationCreatesShipmentRequestForComponents

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

testPacksSomePackReservedSomeComponentReservedWorks

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

testShipRequestAfterWarehouseReservePackAtPackAndSkuLevel

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

testShipRequestAfterWarehouseReserveSendsCorrectQuantity

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

testPackBothReservedAndBackorderedAtBothPackAndComponentLevelGenerateShipRequests

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

testPackBothReservedAndBackorderedAtBothPackAndComponentLevelUsingActualQtys

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

dumpStatesAndQtys

public void dumpStatesAndQtys(java.lang.String tag,
                              CustomerOrderLine packOrderLine,
                              CustomerOrderLine sku1Line,
                              CustomerOrderLine sku2Line)
                       throws SystemException
Throws:
SystemException


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