@IntegrationTest public class StockLevelsControllersIntegrationTest extends BaseWarehousingWebservicesIntegrationTest
addresses, allocationService, ASNS, baseSites, baseStores, businessProcessService, commentTypes, components, DEFAULT_CURRENT_PAGE, DEFAULT_FIELDS, DEFAULT_PAGE_SIZE, deliveryModes, eventService, flexibleSearchService, modelService, orders, pointsOfService, products, returnCallbackService, sourcingService, stockLevels, STOCKLEVELS, users, warehouses, warehousingReturnServicespringCustomContextLoaderimportServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
StockLevelsControllersIntegrationTest() |
assertBadRequestWithContent, cleanUpData, cleanUpModel, createApprovedReturnRequest, createConsignmentReallocationWsDTO, createFailedSourcedOrder, createPackagingInfo, createReturnAndReadyToAcceptGoods, createShippedConsignmentAndOrder, createUsAddress, deleteDefaultRestCall, deleteWarehousesFromPointOfService, getAllConsignmentsByDefault, getAllWarehousesByDefault, getBusinessProcessService, getConsignmentEntriesByDefault, getConsignmentsForCodeByDefault, getConsignmentStatusByDefault, getDeclineReasonsByDefault, getDefaultRestCall, getEmptyRestCall, getEventService, getModelService, getPackagingInfoByDefault, getPointOfServiceByDefault, getReturnCallbackService, getSourcingLocationsByDefault, getStockLevelAdjustmentReasons, getStockLevelsForWarehouseCodeByDefault, getWarehouseByDefault, getWarehouseForPointOfServiceByDefault, manuallyReleasePaymentCaptureRestCall, manuallyReleaseTaxCommitRestCall, postAcceptGoodsByDefault, postAsnByDefault, postBodyRestCall, postConfirmAsnReceiptByDefault, postDefaultRestCall, postDefaultRestCall, postEmptyBodyRestCall, postPackConsignmentDefault, postPackConsignmentWithPrintSlip, postPickConsignmentDefault, postPickConsignmentWithPrintSlip, postPutOrderOnHold, postResourceOrder, postStockLevelAdjustmentByDefault_Reponse, postStockLevelAdjustmentByDefault, postStockLevelByDefault_WithReturnType_StockLevelWsDto, postStockLevelByDefault, postTakePaymentRestCall, postUpdatePointOfServiceWarehouses, putDefaultRestCall, putUpdatePointOfServiceAddress, saveAll, setBusinessProcessService, setModelService, setReturnCallbackService, startConsignmentProcess, updatePackagingInfoByDefault, waitForReturnProcessCompletegetEnumerationService, getWsRequestBuilder, setEnumerationServicecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic StockLevelsControllersIntegrationTest()
public void setup()
setup in class BaseWarehousingWebservicesIntegrationTestpublic void testGetStockLevelsForWarehouseCode()
public void testPostStockLevel()
public void testPostStockLevelEmptyProductCode()
public void testPostStockLevelNegativeInitialOnHandQuantity()
public void testPostStockLevelEmptyWarehouseCode()
public void getAllStockLevelAdjustmentReasons()
public void postCreateStockLevelAdjustment()
public void postCreateStockLevelAdjustment_invalid_Reason()
public void postCreateStockLevelAdjustment_valid_LowercaseReason()
public void postCreateMultiStockLevelAdjustment()
public void postCreateStockLevelAdjustment_WithComment()
public void postCreateStockLevelAdjustment_WithBin()
public void postCreateStockLevelAdjustment_WithReleaseDate()
protected StockLevelWsDto createStockLevelRequest(java.lang.String productCode, java.lang.String warehouseCode, java.lang.Integer initialQuantityOnHand)
StockLevelWsDto for a POST call, to add a StockLevel in the systemproductCode - warehouseCode - initialQuantityOnHand - protected StockLevelAdjustmentWsDTO createStockLevelAdjustmentWsDTO(java.lang.String reason, long quantity, java.lang.String comment)
StockLevelAdjustmentWsDTO for a POST call, to add a StockLevel adjustment in the systemreason - quantity - comment - protected StockLevelAdjustmentWsDTO createStockLevelAdjustmentWsDTO(java.lang.String reason, long quantity)
StockLevelAdjustmentWsDTO for a POST call, to add a StockLevel adjustment in the systemreason - quantity - protected StockLevelAdjustmentsWsDTO createStockLevelAdjustmentsWsDTO(StockLevelAdjustmentWsDTO... stockLevelAdjustmentWsDTO)
StockLevelAdjustmentsWsDTO for a POST call, to add a list of StockLevelAdjustmentWsDTOstockLevelAdjustmentWsDTO - Copyright © 2018 SAP SE. All Rights Reserved.